Functions | |
| VPIStatus | vpiImageWrapNvBuffer (int dmabuf_fd, uint32_t flags, VPIImage *pimg) |
Create an image object by wrapping an existing NvBuffer given its dmabuf_fd handle. Only pitch-linear format is supported. The underlying image object does not own/claim the memory block.
| dmabuf_fd | [in] Handle to the NvBuffer. |
| flags | [in] flags |
| pimg | [out] pointer to an image handle |