[FFmpeg-devel] MMX optimized functions in yuv2rgb_template.c ignore trailing pixels for non-aligned destination width

Cédric Schieli cschieli
Sat Apr 18 15:44:34 CEST 2009

2009/4/17 Michael Niedermayer <michaelni at gmx.at>:
> On Fri, Apr 17, 2009 at 04:13:55PM +0200, C?dric Schieli wrote:
>> Hi,
>> $subject


> The existing C code converter should be called not duplicated in every
> optimized function
> this could be done in 2 ways,
> per line
> per slice

So C functions should be fixed before to not ignore trailing pixels
for non-4-aligned width :

sws_yuv2rgb_c_unaligned.patch :
fix C functions

sws_yuv2rgb_c_wrappers.patch :
split C functions and export inner loop in new yuv2rgb.h

sws_yuv2rgb_mmx_split_trailer_macro.patch :
as before

sws_yuv2rgb_mmx_unaligned.patch :
use C functions for trailing pixels (per slice)

sws_yuv2rgb_mmx_unaligned-2.patch :
use C functions for trailing pixels (per line)

C?dric Schieli

More information about the ffmpeg-devel mailing list