[FFmpeg-devel] [PATCH] lavc/rawdec: Only use AV_PIX_FMT_PAL8 for 1 bpp video

Mats Peterson matsp888 at yahoo.com
Sun Jan 31 16:41:44 CET 2016


On 01/31/2016 04:19 PM, Mats Peterson wrote:
> People will have to get used to the video data being converted from 1
> bpp to 8 bpp internally, just as they have become used to 2 and 4 bpp
> data being converted to 8 bpp. It shouldn't come as a shock, since this
> is perfectly logical behaviour, as long as we don't have "pal1", "pal2"
> or "pal4" pixel formats.
>
> Mats

Once again, I would be hard pressed to find an application today that 
uses a 1-bit bitmap internally for the purpose of saving space. This was 
important in the past when memory was severely limited.

Mats



More information about the ffmpeg-devel mailing list