[FFmpeg-devel] [PATCH v2] swscale: add unscaled conversion from yuv420p to p010

Ronald S. Bultje rsbultje at gmail.com
Sun Sep 4 17:27:13 EEST 2016


On Sun, Sep 4, 2016 at 10:06 AM, Carl Eugen Hoyos <ceffmpeg at gmail.com>

> 2016-09-04 16:02 GMT+02:00 Timo Rothenpieler <timo at rothenpieler.org>:
> > The purpose of this patch is to make conversion from
> > yuv420p (8 bit) to p010 (10 bit) fast.
> Do I understand you correctly that your patch is
> faster without the change I suggested?

We should also consider whether not zeroing out the LSBs affects other
pieces of code (or hardware) which support p010 as input.

If they all ignore the LSBs as the spec seems to require, I agree with
Carl. If they break or the output changes, it may be more complicated.


More information about the ffmpeg-devel mailing list