|
VPI - Vision Programming Interface
0.4.4 Release
|
Go to the documentation of this file.
56 #ifndef NV_VPI_TYPES_H
57 #define NV_VPI_TYPES_H
97 #define VPI_BACKEND_ALL (VPI_BACKEND_CPU | VPI_BACKEND_CUDA | VPI_BACKEND_PVA | VPI_BACKEND_VIC)
99 #define VPI_FLAG_ALL ((1ULL << 32) - 1)
518 #endif // NV_VPI_TYPES_H
Stores the ParallelFor configuration.
struct VPIContextImpl * VPIContext
A handle to a context.
void * userData
A user defined opaque pointer passed to callback function unaltered.
VPIBackend
VPI Backend types.
Stores a bounding box that is being tracked by KLT Tracker.
@ VPI_LOCK_READ_WRITE
Lock memory for reading and writing.
@ VPI_ARRAY_TYPE_U8
unsigned 8-bit.
uint8_t reserved2
Reserved for future use.
float x
Keypoint's x coordinate.
@ VPI_INTERP_CATMULL_ROM_PRECISE
Catmull-Rom cubic interpolation.
@ VPI_LOCK_READ
Lock memory only for reading.
@ VPI_ARRAY_TYPE_S16
signed 16-bit.
VPIBoundaryCond
Image boundary condition specify how pixel values outside of the image domain should be constructed.
@ VPI_LOCK_WRITE
Lock memory only for writing.
@ VPI_BACKEND_CUDA
CUDA backend.
int maxThreads
The maximum number of threads used by the parallel_for implementation code.
struct VPIStreamImpl * VPIStream
A handle to a stream.
void(* VPIParallelForCallback)(VPIParallelTask task, int taskCount, void *vpiData, void *userData)
Parallel for callback function pointer type.
VPIBoundingBox bbox
Bounding box being tracked.
@ VPI_ARRAY_TYPE_HOMOGRAPHY_TRANSFORM_2D
VPIHomographyTransform2D element.
@ VPI_INTERP_LINEAR
Alias to fast linear interpolation.
uint8_t trackingStatus
Tracking status of this bounding box.
float VPIPerspectiveTransform[3][3]
Represents a 2D perspective transform.
@ VPI_INTERP_LINEAR_FAST
Fast linear interpolation.
@ VPI_ARRAY_TYPE_INVALID
Signal type conversion errors.
float VPICameraExtrinsic[3][4]
Camera extrinsic matrix.
void(* VPIParallelTask)(int taskId, int threadId, void *vpiData)
Parallel task function pointer type.
@ VPI_ARRAY_TYPE_KEYPOINT
VPIKeypoint element.
VPIArrayType
Array element formats.
@ VPI_INTERP_CATMULL_ROM
Alias to fast Catmull-Rom cubic interpolator.
@ VPI_INTERP_CATMULL_ROM_FAST
Fast Catmull-Rom cubic interpolation.
struct VPIEventImpl * VPIEvent
A handle to an event.
@ VPI_ARRAY_TYPE_KLT_TRACKED_BOUNDING_BOX
VPIKLTTrackedBoundingBox element.
Stores a generic 2D bounding box.
struct VPIImageImpl * VPIImage
A handle to an image.
@ VPI_INTERP_LINEAR_PRECISE
Precise linear interpolation.
float width
Bounding box width.
VPIInterpolationType
Interpolation types supported by several algorithms.
@ VPI_BACKEND_VIC
VIC backend.
@ VPI_BOUNDARY_COND_ZERO
All pixels outside the image are considered to be zero.
struct VPIPayloadImpl * VPIPayload
A handle to an algorithm payload.
@ VPI_ARRAY_TYPE_S8
signed 8-bit.
@ VPI_BOUNDARY_COND_CLAMP
Border pixels are repeated indefinitely.
Declaration of VPI status codes handling functions.
@ VPI_ARRAY_TYPE_U16
unsigned 16-bit.
@ VPI_BACKEND_CPU
CPU backend.
VPILockMode
Defines the lock modes used by memory lock functions.
struct VPIArrayImpl * VPIArray
A handle to an array.
@ VPI_INTERP_NEAREST
Nearest neighbor interpolation.
VPIHomographyTransform2D xform
Defines the bounding box top left corner and its homography.
float height
Bounding box height.
void * VPINativeThreadHandle
A handle to OS-specific thread handle.
@ VPI_ARRAY_TYPE_U32
unsigned 32-bit.
@ VPI_BACKEND_PVA
PVA backend.
@ VPI_BACKEND_INVALID
Invalid backend.
struct VPIPyramidImpl * VPIPyramid
A handle to an image pyramid.
uint8_t templateStatus
Status of the template related to this bounding box.
float VPICameraIntrinsic[2][3]
Camera intrinsic matrix.
Stores a keypoint coordinate.
float y
Keypoint's y coordinate.
VPIParallelForCallback callback
A pointer to the parallel_for implementation.