1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avformat/avcodec: support rawvideo with planar rgb and alpha in nut

This commit is contained in:
Paul B Mahol 2016-08-23 16:48:48 +02:00
parent 10e3f18c8d
commit 61980dc479
2 changed files with 17 additions and 0 deletions

View File

@ -188,6 +188,14 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
{ AV_PIX_FMT_GBRP16LE, MKTAG('G', '3', 00 , 16 ) },
{ AV_PIX_FMT_GBRP16BE, MKTAG(16 , 00 , '3', 'G') },
{ AV_PIX_FMT_GBRAP, MKTAG('G', '4', 00 , 8 ) },
{ AV_PIX_FMT_GBRAP10LE, MKTAG('G', '4', 00 , 10 ) },
{ AV_PIX_FMT_GBRAP10BE, MKTAG(10 , 00 , '4', 'G') },
{ AV_PIX_FMT_GBRAP12LE, MKTAG('G', '4', 00 , 12 ) },
{ AV_PIX_FMT_GBRAP12BE, MKTAG(12 , 00 , '4', 'G') },
{ AV_PIX_FMT_GBRAP16LE, MKTAG('G', '4', 00 , 16 ) },
{ AV_PIX_FMT_GBRAP16BE, MKTAG(16 , 00 , '4', 'G') },
{ AV_PIX_FMT_XYZ12LE, MKTAG('X', 'Y', 'Z' , 36 ) },
{ AV_PIX_FMT_XYZ12BE, MKTAG(36 , 'Z' , 'Y', 'X') },

View File

@ -164,6 +164,15 @@ const AVCodecTag ff_nut_video_tags[] = {
{ AV_CODEC_ID_RAWVIDEO, MKTAG('G', '3', 0, 16) },
{ AV_CODEC_ID_RAWVIDEO, MKTAG(16, 0, '3', 'G') },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('G', '4', 0, 8) },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('G', '4', 00 , 10 ) },
{ AV_CODEC_ID_RAWVIDEO, MKTAG(10 , 00 , '4', 'G') },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('G', '4', 00 , 12 ) },
{ AV_CODEC_ID_RAWVIDEO, MKTAG(12 , 00 , '4', 'G') },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('G', '4', 00 , 16 ) },
{ AV_CODEC_ID_RAWVIDEO, MKTAG(16 , 00 , '4', 'G') },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('X', 'Y', 'Z' , 36 ) },
{ AV_CODEC_ID_RAWVIDEO, MKTAG(36 , 'Z' , 'Y', 'X') },