[FFmpeg-devel] [PATCH] Make swscale converters *ToY and *ToUV uniform

Luca Barbato lu_zero
Sun Sep 7 16:18:30 CEST 2008


Some converters have a prototype taking a long width others a int width 
parameter.

The width originally is an int. Moving everything to int makes some MMX2 
asm fail (just notice since I tried to build on amd64).

Next I'll add an additional (unused) parameter because of the pal converter.

The whole thing (beside keep thing consistent) aims to push away the 
branches for picking the right converter and avoid to have the C code 
injected as fallback in this template. Ultimate aim remove this template 
and have arch specific code in his separate file.

lu

-- 

Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero

-------------- next part --------------
A non-text attachment was scrubbed...
Name: swscale_uniform_prototype.diff
Type: text/x-patch
Size: 2339 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080907/4551e927/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swscale_uniform_prototype_long.diff
Type: text/x-patch
Size: 5674 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080907/4551e927/attachment-0001.bin>



More information about the ffmpeg-devel mailing list