From: Timo Rothenpieler <timo@rothenpieler.org> To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH] avfilter: add libvmaf_cuda Date: Thu, 14 Sep 2023 21:10:20 +0200 Message-ID: <2433f96f-f2c4-457a-924b-db2bbf096452@rothenpieler.org> (raw) In-Reply-To: <CALbjROL3mhLoy1SVsu+MUdNAyDHNs+gGKadvpZweOH-T3ixOsQ@mail.gmail.com> On 14.09.2023 20:59, Kyle Swanson wrote: > Problem was slightly different, there is no `libvmaf_cuda`, just > `libvmaf` built with the cuda apis optionally enabled. `./configure` > is fixed now and I've tested all the possible combinations, updated > patch attached. This looks more complicated than necessary to me. My idea would have been to change, in the previous original patch, > libvmaf_cuda_filter_deps="libvmaf ffnvcodec" to > libvmaf_cuda_filter_deps="libvmaf libvmaf_cuda ffnvcodec" And the pkg_config check would then enable/disable libvmaf_cuda: > enabled libvmaf_cuda && require_pkg_config libvmaf_cuda "libvmaf >= 2.0.0" libvmaf_cuda.h vmaf_cuda_state_init One unrelated thing I just thought of: The macro you'll want to check in the filter itself isn't CONFIG_LIBVMAF_CUDA, but CONFIG_LIBVMAF_CUDA_FILTER. Since it's in theory possible for someone to do the slightly silly thing of doing --enable-vmaf-cuda but then manually disabling the filter. Likewise it's possible for someone to ONLY build the libvmaf_cuda filter, and disable the non-cuda variant. So its "const AVFilter ..." part, and everything only used by it, should be wrapped in #if CONFIG_LIBVMAF_FILTER _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2023-09-14 19:10 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-08-07 17:50 Kyle Swanson 2023-08-14 16:29 ` Kyle Swanson 2023-08-14 17:09 ` Timo Rothenpieler 2023-08-23 20:39 ` Kyle Swanson 2023-08-28 18:54 ` Kyle Swanson 2023-08-28 18:59 ` Timo Rothenpieler 2023-08-28 20:16 ` Kyle Swanson 2023-08-29 17:09 ` Kyle Swanson 2023-08-29 22:14 ` Andreas Rheinhardt 2023-08-30 16:44 ` Kyle Swanson 2023-08-31 18:39 ` Kyle Swanson 2023-09-05 17:16 ` Kyle Swanson 2023-09-11 17:53 ` Kyle Swanson 2023-09-11 18:51 ` Timo Rothenpieler 2023-09-14 18:59 ` Kyle Swanson 2023-09-14 19:10 ` Timo Rothenpieler [this message] 2023-09-15 20:31 ` Kyle Swanson 2023-09-15 22:33 ` Timo Rothenpieler 2023-09-18 16:42 ` Kyle Swanson 2023-09-18 19:21 ` Marvin Scholz 2023-09-18 19:41 ` Timo Rothenpieler 2023-09-18 21:39 ` Kyle Swanson 2023-09-20 20:06 ` Kyle Swanson 2023-09-20 22:54 ` Timo Rothenpieler 2023-09-23 9:50 ` Kyle Swanson 2023-09-23 11:02 ` Timo Rothenpieler 2023-09-25 12:18 ` Kyle Swanson 2023-09-25 16:09 ` Timo Rothenpieler 2023-09-27 17:26 ` Kyle Swanson 2023-08-28 19:05 ` Paul B Mahol
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=2433f96f-f2c4-457a-924b-db2bbf096452@rothenpieler.org \ --to=timo@rothenpieler.org \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git