[FFmpeg-devel] [PATCH v3] lavc/rawdec: Use AV_PIX_FMT_PAL8 for 1-bit raw AVI video

Mats Peterson matsp888 at yahoo.com
Wed Jan 20 14:27:06 CET 2016

On 01/20/2016 12:41 PM, Mats Peterson wrote:
> I don't know about this one, since it adds some calculations inside the
> loop, but it limits the line alignment to 16 bytes instead of 32 bytes
> as before. Less overhead.
> Mats

I could even do it with 8-byte line alignment as is already done for 4 
bpp, but then I'll get "Warning: Data is not aligned!" messages for odd 
widths. Don't know how important it is to use the minimum 16 bytes for 
the line alignment in this case really.


Mats Peterson

More information about the ffmpeg-devel mailing list