summaryrefslogtreecommitdiff
path: root/va/egl/va_egl.h
blob: 4243d0b401edc72cfe1e9dffe300822b8ec8f49b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _VA_EGL_H_
#define _VA_EGL_H_

#include <va/va.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef void*   EGLClientBuffer;

/*This function is used to get EGLClientBuffer
 * (lower 16bits is buffer index, upper 16bits 
 * is BC device id.) from surface id. Application
 * should maintain EGLClientBuffer itself.*/

VAStatus vaGetEGLClientBufferFromSurface (
    VADisplay dpy,
    VASurfaceID surface,	
    EGLClientBuffer *buffer     /* out*/
);

#ifdef __cplusplus
}
#endif

#endif /* _VA_EGL_H_ */