[FFmpeg-cvslog] Support more QT 1bpp rawvideo files.
Mike Melanson
mike at multimedia.cx
Fri May 13 18:33:11 CEST 2011
> ffmpeg | branch: master | ami_stuff <ami_stuff at o2.pl> | Fri May 13
> 18:10:33 2011 +0200| [2bd12ee3c8dd7b2555af9aafa0b484b32ba59520] |
> committer: Carl Eugen Hoyos
>
> Support more QT 1bpp rawvideo files.
>
> Fixes ticket #189.
>
>> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2bd12ee3c8dd7b2555af9aafa0b484b32ba59520
> ---
>
> libavcodec/rawdec.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
> index bd9312c..385bdf4 100644
> --- a/libavcodec/rawdec.c
> +++ b/libavcodec/rawdec.c
> @@ -59,6 +59,7 @@ static const PixelFormatTag pix_fmt_bps_mov[] = {
> { PIX_FMT_RGB555BE, 16 },
> { PIX_FMT_RGB24, 24 },
> { PIX_FMT_ARGB, 32 },
> + { PIX_FMT_MONOWHITE,33 },
> { PIX_FMT_NONE, 0 },
> };
If the above is true, then as a completionist matter, I suspect that 32,
36, and 40 would all correspond to PIX_FMT_PAL8. The formula is bits per
pixel in bits 4-0 with bit 5 set for a greyscale colorspace, so (0x20 |
bpp).
--
-Mike Melanson
More information about the ffmpeg-cvslog
mailing list