diff --git a/libavcodec/raw.c b/libavcodec/raw.c index d6aaf7637f..f73a134a99 100644 --- a/libavcodec/raw.c +++ b/libavcodec/raw.c @@ -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') }, diff --git a/libavformat/nut.c b/libavformat/nut.c index 88d0dc2756..452fc35fd2 100644 --- a/libavformat/nut.c +++ b/libavformat/nut.c @@ -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') },