56 #ifndef NV_VPI_NVBUFFER_INTEROP_H 
   57 #define NV_VPI_NVBUFFER_INTEROP_H 
VPIStatus vpiInitWrapNvBufferParams(VPIWrapNvBufferParams *params)
Initialize VPIWrapNvBufferParams with default values.
 
Declaration of VPI status codes handling functions.
 
Defines all types needed for programming with VPI.
 
VPIColorSpec
Color spec definitions.
 
struct VPIImageImpl * VPIImage
A handle to an image.
 
VPIColorSpec colorSpec
Overriden VPIColorSpec of the wrapped Nvbuffer.
 
VPIStatus vpiImageCreateNvBufferWrapper(int32_t dmabuf_fd, const VPIWrapNvBufferParams *params, uint32_t flags, VPIImage *img)
Create an image object by wrapping an existing NvBuffer given its dmabuf_fd handle.
 
VPIStatus vpiImageSetWrappedNvBuffer(VPIImage img, int dmabuf_fd)
Redefines the wrapped NvBuffer memory in an existing VPIImage wrapper.
 
Parameters for customizing NvBuffer wrapping.