diff options
Diffstat (limited to 'va/egl/va_egl.h')
-rw-r--r-- | va/egl/va_egl.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/va/egl/va_egl.h b/va/egl/va_egl.h new file mode 100644 index 0000000..4243d0b --- /dev/null +++ b/va/egl/va_egl.h @@ -0,0 +1,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_ */ |