NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
PVA_ALGOS_Detector

Detailed Description

Data Structures

struct  pvaAlgosDetectorConfig_t
 Structure that holds configuration parameters for a feature detector. More...
 
struct  pvaAlgosDetectorIOBuffer_t
 Structure that holds I/O Buffers that change based on the frame inputs. More...
 

Typedefs

typedef struct DetectorAlgoContext * pvaAlgosDetectorContext_t
 Structure that stores internal objects needed for feature detector. More...
 

Functions

pvaAlgosError_t pvaAlgosDetectorGetContext (pvaAlgosDetectorContext_t *detectorContext)
 Initializes DetectorAlgoContext object and sends it back to the caller. More...
 
pvaAlgosError_t pvaAlgosDetectorInit (pvaAlgosDetectorContext_t *detectorContext, pvaAlgosDetectorConfig_t *detectorParams)
 Initializes the necessary values for the internal objects in DetectorAlgoContext object. More...
 
pvaAlgosError_t pvaAlgosDetectorProcess (pvaAlgosDetectorContext_t *detectorContext, pvaAlgosDetectorIOBuffer_t *detectorBuffers, cupvaStream_t *instanceStream, int execTimeout)
 Sets the I/O Buffers to the internal objects and runs the Feature Detector Algorithm. More...
 
pvaAlgosError_t pvaAlgosDetectorDeInit (pvaAlgosDetectorContext_t *detectorContext)
 Frees the internal objects and the DetectorAlgoContext object. More...
 

Typedef Documentation

◆ pvaAlgosDetectorContext_t

typedef struct DetectorAlgoContext* pvaAlgosDetectorContext_t

Structure that stores internal objects needed for feature detector.

Definition at line 54 of file pva_algos_detector.h.

Function Documentation

◆ pvaAlgosDetectorDeInit()

pvaAlgosError_t pvaAlgosDetectorDeInit ( pvaAlgosDetectorContext_t detectorContext)

Frees the internal objects and the DetectorAlgoContext object.

Parameters
[in]detectorContextThe pointer to a DetectorAlgoContext object that stores the internal parameters needed for Feature Detector
Returns
pvaAlgosError_t The completion status of the operation. Its value is pvaAlgosStatusSuccess if the operation is successful

◆ pvaAlgosDetectorGetContext()

pvaAlgosError_t pvaAlgosDetectorGetContext ( pvaAlgosDetectorContext_t detectorContext)

Initializes DetectorAlgoContext object and sends it back to the caller.

Parameters
[in]detectorContextThe pointer to a pvaAlgosDetectorContext_t object that stores the internal parameters needed for Feature Detector
Returns
pvaAlgosError_t The completion status of the operation. Its value is pvaAlgosStatusSuccess if the operation is successful

◆ pvaAlgosDetectorInit()

pvaAlgosError_t pvaAlgosDetectorInit ( pvaAlgosDetectorContext_t detectorContext,
pvaAlgosDetectorConfig_t detectorParams 
)

Initializes the necessary values for the internal objects in DetectorAlgoContext object.

Parameters
[in]detectorContextThe pointer to a DetectorAlgoContext object that stores the internal parameters needed for Feature Detector
[in]detectorParamsThe pointer to a pvaAlgosDetectorConfig_t object that stores the configuration parameters for Feature Detector
Returns
pvaAlgosError_t The completion status of the operation. Possible values are:

◆ pvaAlgosDetectorProcess()

pvaAlgosError_t pvaAlgosDetectorProcess ( pvaAlgosDetectorContext_t detectorContext,
pvaAlgosDetectorIOBuffer_t detectorBuffers,
cupvaStream_t instanceStream,
int  execTimeout 
)

Sets the I/O Buffers to the internal objects and runs the Feature Detector Algorithm.

Parameters
[in]detectorContextThe pointer to a DetectorAlgoContext object that stores the internal parameters needed for Feature Detector
[in]detectorBuffersThe pointer to a pvaAlgosDetectorIOBuffer_t object that stores the I/O Buffers that change each frame
[in]postFenceThe pointer to a cupvaFence_t object needed for the synchronization across instructions sent to the PVA Engine
[in]instanceStreamThe pointer to a cupvaStream_t object needed to submit instructions to the PVA Engine
Returns
pvaAlgosError_t The completion status of the operation. Its value is pvaAlgosStatusSuccess if the operation is successful