# HG changeset patch # User nick # Date 1007053697 0 # Node ID 1632d6824a68b6234683b41ab789bac6c50ba471 # Parent 5eae8189517191d7a02b7a73eb84af80aad7aed4 New ones diff -r 5eae81895171 -r 1632d6824a68 libvo/img_format.c --- 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"); diff -r 5eae81895171 -r 1632d6824a68 libvo/img_format.h --- 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