changeset 3199:1632d6824a68

New ones
author nick
date Thu, 29 Nov 2001 17:08:17 +0000
parents 5eae81895171
children a3fa0a5dcf37
files libvo/img_format.c libvo/img_format.h
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/img_format.c	Thu Nov 29 17:07:52 2001 +0000
+++ b/libvo/img_format.c	Thu Nov 29 17:08:17 2001 +0000
@@ -1,5 +1,4 @@
-#include "config.h"
-#include "video_out.h"
+#include "img_format.h"
 
 char *vo_format_name(int format)
 {
@@ -21,11 +20,16 @@
 	case IMGFMT_I420: return("Planar I420");
 	case IMGFMT_IYUV: return("Planar IYUV");
 	case IMGFMT_CLPL: return("Planar CLPL");
+	case IMGFMT_Y800: return("Planar Y800");
+	case IMGFMT_Y8: return("Planar Y8");
+	case IMGFMT_IUYV: return("Packed IUYV");
+	case IMGFMT_IY41: return("Packed IY41");
 	case IMGFMT_IYU1: return("Packed IYU1");
 	case IMGFMT_IYU2: return("Packed IYU2");
 	case IMGFMT_UYVY: return("Packed UYVY");
 	case IMGFMT_UYNV: return("Packed UYNV");
 	case IMGFMT_cyuv: return("Packed CYUV");
+	case IMGFMT_Y422: return("Packed Y422");
 	case IMGFMT_YUY2: return("Packed YUY2");
 	case IMGFMT_YUNV: return("Packed YUNV");
 	case IMGFMT_YVYU: return("Packed YVYU");
--- a/libvo/img_format.h	Thu Nov 29 17:07:52 2001 +0000
+++ b/libvo/img_format.h	Thu Nov 29 17:08:17 2001 +0000
@@ -35,14 +35,19 @@
 #define IMGFMT_I420 0x30323449
 #define IMGFMT_IYUV 0x56555949
 #define IMGFMT_CLPL 0x4C504C43
+#define IMGFMT_Y800 0x30303859
+#define IMGFMT_Y8   0x20203859
 
 /* Packed YUV Formats */
 
+#define IMGFMT_IUYV 0x56595549
+#define IMGFMT_IY41 0x31435949
 #define IMGFMT_IYU1 0x31555949
 #define IMGFMT_IYU2 0x32555949
 #define IMGFMT_UYVY 0x59565955
 #define IMGFMT_UYNV 0x564E5955
 #define IMGFMT_cyuv 0x76757963
+#define IMGFMT_Y422 0x32323459
 #define IMGFMT_YUY2 0x32595559
 #define IMGFMT_YUNV 0x564E5559
 #define IMGFMT_YVYU 0x55595659