bgr/rgb444 for nut

Originally committed as revision 23504 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2010-06-06 11:43:53 +00:00
parent de51f22d85
commit 63455b8c7e
2 changed files with 8 additions and 0 deletions

View File

@ -75,6 +75,10 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
{ PIX_FMT_BGR555BE, MKTAG(15 , 'R', 'G', 'B') },
{ PIX_FMT_RGB565BE, MKTAG(16 , 'B', 'G', 'R') },
{ PIX_FMT_BGR565BE, MKTAG(16 , 'R', 'G', 'B') },
{ PIX_FMT_RGB444LE, MKTAG('R', 'G', 'B', 12) },
{ PIX_FMT_BGR444LE, MKTAG('B', 'G', 'R', 12) },
{ PIX_FMT_RGB444BE, MKTAG(12 , 'B', 'G', 'R') },
{ PIX_FMT_BGR444BE, MKTAG(12 , 'R', 'G', 'B') },
{ PIX_FMT_RGBA, MKTAG('R', 'G', 'B', 'A') },
{ PIX_FMT_BGRA, MKTAG('B', 'G', 'R', 'A') },
{ PIX_FMT_ABGR, MKTAG('A', 'B', 'G', 'R') },

View File

@ -40,6 +40,10 @@ const AVCodecTag ff_nut_video_tags[] = {
{ CODEC_ID_RAWVIDEO, MKTAG(15 , 'R', 'G', 'B') },
{ CODEC_ID_RAWVIDEO, MKTAG(16 , 'B', 'G', 'R') },
{ CODEC_ID_RAWVIDEO, MKTAG(16 , 'R', 'G', 'B') },
{ CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 12 ) },
{ CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 12 ) },
{ CODEC_ID_RAWVIDEO, MKTAG(12 , 'B', 'G', 'R') },
{ CODEC_ID_RAWVIDEO, MKTAG(12 , 'R', 'G', 'B') },
{ CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 'A') },
{ CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 'A') },
{ CODEC_ID_RAWVIDEO, MKTAG('A', 'B', 'G', 'R') },