1 #ifndef _VA_EGL_H_
2 #define _VA_EGL_H_
3 
4 #include <va/va.h>
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 typedef void*   EGLClientBuffer;
11 
12 /*This function is used to get EGLClientBuffer
13  * (lower 16bits is buffer index, upper 16bits
14  * is BC device id.) from surface id. Application
15  * should maintain EGLClientBuffer itself.*/
16 
17 VAStatus vaGetEGLClientBufferFromSurface (
18     VADisplay dpy,
19     VASurfaceID surface,
20     EGLClientBuffer *buffer     /* out*/
21 );
22 
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 #endif /* _VA_EGL_H_ */
28