56 #ifndef NV_VPI_CUDAINTEROP_H
57 #define NV_VPI_CUDAINTEROP_H
96 #if NV_VPI_VERSION_API_IS(1, 0)
97 __asm__(
".symver vpiImageCreateCUDAMemWrapper,vpiImageCreateCUDAMemWrapper@VPI_1.0");
158 #if NV_VPI_VERSION_API_IS(1, 0)
159 __asm__(
".symver vpiArrayCreateCUDAMemWrapper,vpiArrayCreateCUDAMemWrapper@VPI_1.0");
203 #if NV_VPI_VERSION_API_IS(1, 0)
204 __asm__(
".symver vpiStreamCreateCUDAStreamWrapper,vpiStreamCreateCUDAStreamWrapper@VPI_1.0");
Functions and structures for dealing with VPI arrays.
Functions and structures for dealing with VPI events.
Functions and structures for dealing with VPI images.
Declaration of VPI status codes handling functions.
Declares functions dealing with VPI streams.
Defines all types needed for programming with VPI.
Functions and structures for handling VPI library version.
struct VPIArrayImpl * VPIArray
A handle to an array.
Stores information about array characteristics and content.
VPIStatus vpiArrayCreateCUDAMemWrapper(const VPIArrayData *arrayData, uint32_t flags, VPIArray *array)
Create an array object by wrapping an existing device (CUDA) memory block.
VPIStatus vpiImageSetWrappedCUDAMem(VPIImage img, const VPIImageData *hostData)
Redefines the wrapped device (CUDA) memory in an existing VPIImage wrapper.
VPIStatus vpiImageCreateCUDAMemWrapper(const VPIImageData *cudaData, uint32_t flags, VPIImage *img)
Create an image object by wrapping around an existing device (CUDA) memory block.
VPIStatus vpiStreamCreateCUDAStreamWrapper(CUstream cudaStream, uint32_t flags, VPIStream *stream)
Wraps an existing cudaStream_t into a VPI stream.
VPIStatus vpiArraySetWrappedCUDAMem(VPIArray array, const VPIArrayData *arrayData)
Redefines the wrapped device (CUDA) memory in an existing VPIArray wrapper.
VPIStatus vpiEventCreateCUDAEventWrapper(CUevent cudaEvent, VPIEvent *event)
Create an event object by wrapping around an existing CUDA CUevent object.
struct VPIEventImpl * VPIEvent
A handle to an event.
struct VPIImageImpl * VPIImage
A handle to an image.
Stores information about image characteristics and content.
struct VPIStreamImpl * VPIStream
A handle to a stream.