kolibrios-gitea/contrib/sdk/sources/vaapi/libva-1.6.2/va/egl/va_egl.h
Sergey Semyonov (Serge) a08f61ddb9 libva-1.6.2
git-svn-id: svn://kolibrios.org@6146 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-05 22:00:38 +00:00

28 lines
510 B
C

#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_ */