|
VPI - Vision Programming Interface
0.1.0 Release
|
Go to the documentation of this file.
56 #ifndef NV_VPI_STREAM_H
57 #define NV_VPI_STREAM_H
158 #endif // NV_VPI_STREAM_H
VPIDeviceType
Device types.
VPIStatus vpiStreamGetThreadHandle(VPIStream stream, VPINativeThreadHandle *handle)
Returns OS-specific handle of the background stream processing thread.
VPIStatus vpiStreamCreate(VPIDeviceType devType, VPIStream *stream)
Create a stream instance.
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.
struct VPIEventImpl * VPIEvent
VPIStatus vpiStreamWaitFor(VPIStream stream, VPIEvent event)
Pushes a command that blocks the processing of all future commands by the backend until the event is ...
struct VPIPayloadImpl * VPIPayload
A handle to an algorithm payload.
void vpiPayloadDestroy(VPIPayload payload)
Deallocates the payload object and all associated resources.
void * VPINativeThreadHandle
VPIStatus vpiStreamGetDeviceType(VPIStream stream, VPIDeviceType *deviceType)
Returns the backend type associated with the given stream.
struct VPIStreamImpl * VPIStream