XvMC.h revision 74fe172698ba936102e120dae998c9ebd09cfbdf
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync/* $XFree86: xc/include/extensions/XvMC.h,v 1.8 2002/01/16 01:15:45 mvojkovi Exp $ */
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync/* Chroma formats */
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync/* XvMCSurfaceInfo Flags */
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync#define XVMC_SUBPICTURE_INDEPENDENT_SCALING 0x00000004
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync/* Motion Compensation types */
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync#define XVMC_FRAME_PICTURE (XVMC_TOP_FIELD | XVMC_BOTTOM_FIELD)
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsynctypedef struct {
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned short max_width;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned short max_height;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned short subpicture_max_width;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsynctypedef struct {
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned short width;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned short height;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsynctypedef struct {
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned short width;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned short height;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsynctypedef struct {
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned short width;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned short height;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsynctypedef struct {
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned int num_blocks;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsynctypedef struct {
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned short x;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned short y;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned char macroblock_type;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned char motion_type;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned char dct_type;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned int index;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned short coded_block_pattern;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned short pad0;
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsynctypedef struct {
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync unsigned int num_blocks;