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

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed Aug 30 01:14:06 EEST 2023


Kyle Swanson:
> +#ifdef CONFIG_LIBVMAF_CUDA
> +#include <libvmaf_cuda.h>
> +
> +#include "libavutil/hwcontext.h"
> +#include "libavutil/hwcontext_cuda_internal.h"
> +#endif
> +

The CONFIG_* variables are always defined; you need to check via "#if",
not "#ifdef".

- Andreas



More information about the ffmpeg-devel mailing list