2 * Copyright (c) 2009 Intel Corporation. All Rights Reserved.
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the
6 * "Software"), to deal in the Software without restriction, including
7 * without limitation the rights to use, copy, modify, merge, publish,
8 * distribute, sub license, and/or sell copies of the Software, and to
9 * permit persons to whom the Software is furnished to do so, subject to
10 * the following conditions:
12 * The above copyright notice and this permission notice (including the
13 * next paragraph) shall be included in all copies or substantial portions
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
19 * IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
20 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28 void va_TraceInit(VADisplay dpy);
29 void va_TraceEnd(VADisplay dpy);
31 void va_TraceMsg(int idx, const char *msg, ...);
33 VAStatus va_TraceInitialize (
35 int *major_version, /* out */
36 int *minor_version /* out */
39 VAStatus va_TraceTerminate (
43 void va_TraceCreateConfig(
46 VAEntrypoint entrypoint,
47 VAConfigAttrib *attrib_list,
49 VAConfigID *config_id /* out */
52 void va_TraceCreateSurface(
58 VASurfaceID *surfaces /* out */
61 void va_TraceCreateContext(
67 VASurfaceID *render_targets,
68 int num_render_targets,
69 VAContextID *context /* out */
73 void va_TraceMapBuffer (
75 VABufferID buf_id, /* in */
80 void va_TraceBeginPicture(
83 VASurfaceID render_target
86 void va_TraceRenderPicture(
93 void va_TraceEndPicture(
98 void va_TraceSyncSurface(
100 VASurfaceID render_target
103 void va_TraceQuerySurfaceStatus(
105 VASurfaceID render_target,
106 VASurfaceStatus *status /* out */
109 void va_TraceQuerySurfaceError(
112 VAStatus error_status,
113 void **error_info /*out*/
117 void va_TraceMaxNumDisplayAttributes (
122 void va_TraceQueryDisplayAttributes (
124 VADisplayAttribute *attr_list, /* out */
125 int *num_attributes /* out */
128 void va_TraceGetDisplayAttributes (
130 VADisplayAttribute *attr_list,
134 void va_TraceSetDisplayAttributes (
136 VADisplayAttribute *attr_list,
140 /* extern function called by display side */
141 void va_TracePutSurface (
144 void *draw, /* the target Drawable */
151 unsigned short destw,
152 unsigned short desth,
153 VARectangle *cliprects, /* client supplied clip list */
154 unsigned int number_cliprects, /* number of clip rects in the clip list */
155 unsigned int flags /* de-interlacing flags */
160 #endif /* VA_TRACE_H */