[FFmpeg-devel] [PATCH] libswscale: Extend the generic path of the yuv2rgb converter with support for rgb444 output format

Michael Niedermayer michaelni
Thu Mar 18 17:31:40 CET 2010


On Sat, Mar 06, 2010 at 02:43:03AM +0100, Janusz Krzysztofik wrote:
> In order to play different video sources on a 12-bit display, like OMAP1 
> frambuffer with 12-bit LCD controller that my Amstrad Delta videophone is 
> equipped with, more rgb444 support is required in addition to that already 
> added to the unaccelerated path of the unscaled yuv2rgb special converter. 
> 
> This patch tries to provide necessary support for the generic (slower) code 
> path.
> 
> Created and tested against libswscale svn revision 30842.
> 
> Tested on Amstrad Delta, using patched mplayer video output drivers, with 
> 24bpp IJPG sourcers that required scaling and with 8bpp RGB (gif) source.
> 
> Signed-off-by: Janusz Krzysztofik <jkrzyszt at tis.icnet.pl>
> ---
> --- trunk/libswscale/swscale.c.orig	2010-03-05 14:13:14.000000000 +0100
> +++ trunk/libswscale/swscale.c	2010-03-05 20:31:46.000000000 +0100

looks ok, if tested

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

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- 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/20100318/e8e0d83d/attachment.pgp>



More information about the ffmpeg-devel mailing list