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

Michael Niedermayer michael at niedermayer.cc
Sun Jan 31 23:08:32 CET 2016


On Sun, Jan 31, 2016 at 10:53:35PM +0100, Mats Peterson wrote:
> On 01/31/2016 10:49 PM, Mats Peterson wrote:
> >>this decission should be made by other developers, who where not
> >>involved in this disagreement, that should result in a outcome that
> >>represents the preferrances of the community better.
> >>
> >
> >wm4 is already on my side, as far as I understand.
> >
> 
> Just because we have monow and monob pixel formats, it doesn't mean
> they should be used wherever 1 bpp data is involved. And once again,
> the semantics according to Microsoft are that 1 bpp AVI is NEVER
> monochrome, it is ALWAYS palettized, regardless of the number of
> colors, or whether they are black & white or not. And implementing
> "mono switches" for 1 bpp depth for every file format involves
> writing a lot of superfluous code just for this, and in the case of
> qtrle, creating a whole new loop for the 1 bpp case. Overkill.

i did not suggest that.
my suggestion is just about the raw video decoder, that is if a
AVPacket contains monochrome 1bpp black/white data without a palette
that this is passed through and not converted to pal8

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you drop bombs on a foreign country and kill hundred thousands of
innocent people, expect your government to call the consequence
"unprovoked inhuman terrorist attacks" and use it to justify dropping
more bombs and killing more people. The technology changed, the idea is old.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160131/aee33f06/attachment.sig>


More information about the ffmpeg-devel mailing list