summaryrefslogtreecommitdiff
path: root/src/i830_hwmc.h
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2007-10-08 16:13:26 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2007-10-08 16:13:26 +0800
commitfd97edb62463e50a1860290d54684a68d5490bdc (patch)
tree9bb896cb727f60d24d9a2dd1a74c568036204de7 /src/i830_hwmc.h
parent3a2b5222341b37322b788e329c2b9006dc14ecfd (diff)
move some definition out of i915 specific header
Diffstat (limited to 'src/i830_hwmc.h')
-rw-r--r--src/i830_hwmc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/i830_hwmc.h b/src/i830_hwmc.h
index 199a92a7..60a49783 100644
--- a/src/i830_hwmc.h
+++ b/src/i830_hwmc.h
@@ -27,6 +27,16 @@
#ifndef I830_HWMC_H
#define I830_HWMC_H
+#define FOURCC_XVMC (('C' << 24) + ('M' << 16) + ('V' << 8) + 'X')
+
+/*
+ * Commands that client submits through XvPutImage:
+ */
+
+#define INTEL_XVMC_COMMAND_DISPLAY 0x00
+#define INTEL_XVMC_COMMAND_UNDISPLAY 0x01
+
+#ifdef _INTEL_XVMC_SERVER_
#include <xf86xvmc.h>
#define XVMC_DRIVER_MPEG2_MC 0x0001
@@ -55,5 +65,6 @@ extern Bool intel_xvmc_driver_init(ScreenPtr, XF86VideoAdaptorPtr);
extern Bool intel_xvmc_screen_init(ScreenPtr);
extern void intel_xvmc_finish(ScrnInfoPtr);
extern int intel_xvmc_putimage_size(ScrnInfoPtr);
+#endif
#endif