[FFmpeg-cvslog] r23504 - in trunk: libavcodec/raw.c libavformat/nut.c

michael subversion
Sun Jun 6 13:43:53 CEST 2010


Author: michael
Date: Sun Jun  6 13:43:53 2010
New Revision: 23504

Log:
bgr/rgb444 for nut

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

Modified: trunk/libavcodec/raw.c
==============================================================================
--- trunk/libavcodec/raw.c	Sun Jun  6 13:00:30 2010	(r23503)
+++ trunk/libavcodec/raw.c	Sun Jun  6 13:43:53 2010	(r23504)
@@ -75,6 +75,10 @@ const PixelFormatTag ff_raw_pix_fmt_tags
     { PIX_FMT_BGR555BE, MKTAG(15 , 'R', 'G', 'B') },
     { PIX_FMT_RGB565BE, MKTAG(16 , 'B', 'G', 'R') },
     { PIX_FMT_BGR565BE, MKTAG(16 , 'R', 'G', 'B') },
+    { PIX_FMT_RGB444LE, MKTAG('R', 'G', 'B', 12) },
+    { PIX_FMT_BGR444LE, MKTAG('B', 'G', 'R', 12) },
+    { PIX_FMT_RGB444BE, MKTAG(12 , 'B', 'G', 'R') },
+    { PIX_FMT_BGR444BE, MKTAG(12 , 'R', 'G', 'B') },
     { PIX_FMT_RGBA,     MKTAG('R', 'G', 'B', 'A') },
     { PIX_FMT_BGRA,     MKTAG('B', 'G', 'R', 'A') },
     { PIX_FMT_ABGR,     MKTAG('A', 'B', 'G', 'R') },

Modified: trunk/libavformat/nut.c
==============================================================================
--- trunk/libavformat/nut.c	Sun Jun  6 13:00:30 2010	(r23503)
+++ trunk/libavformat/nut.c	Sun Jun  6 13:43:53 2010	(r23504)
@@ -40,6 +40,10 @@ const AVCodecTag ff_nut_video_tags[] = {
     { CODEC_ID_RAWVIDEO, MKTAG(15 , 'R', 'G', 'B') },
     { CODEC_ID_RAWVIDEO, MKTAG(16 , 'B', 'G', 'R') },
     { CODEC_ID_RAWVIDEO, MKTAG(16 , 'R', 'G', 'B') },
+    { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 12 ) },
+    { CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 12 ) },
+    { CODEC_ID_RAWVIDEO, MKTAG(12 , 'B', 'G', 'R') },
+    { CODEC_ID_RAWVIDEO, MKTAG(12 , 'R', 'G', 'B') },
     { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 'A') },
     { CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 'A') },
     { CODEC_ID_RAWVIDEO, MKTAG('A', 'B', 'G', 'R') },



More information about the ffmpeg-cvslog mailing list