diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2007-10-08 16:13:26 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2007-10-08 16:13:26 +0800 |
commit | fd97edb62463e50a1860290d54684a68d5490bdc (patch) | |
tree | 9bb896cb727f60d24d9a2dd1a74c568036204de7 /src/xvmc/intel_xvmc.h | |
parent | 3a2b5222341b37322b788e329c2b9006dc14ecfd (diff) |
move some definition out of i915 specific header
Diffstat (limited to 'src/xvmc/intel_xvmc.h')
-rw-r--r-- | src/xvmc/intel_xvmc.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/xvmc/intel_xvmc.h b/src/xvmc/intel_xvmc.h index 072a0f49..0726be43 100644 --- a/src/xvmc/intel_xvmc.h +++ b/src/xvmc/intel_xvmc.h @@ -2,6 +2,13 @@ #ifndef INTEL_XVMC_H #define INTEL_XVMC_H +#include "xf86drm.h" +#include "i830_common.h" +#include "i830_hwmc.h" +#include <X11/Xlibint.h> +#include <X11/Xutil.h> +#include <signal.h> + #define DEBUG 0 #define XVMC_ERR(s, arg...) \ @@ -20,4 +27,29 @@ fprintf(stderr, "intel_xvmc debug: " s "\n", ##arg); \ } while (0) +/* Subpicture fourcc */ +#define FOURCC_IA44 0x34344149 + +/* + Definitions for temporary wire protocol hooks to be replaced + when a HW independent libXvMC is created. +*/ +extern Status _xvmc_create_context(Display *dpy, XvMCContext *context, + int *priv_count, uint **priv_data); + +extern Status _xvmc_destroy_context(Display *dpy, XvMCContext *context); + +extern Status _xvmc_create_surface(Display *dpy, XvMCContext *context, + XvMCSurface *surface, int *priv_count, + uint **priv_data); + +extern Status _xvmc_destroy_surface(Display *dpy, XvMCSurface *surface); + +extern Status _xvmc_create_subpicture(Display *dpy, XvMCContext *context, + XvMCSubpicture *subpicture, + int *priv_count, uint **priv_data); + +extern Status _xvmc_destroy_subpicture(Display *dpy, + XvMCSubpicture *subpicture); + #endif |