1*971bb1a5SLionel Sambuc /* 2*971bb1a5SLionel Sambuc * This file generated automatically from xvmc.xml by c_client.py. 3*971bb1a5SLionel Sambuc * Edit at your peril. 4*971bb1a5SLionel Sambuc */ 5*971bb1a5SLionel Sambuc 6*971bb1a5SLionel Sambuc /** 7*971bb1a5SLionel Sambuc * @defgroup XCB_XvMC_API XCB XvMC API 8*971bb1a5SLionel Sambuc * @brief XvMC XCB Protocol Implementation. 9*971bb1a5SLionel Sambuc * @{ 10*971bb1a5SLionel Sambuc **/ 11*971bb1a5SLionel Sambuc 12*971bb1a5SLionel Sambuc #ifndef __XVMC_H 13*971bb1a5SLionel Sambuc #define __XVMC_H 14*971bb1a5SLionel Sambuc 15*971bb1a5SLionel Sambuc #include "xcb.h" 16*971bb1a5SLionel Sambuc #include "xv.h" 17*971bb1a5SLionel Sambuc 18*971bb1a5SLionel Sambuc #ifdef __cplusplus 19*971bb1a5SLionel Sambuc extern "C" { 20*971bb1a5SLionel Sambuc #endif 21*971bb1a5SLionel Sambuc 22*971bb1a5SLionel Sambuc #define XCB_XVMC_MAJOR_VERSION 1 23*971bb1a5SLionel Sambuc #define XCB_XVMC_MINOR_VERSION 1 24*971bb1a5SLionel Sambuc 25*971bb1a5SLionel Sambuc extern xcb_extension_t xcb_xvmc_id; 26*971bb1a5SLionel Sambuc 27*971bb1a5SLionel Sambuc typedef uint32_t xcb_xvmc_context_t; 28*971bb1a5SLionel Sambuc 29*971bb1a5SLionel Sambuc /** 30*971bb1a5SLionel Sambuc * @brief xcb_xvmc_context_iterator_t 31*971bb1a5SLionel Sambuc **/ 32*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_context_iterator_t { 33*971bb1a5SLionel Sambuc xcb_xvmc_context_t *data; /**< */ 34*971bb1a5SLionel Sambuc int rem; /**< */ 35*971bb1a5SLionel Sambuc int index; /**< */ 36*971bb1a5SLionel Sambuc } xcb_xvmc_context_iterator_t; 37*971bb1a5SLionel Sambuc 38*971bb1a5SLionel Sambuc typedef uint32_t xcb_xvmc_surface_t; 39*971bb1a5SLionel Sambuc 40*971bb1a5SLionel Sambuc /** 41*971bb1a5SLionel Sambuc * @brief xcb_xvmc_surface_iterator_t 42*971bb1a5SLionel Sambuc **/ 43*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_surface_iterator_t { 44*971bb1a5SLionel Sambuc xcb_xvmc_surface_t *data; /**< */ 45*971bb1a5SLionel Sambuc int rem; /**< */ 46*971bb1a5SLionel Sambuc int index; /**< */ 47*971bb1a5SLionel Sambuc } xcb_xvmc_surface_iterator_t; 48*971bb1a5SLionel Sambuc 49*971bb1a5SLionel Sambuc typedef uint32_t xcb_xvmc_subpicture_t; 50*971bb1a5SLionel Sambuc 51*971bb1a5SLionel Sambuc /** 52*971bb1a5SLionel Sambuc * @brief xcb_xvmc_subpicture_iterator_t 53*971bb1a5SLionel Sambuc **/ 54*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_subpicture_iterator_t { 55*971bb1a5SLionel Sambuc xcb_xvmc_subpicture_t *data; /**< */ 56*971bb1a5SLionel Sambuc int rem; /**< */ 57*971bb1a5SLionel Sambuc int index; /**< */ 58*971bb1a5SLionel Sambuc } xcb_xvmc_subpicture_iterator_t; 59*971bb1a5SLionel Sambuc 60*971bb1a5SLionel Sambuc /** 61*971bb1a5SLionel Sambuc * @brief xcb_xvmc_surface_info_t 62*971bb1a5SLionel Sambuc **/ 63*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_surface_info_t { 64*971bb1a5SLionel Sambuc xcb_xvmc_surface_t id; /**< */ 65*971bb1a5SLionel Sambuc uint16_t chroma_format; /**< */ 66*971bb1a5SLionel Sambuc uint16_t pad0; /**< */ 67*971bb1a5SLionel Sambuc uint16_t max_width; /**< */ 68*971bb1a5SLionel Sambuc uint16_t max_height; /**< */ 69*971bb1a5SLionel Sambuc uint16_t subpicture_max_width; /**< */ 70*971bb1a5SLionel Sambuc uint16_t subpicture_max_height; /**< */ 71*971bb1a5SLionel Sambuc uint32_t mc_type; /**< */ 72*971bb1a5SLionel Sambuc uint32_t flags; /**< */ 73*971bb1a5SLionel Sambuc } xcb_xvmc_surface_info_t; 74*971bb1a5SLionel Sambuc 75*971bb1a5SLionel Sambuc /** 76*971bb1a5SLionel Sambuc * @brief xcb_xvmc_surface_info_iterator_t 77*971bb1a5SLionel Sambuc **/ 78*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_surface_info_iterator_t { 79*971bb1a5SLionel Sambuc xcb_xvmc_surface_info_t *data; /**< */ 80*971bb1a5SLionel Sambuc int rem; /**< */ 81*971bb1a5SLionel Sambuc int index; /**< */ 82*971bb1a5SLionel Sambuc } xcb_xvmc_surface_info_iterator_t; 83*971bb1a5SLionel Sambuc 84*971bb1a5SLionel Sambuc /** 85*971bb1a5SLionel Sambuc * @brief xcb_xvmc_query_version_cookie_t 86*971bb1a5SLionel Sambuc **/ 87*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_query_version_cookie_t { 88*971bb1a5SLionel Sambuc unsigned int sequence; /**< */ 89*971bb1a5SLionel Sambuc } xcb_xvmc_query_version_cookie_t; 90*971bb1a5SLionel Sambuc 91*971bb1a5SLionel Sambuc /** Opcode for xcb_xvmc_query_version. */ 92*971bb1a5SLionel Sambuc #define XCB_XVMC_QUERY_VERSION 0 93*971bb1a5SLionel Sambuc 94*971bb1a5SLionel Sambuc /** 95*971bb1a5SLionel Sambuc * @brief xcb_xvmc_query_version_request_t 96*971bb1a5SLionel Sambuc **/ 97*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_query_version_request_t { 98*971bb1a5SLionel Sambuc uint8_t major_opcode; /**< */ 99*971bb1a5SLionel Sambuc uint8_t minor_opcode; /**< */ 100*971bb1a5SLionel Sambuc uint16_t length; /**< */ 101*971bb1a5SLionel Sambuc } xcb_xvmc_query_version_request_t; 102*971bb1a5SLionel Sambuc 103*971bb1a5SLionel Sambuc /** 104*971bb1a5SLionel Sambuc * @brief xcb_xvmc_query_version_reply_t 105*971bb1a5SLionel Sambuc **/ 106*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_query_version_reply_t { 107*971bb1a5SLionel Sambuc uint8_t response_type; /**< */ 108*971bb1a5SLionel Sambuc uint8_t pad0; /**< */ 109*971bb1a5SLionel Sambuc uint16_t sequence; /**< */ 110*971bb1a5SLionel Sambuc uint32_t length; /**< */ 111*971bb1a5SLionel Sambuc uint32_t major; /**< */ 112*971bb1a5SLionel Sambuc uint32_t minor; /**< */ 113*971bb1a5SLionel Sambuc } xcb_xvmc_query_version_reply_t; 114*971bb1a5SLionel Sambuc 115*971bb1a5SLionel Sambuc /** 116*971bb1a5SLionel Sambuc * @brief xcb_xvmc_list_surface_types_cookie_t 117*971bb1a5SLionel Sambuc **/ 118*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_list_surface_types_cookie_t { 119*971bb1a5SLionel Sambuc unsigned int sequence; /**< */ 120*971bb1a5SLionel Sambuc } xcb_xvmc_list_surface_types_cookie_t; 121*971bb1a5SLionel Sambuc 122*971bb1a5SLionel Sambuc /** Opcode for xcb_xvmc_list_surface_types. */ 123*971bb1a5SLionel Sambuc #define XCB_XVMC_LIST_SURFACE_TYPES 1 124*971bb1a5SLionel Sambuc 125*971bb1a5SLionel Sambuc /** 126*971bb1a5SLionel Sambuc * @brief xcb_xvmc_list_surface_types_request_t 127*971bb1a5SLionel Sambuc **/ 128*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_list_surface_types_request_t { 129*971bb1a5SLionel Sambuc uint8_t major_opcode; /**< */ 130*971bb1a5SLionel Sambuc uint8_t minor_opcode; /**< */ 131*971bb1a5SLionel Sambuc uint16_t length; /**< */ 132*971bb1a5SLionel Sambuc xcb_xv_port_t port_id; /**< */ 133*971bb1a5SLionel Sambuc } xcb_xvmc_list_surface_types_request_t; 134*971bb1a5SLionel Sambuc 135*971bb1a5SLionel Sambuc /** 136*971bb1a5SLionel Sambuc * @brief xcb_xvmc_list_surface_types_reply_t 137*971bb1a5SLionel Sambuc **/ 138*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_list_surface_types_reply_t { 139*971bb1a5SLionel Sambuc uint8_t response_type; /**< */ 140*971bb1a5SLionel Sambuc uint8_t pad0; /**< */ 141*971bb1a5SLionel Sambuc uint16_t sequence; /**< */ 142*971bb1a5SLionel Sambuc uint32_t length; /**< */ 143*971bb1a5SLionel Sambuc uint32_t num; /**< */ 144*971bb1a5SLionel Sambuc uint8_t pad1[20]; /**< */ 145*971bb1a5SLionel Sambuc } xcb_xvmc_list_surface_types_reply_t; 146*971bb1a5SLionel Sambuc 147*971bb1a5SLionel Sambuc /** 148*971bb1a5SLionel Sambuc * @brief xcb_xvmc_create_context_cookie_t 149*971bb1a5SLionel Sambuc **/ 150*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_create_context_cookie_t { 151*971bb1a5SLionel Sambuc unsigned int sequence; /**< */ 152*971bb1a5SLionel Sambuc } xcb_xvmc_create_context_cookie_t; 153*971bb1a5SLionel Sambuc 154*971bb1a5SLionel Sambuc /** Opcode for xcb_xvmc_create_context. */ 155*971bb1a5SLionel Sambuc #define XCB_XVMC_CREATE_CONTEXT 2 156*971bb1a5SLionel Sambuc 157*971bb1a5SLionel Sambuc /** 158*971bb1a5SLionel Sambuc * @brief xcb_xvmc_create_context_request_t 159*971bb1a5SLionel Sambuc **/ 160*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_create_context_request_t { 161*971bb1a5SLionel Sambuc uint8_t major_opcode; /**< */ 162*971bb1a5SLionel Sambuc uint8_t minor_opcode; /**< */ 163*971bb1a5SLionel Sambuc uint16_t length; /**< */ 164*971bb1a5SLionel Sambuc xcb_xvmc_context_t context_id; /**< */ 165*971bb1a5SLionel Sambuc xcb_xv_port_t port_id; /**< */ 166*971bb1a5SLionel Sambuc xcb_xvmc_surface_t surface_id; /**< */ 167*971bb1a5SLionel Sambuc uint16_t width; /**< */ 168*971bb1a5SLionel Sambuc uint16_t height; /**< */ 169*971bb1a5SLionel Sambuc uint32_t flags; /**< */ 170*971bb1a5SLionel Sambuc } xcb_xvmc_create_context_request_t; 171*971bb1a5SLionel Sambuc 172*971bb1a5SLionel Sambuc /** 173*971bb1a5SLionel Sambuc * @brief xcb_xvmc_create_context_reply_t 174*971bb1a5SLionel Sambuc **/ 175*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_create_context_reply_t { 176*971bb1a5SLionel Sambuc uint8_t response_type; /**< */ 177*971bb1a5SLionel Sambuc uint8_t pad0; /**< */ 178*971bb1a5SLionel Sambuc uint16_t sequence; /**< */ 179*971bb1a5SLionel Sambuc uint32_t length; /**< */ 180*971bb1a5SLionel Sambuc uint16_t width_actual; /**< */ 181*971bb1a5SLionel Sambuc uint16_t height_actual; /**< */ 182*971bb1a5SLionel Sambuc uint32_t flags_return; /**< */ 183*971bb1a5SLionel Sambuc uint8_t pad1[20]; /**< */ 184*971bb1a5SLionel Sambuc } xcb_xvmc_create_context_reply_t; 185*971bb1a5SLionel Sambuc 186*971bb1a5SLionel Sambuc /** Opcode for xcb_xvmc_destroy_context. */ 187*971bb1a5SLionel Sambuc #define XCB_XVMC_DESTROY_CONTEXT 3 188*971bb1a5SLionel Sambuc 189*971bb1a5SLionel Sambuc /** 190*971bb1a5SLionel Sambuc * @brief xcb_xvmc_destroy_context_request_t 191*971bb1a5SLionel Sambuc **/ 192*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_destroy_context_request_t { 193*971bb1a5SLionel Sambuc uint8_t major_opcode; /**< */ 194*971bb1a5SLionel Sambuc uint8_t minor_opcode; /**< */ 195*971bb1a5SLionel Sambuc uint16_t length; /**< */ 196*971bb1a5SLionel Sambuc xcb_xvmc_context_t context_id; /**< */ 197*971bb1a5SLionel Sambuc } xcb_xvmc_destroy_context_request_t; 198*971bb1a5SLionel Sambuc 199*971bb1a5SLionel Sambuc /** 200*971bb1a5SLionel Sambuc * @brief xcb_xvmc_create_surface_cookie_t 201*971bb1a5SLionel Sambuc **/ 202*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_create_surface_cookie_t { 203*971bb1a5SLionel Sambuc unsigned int sequence; /**< */ 204*971bb1a5SLionel Sambuc } xcb_xvmc_create_surface_cookie_t; 205*971bb1a5SLionel Sambuc 206*971bb1a5SLionel Sambuc /** Opcode for xcb_xvmc_create_surface. */ 207*971bb1a5SLionel Sambuc #define XCB_XVMC_CREATE_SURFACE 4 208*971bb1a5SLionel Sambuc 209*971bb1a5SLionel Sambuc /** 210*971bb1a5SLionel Sambuc * @brief xcb_xvmc_create_surface_request_t 211*971bb1a5SLionel Sambuc **/ 212*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_create_surface_request_t { 213*971bb1a5SLionel Sambuc uint8_t major_opcode; /**< */ 214*971bb1a5SLionel Sambuc uint8_t minor_opcode; /**< */ 215*971bb1a5SLionel Sambuc uint16_t length; /**< */ 216*971bb1a5SLionel Sambuc xcb_xvmc_surface_t surface_id; /**< */ 217*971bb1a5SLionel Sambuc xcb_xvmc_context_t context_id; /**< */ 218*971bb1a5SLionel Sambuc } xcb_xvmc_create_surface_request_t; 219*971bb1a5SLionel Sambuc 220*971bb1a5SLionel Sambuc /** 221*971bb1a5SLionel Sambuc * @brief xcb_xvmc_create_surface_reply_t 222*971bb1a5SLionel Sambuc **/ 223*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_create_surface_reply_t { 224*971bb1a5SLionel Sambuc uint8_t response_type; /**< */ 225*971bb1a5SLionel Sambuc uint8_t pad0; /**< */ 226*971bb1a5SLionel Sambuc uint16_t sequence; /**< */ 227*971bb1a5SLionel Sambuc uint32_t length; /**< */ 228*971bb1a5SLionel Sambuc uint8_t pad1[24]; /**< */ 229*971bb1a5SLionel Sambuc } xcb_xvmc_create_surface_reply_t; 230*971bb1a5SLionel Sambuc 231*971bb1a5SLionel Sambuc /** Opcode for xcb_xvmc_destroy_surface. */ 232*971bb1a5SLionel Sambuc #define XCB_XVMC_DESTROY_SURFACE 5 233*971bb1a5SLionel Sambuc 234*971bb1a5SLionel Sambuc /** 235*971bb1a5SLionel Sambuc * @brief xcb_xvmc_destroy_surface_request_t 236*971bb1a5SLionel Sambuc **/ 237*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_destroy_surface_request_t { 238*971bb1a5SLionel Sambuc uint8_t major_opcode; /**< */ 239*971bb1a5SLionel Sambuc uint8_t minor_opcode; /**< */ 240*971bb1a5SLionel Sambuc uint16_t length; /**< */ 241*971bb1a5SLionel Sambuc xcb_xvmc_surface_t surface_id; /**< */ 242*971bb1a5SLionel Sambuc } xcb_xvmc_destroy_surface_request_t; 243*971bb1a5SLionel Sambuc 244*971bb1a5SLionel Sambuc /** 245*971bb1a5SLionel Sambuc * @brief xcb_xvmc_create_subpicture_cookie_t 246*971bb1a5SLionel Sambuc **/ 247*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_create_subpicture_cookie_t { 248*971bb1a5SLionel Sambuc unsigned int sequence; /**< */ 249*971bb1a5SLionel Sambuc } xcb_xvmc_create_subpicture_cookie_t; 250*971bb1a5SLionel Sambuc 251*971bb1a5SLionel Sambuc /** Opcode for xcb_xvmc_create_subpicture. */ 252*971bb1a5SLionel Sambuc #define XCB_XVMC_CREATE_SUBPICTURE 6 253*971bb1a5SLionel Sambuc 254*971bb1a5SLionel Sambuc /** 255*971bb1a5SLionel Sambuc * @brief xcb_xvmc_create_subpicture_request_t 256*971bb1a5SLionel Sambuc **/ 257*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_create_subpicture_request_t { 258*971bb1a5SLionel Sambuc uint8_t major_opcode; /**< */ 259*971bb1a5SLionel Sambuc uint8_t minor_opcode; /**< */ 260*971bb1a5SLionel Sambuc uint16_t length; /**< */ 261*971bb1a5SLionel Sambuc xcb_xvmc_subpicture_t subpicture_id; /**< */ 262*971bb1a5SLionel Sambuc xcb_xvmc_context_t context; /**< */ 263*971bb1a5SLionel Sambuc uint32_t xvimage_id; /**< */ 264*971bb1a5SLionel Sambuc uint16_t width; /**< */ 265*971bb1a5SLionel Sambuc uint16_t height; /**< */ 266*971bb1a5SLionel Sambuc } xcb_xvmc_create_subpicture_request_t; 267*971bb1a5SLionel Sambuc 268*971bb1a5SLionel Sambuc /** 269*971bb1a5SLionel Sambuc * @brief xcb_xvmc_create_subpicture_reply_t 270*971bb1a5SLionel Sambuc **/ 271*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_create_subpicture_reply_t { 272*971bb1a5SLionel Sambuc uint8_t response_type; /**< */ 273*971bb1a5SLionel Sambuc uint8_t pad0; /**< */ 274*971bb1a5SLionel Sambuc uint16_t sequence; /**< */ 275*971bb1a5SLionel Sambuc uint32_t length; /**< */ 276*971bb1a5SLionel Sambuc uint16_t width_actual; /**< */ 277*971bb1a5SLionel Sambuc uint16_t height_actual; /**< */ 278*971bb1a5SLionel Sambuc uint16_t num_palette_entries; /**< */ 279*971bb1a5SLionel Sambuc uint16_t entry_bytes; /**< */ 280*971bb1a5SLionel Sambuc uint8_t component_order[4]; /**< */ 281*971bb1a5SLionel Sambuc uint8_t pad1[12]; /**< */ 282*971bb1a5SLionel Sambuc } xcb_xvmc_create_subpicture_reply_t; 283*971bb1a5SLionel Sambuc 284*971bb1a5SLionel Sambuc /** Opcode for xcb_xvmc_destroy_subpicture. */ 285*971bb1a5SLionel Sambuc #define XCB_XVMC_DESTROY_SUBPICTURE 7 286*971bb1a5SLionel Sambuc 287*971bb1a5SLionel Sambuc /** 288*971bb1a5SLionel Sambuc * @brief xcb_xvmc_destroy_subpicture_request_t 289*971bb1a5SLionel Sambuc **/ 290*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_destroy_subpicture_request_t { 291*971bb1a5SLionel Sambuc uint8_t major_opcode; /**< */ 292*971bb1a5SLionel Sambuc uint8_t minor_opcode; /**< */ 293*971bb1a5SLionel Sambuc uint16_t length; /**< */ 294*971bb1a5SLionel Sambuc xcb_xvmc_subpicture_t subpicture_id; /**< */ 295*971bb1a5SLionel Sambuc } xcb_xvmc_destroy_subpicture_request_t; 296*971bb1a5SLionel Sambuc 297*971bb1a5SLionel Sambuc /** 298*971bb1a5SLionel Sambuc * @brief xcb_xvmc_list_subpicture_types_cookie_t 299*971bb1a5SLionel Sambuc **/ 300*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_list_subpicture_types_cookie_t { 301*971bb1a5SLionel Sambuc unsigned int sequence; /**< */ 302*971bb1a5SLionel Sambuc } xcb_xvmc_list_subpicture_types_cookie_t; 303*971bb1a5SLionel Sambuc 304*971bb1a5SLionel Sambuc /** Opcode for xcb_xvmc_list_subpicture_types. */ 305*971bb1a5SLionel Sambuc #define XCB_XVMC_LIST_SUBPICTURE_TYPES 8 306*971bb1a5SLionel Sambuc 307*971bb1a5SLionel Sambuc /** 308*971bb1a5SLionel Sambuc * @brief xcb_xvmc_list_subpicture_types_request_t 309*971bb1a5SLionel Sambuc **/ 310*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_list_subpicture_types_request_t { 311*971bb1a5SLionel Sambuc uint8_t major_opcode; /**< */ 312*971bb1a5SLionel Sambuc uint8_t minor_opcode; /**< */ 313*971bb1a5SLionel Sambuc uint16_t length; /**< */ 314*971bb1a5SLionel Sambuc xcb_xv_port_t port_id; /**< */ 315*971bb1a5SLionel Sambuc xcb_xvmc_surface_t surface_id; /**< */ 316*971bb1a5SLionel Sambuc } xcb_xvmc_list_subpicture_types_request_t; 317*971bb1a5SLionel Sambuc 318*971bb1a5SLionel Sambuc /** 319*971bb1a5SLionel Sambuc * @brief xcb_xvmc_list_subpicture_types_reply_t 320*971bb1a5SLionel Sambuc **/ 321*971bb1a5SLionel Sambuc typedef struct xcb_xvmc_list_subpicture_types_reply_t { 322*971bb1a5SLionel Sambuc uint8_t response_type; /**< */ 323*971bb1a5SLionel Sambuc uint8_t pad0; /**< */ 324*971bb1a5SLionel Sambuc uint16_t sequence; /**< */ 325*971bb1a5SLionel Sambuc uint32_t length; /**< */ 326*971bb1a5SLionel Sambuc uint32_t num; /**< */ 327*971bb1a5SLionel Sambuc uint8_t pad1[20]; /**< */ 328*971bb1a5SLionel Sambuc } xcb_xvmc_list_subpicture_types_reply_t; 329*971bb1a5SLionel Sambuc 330*971bb1a5SLionel Sambuc /** 331*971bb1a5SLionel Sambuc * Get the next element of the iterator 332*971bb1a5SLionel Sambuc * @param i Pointer to a xcb_xvmc_context_iterator_t 333*971bb1a5SLionel Sambuc * 334*971bb1a5SLionel Sambuc * Get the next element in the iterator. The member rem is 335*971bb1a5SLionel Sambuc * decreased by one. The member data points to the next 336*971bb1a5SLionel Sambuc * element. The member index is increased by sizeof(xcb_xvmc_context_t) 337*971bb1a5SLionel Sambuc */ 338*971bb1a5SLionel Sambuc void 339*971bb1a5SLionel Sambuc xcb_xvmc_context_next (xcb_xvmc_context_iterator_t *i /**< */); 340*971bb1a5SLionel Sambuc 341*971bb1a5SLionel Sambuc /** 342*971bb1a5SLionel Sambuc * Return the iterator pointing to the last element 343*971bb1a5SLionel Sambuc * @param i An xcb_xvmc_context_iterator_t 344*971bb1a5SLionel Sambuc * @return The iterator pointing to the last element 345*971bb1a5SLionel Sambuc * 346*971bb1a5SLionel Sambuc * Set the current element in the iterator to the last element. 347*971bb1a5SLionel Sambuc * The member rem is set to 0. The member data points to the 348*971bb1a5SLionel Sambuc * last element. 349*971bb1a5SLionel Sambuc */ 350*971bb1a5SLionel Sambuc xcb_generic_iterator_t 351*971bb1a5SLionel Sambuc xcb_xvmc_context_end (xcb_xvmc_context_iterator_t i /**< */); 352*971bb1a5SLionel Sambuc 353*971bb1a5SLionel Sambuc /** 354*971bb1a5SLionel Sambuc * Get the next element of the iterator 355*971bb1a5SLionel Sambuc * @param i Pointer to a xcb_xvmc_surface_iterator_t 356*971bb1a5SLionel Sambuc * 357*971bb1a5SLionel Sambuc * Get the next element in the iterator. The member rem is 358*971bb1a5SLionel Sambuc * decreased by one. The member data points to the next 359*971bb1a5SLionel Sambuc * element. The member index is increased by sizeof(xcb_xvmc_surface_t) 360*971bb1a5SLionel Sambuc */ 361*971bb1a5SLionel Sambuc void 362*971bb1a5SLionel Sambuc xcb_xvmc_surface_next (xcb_xvmc_surface_iterator_t *i /**< */); 363*971bb1a5SLionel Sambuc 364*971bb1a5SLionel Sambuc /** 365*971bb1a5SLionel Sambuc * Return the iterator pointing to the last element 366*971bb1a5SLionel Sambuc * @param i An xcb_xvmc_surface_iterator_t 367*971bb1a5SLionel Sambuc * @return The iterator pointing to the last element 368*971bb1a5SLionel Sambuc * 369*971bb1a5SLionel Sambuc * Set the current element in the iterator to the last element. 370*971bb1a5SLionel Sambuc * The member rem is set to 0. The member data points to the 371*971bb1a5SLionel Sambuc * last element. 372*971bb1a5SLionel Sambuc */ 373*971bb1a5SLionel Sambuc xcb_generic_iterator_t 374*971bb1a5SLionel Sambuc xcb_xvmc_surface_end (xcb_xvmc_surface_iterator_t i /**< */); 375*971bb1a5SLionel Sambuc 376*971bb1a5SLionel Sambuc /** 377*971bb1a5SLionel Sambuc * Get the next element of the iterator 378*971bb1a5SLionel Sambuc * @param i Pointer to a xcb_xvmc_subpicture_iterator_t 379*971bb1a5SLionel Sambuc * 380*971bb1a5SLionel Sambuc * Get the next element in the iterator. The member rem is 381*971bb1a5SLionel Sambuc * decreased by one. The member data points to the next 382*971bb1a5SLionel Sambuc * element. The member index is increased by sizeof(xcb_xvmc_subpicture_t) 383*971bb1a5SLionel Sambuc */ 384*971bb1a5SLionel Sambuc void 385*971bb1a5SLionel Sambuc xcb_xvmc_subpicture_next (xcb_xvmc_subpicture_iterator_t *i /**< */); 386*971bb1a5SLionel Sambuc 387*971bb1a5SLionel Sambuc /** 388*971bb1a5SLionel Sambuc * Return the iterator pointing to the last element 389*971bb1a5SLionel Sambuc * @param i An xcb_xvmc_subpicture_iterator_t 390*971bb1a5SLionel Sambuc * @return The iterator pointing to the last element 391*971bb1a5SLionel Sambuc * 392*971bb1a5SLionel Sambuc * Set the current element in the iterator to the last element. 393*971bb1a5SLionel Sambuc * The member rem is set to 0. The member data points to the 394*971bb1a5SLionel Sambuc * last element. 395*971bb1a5SLionel Sambuc */ 396*971bb1a5SLionel Sambuc xcb_generic_iterator_t 397*971bb1a5SLionel Sambuc xcb_xvmc_subpicture_end (xcb_xvmc_subpicture_iterator_t i /**< */); 398*971bb1a5SLionel Sambuc 399*971bb1a5SLionel Sambuc /** 400*971bb1a5SLionel Sambuc * Get the next element of the iterator 401*971bb1a5SLionel Sambuc * @param i Pointer to a xcb_xvmc_surface_info_iterator_t 402*971bb1a5SLionel Sambuc * 403*971bb1a5SLionel Sambuc * Get the next element in the iterator. The member rem is 404*971bb1a5SLionel Sambuc * decreased by one. The member data points to the next 405*971bb1a5SLionel Sambuc * element. The member index is increased by sizeof(xcb_xvmc_surface_info_t) 406*971bb1a5SLionel Sambuc */ 407*971bb1a5SLionel Sambuc void 408*971bb1a5SLionel Sambuc xcb_xvmc_surface_info_next (xcb_xvmc_surface_info_iterator_t *i /**< */); 409*971bb1a5SLionel Sambuc 410*971bb1a5SLionel Sambuc /** 411*971bb1a5SLionel Sambuc * Return the iterator pointing to the last element 412*971bb1a5SLionel Sambuc * @param i An xcb_xvmc_surface_info_iterator_t 413*971bb1a5SLionel Sambuc * @return The iterator pointing to the last element 414*971bb1a5SLionel Sambuc * 415*971bb1a5SLionel Sambuc * Set the current element in the iterator to the last element. 416*971bb1a5SLionel Sambuc * The member rem is set to 0. The member data points to the 417*971bb1a5SLionel Sambuc * last element. 418*971bb1a5SLionel Sambuc */ 419*971bb1a5SLionel Sambuc xcb_generic_iterator_t 420*971bb1a5SLionel Sambuc xcb_xvmc_surface_info_end (xcb_xvmc_surface_info_iterator_t i /**< */); 421*971bb1a5SLionel Sambuc 422*971bb1a5SLionel Sambuc /** 423*971bb1a5SLionel Sambuc * 424*971bb1a5SLionel Sambuc * @param c The connection 425*971bb1a5SLionel Sambuc * @return A cookie 426*971bb1a5SLionel Sambuc * 427*971bb1a5SLionel Sambuc * Delivers a request to the X server. 428*971bb1a5SLionel Sambuc * 429*971bb1a5SLionel Sambuc */ 430*971bb1a5SLionel Sambuc xcb_xvmc_query_version_cookie_t 431*971bb1a5SLionel Sambuc xcb_xvmc_query_version (xcb_connection_t *c /**< */); 432*971bb1a5SLionel Sambuc 433*971bb1a5SLionel Sambuc /** 434*971bb1a5SLionel Sambuc * 435*971bb1a5SLionel Sambuc * @param c The connection 436*971bb1a5SLionel Sambuc * @return A cookie 437*971bb1a5SLionel Sambuc * 438*971bb1a5SLionel Sambuc * Delivers a request to the X server. 439*971bb1a5SLionel Sambuc * 440*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 441*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 442*971bb1a5SLionel Sambuc * placed in the event queue. 443*971bb1a5SLionel Sambuc */ 444*971bb1a5SLionel Sambuc xcb_xvmc_query_version_cookie_t 445*971bb1a5SLionel Sambuc xcb_xvmc_query_version_unchecked (xcb_connection_t *c /**< */); 446*971bb1a5SLionel Sambuc 447*971bb1a5SLionel Sambuc /** 448*971bb1a5SLionel Sambuc * Return the reply 449*971bb1a5SLionel Sambuc * @param c The connection 450*971bb1a5SLionel Sambuc * @param cookie The cookie 451*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 452*971bb1a5SLionel Sambuc * 453*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 454*971bb1a5SLionel Sambuc * 455*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 456*971bb1a5SLionel Sambuc * xcb_xvmc_query_version_unchecked(). is used. 457*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 458*971bb1a5SLionel Sambuc * 459*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 460*971bb1a5SLionel Sambuc */ 461*971bb1a5SLionel Sambuc xcb_xvmc_query_version_reply_t * 462*971bb1a5SLionel Sambuc xcb_xvmc_query_version_reply (xcb_connection_t *c /**< */, 463*971bb1a5SLionel Sambuc xcb_xvmc_query_version_cookie_t cookie /**< */, 464*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 465*971bb1a5SLionel Sambuc 466*971bb1a5SLionel Sambuc int 467*971bb1a5SLionel Sambuc xcb_xvmc_list_surface_types_sizeof (const void *_buffer /**< */); 468*971bb1a5SLionel Sambuc 469*971bb1a5SLionel Sambuc /** 470*971bb1a5SLionel Sambuc * 471*971bb1a5SLionel Sambuc * @param c The connection 472*971bb1a5SLionel Sambuc * @return A cookie 473*971bb1a5SLionel Sambuc * 474*971bb1a5SLionel Sambuc * Delivers a request to the X server. 475*971bb1a5SLionel Sambuc * 476*971bb1a5SLionel Sambuc */ 477*971bb1a5SLionel Sambuc xcb_xvmc_list_surface_types_cookie_t 478*971bb1a5SLionel Sambuc xcb_xvmc_list_surface_types (xcb_connection_t *c /**< */, 479*971bb1a5SLionel Sambuc xcb_xv_port_t port_id /**< */); 480*971bb1a5SLionel Sambuc 481*971bb1a5SLionel Sambuc /** 482*971bb1a5SLionel Sambuc * 483*971bb1a5SLionel Sambuc * @param c The connection 484*971bb1a5SLionel Sambuc * @return A cookie 485*971bb1a5SLionel Sambuc * 486*971bb1a5SLionel Sambuc * Delivers a request to the X server. 487*971bb1a5SLionel Sambuc * 488*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 489*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 490*971bb1a5SLionel Sambuc * placed in the event queue. 491*971bb1a5SLionel Sambuc */ 492*971bb1a5SLionel Sambuc xcb_xvmc_list_surface_types_cookie_t 493*971bb1a5SLionel Sambuc xcb_xvmc_list_surface_types_unchecked (xcb_connection_t *c /**< */, 494*971bb1a5SLionel Sambuc xcb_xv_port_t port_id /**< */); 495*971bb1a5SLionel Sambuc 496*971bb1a5SLionel Sambuc xcb_xvmc_surface_info_t * 497*971bb1a5SLionel Sambuc xcb_xvmc_list_surface_types_surfaces (const xcb_xvmc_list_surface_types_reply_t *R /**< */); 498*971bb1a5SLionel Sambuc 499*971bb1a5SLionel Sambuc int 500*971bb1a5SLionel Sambuc xcb_xvmc_list_surface_types_surfaces_length (const xcb_xvmc_list_surface_types_reply_t *R /**< */); 501*971bb1a5SLionel Sambuc 502*971bb1a5SLionel Sambuc xcb_xvmc_surface_info_iterator_t 503*971bb1a5SLionel Sambuc xcb_xvmc_list_surface_types_surfaces_iterator (const xcb_xvmc_list_surface_types_reply_t *R /**< */); 504*971bb1a5SLionel Sambuc 505*971bb1a5SLionel Sambuc /** 506*971bb1a5SLionel Sambuc * Return the reply 507*971bb1a5SLionel Sambuc * @param c The connection 508*971bb1a5SLionel Sambuc * @param cookie The cookie 509*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 510*971bb1a5SLionel Sambuc * 511*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 512*971bb1a5SLionel Sambuc * 513*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 514*971bb1a5SLionel Sambuc * xcb_xvmc_list_surface_types_unchecked(). is used. 515*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 516*971bb1a5SLionel Sambuc * 517*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 518*971bb1a5SLionel Sambuc */ 519*971bb1a5SLionel Sambuc xcb_xvmc_list_surface_types_reply_t * 520*971bb1a5SLionel Sambuc xcb_xvmc_list_surface_types_reply (xcb_connection_t *c /**< */, 521*971bb1a5SLionel Sambuc xcb_xvmc_list_surface_types_cookie_t cookie /**< */, 522*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 523*971bb1a5SLionel Sambuc 524*971bb1a5SLionel Sambuc int 525*971bb1a5SLionel Sambuc xcb_xvmc_create_context_sizeof (const void *_buffer /**< */); 526*971bb1a5SLionel Sambuc 527*971bb1a5SLionel Sambuc /** 528*971bb1a5SLionel Sambuc * 529*971bb1a5SLionel Sambuc * @param c The connection 530*971bb1a5SLionel Sambuc * @return A cookie 531*971bb1a5SLionel Sambuc * 532*971bb1a5SLionel Sambuc * Delivers a request to the X server. 533*971bb1a5SLionel Sambuc * 534*971bb1a5SLionel Sambuc */ 535*971bb1a5SLionel Sambuc xcb_xvmc_create_context_cookie_t 536*971bb1a5SLionel Sambuc xcb_xvmc_create_context (xcb_connection_t *c /**< */, 537*971bb1a5SLionel Sambuc xcb_xvmc_context_t context_id /**< */, 538*971bb1a5SLionel Sambuc xcb_xv_port_t port_id /**< */, 539*971bb1a5SLionel Sambuc xcb_xvmc_surface_t surface_id /**< */, 540*971bb1a5SLionel Sambuc uint16_t width /**< */, 541*971bb1a5SLionel Sambuc uint16_t height /**< */, 542*971bb1a5SLionel Sambuc uint32_t flags /**< */); 543*971bb1a5SLionel Sambuc 544*971bb1a5SLionel Sambuc /** 545*971bb1a5SLionel Sambuc * 546*971bb1a5SLionel Sambuc * @param c The connection 547*971bb1a5SLionel Sambuc * @return A cookie 548*971bb1a5SLionel Sambuc * 549*971bb1a5SLionel Sambuc * Delivers a request to the X server. 550*971bb1a5SLionel Sambuc * 551*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 552*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 553*971bb1a5SLionel Sambuc * placed in the event queue. 554*971bb1a5SLionel Sambuc */ 555*971bb1a5SLionel Sambuc xcb_xvmc_create_context_cookie_t 556*971bb1a5SLionel Sambuc xcb_xvmc_create_context_unchecked (xcb_connection_t *c /**< */, 557*971bb1a5SLionel Sambuc xcb_xvmc_context_t context_id /**< */, 558*971bb1a5SLionel Sambuc xcb_xv_port_t port_id /**< */, 559*971bb1a5SLionel Sambuc xcb_xvmc_surface_t surface_id /**< */, 560*971bb1a5SLionel Sambuc uint16_t width /**< */, 561*971bb1a5SLionel Sambuc uint16_t height /**< */, 562*971bb1a5SLionel Sambuc uint32_t flags /**< */); 563*971bb1a5SLionel Sambuc 564*971bb1a5SLionel Sambuc uint32_t * 565*971bb1a5SLionel Sambuc xcb_xvmc_create_context_priv_data (const xcb_xvmc_create_context_reply_t *R /**< */); 566*971bb1a5SLionel Sambuc 567*971bb1a5SLionel Sambuc int 568*971bb1a5SLionel Sambuc xcb_xvmc_create_context_priv_data_length (const xcb_xvmc_create_context_reply_t *R /**< */); 569*971bb1a5SLionel Sambuc 570*971bb1a5SLionel Sambuc xcb_generic_iterator_t 571*971bb1a5SLionel Sambuc xcb_xvmc_create_context_priv_data_end (const xcb_xvmc_create_context_reply_t *R /**< */); 572*971bb1a5SLionel Sambuc 573*971bb1a5SLionel Sambuc /** 574*971bb1a5SLionel Sambuc * Return the reply 575*971bb1a5SLionel Sambuc * @param c The connection 576*971bb1a5SLionel Sambuc * @param cookie The cookie 577*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 578*971bb1a5SLionel Sambuc * 579*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 580*971bb1a5SLionel Sambuc * 581*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 582*971bb1a5SLionel Sambuc * xcb_xvmc_create_context_unchecked(). is used. 583*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 584*971bb1a5SLionel Sambuc * 585*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 586*971bb1a5SLionel Sambuc */ 587*971bb1a5SLionel Sambuc xcb_xvmc_create_context_reply_t * 588*971bb1a5SLionel Sambuc xcb_xvmc_create_context_reply (xcb_connection_t *c /**< */, 589*971bb1a5SLionel Sambuc xcb_xvmc_create_context_cookie_t cookie /**< */, 590*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 591*971bb1a5SLionel Sambuc 592*971bb1a5SLionel Sambuc /** 593*971bb1a5SLionel Sambuc * 594*971bb1a5SLionel Sambuc * @param c The connection 595*971bb1a5SLionel Sambuc * @return A cookie 596*971bb1a5SLionel Sambuc * 597*971bb1a5SLionel Sambuc * Delivers a request to the X server. 598*971bb1a5SLionel Sambuc * 599*971bb1a5SLionel Sambuc * This form can be used only if the request will not cause 600*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 601*971bb1a5SLionel Sambuc * saved for handling by xcb_request_check(). 602*971bb1a5SLionel Sambuc */ 603*971bb1a5SLionel Sambuc xcb_void_cookie_t 604*971bb1a5SLionel Sambuc xcb_xvmc_destroy_context_checked (xcb_connection_t *c /**< */, 605*971bb1a5SLionel Sambuc xcb_xvmc_context_t context_id /**< */); 606*971bb1a5SLionel Sambuc 607*971bb1a5SLionel Sambuc /** 608*971bb1a5SLionel Sambuc * 609*971bb1a5SLionel Sambuc * @param c The connection 610*971bb1a5SLionel Sambuc * @return A cookie 611*971bb1a5SLionel Sambuc * 612*971bb1a5SLionel Sambuc * Delivers a request to the X server. 613*971bb1a5SLionel Sambuc * 614*971bb1a5SLionel Sambuc */ 615*971bb1a5SLionel Sambuc xcb_void_cookie_t 616*971bb1a5SLionel Sambuc xcb_xvmc_destroy_context (xcb_connection_t *c /**< */, 617*971bb1a5SLionel Sambuc xcb_xvmc_context_t context_id /**< */); 618*971bb1a5SLionel Sambuc 619*971bb1a5SLionel Sambuc int 620*971bb1a5SLionel Sambuc xcb_xvmc_create_surface_sizeof (const void *_buffer /**< */); 621*971bb1a5SLionel Sambuc 622*971bb1a5SLionel Sambuc /** 623*971bb1a5SLionel Sambuc * 624*971bb1a5SLionel Sambuc * @param c The connection 625*971bb1a5SLionel Sambuc * @return A cookie 626*971bb1a5SLionel Sambuc * 627*971bb1a5SLionel Sambuc * Delivers a request to the X server. 628*971bb1a5SLionel Sambuc * 629*971bb1a5SLionel Sambuc */ 630*971bb1a5SLionel Sambuc xcb_xvmc_create_surface_cookie_t 631*971bb1a5SLionel Sambuc xcb_xvmc_create_surface (xcb_connection_t *c /**< */, 632*971bb1a5SLionel Sambuc xcb_xvmc_surface_t surface_id /**< */, 633*971bb1a5SLionel Sambuc xcb_xvmc_context_t context_id /**< */); 634*971bb1a5SLionel Sambuc 635*971bb1a5SLionel Sambuc /** 636*971bb1a5SLionel Sambuc * 637*971bb1a5SLionel Sambuc * @param c The connection 638*971bb1a5SLionel Sambuc * @return A cookie 639*971bb1a5SLionel Sambuc * 640*971bb1a5SLionel Sambuc * Delivers a request to the X server. 641*971bb1a5SLionel Sambuc * 642*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 643*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 644*971bb1a5SLionel Sambuc * placed in the event queue. 645*971bb1a5SLionel Sambuc */ 646*971bb1a5SLionel Sambuc xcb_xvmc_create_surface_cookie_t 647*971bb1a5SLionel Sambuc xcb_xvmc_create_surface_unchecked (xcb_connection_t *c /**< */, 648*971bb1a5SLionel Sambuc xcb_xvmc_surface_t surface_id /**< */, 649*971bb1a5SLionel Sambuc xcb_xvmc_context_t context_id /**< */); 650*971bb1a5SLionel Sambuc 651*971bb1a5SLionel Sambuc uint32_t * 652*971bb1a5SLionel Sambuc xcb_xvmc_create_surface_priv_data (const xcb_xvmc_create_surface_reply_t *R /**< */); 653*971bb1a5SLionel Sambuc 654*971bb1a5SLionel Sambuc int 655*971bb1a5SLionel Sambuc xcb_xvmc_create_surface_priv_data_length (const xcb_xvmc_create_surface_reply_t *R /**< */); 656*971bb1a5SLionel Sambuc 657*971bb1a5SLionel Sambuc xcb_generic_iterator_t 658*971bb1a5SLionel Sambuc xcb_xvmc_create_surface_priv_data_end (const xcb_xvmc_create_surface_reply_t *R /**< */); 659*971bb1a5SLionel Sambuc 660*971bb1a5SLionel Sambuc /** 661*971bb1a5SLionel Sambuc * Return the reply 662*971bb1a5SLionel Sambuc * @param c The connection 663*971bb1a5SLionel Sambuc * @param cookie The cookie 664*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 665*971bb1a5SLionel Sambuc * 666*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 667*971bb1a5SLionel Sambuc * 668*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 669*971bb1a5SLionel Sambuc * xcb_xvmc_create_surface_unchecked(). is used. 670*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 671*971bb1a5SLionel Sambuc * 672*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 673*971bb1a5SLionel Sambuc */ 674*971bb1a5SLionel Sambuc xcb_xvmc_create_surface_reply_t * 675*971bb1a5SLionel Sambuc xcb_xvmc_create_surface_reply (xcb_connection_t *c /**< */, 676*971bb1a5SLionel Sambuc xcb_xvmc_create_surface_cookie_t cookie /**< */, 677*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 678*971bb1a5SLionel Sambuc 679*971bb1a5SLionel Sambuc /** 680*971bb1a5SLionel Sambuc * 681*971bb1a5SLionel Sambuc * @param c The connection 682*971bb1a5SLionel Sambuc * @return A cookie 683*971bb1a5SLionel Sambuc * 684*971bb1a5SLionel Sambuc * Delivers a request to the X server. 685*971bb1a5SLionel Sambuc * 686*971bb1a5SLionel Sambuc * This form can be used only if the request will not cause 687*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 688*971bb1a5SLionel Sambuc * saved for handling by xcb_request_check(). 689*971bb1a5SLionel Sambuc */ 690*971bb1a5SLionel Sambuc xcb_void_cookie_t 691*971bb1a5SLionel Sambuc xcb_xvmc_destroy_surface_checked (xcb_connection_t *c /**< */, 692*971bb1a5SLionel Sambuc xcb_xvmc_surface_t surface_id /**< */); 693*971bb1a5SLionel Sambuc 694*971bb1a5SLionel Sambuc /** 695*971bb1a5SLionel Sambuc * 696*971bb1a5SLionel Sambuc * @param c The connection 697*971bb1a5SLionel Sambuc * @return A cookie 698*971bb1a5SLionel Sambuc * 699*971bb1a5SLionel Sambuc * Delivers a request to the X server. 700*971bb1a5SLionel Sambuc * 701*971bb1a5SLionel Sambuc */ 702*971bb1a5SLionel Sambuc xcb_void_cookie_t 703*971bb1a5SLionel Sambuc xcb_xvmc_destroy_surface (xcb_connection_t *c /**< */, 704*971bb1a5SLionel Sambuc xcb_xvmc_surface_t surface_id /**< */); 705*971bb1a5SLionel Sambuc 706*971bb1a5SLionel Sambuc int 707*971bb1a5SLionel Sambuc xcb_xvmc_create_subpicture_sizeof (const void *_buffer /**< */); 708*971bb1a5SLionel Sambuc 709*971bb1a5SLionel Sambuc /** 710*971bb1a5SLionel Sambuc * 711*971bb1a5SLionel Sambuc * @param c The connection 712*971bb1a5SLionel Sambuc * @return A cookie 713*971bb1a5SLionel Sambuc * 714*971bb1a5SLionel Sambuc * Delivers a request to the X server. 715*971bb1a5SLionel Sambuc * 716*971bb1a5SLionel Sambuc */ 717*971bb1a5SLionel Sambuc xcb_xvmc_create_subpicture_cookie_t 718*971bb1a5SLionel Sambuc xcb_xvmc_create_subpicture (xcb_connection_t *c /**< */, 719*971bb1a5SLionel Sambuc xcb_xvmc_subpicture_t subpicture_id /**< */, 720*971bb1a5SLionel Sambuc xcb_xvmc_context_t context /**< */, 721*971bb1a5SLionel Sambuc uint32_t xvimage_id /**< */, 722*971bb1a5SLionel Sambuc uint16_t width /**< */, 723*971bb1a5SLionel Sambuc uint16_t height /**< */); 724*971bb1a5SLionel Sambuc 725*971bb1a5SLionel Sambuc /** 726*971bb1a5SLionel Sambuc * 727*971bb1a5SLionel Sambuc * @param c The connection 728*971bb1a5SLionel Sambuc * @return A cookie 729*971bb1a5SLionel Sambuc * 730*971bb1a5SLionel Sambuc * Delivers a request to the X server. 731*971bb1a5SLionel Sambuc * 732*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 733*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 734*971bb1a5SLionel Sambuc * placed in the event queue. 735*971bb1a5SLionel Sambuc */ 736*971bb1a5SLionel Sambuc xcb_xvmc_create_subpicture_cookie_t 737*971bb1a5SLionel Sambuc xcb_xvmc_create_subpicture_unchecked (xcb_connection_t *c /**< */, 738*971bb1a5SLionel Sambuc xcb_xvmc_subpicture_t subpicture_id /**< */, 739*971bb1a5SLionel Sambuc xcb_xvmc_context_t context /**< */, 740*971bb1a5SLionel Sambuc uint32_t xvimage_id /**< */, 741*971bb1a5SLionel Sambuc uint16_t width /**< */, 742*971bb1a5SLionel Sambuc uint16_t height /**< */); 743*971bb1a5SLionel Sambuc 744*971bb1a5SLionel Sambuc uint32_t * 745*971bb1a5SLionel Sambuc xcb_xvmc_create_subpicture_priv_data (const xcb_xvmc_create_subpicture_reply_t *R /**< */); 746*971bb1a5SLionel Sambuc 747*971bb1a5SLionel Sambuc int 748*971bb1a5SLionel Sambuc xcb_xvmc_create_subpicture_priv_data_length (const xcb_xvmc_create_subpicture_reply_t *R /**< */); 749*971bb1a5SLionel Sambuc 750*971bb1a5SLionel Sambuc xcb_generic_iterator_t 751*971bb1a5SLionel Sambuc xcb_xvmc_create_subpicture_priv_data_end (const xcb_xvmc_create_subpicture_reply_t *R /**< */); 752*971bb1a5SLionel Sambuc 753*971bb1a5SLionel Sambuc /** 754*971bb1a5SLionel Sambuc * Return the reply 755*971bb1a5SLionel Sambuc * @param c The connection 756*971bb1a5SLionel Sambuc * @param cookie The cookie 757*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 758*971bb1a5SLionel Sambuc * 759*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 760*971bb1a5SLionel Sambuc * 761*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 762*971bb1a5SLionel Sambuc * xcb_xvmc_create_subpicture_unchecked(). is used. 763*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 764*971bb1a5SLionel Sambuc * 765*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 766*971bb1a5SLionel Sambuc */ 767*971bb1a5SLionel Sambuc xcb_xvmc_create_subpicture_reply_t * 768*971bb1a5SLionel Sambuc xcb_xvmc_create_subpicture_reply (xcb_connection_t *c /**< */, 769*971bb1a5SLionel Sambuc xcb_xvmc_create_subpicture_cookie_t cookie /**< */, 770*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 771*971bb1a5SLionel Sambuc 772*971bb1a5SLionel Sambuc /** 773*971bb1a5SLionel Sambuc * 774*971bb1a5SLionel Sambuc * @param c The connection 775*971bb1a5SLionel Sambuc * @return A cookie 776*971bb1a5SLionel Sambuc * 777*971bb1a5SLionel Sambuc * Delivers a request to the X server. 778*971bb1a5SLionel Sambuc * 779*971bb1a5SLionel Sambuc * This form can be used only if the request will not cause 780*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 781*971bb1a5SLionel Sambuc * saved for handling by xcb_request_check(). 782*971bb1a5SLionel Sambuc */ 783*971bb1a5SLionel Sambuc xcb_void_cookie_t 784*971bb1a5SLionel Sambuc xcb_xvmc_destroy_subpicture_checked (xcb_connection_t *c /**< */, 785*971bb1a5SLionel Sambuc xcb_xvmc_subpicture_t subpicture_id /**< */); 786*971bb1a5SLionel Sambuc 787*971bb1a5SLionel Sambuc /** 788*971bb1a5SLionel Sambuc * 789*971bb1a5SLionel Sambuc * @param c The connection 790*971bb1a5SLionel Sambuc * @return A cookie 791*971bb1a5SLionel Sambuc * 792*971bb1a5SLionel Sambuc * Delivers a request to the X server. 793*971bb1a5SLionel Sambuc * 794*971bb1a5SLionel Sambuc */ 795*971bb1a5SLionel Sambuc xcb_void_cookie_t 796*971bb1a5SLionel Sambuc xcb_xvmc_destroy_subpicture (xcb_connection_t *c /**< */, 797*971bb1a5SLionel Sambuc xcb_xvmc_subpicture_t subpicture_id /**< */); 798*971bb1a5SLionel Sambuc 799*971bb1a5SLionel Sambuc int 800*971bb1a5SLionel Sambuc xcb_xvmc_list_subpicture_types_sizeof (const void *_buffer /**< */); 801*971bb1a5SLionel Sambuc 802*971bb1a5SLionel Sambuc /** 803*971bb1a5SLionel Sambuc * 804*971bb1a5SLionel Sambuc * @param c The connection 805*971bb1a5SLionel Sambuc * @return A cookie 806*971bb1a5SLionel Sambuc * 807*971bb1a5SLionel Sambuc * Delivers a request to the X server. 808*971bb1a5SLionel Sambuc * 809*971bb1a5SLionel Sambuc */ 810*971bb1a5SLionel Sambuc xcb_xvmc_list_subpicture_types_cookie_t 811*971bb1a5SLionel Sambuc xcb_xvmc_list_subpicture_types (xcb_connection_t *c /**< */, 812*971bb1a5SLionel Sambuc xcb_xv_port_t port_id /**< */, 813*971bb1a5SLionel Sambuc xcb_xvmc_surface_t surface_id /**< */); 814*971bb1a5SLionel Sambuc 815*971bb1a5SLionel Sambuc /** 816*971bb1a5SLionel Sambuc * 817*971bb1a5SLionel Sambuc * @param c The connection 818*971bb1a5SLionel Sambuc * @return A cookie 819*971bb1a5SLionel Sambuc * 820*971bb1a5SLionel Sambuc * Delivers a request to the X server. 821*971bb1a5SLionel Sambuc * 822*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 823*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 824*971bb1a5SLionel Sambuc * placed in the event queue. 825*971bb1a5SLionel Sambuc */ 826*971bb1a5SLionel Sambuc xcb_xvmc_list_subpicture_types_cookie_t 827*971bb1a5SLionel Sambuc xcb_xvmc_list_subpicture_types_unchecked (xcb_connection_t *c /**< */, 828*971bb1a5SLionel Sambuc xcb_xv_port_t port_id /**< */, 829*971bb1a5SLionel Sambuc xcb_xvmc_surface_t surface_id /**< */); 830*971bb1a5SLionel Sambuc 831*971bb1a5SLionel Sambuc xcb_xv_image_format_info_t * 832*971bb1a5SLionel Sambuc xcb_xvmc_list_subpicture_types_types (const xcb_xvmc_list_subpicture_types_reply_t *R /**< */); 833*971bb1a5SLionel Sambuc 834*971bb1a5SLionel Sambuc int 835*971bb1a5SLionel Sambuc xcb_xvmc_list_subpicture_types_types_length (const xcb_xvmc_list_subpicture_types_reply_t *R /**< */); 836*971bb1a5SLionel Sambuc 837*971bb1a5SLionel Sambuc xcb_xv_image_format_info_iterator_t 838*971bb1a5SLionel Sambuc xcb_xvmc_list_subpicture_types_types_iterator (const xcb_xvmc_list_subpicture_types_reply_t *R /**< */); 839*971bb1a5SLionel Sambuc 840*971bb1a5SLionel Sambuc /** 841*971bb1a5SLionel Sambuc * Return the reply 842*971bb1a5SLionel Sambuc * @param c The connection 843*971bb1a5SLionel Sambuc * @param cookie The cookie 844*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 845*971bb1a5SLionel Sambuc * 846*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 847*971bb1a5SLionel Sambuc * 848*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 849*971bb1a5SLionel Sambuc * xcb_xvmc_list_subpicture_types_unchecked(). is used. 850*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 851*971bb1a5SLionel Sambuc * 852*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 853*971bb1a5SLionel Sambuc */ 854*971bb1a5SLionel Sambuc xcb_xvmc_list_subpicture_types_reply_t * 855*971bb1a5SLionel Sambuc xcb_xvmc_list_subpicture_types_reply (xcb_connection_t *c /**< */, 856*971bb1a5SLionel Sambuc xcb_xvmc_list_subpicture_types_cookie_t cookie /**< */, 857*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 858*971bb1a5SLionel Sambuc 859*971bb1a5SLionel Sambuc 860*971bb1a5SLionel Sambuc #ifdef __cplusplus 861*971bb1a5SLionel Sambuc } 862*971bb1a5SLionel Sambuc #endif 863*971bb1a5SLionel Sambuc 864*971bb1a5SLionel Sambuc #endif 865*971bb1a5SLionel Sambuc 866*971bb1a5SLionel Sambuc /** 867*971bb1a5SLionel Sambuc * @} 868*971bb1a5SLionel Sambuc */ 869