[FFmpeg-cvslog] r23073 - trunk/libavcodec/raw.c

stefano subversion
Mon May 10 01:04:01 CEST 2010


Author: stefano
Date: Mon May 10 01:04:01 2010
New Revision: 23073

Log:
Make the codec tags for the yuvjXXX pixel formats the same as the
corresponding ones for the yuvXXX pixel formats.

Modified:
   trunk/libavcodec/raw.c

Modified: trunk/libavcodec/raw.c
==============================================================================
--- trunk/libavcodec/raw.c	Mon May 10 00:56:04 2010	(r23072)
+++ trunk/libavcodec/raw.c	Mon May 10 01:04:01 2010	(r23073)
@@ -36,6 +36,13 @@ const PixelFormatTag ff_raw_pixelFormatT
     { PIX_FMT_YUV411P, MKTAG('Y', '4', '1', 'B') },
     { PIX_FMT_YUV422P, MKTAG('Y', '4', '2', 'B') },
     { PIX_FMT_YUV422P, MKTAG('P', '4', '2', '2') },
+    /* yuvjXXX formats are deprecated hacks specific to libav*,
+       they are identical to yuvXXX  */
+    { PIX_FMT_YUVJ420P, MKTAG('I', '4', '2', '0') }, /* Planar formats */
+    { PIX_FMT_YUVJ420P, MKTAG('I', 'Y', 'U', 'V') },
+    { PIX_FMT_YUVJ420P, MKTAG('Y', 'V', '1', '2') },
+    { PIX_FMT_YUVJ422P, MKTAG('Y', '4', '2', 'B') },
+    { PIX_FMT_YUVJ422P, MKTAG('P', '4', '2', '2') },
     { PIX_FMT_GRAY8,   MKTAG('Y', '8', '0', '0') },
     { PIX_FMT_GRAY8,   MKTAG(' ', ' ', 'Y', '8') },
 



More information about the ffmpeg-cvslog mailing list