mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-22 23:10:00 +01:00
lavc/rawdec: Use AV_PIX_FMT_PAL8 for 1-bit raw QuickTime video
Match the use of AV_PIX_FMT_PAL8 for 1-bit QuickTime Animation in lavc/qtrle. To reiterate, 1-bit video is not necessary black & white in QuickTime, merely bi-level. The two colors can be any color. The palette, either included in the sample description, or the default Macintosh palette (black & white for 1-bit video) will be set in lavf/qtpalette. See the QuickTime File Format Specification for details. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
Michael Niedermayer
parent
bb2f8bdeca
commit
5da1477fa0
@@ -255,13 +255,13 @@ const PixelFormatTag avpriv_pix_fmt_bps_avi[] = {
|
||||
};
|
||||
|
||||
const PixelFormatTag avpriv_pix_fmt_bps_mov[] = {
|
||||
{ AV_PIX_FMT_MONOWHITE, 1 },
|
||||
{ AV_PIX_FMT_PAL8, 1 },
|
||||
{ AV_PIX_FMT_PAL8, 2 },
|
||||
{ AV_PIX_FMT_PAL8, 4 },
|
||||
{ AV_PIX_FMT_PAL8, 8 },
|
||||
{ AV_PIX_FMT_RGB555BE, 16 },
|
||||
{ AV_PIX_FMT_RGB24, 24 },
|
||||
{ AV_PIX_FMT_ARGB, 32 },
|
||||
{ AV_PIX_FMT_MONOWHITE,33 },
|
||||
{ AV_PIX_FMT_PAL8, 33 },
|
||||
{ AV_PIX_FMT_NONE, 0 },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user