[FFmpeg-devel] [PATCH] IFF: Add grayscale support to decoder

Sebastian Vater cdgs.basty
Thu May 13 19:31:58 CEST 2010


Sebastian Vater a ?crit :
> So this patch fixes this issue by setting PIX_FMT_GRAY8 only if bpp == 8
> and initializes a custom RGB color palette for bpp < 8 simulating
> correct behaviour (pictures are way too dark otherwise).
>
> Please note that the GRAY2RGB macro will later be used by HAM, too.
>
> I also checked this on big endian and it works correctly there, too.
>   

Reindentation patch.


-- 

Best regards,
                   :-) Basty/CDGS (-:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: iff-decoder-grayscale-support-indent.patch
Type: text/x-patch
Size: 1029 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100513/675ce6db/attachment.bin>



More information about the ffmpeg-devel mailing list