- Welcome
- Getting Started With the NVIDIA DriveWorks SDK
- Modules
- Samples
- Tools
- Tutorials
- SDK Porting Guide
- DriveWorks API
- More
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 | dwFeatureDescriptorArray |
Holds pointers to the data exposed by a feature2d list. More... | |
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, cudaStream_t stream) |
Resets the feature array. More... | |
DW_API_PUBLIC dwStatus | dwFeatureDescriptorArray_copy (dwFeatureDescriptorArray *dstDescriptors, dwFeatureDescriptorArray const *srcDescriptors) |
Deep copy all contents from srcDescriptors to dstDescriptors. More... | |
DW_API_PUBLIC dwStatus | dwFeatureDescriptorArray_copyAsync (dwFeatureDescriptorArray *dstDescriptors, dwFeatureDescriptorArray const *srcDescriptors, cudaStream_t stream) |
Deep copy all contents from srcDescriptors to dstDescriptors. More... | |
DW_API_PUBLIC dwStatus | dwFeatureDescriptorArray_create (dwFeatureDescriptorArray *descriptorArray, dwTrivialDataType const dataType, uint32_t const dimension, uint32_t const maxFeatureCount, dwMemoryType const memoryType, dwContextHandle_t context) |
Creates descriptor array. More... | |
DW_API_PUBLIC dwStatus | dwFeatureDescriptorArray_destroy (dwFeatureDescriptorArray const *descriptorArray) |
Destroys the descriptor array and frees any memory created by dwDescriptorArray_create() 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 const *featureHistoryArray) |
Get the feature snapshot(arraySize = maxFeatureCount) historyIdx-th frame earlier. More... | |
DW_API_PUBLIC dwStatus | dwFeatureHistoryArray_getCurrent (dwFeatureArray *featureArray, dwFeatureHistoryArray const *featureHistoryArray) |
Get the latest feature snapshot(arraySize = maxFeatureCount) from history. More... | |
DW_API_PUBLIC dwStatus | dwFeatureHistoryArray_getPrevious (dwFeatureArray *featureArray, dwFeatureHistoryArray const *featureHistoryArray) |
Get the feature snapshot(arraySize = maxFeatureCount) 1 frame previous to current time. More... | |
DW_API_PUBLIC dwStatus | dwFeatureHistoryArray_reset (dwFeatureHistoryArray *featureHistoryArray, cudaStream_t stream) |
Resets the feature history array. More... | |