/* $XFree86: xc/include/extensions/XvMC.h,v 1.8 2002/01/16 01:15:45 mvojkovi Exp $ */
#ifndef _XVMC_H_
#define _XVMC_H_
#define XvMCNumEvents 0
#define XvMCRevision 0
#define XvMCBadContext 0
/* Chroma formats */
/* XvMCSurfaceInfo Flags */
/* Motion Compensation types */
typedef struct {
int surface_type_id;
int chroma_format;
unsigned short max_width;
unsigned short max_height;
unsigned short subpicture_max_width;
unsigned short subpicture_max_height;
int mc_type;
int flags;
typedef struct {
int surface_type_id;
unsigned short width;
unsigned short height;
int flags;
} XvMCContext;
typedef struct {
int surface_type_id;
unsigned short width;
unsigned short height;
} XvMCSurface;
typedef struct {
int xvimage_id;
unsigned short width;
unsigned short height;
int num_palette_entries;
int entry_bytes;
typedef struct {
unsigned int num_blocks;
void *privData;
short *blocks;
typedef struct {
unsigned short x;
unsigned short y;
unsigned char macroblock_type;
unsigned char motion_type;
unsigned char motion_vertical_field_select;
unsigned char dct_type;
unsigned int index;
unsigned short coded_block_pattern;
unsigned short pad0;
typedef struct {
unsigned int num_blocks;
void *privData;
#endif