diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-06-23 15:49:29 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-06-28 19:15:57 +0800 |
commit | 7a705081788bf957409e17baa5f189241589057c (patch) | |
tree | 29cbdaaf993cac1255c93ec78061bcef2288a8e7 /src/i830_hwmc.h | |
parent | 0283d22f510ba47dfdac2806a58e46649c26580b (diff) |
xvmc: formalize surface type definition
We should also carefully select surface type id.
Diffstat (limited to 'src/i830_hwmc.h')
-rw-r--r-- | src/i830_hwmc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/i830_hwmc.h b/src/i830_hwmc.h index 6920e016..4db9aea6 100644 --- a/src/i830_hwmc.h +++ b/src/i830_hwmc.h @@ -47,6 +47,13 @@ #define XVMC_I945_MPEG2_VLD 0x04 #define XVMC_I965_MPEG2_VLD 0x08 +/* supported surface types */ +enum { + SURFACE_TYPE_MPEG2_MPML = FOURCC_XVMC, /* mpeg2 MP@ML */ + SURFACE_TYPE_MPEG1_MPML, /* mpeg1 MP@ML */ + SURFACE_TYPE_MAX +}; + /* common header for context private */ struct hwmc_buffer { |