home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / xcb / xvmc.h < prev   
Encoding:
C/C++ Source or Header  |  2008-09-17  |  42.3 KB  |  1,354 lines

  1. /*
  2.  * This file generated automatically from xvmc.xml by c-client.xsl using XSLT.
  3.  * Edit at your peril.
  4.  */
  5.  
  6. /**
  7.  * @defgroup XCB_XvMC_API XCB XvMC API
  8.  * @brief XvMC XCB Protocol Implementation.
  9.  * @{
  10.  **/
  11.  
  12. #ifndef __XVMC_H
  13. #define __XVMC_H
  14.  
  15. #include "xcb.h"
  16. #include "xv.h"
  17.  
  18. #define XCB_XVMC_MAJOR_VERSION 1
  19. #define XCB_XVMC_MINOR_VERSION 1
  20.   
  21. extern xcb_extension_t xcb_xvmc_id;
  22.  
  23. typedef uint32_t xcb_xvmc_context_t;
  24.  
  25. /**
  26.  * @brief xcb_xvmc_context_iterator_t
  27.  **/
  28. typedef struct xcb_xvmc_context_iterator_t {
  29.     xcb_xvmc_context_t *data; /**<  */
  30.     int                 rem; /**<  */
  31.     int                 index; /**<  */
  32. } xcb_xvmc_context_iterator_t;
  33.  
  34. typedef uint32_t xcb_xvmc_surface_t;
  35.  
  36. /**
  37.  * @brief xcb_xvmc_surface_iterator_t
  38.  **/
  39. typedef struct xcb_xvmc_surface_iterator_t {
  40.     xcb_xvmc_surface_t *data; /**<  */
  41.     int                 rem; /**<  */
  42.     int                 index; /**<  */
  43. } xcb_xvmc_surface_iterator_t;
  44.  
  45. typedef uint32_t xcb_xvmc_subpicture_t;
  46.  
  47. /**
  48.  * @brief xcb_xvmc_subpicture_iterator_t
  49.  **/
  50. typedef struct xcb_xvmc_subpicture_iterator_t {
  51.     xcb_xvmc_subpicture_t *data; /**<  */
  52.     int                    rem; /**<  */
  53.     int                    index; /**<  */
  54. } xcb_xvmc_subpicture_iterator_t;
  55.  
  56. /**
  57.  * @brief xcb_xvmc_surface_info_t
  58.  **/
  59. typedef struct xcb_xvmc_surface_info_t {
  60.     xcb_xvmc_surface_t id; /**<  */
  61.     uint16_t           chroma_format; /**<  */
  62.     uint16_t           pad0; /**<  */
  63.     uint16_t           max_width; /**<  */
  64.     uint16_t           max_height; /**<  */
  65.     uint16_t           subpicture_max_width; /**<  */
  66.     uint16_t           subpicture_max_height; /**<  */
  67.     uint32_t           mc_type; /**<  */
  68.     uint32_t           flags; /**<  */
  69. } xcb_xvmc_surface_info_t;
  70.  
  71. /**
  72.  * @brief xcb_xvmc_surface_info_iterator_t
  73.  **/
  74. typedef struct xcb_xvmc_surface_info_iterator_t {
  75.     xcb_xvmc_surface_info_t *data; /**<  */
  76.     int                      rem; /**<  */
  77.     int                      index; /**<  */
  78. } xcb_xvmc_surface_info_iterator_t;
  79.  
  80. /**
  81.  * @brief xcb_xvmc_query_version_cookie_t
  82.  **/
  83. typedef struct xcb_xvmc_query_version_cookie_t {
  84.     unsigned int sequence; /**<  */
  85. } xcb_xvmc_query_version_cookie_t;
  86.  
  87. /** Opcode for xcb_xvmc_query_version. */
  88. #define XCB_XVMC_QUERY_VERSION 0
  89.  
  90. /**
  91.  * @brief xcb_xvmc_query_version_request_t
  92.  **/
  93. typedef struct xcb_xvmc_query_version_request_t {
  94.     uint8_t  major_opcode; /**<  */
  95.     uint8_t  minor_opcode; /**<  */
  96.     uint16_t length; /**<  */
  97. } xcb_xvmc_query_version_request_t;
  98.  
  99. /**
  100.  * @brief xcb_xvmc_query_version_reply_t
  101.  **/
  102. typedef struct xcb_xvmc_query_version_reply_t {
  103.     uint8_t  response_type; /**<  */
  104.     uint8_t  pad0; /**<  */
  105.     uint16_t sequence; /**<  */
  106.     uint32_t length; /**<  */
  107.     uint32_t major; /**<  */
  108.     uint32_t minor; /**<  */
  109. } xcb_xvmc_query_version_reply_t;
  110.  
  111. /**
  112.  * @brief xcb_xvmc_list_surface_types_cookie_t
  113.  **/
  114. typedef struct xcb_xvmc_list_surface_types_cookie_t {
  115.     unsigned int sequence; /**<  */
  116. } xcb_xvmc_list_surface_types_cookie_t;
  117.  
  118. /** Opcode for xcb_xvmc_list_surface_types. */
  119. #define XCB_XVMC_LIST_SURFACE_TYPES 1
  120.  
  121. /**
  122.  * @brief xcb_xvmc_list_surface_types_request_t
  123.  **/
  124. typedef struct xcb_xvmc_list_surface_types_request_t {
  125.     uint8_t       major_opcode; /**<  */
  126.     uint8_t       minor_opcode; /**<  */
  127.     uint16_t      length; /**<  */
  128.     xcb_xv_port_t port_id; /**<  */
  129. } xcb_xvmc_list_surface_types_request_t;
  130.  
  131. /**
  132.  * @brief xcb_xvmc_list_surface_types_reply_t
  133.  **/
  134. typedef struct xcb_xvmc_list_surface_types_reply_t {
  135.     uint8_t  response_type; /**<  */
  136.     uint8_t  pad0; /**<  */
  137.     uint16_t sequence; /**<  */
  138.     uint32_t length; /**<  */
  139.     uint32_t num; /**<  */
  140.     uint8_t  pad1[20]; /**<  */
  141. } xcb_xvmc_list_surface_types_reply_t;
  142.  
  143. /**
  144.  * @brief xcb_xvmc_create_context_cookie_t
  145.  **/
  146. typedef struct xcb_xvmc_create_context_cookie_t {
  147.     unsigned int sequence; /**<  */
  148. } xcb_xvmc_create_context_cookie_t;
  149.  
  150. /** Opcode for xcb_xvmc_create_context. */
  151. #define XCB_XVMC_CREATE_CONTEXT 2
  152.  
  153. /**
  154.  * @brief xcb_xvmc_create_context_request_t
  155.  **/
  156. typedef struct xcb_xvmc_create_context_request_t {
  157.     uint8_t            major_opcode; /**<  */
  158.     uint8_t            minor_opcode; /**<  */
  159.     uint16_t           length; /**<  */
  160.     xcb_xvmc_context_t context_id; /**<  */
  161.     xcb_xv_port_t      port_id; /**<  */
  162.     xcb_xvmc_surface_t surface_id; /**<  */
  163.     uint16_t           width; /**<  */
  164.     uint16_t           height; /**<  */
  165.     uint32_t           flags; /**<  */
  166. } xcb_xvmc_create_context_request_t;
  167.  
  168. /**
  169.  * @brief xcb_xvmc_create_context_reply_t
  170.  **/
  171. typedef struct xcb_xvmc_create_context_reply_t {
  172.     uint8_t  response_type; /**<  */
  173.     uint8_t  pad0; /**<  */
  174.     uint16_t sequence; /**<  */
  175.     uint32_t length; /**<  */
  176.     uint16_t width_actual; /**<  */
  177.     uint16_t height_actual; /**<  */
  178.     uint32_t flags_return; /**<  */
  179.     uint8_t  pad1[20]; /**<  */
  180. } xcb_xvmc_create_context_reply_t;
  181.  
  182. /** Opcode for xcb_xvmc_destroy_context. */
  183. #define XCB_XVMC_DESTROY_CONTEXT 3
  184.  
  185. /**
  186.  * @brief xcb_xvmc_destroy_context_request_t
  187.  **/
  188. typedef struct xcb_xvmc_destroy_context_request_t {
  189.     uint8_t            major_opcode; /**<  */
  190.     uint8_t            minor_opcode; /**<  */
  191.     uint16_t           length; /**<  */
  192.     xcb_xvmc_context_t context_id; /**<  */
  193. } xcb_xvmc_destroy_context_request_t;
  194.  
  195. /**
  196.  * @brief xcb_xvmc_create_surface_cookie_t
  197.  **/
  198. typedef struct xcb_xvmc_create_surface_cookie_t {
  199.     unsigned int sequence; /**<  */
  200. } xcb_xvmc_create_surface_cookie_t;
  201.  
  202. /** Opcode for xcb_xvmc_create_surface. */
  203. #define XCB_XVMC_CREATE_SURFACE 4
  204.  
  205. /**
  206.  * @brief xcb_xvmc_create_surface_request_t
  207.  **/
  208. typedef struct xcb_xvmc_create_surface_request_t {
  209.     uint8_t            major_opcode; /**<  */
  210.     uint8_t            minor_opcode; /**<  */
  211.     uint16_t           length; /**<  */
  212.     xcb_xvmc_surface_t surface_id; /**<  */
  213.     xcb_xvmc_context_t context_id; /**<  */
  214. } xcb_xvmc_create_surface_request_t;
  215.  
  216. /**
  217.  * @brief xcb_xvmc_create_surface_reply_t
  218.  **/
  219. typedef struct xcb_xvmc_create_surface_reply_t {
  220.     uint8_t  response_type; /**<  */
  221.     uint8_t  pad0; /**<  */
  222.     uint16_t sequence; /**<  */
  223.     uint32_t length; /**<  */
  224.     uint8_t  pad1[24]; /**<  */
  225. } xcb_xvmc_create_surface_reply_t;
  226.  
  227. /** Opcode for xcb_xvmc_destroy_surface. */
  228. #define XCB_XVMC_DESTROY_SURFACE 5
  229.  
  230. /**
  231.  * @brief xcb_xvmc_destroy_surface_request_t
  232.  **/
  233. typedef struct xcb_xvmc_destroy_surface_request_t {
  234.     uint8_t            major_opcode; /**<  */
  235.     uint8_t            minor_opcode; /**<  */
  236.     uint16_t           length; /**<  */
  237.     xcb_xvmc_surface_t surface_id; /**<  */
  238. } xcb_xvmc_destroy_surface_request_t;
  239.  
  240. /**
  241.  * @brief xcb_xvmc_create_subpicture_cookie_t
  242.  **/
  243. typedef struct xcb_xvmc_create_subpicture_cookie_t {
  244.     unsigned int sequence; /**<  */
  245. } xcb_xvmc_create_subpicture_cookie_t;
  246.  
  247. /** Opcode for xcb_xvmc_create_subpicture. */
  248. #define XCB_XVMC_CREATE_SUBPICTURE 6
  249.  
  250. /**
  251.  * @brief xcb_xvmc_create_subpicture_request_t
  252.  **/
  253. typedef struct xcb_xvmc_create_subpicture_request_t {
  254.     uint8_t               major_opcode; /**<  */
  255.     uint8_t               minor_opcode; /**<  */
  256.     uint16_t              length; /**<  */
  257.     xcb_xvmc_subpicture_t subpicture_id; /**<  */
  258.     xcb_xvmc_context_t    context; /**<  */
  259.     uint32_t              xvimage_id; /**<  */
  260.     uint16_t              width; /**<  */
  261.     uint16_t              height; /**<  */
  262. } xcb_xvmc_create_subpicture_request_t;
  263.  
  264. /**
  265.  * @brief xcb_xvmc_create_subpicture_reply_t
  266.  **/
  267. typedef struct xcb_xvmc_create_subpicture_reply_t {
  268.     uint8_t  response_type; /**<  */
  269.     uint8_t  pad0; /**<  */
  270.     uint16_t sequence; /**<  */
  271.     uint32_t length; /**<  */
  272.     uint16_t width_actual; /**<  */
  273.     uint16_t height_actual; /**<  */
  274.     uint16_t num_palette_entries; /**<  */
  275.     uint16_t entry_bytes; /**<  */
  276.     uint8_t  component_order[4]; /**<  */
  277.     uint8_t  pad1[12]; /**<  */
  278. } xcb_xvmc_create_subpicture_reply_t;
  279.  
  280. /** Opcode for xcb_xvmc_destroy_subpicture. */
  281. #define XCB_XVMC_DESTROY_SUBPICTURE 7
  282.  
  283. /**
  284.  * @brief xcb_xvmc_destroy_subpicture_request_t
  285.  **/
  286. typedef struct xcb_xvmc_destroy_subpicture_request_t {
  287.     uint8_t               major_opcode; /**<  */
  288.     uint8_t               minor_opcode; /**<  */
  289.     uint16_t              length; /**<  */
  290.     xcb_xvmc_subpicture_t subpicture_id; /**<  */
  291. } xcb_xvmc_destroy_subpicture_request_t;
  292.  
  293. /**
  294.  * @brief xcb_xvmc_list_subpicture_types_cookie_t
  295.  **/
  296. typedef struct xcb_xvmc_list_subpicture_types_cookie_t {
  297.     unsigned int sequence; /**<  */
  298. } xcb_xvmc_list_subpicture_types_cookie_t;
  299.  
  300. /** Opcode for xcb_xvmc_list_subpicture_types. */
  301. #define XCB_XVMC_LIST_SUBPICTURE_TYPES 8
  302.  
  303. /**
  304.  * @brief xcb_xvmc_list_subpicture_types_request_t
  305.  **/
  306. typedef struct xcb_xvmc_list_subpicture_types_request_t {
  307.     uint8_t            major_opcode; /**<  */
  308.     uint8_t            minor_opcode; /**<  */
  309.     uint16_t           length; /**<  */
  310.     xcb_xv_port_t      port_id; /**<  */
  311.     xcb_xvmc_surface_t surface_id; /**<  */
  312. } xcb_xvmc_list_subpicture_types_request_t;
  313.  
  314. /**
  315.  * @brief xcb_xvmc_list_subpicture_types_reply_t
  316.  **/
  317. typedef struct xcb_xvmc_list_subpicture_types_reply_t {
  318.     uint8_t  response_type; /**<  */
  319.     uint8_t  pad0; /**<  */
  320.     uint16_t sequence; /**<  */
  321.     uint32_t length; /**<  */
  322.     uint32_t num; /**<  */
  323.     uint8_t  pad1[20]; /**<  */
  324. } xcb_xvmc_list_subpicture_types_reply_t;
  325.  
  326. /**
  327.  * Get the next element of the iterator
  328.  * @param i Pointer to a xcb_xvmc_context_iterator_t
  329.  *
  330.  * Get the next element in the iterator. The member rem is
  331.  * decreased by one. The member data points to the next
  332.  * element. The member index is increased by sizeof(xcb_xvmc_context_t)
  333.  */
  334.  
  335. /*****************************************************************************
  336.  **
  337.  ** void xcb_xvmc_context_next
  338.  ** 
  339.  ** @param xcb_xvmc_context_iterator_t *i
  340.  ** @returns void
  341.  **
  342.  *****************************************************************************/
  343.  
  344. void
  345. xcb_xvmc_context_next (xcb_xvmc_context_iterator_t *i  /**< */);
  346.  
  347. /**
  348.  * Return the iterator pointing to the last element
  349.  * @param i An xcb_xvmc_context_iterator_t
  350.  * @return  The iterator pointing to the last element
  351.  *
  352.  * Set the current element in the iterator to the last element.
  353.  * The member rem is set to 0. The member data points to the
  354.  * last element.
  355.  */
  356.  
  357. /*****************************************************************************
  358.  **
  359.  ** xcb_generic_iterator_t xcb_xvmc_context_end
  360.  ** 
  361.  ** @param xcb_xvmc_context_iterator_t i
  362.  ** @returns xcb_generic_iterator_t
  363.  **
  364.  *****************************************************************************/
  365.  
  366. xcb_generic_iterator_t
  367. xcb_xvmc_context_end (xcb_xvmc_context_iterator_t i  /**< */);
  368.  
  369. /**
  370.  * Get the next element of the iterator
  371.  * @param i Pointer to a xcb_xvmc_surface_iterator_t
  372.  *
  373.  * Get the next element in the iterator. The member rem is
  374.  * decreased by one. The member data points to the next
  375.  * element. The member index is increased by sizeof(xcb_xvmc_surface_t)
  376.  */
  377.  
  378. /*****************************************************************************
  379.  **
  380.  ** void xcb_xvmc_surface_next
  381.  ** 
  382.  ** @param xcb_xvmc_surface_iterator_t *i
  383.  ** @returns void
  384.  **
  385.  *****************************************************************************/
  386.  
  387. void
  388. xcb_xvmc_surface_next (xcb_xvmc_surface_iterator_t *i  /**< */);
  389.  
  390. /**
  391.  * Return the iterator pointing to the last element
  392.  * @param i An xcb_xvmc_surface_iterator_t
  393.  * @return  The iterator pointing to the last element
  394.  *
  395.  * Set the current element in the iterator to the last element.
  396.  * The member rem is set to 0. The member data points to the
  397.  * last element.
  398.  */
  399.  
  400. /*****************************************************************************
  401.  **
  402.  ** xcb_generic_iterator_t xcb_xvmc_surface_end
  403.  ** 
  404.  ** @param xcb_xvmc_surface_iterator_t i
  405.  ** @returns xcb_generic_iterator_t
  406.  **
  407.  *****************************************************************************/
  408.  
  409. xcb_generic_iterator_t
  410. xcb_xvmc_surface_end (xcb_xvmc_surface_iterator_t i  /**< */);
  411.  
  412. /**
  413.  * Get the next element of the iterator
  414.  * @param i Pointer to a xcb_xvmc_subpicture_iterator_t
  415.  *
  416.  * Get the next element in the iterator. The member rem is
  417.  * decreased by one. The member data points to the next
  418.  * element. The member index is increased by sizeof(xcb_xvmc_subpicture_t)
  419.  */
  420.  
  421. /*****************************************************************************
  422.  **
  423.  ** void xcb_xvmc_subpicture_next
  424.  ** 
  425.  ** @param xcb_xvmc_subpicture_iterator_t *i
  426.  ** @returns void
  427.  **
  428.  *****************************************************************************/
  429.  
  430. void
  431. xcb_xvmc_subpicture_next (xcb_xvmc_subpicture_iterator_t *i  /**< */);
  432.  
  433. /**
  434.  * Return the iterator pointing to the last element
  435.  * @param i An xcb_xvmc_subpicture_iterator_t
  436.  * @return  The iterator pointing to the last element
  437.  *
  438.  * Set the current element in the iterator to the last element.
  439.  * The member rem is set to 0. The member data points to the
  440.  * last element.
  441.  */
  442.  
  443. /*****************************************************************************
  444.  **
  445.  ** xcb_generic_iterator_t xcb_xvmc_subpicture_end
  446.  ** 
  447.  ** @param xcb_xvmc_subpicture_iterator_t i
  448.  ** @returns xcb_generic_iterator_t
  449.  **
  450.  *****************************************************************************/
  451.  
  452. xcb_generic_iterator_t
  453. xcb_xvmc_subpicture_end (xcb_xvmc_subpicture_iterator_t i  /**< */);
  454.  
  455. /**
  456.  * Get the next element of the iterator
  457.  * @param i Pointer to a xcb_xvmc_surface_info_iterator_t
  458.  *
  459.  * Get the next element in the iterator. The member rem is
  460.  * decreased by one. The member data points to the next
  461.  * element. The member index is increased by sizeof(xcb_xvmc_surface_info_t)
  462.  */
  463.  
  464. /*****************************************************************************
  465.  **
  466.  ** void xcb_xvmc_surface_info_next
  467.  ** 
  468.  ** @param xcb_xvmc_surface_info_iterator_t *i
  469.  ** @returns void
  470.  **
  471.  *****************************************************************************/
  472.  
  473. void
  474. xcb_xvmc_surface_info_next (xcb_xvmc_surface_info_iterator_t *i  /**< */);
  475.  
  476. /**
  477.  * Return the iterator pointing to the last element
  478.  * @param i An xcb_xvmc_surface_info_iterator_t
  479.  * @return  The iterator pointing to the last element
  480.  *
  481.  * Set the current element in the iterator to the last element.
  482.  * The member rem is set to 0. The member data points to the
  483.  * last element.
  484.  */
  485.  
  486. /*****************************************************************************
  487.  **
  488.  ** xcb_generic_iterator_t xcb_xvmc_surface_info_end
  489.  ** 
  490.  ** @param xcb_xvmc_surface_info_iterator_t i
  491.  ** @returns xcb_generic_iterator_t
  492.  **
  493.  *****************************************************************************/
  494.  
  495. xcb_generic_iterator_t
  496. xcb_xvmc_surface_info_end (xcb_xvmc_surface_info_iterator_t i  /**< */);
  497.  
  498. /**
  499.  * Delivers a request to the X server
  500.  * @param c The connection
  501.  * @return A cookie
  502.  *
  503.  * Delivers a request to the X server.
  504.  * 
  505.  */
  506.  
  507. /*****************************************************************************
  508.  **
  509.  ** xcb_xvmc_query_version_cookie_t xcb_xvmc_query_version
  510.  ** 
  511.  ** @param xcb_connection_t *c
  512.  ** @returns xcb_xvmc_query_version_cookie_t
  513.  **
  514.  *****************************************************************************/
  515.  
  516. xcb_xvmc_query_version_cookie_t
  517. xcb_xvmc_query_version (xcb_connection_t *c  /**< */);
  518.  
  519. /**
  520.  * Delivers a request to the X server
  521.  * @param c The connection
  522.  * @return A cookie
  523.  *
  524.  * Delivers a request to the X server.
  525.  * 
  526.  * This form can be used only if the request will cause
  527.  * a reply to be generated. Any returned error will be
  528.  * placed in the event queue.
  529.  */
  530.  
  531. /*****************************************************************************
  532.  **
  533.  ** xcb_xvmc_query_version_cookie_t xcb_xvmc_query_version_unchecked
  534.  ** 
  535.  ** @param xcb_connection_t *c
  536.  ** @returns xcb_xvmc_query_version_cookie_t
  537.  **
  538.  *****************************************************************************/
  539.  
  540. xcb_xvmc_query_version_cookie_t
  541. xcb_xvmc_query_version_unchecked (xcb_connection_t *c  /**< */);
  542.  
  543. /**
  544.  * Return the reply
  545.  * @param c      The connection
  546.  * @param cookie The cookie
  547.  * @param e      The xcb_generic_error_t supplied
  548.  *
  549.  * Returns the reply of the request asked by
  550.  * 
  551.  * The parameter @p e supplied to this function must be NULL if
  552.  * xcb_xvmc_query_version_unchecked(). is used.
  553.  * Otherwise, it stores the error if any.
  554.  */
  555.  
  556. /*****************************************************************************
  557.  **
  558.  ** xcb_xvmc_query_version_reply_t * xcb_xvmc_query_version_reply
  559.  ** 
  560.  ** @param xcb_connection_t                 *c
  561.  ** @param xcb_xvmc_query_version_cookie_t   cookie
  562.  ** @param xcb_generic_error_t             **e
  563.  ** @returns xcb_xvmc_query_version_reply_t *
  564.  **
  565.  *****************************************************************************/
  566.  
  567. xcb_xvmc_query_version_reply_t *
  568. xcb_xvmc_query_version_reply (xcb_connection_t                 *c  /**< */,
  569.                               xcb_xvmc_query_version_cookie_t   cookie  /**< */,
  570.                               xcb_generic_error_t             **e  /**< */);
  571.  
  572. /**
  573.  * Delivers a request to the X server
  574.  * @param c The connection
  575.  * @return A cookie
  576.  *
  577.  * Delivers a request to the X server.
  578.  * 
  579.  */
  580.  
  581. /*****************************************************************************
  582.  **
  583.  ** xcb_xvmc_list_surface_types_cookie_t xcb_xvmc_list_surface_types
  584.  ** 
  585.  ** @param xcb_connection_t *c
  586.  ** @param xcb_xv_port_t     port_id
  587.  ** @returns xcb_xvmc_list_surface_types_cookie_t
  588.  **
  589.  *****************************************************************************/
  590.  
  591. xcb_xvmc_list_surface_types_cookie_t
  592. xcb_xvmc_list_surface_types (xcb_connection_t *c  /**< */,
  593.                              xcb_xv_port_t     port_id  /**< */);
  594.  
  595. /**
  596.  * Delivers a request to the X server
  597.  * @param c The connection
  598.  * @return A cookie
  599.  *
  600.  * Delivers a request to the X server.
  601.  * 
  602.  * This form can be used only if the request will cause
  603.  * a reply to be generated. Any returned error will be
  604.  * placed in the event queue.
  605.  */
  606.  
  607. /*****************************************************************************
  608.  **
  609.  ** xcb_xvmc_list_surface_types_cookie_t xcb_xvmc_list_surface_types_unchecked
  610.  ** 
  611.  ** @param xcb_connection_t *c
  612.  ** @param xcb_xv_port_t     port_id
  613.  ** @returns xcb_xvmc_list_surface_types_cookie_t
  614.  **
  615.  *****************************************************************************/
  616.  
  617. xcb_xvmc_list_surface_types_cookie_t
  618. xcb_xvmc_list_surface_types_unchecked (xcb_connection_t *c  /**< */,
  619.                                        xcb_xv_port_t     port_id  /**< */);
  620.  
  621.  
  622. /*****************************************************************************
  623.  **
  624.  ** xcb_xvmc_surface_info_t * xcb_xvmc_list_surface_types_surfaces
  625.  ** 
  626.  ** @param const xcb_xvmc_list_surface_types_reply_t *R
  627.  ** @returns xcb_xvmc_surface_info_t *
  628.  **
  629.  *****************************************************************************/
  630.  
  631. xcb_xvmc_surface_info_t *
  632. xcb_xvmc_list_surface_types_surfaces (const xcb_xvmc_list_surface_types_reply_t *R  /**< */);
  633.  
  634.  
  635. /*****************************************************************************
  636.  **
  637.  ** int xcb_xvmc_list_surface_types_surfaces_length
  638.  ** 
  639.  ** @param const xcb_xvmc_list_surface_types_reply_t *R
  640.  ** @returns int
  641.  **
  642.  *****************************************************************************/
  643.  
  644. int
  645. xcb_xvmc_list_surface_types_surfaces_length (const xcb_xvmc_list_surface_types_reply_t *R  /**< */);
  646.  
  647.  
  648. /*****************************************************************************
  649.  **
  650.  ** xcb_xvmc_surface_info_iterator_t xcb_xvmc_list_surface_types_surfaces_iterator
  651.  ** 
  652.  ** @param const xcb_xvmc_list_surface_types_reply_t *R
  653.  ** @returns xcb_xvmc_surface_info_iterator_t
  654.  **
  655.  *****************************************************************************/
  656.  
  657. xcb_xvmc_surface_info_iterator_t
  658. xcb_xvmc_list_surface_types_surfaces_iterator (const xcb_xvmc_list_surface_types_reply_t *R  /**< */);
  659.  
  660. /**
  661.  * Return the reply
  662.  * @param c      The connection
  663.  * @param cookie The cookie
  664.  * @param e      The xcb_generic_error_t supplied
  665.  *
  666.  * Returns the reply of the request asked by
  667.  * 
  668.  * The parameter @p e supplied to this function must be NULL if
  669.  * xcb_xvmc_list_surface_types_unchecked(). is used.
  670.  * Otherwise, it stores the error if any.
  671.  */
  672.  
  673. /*****************************************************************************
  674.  **
  675.  ** xcb_xvmc_list_surface_types_reply_t * xcb_xvmc_list_surface_types_reply
  676.  ** 
  677.  ** @param xcb_connection_t                      *c
  678.  ** @param xcb_xvmc_list_surface_types_cookie_t   cookie
  679.  ** @param xcb_generic_error_t                  **e
  680.  ** @returns xcb_xvmc_list_surface_types_reply_t *
  681.  **
  682.  *****************************************************************************/
  683.  
  684. xcb_xvmc_list_surface_types_reply_t *
  685. xcb_xvmc_list_surface_types_reply (xcb_connection_t                      *c  /**< */,
  686.                                    xcb_xvmc_list_surface_types_cookie_t   cookie  /**< */,
  687.                                    xcb_generic_error_t                  **e  /**< */);
  688.  
  689. /**
  690.  * Delivers a request to the X server
  691.  * @param c The connection
  692.  * @return A cookie
  693.  *
  694.  * Delivers a request to the X server.
  695.  * 
  696.  */
  697.  
  698. /*****************************************************************************
  699.  **
  700.  ** xcb_xvmc_create_context_cookie_t xcb_xvmc_create_context
  701.  ** 
  702.  ** @param xcb_connection_t   *c
  703.  ** @param xcb_xvmc_context_t  context_id
  704.  ** @param xcb_xv_port_t       port_id
  705.  ** @param xcb_xvmc_surface_t  surface_id
  706.  ** @param uint16_t            width
  707.  ** @param uint16_t            height
  708.  ** @param uint32_t            flags
  709.  ** @returns xcb_xvmc_create_context_cookie_t
  710.  **
  711.  *****************************************************************************/
  712.  
  713. xcb_xvmc_create_context_cookie_t
  714. xcb_xvmc_create_context (xcb_connection_t   *c  /**< */,
  715.                          xcb_xvmc_context_t  context_id  /**< */,
  716.                          xcb_xv_port_t       port_id  /**< */,
  717.                          xcb_xvmc_surface_t  surface_id  /**< */,
  718.                          uint16_t            width  /**< */,
  719.                          uint16_t            height  /**< */,
  720.                          uint32_t            flags  /**< */);
  721.  
  722. /**
  723.  * Delivers a request to the X server
  724.  * @param c The connection
  725.  * @return A cookie
  726.  *
  727.  * Delivers a request to the X server.
  728.  * 
  729.  * This form can be used only if the request will cause
  730.  * a reply to be generated. Any returned error will be
  731.  * placed in the event queue.
  732.  */
  733.  
  734. /*****************************************************************************
  735.  **
  736.  ** xcb_xvmc_create_context_cookie_t xcb_xvmc_create_context_unchecked
  737.  ** 
  738.  ** @param xcb_connection_t   *c
  739.  ** @param xcb_xvmc_context_t  context_id
  740.  ** @param xcb_xv_port_t       port_id
  741.  ** @param xcb_xvmc_surface_t  surface_id
  742.  ** @param uint16_t            width
  743.  ** @param uint16_t            height
  744.  ** @param uint32_t            flags
  745.  ** @returns xcb_xvmc_create_context_cookie_t
  746.  **
  747.  *****************************************************************************/
  748.  
  749. xcb_xvmc_create_context_cookie_t
  750. xcb_xvmc_create_context_unchecked (xcb_connection_t   *c  /**< */,
  751.                                    xcb_xvmc_context_t  context_id  /**< */,
  752.                                    xcb_xv_port_t       port_id  /**< */,
  753.                                    xcb_xvmc_surface_t  surface_id  /**< */,
  754.                                    uint16_t            width  /**< */,
  755.                                    uint16_t            height  /**< */,
  756.                                    uint32_t            flags  /**< */);
  757.  
  758.  
  759. /*****************************************************************************
  760.  **
  761.  ** uint32_t * xcb_xvmc_create_context_priv_data
  762.  ** 
  763.  ** @param const xcb_xvmc_create_context_reply_t *R
  764.  ** @returns uint32_t *
  765.  **
  766.  *****************************************************************************/
  767.  
  768. uint32_t *
  769. xcb_xvmc_create_context_priv_data (const xcb_xvmc_create_context_reply_t *R  /**< */);
  770.  
  771.  
  772. /*****************************************************************************
  773.  **
  774.  ** int xcb_xvmc_create_context_priv_data_length
  775.  ** 
  776.  ** @param const xcb_xvmc_create_context_reply_t *R
  777.  ** @returns int
  778.  **
  779.  *****************************************************************************/
  780.  
  781. int
  782. xcb_xvmc_create_context_priv_data_length (const xcb_xvmc_create_context_reply_t *R  /**< */);
  783.  
  784.  
  785. /*****************************************************************************
  786.  **
  787.  ** xcb_generic_iterator_t xcb_xvmc_create_context_priv_data_end
  788.  ** 
  789.  ** @param const xcb_xvmc_create_context_reply_t *R
  790.  ** @returns xcb_generic_iterator_t
  791.  **
  792.  *****************************************************************************/
  793.  
  794. xcb_generic_iterator_t
  795. xcb_xvmc_create_context_priv_data_end (const xcb_xvmc_create_context_reply_t *R  /**< */);
  796.  
  797. /**
  798.  * Return the reply
  799.  * @param c      The connection
  800.  * @param cookie The cookie
  801.  * @param e      The xcb_generic_error_t supplied
  802.  *
  803.  * Returns the reply of the request asked by
  804.  * 
  805.  * The parameter @p e supplied to this function must be NULL if
  806.  * xcb_xvmc_create_context_unchecked(). is used.
  807.  * Otherwise, it stores the error if any.
  808.  */
  809.  
  810. /*****************************************************************************
  811.  **
  812.  ** xcb_xvmc_create_context_reply_t * xcb_xvmc_create_context_reply
  813.  ** 
  814.  ** @param xcb_connection_t                  *c
  815.  ** @param xcb_xvmc_create_context_cookie_t   cookie
  816.  ** @param xcb_generic_error_t              **e
  817.  ** @returns xcb_xvmc_create_context_reply_t *
  818.  **
  819.  *****************************************************************************/
  820.  
  821. xcb_xvmc_create_context_reply_t *
  822. xcb_xvmc_create_context_reply (xcb_connection_t                  *c  /**< */,
  823.                                xcb_xvmc_create_context_cookie_t   cookie  /**< */,
  824.                                xcb_generic_error_t              **e  /**< */);
  825.  
  826. /**
  827.  * Delivers a request to the X server
  828.  * @param c The connection
  829.  * @return A cookie
  830.  *
  831.  * Delivers a request to the X server.
  832.  * 
  833.  * This form can be used only if the request will not cause
  834.  * a reply to be generated. Any returned error will be
  835.  * saved for handling by xcb_request_check().
  836.  */
  837.  
  838. /*****************************************************************************
  839.  **
  840.  ** xcb_void_cookie_t xcb_xvmc_destroy_context_checked
  841.  ** 
  842.  ** @param xcb_connection_t   *c
  843.  ** @param xcb_xvmc_context_t  context_id
  844.  ** @returns xcb_void_cookie_t
  845.  **
  846.  *****************************************************************************/
  847.  
  848. xcb_void_cookie_t
  849. xcb_xvmc_destroy_context_checked (xcb_connection_t   *c  /**< */,
  850.                                   xcb_xvmc_context_t  context_id  /**< */);
  851.  
  852. /**
  853.  * Delivers a request to the X server
  854.  * @param c The connection
  855.  * @return A cookie
  856.  *
  857.  * Delivers a request to the X server.
  858.  * 
  859.  */
  860.  
  861. /*****************************************************************************
  862.  **
  863.  ** xcb_void_cookie_t xcb_xvmc_destroy_context
  864.  ** 
  865.  ** @param xcb_connection_t   *c
  866.  ** @param xcb_xvmc_context_t  context_id
  867.  ** @returns xcb_void_cookie_t
  868.  **
  869.  *****************************************************************************/
  870.  
  871. xcb_void_cookie_t
  872. xcb_xvmc_destroy_context (xcb_connection_t   *c  /**< */,
  873.                           xcb_xvmc_context_t  context_id  /**< */);
  874.  
  875. /**
  876.  * Delivers a request to the X server
  877.  * @param c The connection
  878.  * @return A cookie
  879.  *
  880.  * Delivers a request to the X server.
  881.  * 
  882.  */
  883.  
  884. /*****************************************************************************
  885.  **
  886.  ** xcb_xvmc_create_surface_cookie_t xcb_xvmc_create_surface
  887.  ** 
  888.  ** @param xcb_connection_t   *c
  889.  ** @param xcb_xvmc_surface_t  surface_id
  890.  ** @param xcb_xvmc_context_t  context_id
  891.  ** @returns xcb_xvmc_create_surface_cookie_t
  892.  **
  893.  *****************************************************************************/
  894.  
  895. xcb_xvmc_create_surface_cookie_t
  896. xcb_xvmc_create_surface (xcb_connection_t   *c  /**< */,
  897.                          xcb_xvmc_surface_t  surface_id  /**< */,
  898.                          xcb_xvmc_context_t  context_id  /**< */);
  899.  
  900. /**
  901.  * Delivers a request to the X server
  902.  * @param c The connection
  903.  * @return A cookie
  904.  *
  905.  * Delivers a request to the X server.
  906.  * 
  907.  * This form can be used only if the request will cause
  908.  * a reply to be generated. Any returned error will be
  909.  * placed in the event queue.
  910.  */
  911.  
  912. /*****************************************************************************
  913.  **
  914.  ** xcb_xvmc_create_surface_cookie_t xcb_xvmc_create_surface_unchecked
  915.  ** 
  916.  ** @param xcb_connection_t   *c
  917.  ** @param xcb_xvmc_surface_t  surface_id
  918.  ** @param xcb_xvmc_context_t  context_id
  919.  ** @returns xcb_xvmc_create_surface_cookie_t
  920.  **
  921.  *****************************************************************************/
  922.  
  923. xcb_xvmc_create_surface_cookie_t
  924. xcb_xvmc_create_surface_unchecked (xcb_connection_t   *c  /**< */,
  925.                                    xcb_xvmc_surface_t  surface_id  /**< */,
  926.                                    xcb_xvmc_context_t  context_id  /**< */);
  927.  
  928.  
  929. /*****************************************************************************
  930.  **
  931.  ** uint32_t * xcb_xvmc_create_surface_priv_data
  932.  ** 
  933.  ** @param const xcb_xvmc_create_surface_reply_t *R
  934.  ** @returns uint32_t *
  935.  **
  936.  *****************************************************************************/
  937.  
  938. uint32_t *
  939. xcb_xvmc_create_surface_priv_data (const xcb_xvmc_create_surface_reply_t *R  /**< */);
  940.  
  941.  
  942. /*****************************************************************************
  943.  **
  944.  ** int xcb_xvmc_create_surface_priv_data_length
  945.  ** 
  946.  ** @param const xcb_xvmc_create_surface_reply_t *R
  947.  ** @returns int
  948.  **
  949.  *****************************************************************************/
  950.  
  951. int
  952. xcb_xvmc_create_surface_priv_data_length (const xcb_xvmc_create_surface_reply_t *R  /**< */);
  953.  
  954.  
  955. /*****************************************************************************
  956.  **
  957.  ** xcb_generic_iterator_t xcb_xvmc_create_surface_priv_data_end
  958.  ** 
  959.  ** @param const xcb_xvmc_create_surface_reply_t *R
  960.  ** @returns xcb_generic_iterator_t
  961.  **
  962.  *****************************************************************************/
  963.  
  964. xcb_generic_iterator_t
  965. xcb_xvmc_create_surface_priv_data_end (const xcb_xvmc_create_surface_reply_t *R  /**< */);
  966.  
  967. /**
  968.  * Return the reply
  969.  * @param c      The connection
  970.  * @param cookie The cookie
  971.  * @param e      The xcb_generic_error_t supplied
  972.  *
  973.  * Returns the reply of the request asked by
  974.  * 
  975.  * The parameter @p e supplied to this function must be NULL if
  976.  * xcb_xvmc_create_surface_unchecked(). is used.
  977.  * Otherwise, it stores the error if any.
  978.  */
  979.  
  980. /*****************************************************************************
  981.  **
  982.  ** xcb_xvmc_create_surface_reply_t * xcb_xvmc_create_surface_reply
  983.  ** 
  984.  ** @param xcb_connection_t                  *c
  985.  ** @param xcb_xvmc_create_surface_cookie_t   cookie
  986.  ** @param xcb_generic_error_t              **e
  987.  ** @returns xcb_xvmc_create_surface_reply_t *
  988.  **
  989.  *****************************************************************************/
  990.  
  991. xcb_xvmc_create_surface_reply_t *
  992. xcb_xvmc_create_surface_reply (xcb_connection_t                  *c  /**< */,
  993.                                xcb_xvmc_create_surface_cookie_t   cookie  /**< */,
  994.                                xcb_generic_error_t              **e  /**< */);
  995.  
  996. /**
  997.  * Delivers a request to the X server
  998.  * @param c The connection
  999.  * @return A cookie
  1000.  *
  1001.  * Delivers a request to the X server.
  1002.  * 
  1003.  * This form can be used only if the request will not cause
  1004.  * a reply to be generated. Any returned error will be
  1005.  * saved for handling by xcb_request_check().
  1006.  */
  1007.  
  1008. /*****************************************************************************
  1009.  **
  1010.  ** xcb_void_cookie_t xcb_xvmc_destroy_surface_checked
  1011.  ** 
  1012.  ** @param xcb_connection_t   *c
  1013.  ** @param xcb_xvmc_surface_t  surface_id
  1014.  ** @returns xcb_void_cookie_t
  1015.  **
  1016.  *****************************************************************************/
  1017.  
  1018. xcb_void_cookie_t
  1019. xcb_xvmc_destroy_surface_checked (xcb_connection_t   *c  /**< */,
  1020.                                   xcb_xvmc_surface_t  surface_id  /**< */);
  1021.  
  1022. /**
  1023.  * Delivers a request to the X server
  1024.  * @param c The connection
  1025.  * @return A cookie
  1026.  *
  1027.  * Delivers a request to the X server.
  1028.  * 
  1029.  */
  1030.  
  1031. /*****************************************************************************
  1032.  **
  1033.  ** xcb_void_cookie_t xcb_xvmc_destroy_surface
  1034.  ** 
  1035.  ** @param xcb_connection_t   *c
  1036.  ** @param xcb_xvmc_surface_t  surface_id
  1037.  ** @returns xcb_void_cookie_t
  1038.  **
  1039.  *****************************************************************************/
  1040.  
  1041. xcb_void_cookie_t
  1042. xcb_xvmc_destroy_surface (xcb_connection_t   *c  /**< */,
  1043.                           xcb_xvmc_surface_t  surface_id  /**< */);
  1044.  
  1045. /**
  1046.  * Delivers a request to the X server
  1047.  * @param c The connection
  1048.  * @return A cookie
  1049.  *
  1050.  * Delivers a request to the X server.
  1051.  * 
  1052.  */
  1053.  
  1054. /*****************************************************************************
  1055.  **
  1056.  ** xcb_xvmc_create_subpicture_cookie_t xcb_xvmc_create_subpicture
  1057.  ** 
  1058.  ** @param xcb_connection_t      *c
  1059.  ** @param xcb_xvmc_subpicture_t  subpicture_id
  1060.  ** @param xcb_xvmc_context_t     context
  1061.  ** @param uint32_t               xvimage_id
  1062.  ** @param uint16_t               width
  1063.  ** @param uint16_t               height
  1064.  ** @returns xcb_xvmc_create_subpicture_cookie_t
  1065.  **
  1066.  *****************************************************************************/
  1067.  
  1068. xcb_xvmc_create_subpicture_cookie_t
  1069. xcb_xvmc_create_subpicture (xcb_connection_t      *c  /**< */,
  1070.                             xcb_xvmc_subpicture_t  subpicture_id  /**< */,
  1071.                             xcb_xvmc_context_t     context  /**< */,
  1072.                             uint32_t               xvimage_id  /**< */,
  1073.                             uint16_t               width  /**< */,
  1074.                             uint16_t               height  /**< */);
  1075.  
  1076. /**
  1077.  * Delivers a request to the X server
  1078.  * @param c The connection
  1079.  * @return A cookie
  1080.  *
  1081.  * Delivers a request to the X server.
  1082.  * 
  1083.  * This form can be used only if the request will cause
  1084.  * a reply to be generated. Any returned error will be
  1085.  * placed in the event queue.
  1086.  */
  1087.  
  1088. /*****************************************************************************
  1089.  **
  1090.  ** xcb_xvmc_create_subpicture_cookie_t xcb_xvmc_create_subpicture_unchecked
  1091.  ** 
  1092.  ** @param xcb_connection_t      *c
  1093.  ** @param xcb_xvmc_subpicture_t  subpicture_id
  1094.  ** @param xcb_xvmc_context_t     context
  1095.  ** @param uint32_t               xvimage_id
  1096.  ** @param uint16_t               width
  1097.  ** @param uint16_t               height
  1098.  ** @returns xcb_xvmc_create_subpicture_cookie_t
  1099.  **
  1100.  *****************************************************************************/
  1101.  
  1102. xcb_xvmc_create_subpicture_cookie_t
  1103. xcb_xvmc_create_subpicture_unchecked (xcb_connection_t      *c  /**< */,
  1104.                                       xcb_xvmc_subpicture_t  subpicture_id  /**< */,
  1105.                                       xcb_xvmc_context_t     context  /**< */,
  1106.                                       uint32_t               xvimage_id  /**< */,
  1107.                                       uint16_t               width  /**< */,
  1108.                                       uint16_t               height  /**< */);
  1109.  
  1110.  
  1111. /*****************************************************************************
  1112.  **
  1113.  ** uint32_t * xcb_xvmc_create_subpicture_priv_data
  1114.  ** 
  1115.  ** @param const xcb_xvmc_create_subpicture_reply_t *R
  1116.  ** @returns uint32_t *
  1117.  **
  1118.  *****************************************************************************/
  1119.  
  1120. uint32_t *
  1121. xcb_xvmc_create_subpicture_priv_data (const xcb_xvmc_create_subpicture_reply_t *R  /**< */);
  1122.  
  1123.  
  1124. /*****************************************************************************
  1125.  **
  1126.  ** int xcb_xvmc_create_subpicture_priv_data_length
  1127.  ** 
  1128.  ** @param const xcb_xvmc_create_subpicture_reply_t *R
  1129.  ** @returns int
  1130.  **
  1131.  *****************************************************************************/
  1132.  
  1133. int
  1134. xcb_xvmc_create_subpicture_priv_data_length (const xcb_xvmc_create_subpicture_reply_t *R  /**< */);
  1135.  
  1136.  
  1137. /*****************************************************************************
  1138.  **
  1139.  ** xcb_generic_iterator_t xcb_xvmc_create_subpicture_priv_data_end
  1140.  ** 
  1141.  ** @param const xcb_xvmc_create_subpicture_reply_t *R
  1142.  ** @returns xcb_generic_iterator_t
  1143.  **
  1144.  *****************************************************************************/
  1145.  
  1146. xcb_generic_iterator_t
  1147. xcb_xvmc_create_subpicture_priv_data_end (const xcb_xvmc_create_subpicture_reply_t *R  /**< */);
  1148.  
  1149. /**
  1150.  * Return the reply
  1151.  * @param c      The connection
  1152.  * @param cookie The cookie
  1153.  * @param e      The xcb_generic_error_t supplied
  1154.  *
  1155.  * Returns the reply of the request asked by
  1156.  * 
  1157.  * The parameter @p e supplied to this function must be NULL if
  1158.  * xcb_xvmc_create_subpicture_unchecked(). is used.
  1159.  * Otherwise, it stores the error if any.
  1160.  */
  1161.  
  1162. /*****************************************************************************
  1163.  **
  1164.  ** xcb_xvmc_create_subpicture_reply_t * xcb_xvmc_create_subpicture_reply
  1165.  ** 
  1166.  ** @param xcb_connection_t                     *c
  1167.  ** @param xcb_xvmc_create_subpicture_cookie_t   cookie
  1168.  ** @param xcb_generic_error_t                 **e
  1169.  ** @returns xcb_xvmc_create_subpicture_reply_t *
  1170.  **
  1171.  *****************************************************************************/
  1172.  
  1173. xcb_xvmc_create_subpicture_reply_t *
  1174. xcb_xvmc_create_subpicture_reply (xcb_connection_t                     *c  /**< */,
  1175.                                   xcb_xvmc_create_subpicture_cookie_t   cookie  /**< */,
  1176.                                   xcb_generic_error_t                 **e  /**< */);
  1177.  
  1178. /**
  1179.  * Delivers a request to the X server
  1180.  * @param c The connection
  1181.  * @return A cookie
  1182.  *
  1183.  * Delivers a request to the X server.
  1184.  * 
  1185.  * This form can be used only if the request will not cause
  1186.  * a reply to be generated. Any returned error will be
  1187.  * saved for handling by xcb_request_check().
  1188.  */
  1189.  
  1190. /*****************************************************************************
  1191.  **
  1192.  ** xcb_void_cookie_t xcb_xvmc_destroy_subpicture_checked
  1193.  ** 
  1194.  ** @param xcb_connection_t      *c
  1195.  ** @param xcb_xvmc_subpicture_t  subpicture_id
  1196.  ** @returns xcb_void_cookie_t
  1197.  **
  1198.  *****************************************************************************/
  1199.  
  1200. xcb_void_cookie_t
  1201. xcb_xvmc_destroy_subpicture_checked (xcb_connection_t      *c  /**< */,
  1202.                                      xcb_xvmc_subpicture_t  subpicture_id  /**< */);
  1203.  
  1204. /**
  1205.  * Delivers a request to the X server
  1206.  * @param c The connection
  1207.  * @return A cookie
  1208.  *
  1209.  * Delivers a request to the X server.
  1210.  * 
  1211.  */
  1212.  
  1213. /*****************************************************************************
  1214.  **
  1215.  ** xcb_void_cookie_t xcb_xvmc_destroy_subpicture
  1216.  ** 
  1217.  ** @param xcb_connection_t      *c
  1218.  ** @param xcb_xvmc_subpicture_t  subpicture_id
  1219.  ** @returns xcb_void_cookie_t
  1220.  **
  1221.  *****************************************************************************/
  1222.  
  1223. xcb_void_cookie_t
  1224. xcb_xvmc_destroy_subpicture (xcb_connection_t      *c  /**< */,
  1225.                              xcb_xvmc_subpicture_t  subpicture_id  /**< */);
  1226.  
  1227. /**
  1228.  * Delivers a request to the X server
  1229.  * @param c The connection
  1230.  * @return A cookie
  1231.  *
  1232.  * Delivers a request to the X server.
  1233.  * 
  1234.  */
  1235.  
  1236. /*****************************************************************************
  1237.  **
  1238.  ** xcb_xvmc_list_subpicture_types_cookie_t xcb_xvmc_list_subpicture_types
  1239.  ** 
  1240.  ** @param xcb_connection_t   *c
  1241.  ** @param xcb_xv_port_t       port_id
  1242.  ** @param xcb_xvmc_surface_t  surface_id
  1243.  ** @returns xcb_xvmc_list_subpicture_types_cookie_t
  1244.  **
  1245.  *****************************************************************************/
  1246.  
  1247. xcb_xvmc_list_subpicture_types_cookie_t
  1248. xcb_xvmc_list_subpicture_types (xcb_connection_t   *c  /**< */,
  1249.                                 xcb_xv_port_t       port_id  /**< */,
  1250.                                 xcb_xvmc_surface_t  surface_id  /**< */);
  1251.  
  1252. /**
  1253.  * Delivers a request to the X server
  1254.  * @param c The connection
  1255.  * @return A cookie
  1256.  *
  1257.  * Delivers a request to the X server.
  1258.  * 
  1259.  * This form can be used only if the request will cause
  1260.  * a reply to be generated. Any returned error will be
  1261.  * placed in the event queue.
  1262.  */
  1263.  
  1264. /*****************************************************************************
  1265.  **
  1266.  ** xcb_xvmc_list_subpicture_types_cookie_t xcb_xvmc_list_subpicture_types_unchecked
  1267.  ** 
  1268.  ** @param xcb_connection_t   *c
  1269.  ** @param xcb_xv_port_t       port_id
  1270.  ** @param xcb_xvmc_surface_t  surface_id
  1271.  ** @returns xcb_xvmc_list_subpicture_types_cookie_t
  1272.  **
  1273.  *****************************************************************************/
  1274.  
  1275. xcb_xvmc_list_subpicture_types_cookie_t
  1276. xcb_xvmc_list_subpicture_types_unchecked (xcb_connection_t   *c  /**< */,
  1277.                                           xcb_xv_port_t       port_id  /**< */,
  1278.                                           xcb_xvmc_surface_t  surface_id  /**< */);
  1279.  
  1280.  
  1281. /*****************************************************************************
  1282.  **
  1283.  ** xcb_xv_image_format_info_t * xcb_xvmc_list_subpicture_types_types
  1284.  ** 
  1285.  ** @param const xcb_xvmc_list_subpicture_types_reply_t *R
  1286.  ** @returns xcb_xv_image_format_info_t *
  1287.  **
  1288.  *****************************************************************************/
  1289.  
  1290. xcb_xv_image_format_info_t *
  1291. xcb_xvmc_list_subpicture_types_types (const xcb_xvmc_list_subpicture_types_reply_t *R  /**< */);
  1292.  
  1293.  
  1294. /*****************************************************************************
  1295.  **
  1296.  ** int xcb_xvmc_list_subpicture_types_types_length
  1297.  ** 
  1298.  ** @param const xcb_xvmc_list_subpicture_types_reply_t *R
  1299.  ** @returns int
  1300.  **
  1301.  *****************************************************************************/
  1302.  
  1303. int
  1304. xcb_xvmc_list_subpicture_types_types_length (const xcb_xvmc_list_subpicture_types_reply_t *R  /**< */);
  1305.  
  1306.  
  1307. /*****************************************************************************
  1308.  **
  1309.  ** xcb_xv_image_format_info_iterator_t xcb_xvmc_list_subpicture_types_types_iterator
  1310.  ** 
  1311.  ** @param const xcb_xvmc_list_subpicture_types_reply_t *R
  1312.  ** @returns xcb_xv_image_format_info_iterator_t
  1313.  **
  1314.  *****************************************************************************/
  1315.  
  1316. xcb_xv_image_format_info_iterator_t
  1317. xcb_xvmc_list_subpicture_types_types_iterator (const xcb_xvmc_list_subpicture_types_reply_t *R  /**< */);
  1318.  
  1319. /**
  1320.  * Return the reply
  1321.  * @param c      The connection
  1322.  * @param cookie The cookie
  1323.  * @param e      The xcb_generic_error_t supplied
  1324.  *
  1325.  * Returns the reply of the request asked by
  1326.  * 
  1327.  * The parameter @p e supplied to this function must be NULL if
  1328.  * xcb_xvmc_list_subpicture_types_unchecked(). is used.
  1329.  * Otherwise, it stores the error if any.
  1330.  */
  1331.  
  1332. /*****************************************************************************
  1333.  **
  1334.  ** xcb_xvmc_list_subpicture_types_reply_t * xcb_xvmc_list_subpicture_types_reply
  1335.  ** 
  1336.  ** @param xcb_connection_t                         *c
  1337.  ** @param xcb_xvmc_list_subpicture_types_cookie_t   cookie
  1338.  ** @param xcb_generic_error_t                     **e
  1339.  ** @returns xcb_xvmc_list_subpicture_types_reply_t *
  1340.  **
  1341.  *****************************************************************************/
  1342.  
  1343. xcb_xvmc_list_subpicture_types_reply_t *
  1344. xcb_xvmc_list_subpicture_types_reply (xcb_connection_t                         *c  /**< */,
  1345.                                       xcb_xvmc_list_subpicture_types_cookie_t   cookie  /**< */,
  1346.                                       xcb_generic_error_t                     **e  /**< */);
  1347.  
  1348.  
  1349. #endif
  1350.  
  1351. /**
  1352.  * @}
  1353.  */
  1354.