[FFmpeg-devel] [RESEND][PATCH] libswscale: Extend the unaccelerated path of the unscaled yuv2rgb special converter with support for rgb444 output format
Michael Niedermayer
michaelni
Tue Mar 2 12:56:14 CET 2010
On Mon, Mar 01, 2010 at 02:09:56AM +0100, Janusz Krzysztofik wrote:
> In order to play video on a 12-bit display, like OMAP1 frambuffer with 12-bit
> LCD controller that my Amstrad Delta videophone is equipped with, one or more
> libswscale converters with rgb444 output pixel format support are required.
> This patch adds such support to the unaccelerated path of the unscaled yuv2rgb
> special converter.
>
> Created and tested against ffmpeg svn revision 22124, on to off:
> [PATCH v2] Add initial support for 12-bit color mode.
>
> Tested on Amstrad Delta with 24bpp IJPG and MP43 sourcers using patched
> mplayer video output drivers.
>
> Signed-off-by: Janusz Krzysztofik <jkrzyszt at tis.icnet.pl>
>
> ---
> Forgot to turn off line wrapping before sending it out, sorry.
>
> Thanks,
> Janusz
>
>
[...]
> diff -upr trunk/libswscale/swscale.c trunk.rgb12/libswscale/swscale.c
> --- trunk/libswscale/swscale.c 2010-02-24 15:55:47.000000000 +0100
> +++ trunk.rgb12/libswscale/swscale.c 2010-02-25 11:30:58.000000000 +0100
> @@ -23,11 +23,11 @@
>
> /*
> supported Input formats: YV12, I420/IYUV, YUY2, UYVY, BGR32, BGR32_1, BGR24, BGR16, BGR15, RGB32, RGB32_1, RGB24, Y8/Y800, YVU9/IF09, PAL8
> - supported output formats: YV12, I420/IYUV, YUY2, UYVY, {BGR,RGB}{1,4,8,15,16,24,32}, Y8/Y800, YVU9/IF09
> + supported output formats: YV12, I420/IYUV, YUY2, UYVY, {BGR,RGB}{1,4,8,12,15,16,24,32}, Y8/Y800, YVU9/IF09
> {BGR,RGB}{1,4,8,15,16} support dithering
until the generic scaling code supports it it should not be listed as
supported
also it seems dithering is missing
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- 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/20100302/78b60d69/attachment.pgp>
More information about the ffmpeg-devel
mailing list