diff options
author | 2001-11-29 17:08:17 +0000 | |
---|---|---|
committer | 2001-11-29 17:08:17 +0000 | |
commit | 3ce1e9002fbd589b1336f61eafc8ea3cfa6175b6 (patch) | |
tree | 4c6cc2eb0610166c617b8c2dec9ebc66895f6cf8 | |
parent | 5eaa1f97d3a0e80d9498546932d2f6114517ec88 (diff) |
New ones
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3200 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/img_format.c | 8 | ||||
-rw-r--r-- | libvo/img_format.h | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/libvo/img_format.c b/libvo/img_format.c index f7dbe91f70..e4c9309229 100644 --- a/libvo/img_format.c +++ b/libvo/img_format.c @@ -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 @@ char *vo_format_name(int format) 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"); diff --git a/libvo/img_format.h b/libvo/img_format.h index fc844539e0..6dd00a2060 100644 --- a/libvo/img_format.h +++ b/libvo/img_format.h @@ -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 |