changeset 10746:0e5e55232e9d

added nv12/nv21 and some other fourccs (still not synced)
author alex
date Sun, 31 Aug 2003 21:11:35 +0000
parents 90f92fd5047e
children cd4c523eaac4
files codec-cfg.c m_option.c
diffstat 2 files changed, 12 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/codec-cfg.c	Sun Aug 31 21:10:57 2003 +0000
+++ b/codec-cfg.c	Sun Aug 31 21:11:35 2003 +0000
@@ -132,6 +132,8 @@
 		{"YV12",  IMGFMT_YV12},
 		{"I420",  IMGFMT_I420},
 		{"IYUV",  IMGFMT_IYUV},
+		{"NV12",  IMGFMT_NV12},
+		{"NV21",  IMGFMT_NV21},
 		{"YVU9",  IMGFMT_YVU9},
 		{"IF09",  IMGFMT_IF09},
 		{"444P",  IMGFMT_444P},
--- a/m_option.c	Sun Aug 31 21:10:57 2003 +0000
+++ b/m_option.c	Sun Aug 31 21:11:35 2003 +0000
@@ -914,6 +914,7 @@
 
 #include "libmpcodecs/img_format.h"
 
+/* FIXME: snyc with img_format.h */
 static struct {
   char* name;
   unsigned int fmt;
@@ -922,12 +923,18 @@
   {"422p", IMGFMT_422P},
   {"411p", IMGFMT_411P},
   {"yuy2", IMGFMT_YUY2},
+  {"uyvy", IMGFMT_UYVY},
+  {"yvu9", IMGFMT_YVU9},
+  {"if09", IMGFMT_IF09},
   {"yv12", IMGFMT_YV12},
   {"i420", IMGFMT_I420},
-  {"yvu9", IMGFMT_YVU9},
-  {"if09", IMGFMT_IF09},
   {"iyuv", IMGFMT_IYUV},
-  {"uyvy", IMGFMT_UYVY},
+  {"clpl", IMGFMT_CLPL},
+  {"hm12", IMGFMT_NV12},
+  {"y800", IMGFMT_Y800},
+  {"y8", IMGFMT_Y8},
+  {"nv12", IMGFMT_NV12},
+  {"nv21", IMGFMT_NV21},
   {"bgr24", IMGFMT_BGR24},
   {"bgr32", IMGFMT_BGR32},
   {"bgr16", IMGFMT_BGR16},