[FFmpeg-cvslog] yadif: support 10bit YUV

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Dec 14 10:45:27 CET 2011


Jethro Walters <turkeyman121 <at> googlemail.com> writes:

> > -    if (yadif->csp->comp[0].depth_minus1 == 15)
> > +    if (yadif->csp->comp[0].depth_minus1 / 8 == 1)
> 
> Aren't multiplications faster than divisions on pretty much all platform? / 8
> should be *0.25 IMHO.

The hope here is that the compiler will replace the division by a right-shift.

Carl Eugen



More information about the ffmpeg-cvslog mailing list