Add support to B4BY and R4BY NUT codec tags added in NUT r672.

Originally committed as revision 23508 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Stefano Sabatini 15 years ago
parent 2839c56ea6
commit d588e3f59b
  1. 2
      libavcodec/raw.c
  2. 2
      libavformat/nut.c

@ -98,6 +98,8 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
{ PIX_FMT_RGB8, MKTAG('R', 'G', 'B', 8 ) },
{ PIX_FMT_BGR4, MKTAG('B', 'G', 'R', 4 ) },
{ PIX_FMT_RGB4, MKTAG('R', 'G', 'B', 4 ) },
{ PIX_FMT_RGB4_BYTE,MKTAG('B', '4', 'B', 'Y') },
{ 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_GRAY16LE, MKTAG('Y', '1', 0 , 16 ) },

@ -63,6 +63,8 @@ const AVCodecTag ff_nut_video_tags[] = {
{ CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 8 ) },
{ CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 4 ) },
{ CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 4 ) },
{ CODEC_ID_RAWVIDEO, MKTAG('B', '4', 'B', 'Y') },
{ CODEC_ID_RAWVIDEO, MKTAG('R', '4', 'B', 'Y') },
{ CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 48 ) },
{ CODEC_ID_RAWVIDEO, MKTAG(48 , 'R', 'G', 'B') },
{ CODEC_ID_RAWVIDEO, MKTAG('Y', '1', 0 , 16 ) },

Loading…
Cancel
Save