[FFmpeg-devel] [PATCH 06/13] Add support to the Y411 codec tag, corresponding to the rawvideo pixel format uyyvyy411.
Stefano Sabatini
stefano.sabatini-lala
Sun May 9 15:27:08 CEST 2010
The codec tag is referenced in fourcc.org.
---
libavcodec/raw.c | 1 +
libavformat/riff.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 56cb819..801b48c 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -55,6 +55,7 @@ const PixelFormatTag ff_raw_pixelFormatTags[] = {
{ PIX_FMT_UYVY422, MKTAG('A', 'V', '1', 'x') }, /* Avid 1:1x */
{ PIX_FMT_UYVY422, MKTAG('A', 'V', 'u', 'p') },
{ PIX_FMT_UYVY422, MKTAG('V', 'D', 'T', 'Z') }, /* SoftLab-NSK VideoTizer */
+ { PIX_FMT_UYYVYY411, MKTAG('Y', '4', '1', '1') },
{ PIX_FMT_GRAY8, MKTAG('G', 'R', 'E', 'Y') },
{ PIX_FMT_RGB555LE, MKTAG('R', 'G', 'B', 15) },
{ PIX_FMT_BGR555LE, MKTAG('B', 'G', 'R', 15) },
diff --git a/libavformat/riff.c b/libavformat/riff.c
index 340fd76..2b4c53f 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -167,6 +167,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
{ CODEC_ID_RAWVIDEO, MKTAG('H', 'D', 'Y', 'C') },
{ CODEC_ID_RAWVIDEO, MKTAG('Y', 'V', 'U', '9') },
{ CODEC_ID_RAWVIDEO, MKTAG('V', 'D', 'T', 'Z') }, /* SoftLab-NSK VideoTizer */
+ { CODEC_ID_RAWVIDEO, MKTAG('Y', '4', '1', '1') },
{ CODEC_ID_FRWU, MKTAG('F', 'R', 'W', 'U') },
{ CODEC_ID_R210, MKTAG('r', '2', '1', '0') },
{ CODEC_ID_V210, MKTAG('v', '2', '1', '0') },
--
1.7.0
More information about the ffmpeg-devel
mailing list