On 01/25/2016 01:57 AM, Michael Niedermayer wrote:
do you have a link to these 1bpp palette docs ?
https://msdn.microsoft.com/en-us/library/windows/desktop/dd183376%28v=vs.85%29.aspx
Note the following regarding 1-bit mode:
"The bitmap is monochrome, and the bmiColors member of BITMAPINFO
contains two entries. Each bit in the bitmap array represents a pixel.
If the bit is clear, the pixel is displayed with the color of the first
entry in the bmiColors table; if the bit is set, the pixel has the color
of the second entry in the table."
Monochrome doesn't mean black & white here, merely bi-level, as for PNG,
TIFF and QuickTime.
Mats
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel