[FFmpeg-devel] [PATCH] lavc/rawdec: Remove superfluous AV_PIX_FMT_MONOWHITE code

Mats Peterson matsp888 at yahoo.com
Sun Jan 31 12:25:30 CET 2016


On 01/31/2016 12:19 PM, Mats Peterson wrote:
> I've obviously missed that one, Michael, but I don't see the reason to
> switch to monow whatsoever. The space saving of using monow rather than
> pal8 for 1 bpp data is rather irrelevant nowadays. Your mileage may
> vary, of course. And in order to be consequent, this would have to be
> done for 1 bpp QuickTime Animation (qtrle) as well.
>
> with your patch applied, this one should of course be ignored.
>
> Mats
>

What's more, the palette side data is retrieved twice with your patch, 
at the beginning and at the end of raw_decode().

Mats



More information about the ffmpeg-devel mailing list