SM0 She11
Path:
/
/
usr
/
include
/
X11
/
extensions
Full Path (server): /usr/include/X11/extensions
Create Fil3
Upl04d Fil3
π EVI.h
[E]
[D]
[R]
π EVIproto.h
[E]
[D]
[R]
π MITMisc.h
[E]
[D]
[R]
π XEVI.h
[E]
[D]
[R]
π XI.h
[E]
[D]
[R]
π XI2.h
[E]
[D]
[R]
π XI2proto.h
[E]
[D]
[R]
π XIproto.h
[E]
[D]
[R]
π XKB.h
[E]
[D]
[R]
π XKBgeom.h
[E]
[D]
[R]
π XKBproto.h
[E]
[D]
[R]
π XKBsrv.h
[E]
[D]
[R]
π XKBstr.h
[E]
[D]
[R]
π XLbx.h
[E]
[D]
[R]
π XResproto.h
[E]
[D]
[R]
π XShm.h
[E]
[D]
[R]
π Xag.h
[E]
[D]
[R]
π Xcup.h
[E]
[D]
[R]
π Xdbe.h
[E]
[D]
[R]
π Xeviestr.h
[E]
[D]
[R]
π Xext.h
[E]
[D]
[R]
π Xge.h
[E]
[D]
[R]
π Xv.h
[E]
[D]
[R]
π XvMC.h
[E]
[D]
[R]
π XvMCproto.h
[E]
[D]
[R]
π Xvproto.h
[E]
[D]
[R]
π ag.h
[E]
[D]
[R]
π agproto.h
[E]
[D]
[R]
π bigreqsproto.h
[E]
[D]
[R]
π bigreqstr.h
[E]
[D]
[R]
π composite.h
[E]
[D]
[R]
π compositeproto.h
[E]
[D]
[R]
π cup.h
[E]
[D]
[R]
π cupproto.h
[E]
[D]
[R]
π damageproto.h
[E]
[D]
[R]
π damagewire.h
[E]
[D]
[R]
π dbe.h
[E]
[D]
[R]
π dbeproto.h
[E]
[D]
[R]
π dmx.h
[E]
[D]
[R]
π dmxproto.h
[E]
[D]
[R]
π dpms.h
[E]
[D]
[R]
π dpmsconst.h
[E]
[D]
[R]
π dpmsproto.h
[E]
[D]
[R]
π dri2proto.h
[E]
[D]
[R]
π dri2tokens.h
[E]
[D]
[R]
π dri3proto.h
[E]
[D]
[R]
π evieproto.h
[E]
[D]
[R]
π extutil.h
[E]
[D]
[R]
π ge.h
[E]
[D]
[R]
π geproto.h
[E]
[D]
[R]
π lbx.h
[E]
[D]
[R]
π lbxproto.h
[E]
[D]
[R]
π mitmiscconst.h
[E]
[D]
[R]
π mitmiscproto.h
[E]
[D]
[R]
π multibuf.h
[E]
[D]
[R]
π multibufconst.h
[E]
[D]
[R]
π multibufproto.h
[E]
[D]
[R]
π panoramiXproto.h
[E]
[D]
[R]
π presentproto.h
[E]
[D]
[R]
π presenttokens.h
[E]
[D]
[R]
π randr.h
[E]
[D]
[R]
π randrproto.h
[E]
[D]
[R]
π recordconst.h
[E]
[D]
[R]
π recordproto.h
[E]
[D]
[R]
π recordstr.h
[E]
[D]
[R]
π render.h
[E]
[D]
[R]
π renderproto.h
[E]
[D]
[R]
π saver.h
[E]
[D]
[R]
π saverproto.h
[E]
[D]
[R]
π secur.h
[E]
[D]
[R]
π security.h
[E]
[D]
[R]
π securproto.h
[E]
[D]
[R]
π shape.h
[E]
[D]
[R]
π shapeconst.h
[E]
[D]
[R]
π shapeproto.h
[E]
[D]
[R]
π shapestr.h
[E]
[D]
[R]
π shm.h
[E]
[D]
[R]
π shmproto.h
[E]
[D]
[R]
π shmstr.h
[E]
[D]
[R]
π sync.h
[E]
[D]
[R]
π syncconst.h
[E]
[D]
[R]
π syncproto.h
[E]
[D]
[R]
π syncstr.h
[E]
[D]
[R]
π vldXvMC.h
[E]
[D]
[R]
π xcmiscproto.h
[E]
[D]
[R]
π xcmiscstr.h
[E]
[D]
[R]
π xf86bigfont.h
[E]
[D]
[R]
π xf86bigfproto.h
[E]
[D]
[R]
π xf86bigfstr.h
[E]
[D]
[R]
π xf86dga.h
[E]
[D]
[R]
π xf86dga1const.h
[E]
[D]
[R]
π xf86dga1proto.h
[E]
[D]
[R]
π xf86dga1str.h
[E]
[D]
[R]
π xf86dgaconst.h
[E]
[D]
[R]
π xf86dgaproto.h
[E]
[D]
[R]
π xf86dgastr.h
[E]
[D]
[R]
π xf86misc.h
[E]
[D]
[R]
π xf86mscstr.h
[E]
[D]
[R]
π xf86vm.h
[E]
[D]
[R]
π xf86vmproto.h
[E]
[D]
[R]
π xf86vmstr.h
[E]
[D]
[R]
π xfixesproto.h
[E]
[D]
[R]
π xfixeswire.h
[E]
[D]
[R]
π xtestconst.h
[E]
[D]
[R]
π xtestext1.h
[E]
[D]
[R]
π xtestext1const.h
[E]
[D]
[R]
π xtestext1proto.h
[E]
[D]
[R]
π xtestproto.h
[E]
[D]
[R]
Editing: vldXvMC.h
/***************************************************************************** * VLD XvMC Nonstandard extension API. * * Copyright (c) 2004 The Unichrome Project. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHOR(S) OR COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. * * Author: Thomas HellstrΓΆm, 2004. */ #ifndef _VLDXVMC_H #define _VLDXVMC_H #include <X11/Xlib.h> #include <X11/extensions/XvMC.h> /* * New "Motion compensation type". */ #define XVMC_VLD 0x0020000 /* * Below Flags to be passed in the XvMCMpegControl structure 'flag' field. */ #define XVMC_PROGRESSIVE_SEQUENCE 0x00000010 /* * Zig-Zag Scan / Alternative Scan. */ #define XVMC_ZIG_ZAG_SCAN 0x00000000 #define XVMC_ALTERNATE_SCAN 0x00000100 /* * Frame DCT and frame prediction are used. / * Field prediction */ #define XVMC_PRED_DCT_FRAME 0x00000040 #define XVMC_PRED_DCT_FIELD 0x00000000 /* * Top / Bottom field first */ #define XVMC_TOP_FIELD_FIRST 0x00000080 #define XVMC_BOTTOM_FIELD_FIRST 0x00000000 /* * Motion vectors coded in intra macroblocks */ #define XVMC_CONCEALMENT_MOTION_VECTORS 0x00000200 /* * Which of two mappings between quantiser_scale_code * and quantiser_scale shall apply. */ #define XVMC_Q_SCALE_TYPE 0x00000400 /* * Intra VLC Format: Bit = 0, Bit = 1 * Intra blocks B-14 B-15 * Non-intra blocks B-14 B-14 */ #define XVMC_INTRA_VLC_FORMAT 0x00000800 /* * Also XVMC_SECOND_FIELD should be set in flags if active. */ #define XVMC_I_PICTURE 1 #define XVMC_P_PICTURE 2 #define XVMC_B_PICTURE 3 typedef struct _XvMCMpegControl{ unsigned BVMV_range, /* Backward vertical motion vector range */ BHMV_range, /* Backward horizontal motion vector range */ FVMV_range, /* Forward vertical motion vector range */ FHMV_range, /* Forward horizontal motion vector range */ picture_structure, /* XVMC_TOP_FIELD, XVMC_BOTTOM_FIELD, * XVMC_FRAME_PICTURE */ intra_dc_precision, /* 0x00 - 0x03 corresponds to 8 to 11 bits prec. */ picture_coding_type,/* XVMC_X_PICTURE */ mpeg_coding, /* XVMC_MPEG_2 */ flags; /* See above */ }XvMCMpegControl; /* * The following function is called BEFORE starting sending slices to the * lib. It grabs the decoder hardware and prepares it for coming slices. * The function XvMCSyncSurface will release the hardware for other contexts * in addition to it's current functionality. */ extern Status XvMCBeginSurface(Display *display, XvMCContext *context, XvMCSurface *target_surface, XvMCSurface *past_surface, XvMCSurface *future_surface, const XvMCMpegControl *control); /* * The quantizer matrix structure. This should be filled in by the user and * uploaded whenever a change is needed. The lib initializes with * default matrices and will automatically load the hardware with new matrices * on decoder context switches. To load data, set the corresponding load flag * to true and fill in the values. The VIA MPEG2 engine only uses the * intra_quantiser_matrix and the non_intra_quantiser_matrix. */ typedef struct _XvMCQMatrix { int load_intra_quantiser_matrix; int load_non_intra_quantiser_matrix; int load_chroma_intra_quantiser_matrix; int load_chroma_non_intra_quantiser_matrix; unsigned char intra_quantiser_matrix[64]; unsigned char non_intra_quantiser_matrix[64]; unsigned char chroma_intra_quantiser_matrix[64]; unsigned char chroma_non_intra_quantiser_matrix[64]; } XvMCQMatrix; /* * Upload a XvMCQMatrix structure to the clientlib. * The hardware will start using it the next XvMCBeginSurface. */ extern Status XvMCLoadQMatrix(Display *display, XvMCContext *context, const XvMCQMatrix *qmx); /* * Put a slice to the decoder. The hardware will start processing it * immediately. */ extern Status XvMCPutSlice(Display *display,XvMCContext *context, char *slice, int nBytes); /* * Put a slice without the slice start code to the decoder. * The hardware will start processing it * immediately. This function is for client optimization. * XvMCPutSlice(display,context,slice,nBytes) is equivalent to * XvMCPutSlice2(display,context,slice+4,nBytes-4,slice[3]); */ extern Status XvMCPutSlice2(Display *display,XvMCContext *context, char *slice, int nBytes, int sliceCode); #endif
Save