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
This commit is contained in:
Stefano Sabatini 2010-06-06 18:29:42 +00:00
parent 2839c56ea6
commit d588e3f59b
2 changed files with 4 additions and 0 deletions

View File

@ -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 ) },

View File

@ -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 ) },