[Ffmpeg-devel] libswscale 8 bit decoding

Steven Johnson mplayer
Wed Nov 15 03:08:22 CET 2006


Hello,

Please find attached a patch to libswscale to support displaying pal8 
formats.

Notes:

I am not sure I have done everything I need to do.

I have not worked out how to exercise the pal8 to rgb* conversion code, yet.

I have tested the pal8toyv12 code and it seems to work (I can play FLC 
files with libswscale and couldn't before).

I do notice there is a visible decrease in quality playing 8bpp FLC's 
through this code than through the non libswscale code in ffmpeg.  I 
attribute that to the yv12 conversion for display. 

I do not claim this is perfect or ready for integration into ffmpeg,  I 
am posting it for review.   Thanks in advance for any comments or advice.

Steven J
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libswscale_pal8.patch
Type: text/x-patch
Size: 9587 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061115/77092f1d/attachment.bin>



More information about the ffmpeg-devel mailing list