summaryrefslogtreecommitdiff
path: root/libavcodec/xvmc.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-02-14 16:43:35 +0000
committerDiego Biurrun <diego@biurrun.de>2009-02-14 16:43:35 +0000
commit1aa7abb28118f6e3b0596dbd1cc9f580fef126e1 (patch)
tree816559eaf994b019c9ae4bec780f3c125138025c /libavcodec/xvmc.h
parent43cbf8adbb3fefe30419bfafe1efb8d1e553cba8 (diff)
Fix compilation: Restore mistakenly removed constant definitions.
Originally committed as revision 17240 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/xvmc.h')
-rw-r--r--libavcodec/xvmc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/xvmc.h b/libavcodec/xvmc.h
index 975b93a3eb..9af5bc3bae 100644
--- a/libavcodec/xvmc.h
+++ b/libavcodec/xvmc.h
@@ -29,6 +29,12 @@
#include <X11/extensions/XvMClib.h>
+//the surface should be shown, the video driver manipulates this
+#define MP_XVMC_STATE_DISPLAY_PENDING 1
+//the surface is needed for prediction, the codec manipulates this
+#define MP_XVMC_STATE_PREDICTION 2
+//this surface is needed for subpicture rendering
+#define MP_XVMC_STATE_OSD_SOURCE 4
// 1337 IDCT MCo
#define MP_XVMC_RENDER_MAGIC 0x1DC711C0