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

Michael Niedermayer michaelni
Fri Apr 17 23:51:39 CEST 2009


On Fri, Apr 17, 2009 at 04:13:55PM +0200, C?dric Schieli wrote:
> Hi,
> 
> $subject
> 
> 
> sws_yuv2rgb_split_out_macros.patch :
> splits out PUTRGB* macros from yuv2rgb.c into a separate yuv2rgb.h so
> they can be reused in yuv2rgb_template.c
> 
> sws_yuv2rgb_mmx_split_trailer_macro.patch :
> splits out the end of the loop from YUV2RGB_OPERANDS* macros to a
> separate YUV2RGB_TRAIL macro
> 
> sws_yuv2rgb_mmx_factorize_vars_declaration.patch :
> factorizes variables declaration
> 
> sws_yuv2rgb_mmx_unaligned_width.patch :
> use the C macros to convert the trailing pixels

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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090417/b7338b3f/attachment.pgp>



More information about the ffmpeg-devel mailing list