[FFmpeg-cvslog] r20432 - in trunk: libavcodec/raw.c libavformat/riff.c

compn subversion
Mon Nov 2 01:10:10 CET 2009


Author: compn
Date: Mon Nov  2 01:10:10 2009
New Revision: 20432

Log:
map VYUY fourcc to rawcodec
fixes http://samples.mplayerhq.hu/V-codecs/ATI-VCR12/ATI/y422test.avi

Modified:
   trunk/libavcodec/raw.c
   trunk/libavformat/riff.c

Modified: trunk/libavcodec/raw.c
==============================================================================
--- trunk/libavcodec/raw.c	Sun Nov  1 21:14:56 2009	(r20431)
+++ trunk/libavcodec/raw.c	Mon Nov  2 01:10:10 2009	(r20432)
@@ -43,6 +43,7 @@ const PixelFormatTag ff_raw_pixelFormatT
     { PIX_FMT_YUYV422, MKTAG('Y', 'U', 'Y', '2') }, /* Packed formats */
     { PIX_FMT_YUYV422, MKTAG('Y', '4', '2', '2') },
     { PIX_FMT_YUYV422, MKTAG('V', '4', '2', '2') },
+    { PIX_FMT_YUYV422, MKTAG('V', 'Y', 'U', 'Y') },
     { PIX_FMT_YUYV422, MKTAG('Y', 'U', 'N', 'V') },
     { PIX_FMT_UYVY422, MKTAG('U', 'Y', 'V', 'Y') },
     { PIX_FMT_UYVY422, MKTAG('H', 'D', 'Y', 'C') },

Modified: trunk/libavformat/riff.c
==============================================================================
--- trunk/libavformat/riff.c	Sun Nov  1 21:14:56 2009	(r20431)
+++ trunk/libavformat/riff.c	Mon Nov  2 01:10:10 2009	(r20432)
@@ -151,6 +151,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
     { CODEC_ID_RAWVIDEO,     MKTAG('P', '4', '2', '2') },
     { CODEC_ID_RAWVIDEO,     MKTAG('Y', 'V', '1', '2') },
     { CODEC_ID_RAWVIDEO,     MKTAG('U', 'Y', 'V', 'Y') },
+    { CODEC_ID_RAWVIDEO,     MKTAG('V', 'Y', 'U', 'Y') },
     { CODEC_ID_RAWVIDEO,     MKTAG('I', 'Y', 'U', 'V') },
     { CODEC_ID_RAWVIDEO,     MKTAG('Y', '8', '0', '0') },
     { CODEC_ID_RAWVIDEO,     MKTAG('H', 'D', 'Y', 'C') },



More information about the ffmpeg-cvslog mailing list