56 #ifndef NV_VPI_EGLINTEROP_H
57 #define NV_VPI_EGLINTEROP_H
64 #include <EGL/eglext.h>
Declaration of VPI status codes handling functions.
Defines all types needed for programming with VPI.
VPIColorSpec
Color spec definitions.
VPIColorSpec colorSpec
Overriden VPIColorSpec of the wrapped EGLImage.
VPIStatus vpiImageCreateEGLImageWrapper(EGLImageKHR eglImage, const VPIWrapEGLImageParams *params, uint32_t flags, VPIImage *img)
Create an image object by wrapping an existing EGLImage.
VPIStatus vpiEventExportEGLSync(VPIEvent event, EGLDisplay eglDpy, EGLSyncKHR *eglSync)
Export a recorded VPI event to EGL sync object.
VPIStatus vpiImageSetWrappedEGLImage(VPIImage img, EGLImageKHR eglImage)
Redefines the wrapped EGLImage of an existing VPIImage wrapper.
VPIStatus vpiInitWrapEGLImageParams(VPIWrapEGLImageParams *params)
Initialize VPIWrapEGLImageParams with default values.
VPIStatus vpiEventCreateEGLSyncWrapper(EGLSyncKHR eglSync, VPIEvent *event)
Create an event object by wrapping around an EGL sync object created from another client API.
Parameters for customizing EGLImage wrapping.
struct VPIEventImpl * VPIEvent
A handle to an event.
struct VPIImageImpl * VPIImage
A handle to an image.