[FFmpeg-devel] [PATCH 3/4] rawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE

Michael Niedermayer michaelni at gmx.at
Thu Mar 24 00:37:26 CET 2011


On Wed, Mar 23, 2011 at 05:14:11PM +0100, Stefano Sabatini wrote:
> On date Wednesday 2011-03-23 22:41:08 +1100, Peter Ross encoded:
> > ---
> >  libavcodec/raw.c |    2 ++
> >  1 files changed, 2 insertions(+), 0 deletions(-)
> > 
> > diff --git a/libavcodec/raw.c b/libavcodec/raw.c
> > index 1fbf4d2..26b4df6 100644
> > --- a/libavcodec/raw.c
> > +++ b/libavcodec/raw.c
> > @@ -102,6 +102,8 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
> >      { PIX_FMT_BGR4_BYTE,MKTAG('R', '4', 'B', 'Y') },
> >      { PIX_FMT_RGB48LE,  MKTAG('R', 'G', 'B', 48 ) },
> >      { PIX_FMT_RGB48BE,  MKTAG( 48, 'R', 'G', 'B') },
> > +    { PIX_FMT_BGR48LE,  MKTAG('B', 'G', 'R', 48 ) },
> > +    { PIX_FMT_BGR48BE,  MKTAG( 48, 'B', 'G', 'R') },
> >      { PIX_FMT_GRAY16LE,    MKTAG('Y', '1',  0 , 16 ) },
> >      { PIX_FMT_GRAY16BE,    MKTAG(16 ,  0 , '1', 'Y') },
> >      { PIX_FMT_YUV420P16LE, MKTAG('Y', '3', 11 , 16 ) },
> 
> LGTM.
> 
> Note, nut/nut4cc.txt doesn't list these tags, so I suppose they're
> standard AVI tags, otherwise we need to update nut/nut4cc.txt (which
> can be done in a second moment if Michael is fine with it).

michael is fine with it

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- 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-devel/attachments/20110324/cbc8016e/attachment.asc>


More information about the ffmpeg-devel mailing list