PATH:
usr
/
include
/
X11
/
extensions
#ifndef _XVMC_H_ #define _XVMC_H_ #include <X11/X.h> #include <X11/extensions/Xv.h> #define XvMCName "XVideo-MotionCompensation" #define XvMCNumEvents 0 #define XvMCNumErrors 3 #define XvMCVersion 1 #define XvMCRevision 1 #define XvMCBadContext 0 #define XvMCBadSurface 1 #define XvMCBadSubpicture 2 /* Chroma formats */ #define XVMC_CHROMA_FORMAT_420 0x00000001 #define XVMC_CHROMA_FORMAT_422 0x00000002 #define XVMC_CHROMA_FORMAT_444 0x00000003 /* XvMCSurfaceInfo Flags */ #define XVMC_OVERLAID_SURFACE 0x00000001 #define XVMC_BACKEND_SUBPICTURE 0x00000002 #define XVMC_SUBPICTURE_INDEPENDENT_SCALING 0x00000004 #define XVMC_INTRA_UNSIGNED 0x00000008 /* Motion Compensation types */ #define XVMC_MOCOMP 0x00000000 #define XVMC_IDCT 0x00010000 #define XVMC_MPEG_1 0x00000001 #define XVMC_MPEG_2 0x00000002 #define XVMC_H263 0x00000003 #define XVMC_MPEG_4 0x00000004 #define XVMC_MB_TYPE_MOTION_FORWARD 0x02 #define XVMC_MB_TYPE_MOTION_BACKWARD 0x04 #define XVMC_MB_TYPE_PATTERN 0x08 #define XVMC_MB_TYPE_INTRA 0x10 #define XVMC_PREDICTION_FIELD 0x01 #define XVMC_PREDICTION_FRAME 0x02 #define XVMC_PREDICTION_DUAL_PRIME 0x03 #define XVMC_PREDICTION_16x8 0x02 #define XVMC_PREDICTION_4MV 0x04 #define XVMC_SELECT_FIRST_FORWARD 0x01 #define XVMC_SELECT_FIRST_BACKWARD 0x02 #define XVMC_SELECT_SECOND_FORWARD 0x04 #define XVMC_SELECT_SECOND_BACKWARD 0x08 #define XVMC_DCT_TYPE_FRAME 0x00 #define XVMC_DCT_TYPE_FIELD 0x01 #define XVMC_TOP_FIELD 0x00000001 #define XVMC_BOTTOM_FIELD 0x00000002 #define XVMC_FRAME_PICTURE (XVMC_TOP_FIELD | XVMC_BOTTOM_FIELD) #define XVMC_SECOND_FIELD 0x00000004 #define XVMC_DIRECT 0x00000001 #define XVMC_RENDERING 0x00000001 #define XVMC_DISPLAYING 0x00000002 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; } XvMCSurfaceInfo; typedef struct { XID context_id; int surface_type_id; unsigned short width; unsigned short height; XvPortID port; int flags; void * privData; /* private to the library */ } XvMCContext; typedef struct { XID surface_id; XID context_id; int surface_type_id; unsigned short width; unsigned short height; void *privData; /* private to the library */ } XvMCSurface; typedef struct { XID subpicture_id; XID context_id; int xvimage_id; unsigned short width; unsigned short height; int num_palette_entries; int entry_bytes; char component_order[4]; void *privData; /* private to the library */ } XvMCSubpicture; typedef struct { unsigned int num_blocks; XID context_id; void *privData; short *blocks; } XvMCBlockArray; 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; short PMV[2][2][2]; unsigned int index; unsigned short coded_block_pattern; unsigned short pad0; } XvMCMacroBlock; typedef struct { unsigned int num_blocks; XID context_id; void *privData; XvMCMacroBlock *macro_blocks; } XvMCMacroBlockArray; #endif
[-] bigreqsproto.h
[edit]
[-] dpms.h
[edit]
[-] Xeviestr.h
[edit]
[-] XI.h
[edit]
[-] xfixeswire.h
[edit]
[-] composite.h
[edit]
[-] XShm.h
[edit]
[-] dmxproto.h
[edit]
[-] XKB.h
[edit]
[-] shmproto.h
[edit]
[-] multibufconst.h
[edit]
[-] dbeproto.h
[edit]
[-] agproto.h
[edit]
[-] shape.h
[edit]
[-] Xrender.h
[edit]
[-] shapeproto.h
[edit]
[-] mitmiscproto.h
[edit]
[-] dbe.h
[edit]
[-] saver.h
[edit]
[+]
..
[-] geproto.h
[edit]
[-] dri2proto.h
[edit]
[-] damageproto.h
[edit]
[-] shm.h
[edit]
[-] Xdbe.h
[edit]
[-] evieproto.h
[edit]
[-] Xv.h
[edit]
[-] xf86bigfproto.h
[edit]
[-] xf86bigfstr.h
[edit]
[-] cup.h
[edit]
[-] XEVI.h
[edit]
[-] recordconst.h
[edit]
[-] randrproto.h
[edit]
[-] multibuf.h
[edit]
[-] panoramiXext.h
[edit]
[-] xf86mscstr.h
[edit]
[-] ge.h
[edit]
[-] xf86misc.h
[edit]
[-] Xdamage.h
[edit]
[-] xfixesproto.h
[edit]
[-] XKBgeom.h
[edit]
[-] shmstr.h
[edit]
[-] xf86dga1proto.h
[edit]
[-] dpmsconst.h
[edit]
[-] render.h
[edit]
[-] EVI.h
[edit]
[-] EVIproto.h
[edit]
[-] xtestext1const.h
[edit]
[-] randr.h
[edit]
[-] XInput2.h
[edit]
[-] syncconst.h
[edit]
[-] vldXvMC.h
[edit]
[-] Xcup.h
[edit]
[-] damagewire.h
[edit]
[-] Xext.h
[edit]
[-] dri3proto.h
[edit]
[-] XvMC.h
[edit]
[-] xf86dga1const.h
[edit]
[-] dri2tokens.h
[edit]
[-] XKBstr.h
[edit]
[-] xtestext1.h
[edit]
[-] syncstr.h
[edit]
[-] mitmiscconst.h
[edit]
[-] XI2proto.h
[edit]
[-] sync.h
[edit]
[-] syncproto.h
[edit]
[-] xcmiscstr.h
[edit]
[-] lbxproto.h
[edit]
[-] xtestproto.h
[edit]
[-] xtestconst.h
[edit]
[-] secur.h
[edit]
[-] dmx.h
[edit]
[-] cupproto.h
[edit]
[-] xcmiscproto.h
[edit]
[-] bigreqstr.h
[edit]
[-] Xag.h
[edit]
[-] XLbx.h
[edit]
[-] compositeproto.h
[edit]
[-] xf86dga1str.h
[edit]
[-] xf86dgaconst.h
[edit]
[-] panoramiXproto.h
[edit]
[-] Xfixes.h
[edit]
[-] xtestext1proto.h
[edit]
[-] XI2.h
[edit]
[-] XInput.h
[edit]
[-] Xcomposite.h
[edit]
[-] Xinerama.h
[edit]
[-] xf86vmproto.h
[edit]
[-] XIproto.h
[edit]
[-] XKBsrv.h
[edit]
[-] Xrandr.h
[edit]
[-] MITMisc.h
[edit]
[-] extutil.h
[edit]
[-] XKBproto.h
[edit]
[-] XResproto.h
[edit]
[-] XvMCproto.h
[edit]
[-] xf86bigfont.h
[edit]
[-] xf86vmode.h
[edit]
[-] saverproto.h
[edit]
[-] Xvproto.h
[edit]
[-] lbx.h
[edit]
[-] xf86dga.h
[edit]
[-] xf86dgastr.h
[edit]
[-] shapeconst.h
[edit]
[-] xf86vm.h
[edit]
[-] multibufproto.h
[edit]
[-] dpmsproto.h
[edit]
[-] presentproto.h
[edit]
[-] presenttokens.h
[edit]
[-] security.h
[edit]
[-] xf86vmstr.h
[edit]
[-] recordproto.h
[edit]
[-] shapestr.h
[edit]
[-] xf86dgaproto.h
[edit]
[-] Xge.h
[edit]
[-] recordstr.h
[edit]
[-] renderproto.h
[edit]
[-] ag.h
[edit]
[-] securproto.h
[edit]