Hi,

On Tue, Jul 4, 2017 at 5:29 PM, James Almer <jamr...@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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to