[FFmpeg-devel] [PATCH] avfilter: add VMAF filter

Ronald S. Bultje rsbultje at gmail.com
Wed Jul 5 00:41:30 EEST 2017


Hi,

On Tue, Jul 4, 2017 at 5:29 PM, James Almer <jamrial at gmail.com> wrote:

> On 7/3/2017 1:38 PM, Ashish Singh wrote:
> > +    {"disable avx",  "Disables avx for computing vmaf.",
> OFFSET(disable_avx), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS},
>
> Remove this option, and check for the AVX cpuflag instead.
>
> That is, instead of passing s->disable_avx to compute_vmaf(), pass
> !(av_get_cpu_flags() & AV_CPU_FLAG_AVX)


I _think_ disable_avx is semantically more identical to
disable_optimizations. That is, it forces C when enabled.

Ronald


More information about the ffmpeg-devel mailing list