[FFmpeg-devel] [PATCH] Support > 8 bit input in yuv2rgb.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Nov 8 00:26:55 CET 2013


On Thu, Nov 07, 2013 at 10:09:59PM +0100, Michael Niedermayer wrote:
> On Thu, Nov 07, 2013 at 09:43:07PM +0100, Reimar Döffinger wrote:
> > Fairly ugly but about 3x faster than the default path (tested on ARM).
> > 
> > Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> > ---
> >  libswscale/swscale_unscaled.c |   3 +
> >  libswscale/yuv2rgb.c          | 548 ++++++------------------------------------
> >  libswscale/yuv2rgb_template.c | 458 +++++++++++++++++++++++++++++++++++
> >  3 files changed, 536 insertions(+), 473 deletions(-)
> >  create mode 100644 libswscale/yuv2rgb_template.c
> 
> seems to break: -vf format=yuv422p10le,scale,format=rgb0
> 
> tested with ffplay & matrixbench

Ok, now I feel stupid.
I'll try again, but I actually tested on x86 this time.
Last time the problem was that the accelerated functions thought they
could handle it, but they of course only support 8 bit...


More information about the ffmpeg-devel mailing list