#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | VPIParallelForConfig |
Stores the ParallelFor configuration. More... | |
struct | VPIKeypoint |
Stores a keypoint coordinate. More... | |
struct | VPIHomographyTransform2D |
Stores a generic 2D homography transform. More... | |
struct | VPIBoundingBox |
Stores a generic 2D bounding box. More... | |
struct | VPIKLTTrackedBoundingBox |
Stores a bounding box that is being tracked by KLT Tracker. More... | |
Macros | |
Memory creation flags. | |
These flags can be used when creating images, pyramids or arrays. | |
#define | VPI_BACKEND_DISABLE_PVA (0x01) |
Memory won't be used in a PVA stream. | |
#define | VPI_BACKEND_DISABLE_CPU (0x02) |
Memory won't be used in a CPU stream. | |
#define | VPI_BACKEND_DISABLE_CUDA (0x04) |
Memory won't be used in a CUDA stream. | |
#define | VPI_BACKEND_ONLY_PVA (VPI_BACKEND_DISABLE_CUDA | VPI_BACKEND_DISABLE_CPU) |
Memory will only be used in a PVA stream. | |
#define | VPI_BACKEND_ONLY_CPU (VPI_BACKEND_DISABLE_PVA | VPI_BACKEND_DISABLE_CUDA) |
Memory will only be used in a CPU stream. | |
#define | VPI_BACKEND_ONLY_CUDA (VPI_BACKEND_DISABLE_PVA | VPI_BACKEND_DISABLE_CPU) |
Memory will only be used in a CUDA stream. | |
Typedefs | |
typedef void(* | VPIParallelTask) (int taskId, int threadId, void *vpiData) |
Parallel task function pointer type. | |
typedef void(* | VPIParallelForCallback) (VPIParallelTask task, int taskCount, void *vpiData, void *userData) |
Parallel for callback function pointer type. More... | |
typedef void * | VPINativeThreadHandle |
A handle to OS-specific thread handle. | |
typedef struct VPIArrayImpl * | VPIArray |
A handle to an array. | |
typedef struct VPIContextImpl * | VPIContext |
A handle to a context. | |
typedef struct VPIEventImpl * | VPIEvent |
A handle to an event. | |
typedef struct VPIStreamImpl * | VPIStream |
A handle to a stream. | |
typedef struct VPIImageImpl * | VPIImage |
A handle to an image. | |
typedef struct VPIPyramidImpl * | VPIPyramid |
A handle to an image pyramid. | |
typedef struct VPIPayloadImpl * | VPIPayload |
A handle to an algorithm payload. | |
typedef VPIStatus(* | VPIUserFunction) (void *) |
Pointer to user function. More... | |
typedef float | VPICameraIntrinsic[2][3] |
Camera intrinsic matrix. More... | |
typedef float | VPICameraExtrinsic[3][4] |
Camera extrinsic matrix. More... | |
typedef float | VPIPerspectiveTransform[3][3] |
Represents a 2D perspective transform. More... | |
Defines all types needed for programming with VPI.
Definition in file Types.h.
enum VPIArrayType |
Array element formats.
Enumerator | |
---|---|
VPI_ARRAY_TYPE_INVALID | Signal type conversion errors. |
VPI_ARRAY_TYPE_S8 | signed 8-bit. |
VPI_ARRAY_TYPE_U8 | unsigned 8-bit. |
VPI_ARRAY_TYPE_S16 | signed 16-bit. |
VPI_ARRAY_TYPE_U16 | unsigned 16-bit. |
VPI_ARRAY_TYPE_U32 | unsigned 32-bit. |
VPI_ARRAY_TYPE_KEYPOINT | VPIKeypoint element. |
VPI_ARRAY_TYPE_HOMOGRAPHY_TRANSFORM_2D | VPIHomographyTransform2D element. |
VPI_ARRAY_TYPE_KLT_TRACKED_BOUNDING_BOX | VPIKLTTrackedBoundingBox element. |