[FFmpeg-cvslog] r20439 - in trunk: libavcodec/raw.c libavformat/isom.c
compn
subversion
Tue Nov 3 17:17:22 CET 2009
Author: compn
Date: Tue Nov 3 17:17:21 2009
New Revision: 20439
Log:
add yuvs fourcc to raw.c and isom.c, fixes samples/mov/yuvs.mov
patch by Andrew Wason
Modified:
trunk/libavcodec/raw.c
trunk/libavformat/isom.c
Modified: trunk/libavcodec/raw.c
==============================================================================
--- trunk/libavcodec/raw.c Tue Nov 3 04:26:26 2009 (r20438)
+++ trunk/libavcodec/raw.c Tue Nov 3 17:17:21 2009 (r20439)
@@ -62,6 +62,7 @@ const PixelFormatTag ff_raw_pixelFormatT
{ PIX_FMT_UYVY422, MKTAG('2', 'v', 'u', 'y') },
{ PIX_FMT_UYVY422, MKTAG('A', 'V', 'U', 'I') }, /* FIXME merge both fields */
{ PIX_FMT_YUYV422, MKTAG('y', 'u', 'v', '2') },
+ { PIX_FMT_YUYV422, MKTAG('y', 'u', 'v', 's') },
{ PIX_FMT_PAL8, MKTAG('W', 'R', 'A', 'W') },
{ PIX_FMT_NONE, 0 },
Modified: trunk/libavformat/isom.c
==============================================================================
--- trunk/libavformat/isom.c Tue Nov 3 04:26:26 2009 (r20438)
+++ trunk/libavformat/isom.c Tue Nov 3 17:17:21 2009 (r20439)
@@ -64,6 +64,7 @@ const AVCodecTag codec_movvideo_tags[] =
{ CODEC_ID_RAWVIDEO, MKTAG('y', 'u', 'v', '2') }, /* Uncompressed YUV422 */
{ CODEC_ID_RAWVIDEO, MKTAG('A', 'V', 'U', 'I') }, /* YUV with alpha-channel (AVID Uncompressed) */
{ CODEC_ID_RAWVIDEO, MKTAG('2', 'v', 'u', 'y') }, /* UNCOMPRESSED 8BIT 4:2:2 */
+ { CODEC_ID_RAWVIDEO, MKTAG('y', 'u', 'v', 's') }, /* same as 2vuy but byte swapped */
{ CODEC_ID_V210, MKTAG('v', '2', '1', '0') }, /* UNCOMPRESSED 10BIT 4:2:2 */
More information about the ffmpeg-cvslog
mailing list