16
* Returns a suitable VADisplay for VA API
18
VADisplay vaGetDisplay (
24
* Following is the rendering interface for X windows,
25
* to get the decode output surface to a X drawable
26
* It basically performs a de-interlacing (if needed),
27
* color space conversion and scaling to the destination
30
/* de-interlacing flags for vaPutSurface */
31
#define VA_FRAME_PICTURE 0x00000000
32
#define VA_TOP_FIELD 0x00000001
33
#define VA_BOTTOM_FIELD 0x00000002
36
* clears the drawable with background color.
37
* for hardware overlay based implementation this flag
38
* can be used to turn off the overlay
40
#define VA_CLEAR_DRAWABLE 0x00000008
42
/* color space conversion flags for vaPutSurface */
43
#define VA_SRC_BT601 0x00000010
44
#define VA_SRC_BT709 0x00000020
46
VAStatus vaPutSurface (
49
Drawable draw, /* X Drawable */
58
VARectangle *cliprects, /* client supplied destination clip list */
59
unsigned int number_cliprects, /* number of clip rects in the clip list */
60
unsigned int flags /* PutSurface flags */
67
#endif /* _VA_X11_H_ */