changeset 11737:74a65e23c2e7 libavcodec

Add missing rawvideo pixel formats to codec tags mappings for nut.
author stefano
date Sun, 16 May 2010 17:08:47 +0000
parents 98492069d859
children 9bfef228a117
files raw.c
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/raw.c	Sun May 16 07:56:31 2010 +0000
+++ b/raw.c	Sun May 16 17:08:47 2010 +0000
@@ -82,6 +82,21 @@
     { PIX_FMT_ARGB,     MKTAG('A', 'R', 'G', 'B') },
     { PIX_FMT_RGB24,    MKTAG('R', 'G', 'B', 24 ) },
     { PIX_FMT_BGR24,    MKTAG('B', 'G', 'R', 24 ) },
+    { PIX_FMT_YUV411P,  MKTAG('4', '1', '1', 'P') },
+    { PIX_FMT_YUV422P,  MKTAG('4', '2', '2', 'P') },
+    { PIX_FMT_YUVJ422P, MKTAG('4', '2', '2', 'P') },
+    { PIX_FMT_YUV440P,  MKTAG('4', '4', '0', 'P') },
+    { PIX_FMT_YUVJ440P, MKTAG('4', '4', '0', 'P') },
+    { PIX_FMT_YUV444P,  MKTAG('4', '4', '4', 'P') },
+    { PIX_FMT_YUVJ444P, MKTAG('4', '4', '4', 'P') },
+    { PIX_FMT_MONOWHITE,MKTAG('B', '1', 'W', '0') },
+    { PIX_FMT_MONOBLACK,MKTAG('B', 'O', 'W', '1') },
+    { PIX_FMT_BGR8,     MKTAG('B', 'G', 'R',  8 ) },
+    { PIX_FMT_RGB8,     MKTAG('R', 'G', 'B',  8 ) },
+    { PIX_FMT_BGR4,     MKTAG('B', 'G', 'R',  4 ) },
+    { PIX_FMT_RGB4,     MKTAG('R', 'G', 'B',  4 ) },
+    { PIX_FMT_RGB48LE,  MKTAG('R', 'G', 'B', 48 ) },
+    { PIX_FMT_RGB48BE,  MKTAG( 48, 'R', 'G', 'B') },
 
     /* quicktime */
     { PIX_FMT_UYVY422, MKTAG('2', 'v', 'u', 'y') },