diff options
Diffstat (limited to 'src/va_x11.h')
-rwxr-xr-x | src/va_x11.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/va_x11.h b/src/va_x11.h index e49c6c5..58b312f 100755 --- a/src/va_x11.h +++ b/src/va_x11.h @@ -50,53 +50,9 @@ VAStatus vaPutSurface ( unsigned short desth, VARectangle *cliprects, /* client supplied clip list */ unsigned int number_cliprects, /* number of clip rects in the clip list */ - int flags /* de-interlacing flags */ -); - -/* - This function copies a rectangle of dimension "width" by "height" - from the VASurface indicated by "surface" to the GLXPbuffer - identified by its XID "pbuffer_id". The locations of source and - destination rectangles are specified differently for the VASurface - source and the GLXPbuffer destination as follows. On the VASurface, - the rectangle location is specified in the usual X-Window fashion - with srcx and srcy indicating the location of the upper left hand - corner of the rectangle relative to the VASurface origin (the upper - left hand corner of the XvMCSurface with positive Y axis going in the - down direction). On the GLXPbuffer the rectangle location is - specified in the usual OpenGL fashion with the dstx and dsty - indicating the location of the lower left hand corner of the - rectangle relative to the GLXPbuffer origin (the lower left hand - corner of the GLXPbuffer with the positive Y axis going in the - up direction). - - The "draw_buffer" takes the same OpenGL enums that glDrawBuffer() - takes (ie. GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, - GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT or GL_FRONT_AND_BACK). This - indicates which buffer of the GLXPbuffer is to be used for the - destination of the copy. Buffers specified in the "draw_buffer" - that do not exist in the GLXPbuffer are ignored. - - "flags" may be VA_TOP_FIELD, VA_BOTTOM_FIELD or VA_FRAME_PICTURE. - If flags is not VA_FRAME_PICTURE, the srcy and height are in field - coordinates, not frame. That is, the total copyable height is half - the height of the VASurface. -*/ -VAStatus vaCopySurfaceToGLXPbuffer ( - VADisplay dpy, - VASurface *surface, - XID pbuffer_id, - short srcx, - short srcy, - unsigned short width, - unsigned short height, - short destx, - short desty, - unsigned int draw_buffer, unsigned int flags /* de-interlacing flags */ ); - #ifdef __cplusplus } #endif |