5 #define TEST(pred, doc) test(pred, #pred, doc, __FILE__, __LINE__)
7 void test(int pred, const char *pred_string, const char *doc_string, const char *file, unsigned int line);
12 #include <X11/extensions/XvMClib.h>
15 * display: IN A valid X display
16 * width, height: IN Surface size that the port must display
17 * chroma_format: IN Chroma format that the port must display
18 * mc_types, num_mc_types: IN List of MC types that the port must support, first port that matches the first mc_type will be returned
19 * port_id: OUT Your port's ID
20 * surface_type_id: OUT Your port's surface ID
21 * is_overlay: OUT If 1, port uses overlay surfaces, you need to set a colorkey
22 * intra_unsigned: OUT If 1, port uses unsigned values for intra-coded blocks
29 unsigned int chroma_format
,
30 const unsigned int *mc_types
,
31 unsigned int num_mc_types
,
34 unsigned int *is_overlay
,
35 unsigned int *intra_unsigned
38 unsigned int align(unsigned int value
, unsigned int alignment
);
40 int timeval_subtract(struct timeval
*result
, struct timeval
*x
, struct timeval
*y
);