Mercurial > libavcodec.hg
comparison xvmc.h @ 8845:aee8c48ff4b0 libavcodec
Give public #defines that are used by MPlayer an AV_ prefix.
author | diego |
---|---|
date | Sat, 14 Feb 2009 17:12:25 +0000 |
parents | 00c1d62c3852 |
children | 9e3956a4fd28 |
comparison
equal
deleted
inserted
replaced
8844:9ea7195b2ed4 | 8845:aee8c48ff4b0 |
---|---|
28 #include <X11/extensions/Xvlib.h> | 28 #include <X11/extensions/Xvlib.h> |
29 #include <X11/extensions/XvMClib.h> | 29 #include <X11/extensions/XvMClib.h> |
30 | 30 |
31 | 31 |
32 //the surface should be shown, the video driver manipulates this | 32 //the surface should be shown, the video driver manipulates this |
33 #define MP_XVMC_STATE_DISPLAY_PENDING 1 | 33 #define AV_XVMC_STATE_DISPLAY_PENDING 1 |
34 //the surface is needed for prediction, the codec manipulates this | 34 //the surface is needed for prediction, the codec manipulates this |
35 #define MP_XVMC_STATE_PREDICTION 2 | 35 #define AV_XVMC_STATE_PREDICTION 2 |
36 //this surface is needed for subpicture rendering | 36 //this surface is needed for subpicture rendering |
37 #define MP_XVMC_STATE_OSD_SOURCE 4 | 37 #define AV_XVMC_STATE_OSD_SOURCE 4 |
38 // 1337 IDCT MCo | 38 // 1337 IDCT MCo |
39 #define MP_XVMC_RENDER_MAGIC 0x1DC711C0 | 39 #define AV_XVMC_RENDER_MAGIC 0x1DC711C0 |
40 | 40 |
41 struct xvmc_render_state { | 41 struct xvmc_render_state { |
42 //these are not changed by the decoder! | 42 //these are not changed by the decoder! |
43 int magic; ///< used as check for memory corruption by regular pixel routines | 43 int magic; ///< used as check for memory corruption by regular pixel routines |
44 | 44 |