[FFmpeg-cvslog] r23145 - in trunk: libavcodec/raw.c libavformat/riff.c
stefano
subversion
Sun May 16 09:56:31 CEST 2010
Author: stefano
Date: Sun May 16 09:56:31 2010
New Revision: 23145
Log:
Add NV12 and NV21 AVI tags.
Both are listed in fourcc.org.
Modified:
trunk/libavcodec/raw.c
trunk/libavformat/riff.c
Modified: trunk/libavcodec/raw.c
==============================================================================
--- trunk/libavcodec/raw.c Sun May 16 09:56:26 2010 (r23144)
+++ trunk/libavcodec/raw.c Sun May 16 09:56:31 2010 (r23145)
@@ -64,6 +64,8 @@ const PixelFormatTag ff_raw_pixelFormatT
{ 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_NV12, MKTAG('N', 'V', '1', '2') },
+ { PIX_FMT_NV21, MKTAG('N', 'V', '2', '1') },
/* nut */
{ PIX_FMT_RGB555LE, MKTAG('R', 'G', 'B', 15) },
Modified: trunk/libavformat/riff.c
==============================================================================
--- trunk/libavformat/riff.c Sun May 16 09:56:26 2010 (r23144)
+++ trunk/libavformat/riff.c Sun May 16 09:56:31 2010 (r23145)
@@ -169,6 +169,8 @@ const AVCodecTag ff_codec_bmp_tags[] = {
{ 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_RAWVIDEO, MKTAG('N', 'V', '1', '2') },
+ { CODEC_ID_RAWVIDEO, MKTAG('N', 'V', '2', '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') },
More information about the ffmpeg-cvslog
mailing list