56 #ifndef NV_VPI_STREAM_H
57 #define NV_VPI_STREAM_H
87 #define VPI_STREAM_GREEDY (1ULL << 63)
115 #if NV_VPI_VERSION_API_AT_MOST(2, 2)
116 __asm__(
".symver vpiStreamCreate,vpiStreamCreate@VPI_2.0");
Declaration of VPI status codes handling functions.
Defines all types needed for programming with VPI.
Functions and structures for handling VPI library version.
void * VPINativeThreadHandle
A handle to OS-specific thread handle.
struct VPIEventImpl * VPIEvent
A handle to an event.
struct VPIPayloadImpl * VPIPayload
A handle to an algorithm payload.
void vpiPayloadDestroy(VPIPayload payload)
Deallocates the payload object and all associated resources.
VPIStatus vpiPayloadGetFlags(VPIPayload payload, uint64_t *flags)
Returns the flags associated with a payload.
VPIStatus vpiStreamGetFlags(VPIStream stream, uint64_t *flags)
Gets the VPIStream flags passed during its creation.
struct VPIStreamImpl * VPIStream
A handle to a stream.
VPIStatus vpiStreamWaitEvent(VPIStream stream, VPIEvent event)
Pushes a command that blocks the processing of all future commands submitted to the stream until the ...
VPIStatus vpiStreamSync(VPIStream stream)
Blocks the calling thread until all submitted commands in this stream queue are done (queue is empty)...
void vpiStreamDestroy(VPIStream stream)
Destroy a stream instance and deallocate all HW resources.
VPIStatus vpiStreamGetThreadHandle(VPIStream stream, VPINativeThreadHandle *handle)
Returns OS-specific handle of the background stream processing thread.
VPIStatus vpiStreamFlush(VPIStream stream)
Submits all pending operations for execution.
VPIStatus vpiStreamCreate(uint64_t flags, VPIStream *stream)
Create a stream instance.