[FFmpeg-cvslog] Support more QT 1bpp rawvideo files.
Michael Niedermayer
michaelni at gmx.at
Fri May 13 20:28:45 CEST 2011
On Fri, May 13, 2011 at 09:33:11AM -0700, Mike Melanson wrote:
> > 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).
patch welcome
or
send me your public ssh key and commit yourself :)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20110513/0c8dfd02/attachment.asc>
More information about the ffmpeg-cvslog
mailing list