[FFmpeg-devel] [PATCH] avfilter: add libvmaf_cuda

Kyle Swanson k at ylo.ph
Mon Aug 28 23:16:08 EEST 2023


Hi,

On Mon, Aug 28, 2023 at 11:59 AM Timo Rothenpieler
<timo at rothenpieler.org> wrote:
> > +libvmaf_cuda_filter_deps="libvmaf cuda_nvcc"
>
> Does this really depend on nvcc?
> Does it not work with only ffnvcodec?
>

Ah, you're right, I think ffnvcodec is the right option to use, I'll
switch this in the next patch version.

> > +#ifdef CONFIG_LIBVMAF_CUDA
> > +#include <libvmaf_cuda.h>
>
> Does this include cuda.h or something like that?
> If so, it should probably be included after the cuda hwcontext, to avoid
> it doing that.

No, libvmaf doesn't include cuda.h.

Thanks,
Kyle


More information about the ffmpeg-devel mailing list