On 02/05/2016 03:43 PM, Michael Niedermayer wrote:
On Fri, Feb 05, 2016 at 03:29:36AM +0100, Mats Peterson wrote:
On 02/05/2016 03:04 AM, Mats Peterson wrote:
Yes, it could (regarding stride being zero). Here's an updated patch.


If you think it's extremely important to use monow for the case of
raw 1 bpp AVI without a palette, I can remove the "Temporary
solution" comments. But remember this will only be for AVI.

patch applied, but i think theres more that needs fixing than pal8
in nut.
Most important is that the code which chooses the pixel format for
encoding end up choosing monowhite if the inut is PAL8 with 2 matching
colors.
Then decoders could output PAL8 but encoders would receve monow if
they support it and no changes would be needed per codec

I don't agree that monowhite should be used at all for palettized formats like AVI and QuickTime. This is the umpteenth time I say this. You don't seem to care about 2- or 4-bit files being converted to pal8, so what's the big deal with 1-bit files? And don't give me the "file explosion" thing again. Furthermore, everything else that concerns palettized 1 bpp data in FFmpeg (QuickTime raw/RLE and BMP) is currently (correctly) converted to pal8

Mats

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to