DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

FeatureList.h File Reference

Detailed Description

NVIDIA DriveWorks API: Feature Array and Feature History Array

Description: This file defines the 2d feature array.

Definition in file FeatureList.h.

Go to the source code of this file.

Data Structures

struct  dwFeatureArray
 
struct  dwFeatureHistoryArray
 Holds pointers to the data exposed by a feature2d list. More...
 

Enumerations

enum  dwFeature2DStatus {
  DW_FEATURE2D_STATUS_INVALID = 0,
  DW_FEATURE2D_STATUS_DETECTED,
  DW_FEATURE2D_STATUS_TRACKED,
  DW_FEATURE2D_STATUS_TYPE_COUNT
}
 Defines the possible status of a feature. More...
 

Functions

DW_API_PUBLIC dwStatus dwFeature_mergeNewToOldMap (uint32_t *d_newToOldMapC2A, const uint32_t *d_newToOldMapC2B, const uint32_t *d_newToOldMapB2A, const uint32_t *d_newToOldMapCount, const uint32_t maxFeatureCount, cudaStream_t stream)
 Merge newToOldMap from 2 inputs. More...
 
DW_API_PUBLIC dwStatus dwFeatureArray_copyAsync (dwFeatureArray *dstFeatures, const dwFeatureArray *srcFeatures, cudaStream_t stream)
 Deep copy all contents from srcFeatures to dstFeatures More...
 
DW_API_PUBLIC dwStatus dwFeatureArray_create (dwFeatureArray *featureArray, const uint32_t maxFeatureCount, const dwMemoryType memoryType, dwContextHandle_t context)
 Creates and initializes a feature array. More...
 
DW_API_PUBLIC dwStatus dwFeatureArray_destroy (dwFeatureArray featureArray)
 Destroys the featureArray and frees any memory created by dwFeatureArray_create(). More...
 
DW_API_PUBLIC dwStatus dwFeatureArray_reset (dwFeatureArray *featureArray)
 Resets the feature array. More...
 
DW_API_PUBLIC dwStatus dwFeatureHistoryArray_copyAsync (dwFeatureHistoryArray *dstFeatureHistory, const dwFeatureHistoryArray *srcFeatureHistory, cudaStream_t stream)
 Deep copy all contents from srcFeatureHistory to dstFeatureHistory More...
 
DW_API_PUBLIC dwStatus dwFeatureHistoryArray_create (dwFeatureHistoryArray *featureHistoryArray, const uint32_t maxFeatureCount, const uint32_t maxHistoryCapacity, const dwMemoryType memoryType, dwContextHandle_t context)
 Creates and initializes a feature history array. More...
 
DW_API_PUBLIC dwStatus dwFeatureHistoryArray_destroy (dwFeatureHistoryArray featureHistoryArray)
 Destroys the featureHistoryArray and frees any memory created by dwFeatureHistoryArray_create(). More...
 
DW_API_PUBLIC dwStatus dwFeatureHistoryArray_get (dwFeatureArray *featureArray, const uint32_t historyIdx, dwFeatureHistoryArray *featureHistoryArray)
 Get the feature snapshot(arraySize = maxFeatureCount) historyIdx-th frame earlier. More...
 
DW_API_PUBLIC dwStatus dwFeatureHistoryArray_getCurrent (dwFeatureArray *featureArray, dwFeatureHistoryArray *featureHistoryArray)
 Get the latest feature snapshot(arraySize = maxFeatureCount) from history. More...
 
DW_API_PUBLIC dwStatus dwFeatureHistoryArray_getPrevious (dwFeatureArray *featureArray, dwFeatureHistoryArray *featureHistoryArray)
 Get the feature snapshot(arraySize = maxFeatureCount) 1 frame previous to current time. More...
 
DW_API_PUBLIC dwStatus dwFeatureHistoryArray_reset (dwFeatureHistoryArray *featureHistoryArray)
 Resets the feature history array. More...