summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/img_format.h
diff options
context:
space:
mode:
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-06-21 01:47:26 +0000
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-06-21 01:47:26 +0000
commitfd55a47f0118182fee26e563417a7be101cca148 (patch)
tree9c4ae994f27321c73311390249080b0b134fdcbd /libmpcodecs/img_format.h
parent26df2d979706d673e253d3cb8ae8a5ad2dff17f7 (diff)
downloadmpv-fd55a47f0118182fee26e563417a7be101cca148.tar.bz2
mpv-fd55a47f0118182fee26e563417a7be101cca148.tar.xz
basic xvmc image support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10317 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/img_format.h')
-rw-r--r--libmpcodecs/img_format.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libmpcodecs/img_format.h b/libmpcodecs/img_format.h
index c197501219..6c6d66f99f 100644
--- a/libmpcodecs/img_format.h
+++ b/libmpcodecs/img_format.h
@@ -77,6 +77,14 @@
/* Compressed Formats */
#define IMGFMT_MPEGPES (('M'<<24)|('P'<<16)|('E'<<8)|('S'))
+// I think that this code could not be used by any other codec/format
+#define IMGFMT_XVMC 0x1DC70000
+#define IMGFMT_XVMC_MASK 0xFFFF0000
+#define IMGFMT_IS_XVMC(fmt) (((fmt)&IMGFMT_XVMC_MASK)==IMGFMT_XVMC)
+//these are chroma420
+#define IMGFMT_XVMC_MOCO_MPEG2 (IMGFMT_XVMC|0x02)
+#define IMGFMT_XVMC_IDCT_MPEG2 (IMGFMT_XVMC|0x82)
+
typedef struct {
void* data;
int size;