[MPlayer-dev-eng] optimized colorspace for ALTIVEC enabled platforms

D Richard Felker III dalias at aerifal.cx
Tue Mar 9 06:06:34 CET 2004

On Mon, Mar 08, 2004 at 10:21:55PM -0500, Marc Hoffman wrote:
> I would like to submit my patch for postproc.


> /*
>   marc.hoffman at analog.com    March 8, 2004
>   Altivec Acceleration for Color Space Conversion revision 0.1
>   convert I420 YV12 to RGB in various formats, 
>     it rejects images that are not in 420 formats 
>     it rejects images that don't have widths of multiples of 16
>     it rejects images that don't have heights of multiples of 2
>   reject defers to C simulation codes.

It shouldn't reject the whole image. Instead just convert the largest
region it can (simple by playing around with width/height/stride) and
then call the C version to process the small strips that remain.


More information about the MPlayer-dev-eng mailing list