VPI - Vision Programming Interface

0.4.4 Release

Stream.h File Reference

Declares functions dealing with VPI streams. More...

#include "Export.h"
#include "Status.h"
#include "Types.h"
+ Include dependency graph for Stream.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

VPIStatus vpiStreamCreate (uint32_t flags, VPIStream *stream)
 Create a stream instance. More...
 
VPIStatus vpiStreamCreateCudaStreamWrapper (CUstream cudaStream, uint32_t flags, VPIStream *stream)
 Wraps an existing cudaStream_t into a VPI stream. More...
 
void vpiStreamDestroy (VPIStream stream)
 Destroy a stream instance and deallocate all HW resources. More...
 
VPIStatus vpiStreamSync (VPIStream stream)
 Blocks the calling thread until all submitted commands in this stream queue are done (queue is empty). More...
 
VPIStatus vpiStreamWaitFor (VPIStream stream, VPIEvent event)
 Pushes a command that blocks the processing of all future commands submitted to the stream until the event is signaled. More...
 
VPIStatus vpiStreamGetThreadHandle (VPIStream stream, VPINativeThreadHandle *handle)
 Returns OS-specific handle of the background stream processing thread. More...
 
VPIStatus vpiStreamGetFlags (VPIStream stream, uint32_t *flags)
 Gets the VPIStream flags passed during its creation. More...
 
void vpiPayloadDestroy (VPIPayload payload)
 Deallocates the payload object and all associated resources. More...
 

Detailed Description

Declares functions dealing with VPI streams.

Definition in file Stream.h.