[PATCH 3/9] Add missing rawvideo pixel formats to codec tags mappings for the nut rawvideo pixel formats codec tags.
Stefano Sabatini
stefano.sabatini-lala
Sun May 9 10:57:58 CEST 2010
---
libavcodec/raw.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index b72dd25..6850264 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -82,6 +82,21 @@ const PixelFormatTag ff_raw_pixelFormatTags[] = {
{ 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') },
--
1.7.0
--+HP7ph2BbKc20aGI--
More information about the ffmpeg-devel
mailing list