Re: [FFmpeg-devel] [PATCH] lavc/rawdec: Use AV_PIX_FMT_PAL8 for 1 bpp raw video in AVI

2016-01-26 Thread Mats Peterson
On 01/26/2016 04:48 PM, Mats Peterson wrote: From https://en.wikipedia.org/wiki/BMP_file_format#Pixel_format: "The 1-bit per pixel (1bpp) format supports 2 distinct colors, (for example: black and white). The pixel values are stored in each bit, with the first (left-most) pixel in the most-sign

Re: [FFmpeg-devel] [PATCH] lavc/rawdec: Use AV_PIX_FMT_PAL8 for 1 bpp raw video in AVI

2016-01-26 Thread Mats Peterson
On 01/26/2016 11:43 AM, Mats Peterson wrote: Michael, the 'test1.bmp' file in the 'bmp' directory in the FATE test suite contains a palette with green and blue colors, and when opening it in Paint in Windows XP, it will be displayed with the colors in the palette, not just black & white. This lea