NVIDIA DriveWorks API: Internal Cuda Aligned Address Retrieving Functionality
Description: This file defines additional internal method for retrieving the aligned offsets of members in FeatureArray/FeatureHistoryArray. They are not intended to be exposed publicly, but only used by dw framework module for now. Functionalities are generalized from CudaTable.hpp
Definition in file FeatureListExtra.h.
Go to the source code of this file.
Data Structures | |
| struct | dwCrossCameraFeatureArray |
| Holds pointers to the data exposed by a list of 2D features. More... | |
| struct | dwCrossCameraMatchArray |
| Holds pointers to the data exposed by a list of 2D features. More... | |
| struct | dwFeatureDescriptorArray |
| Holds pointers to the data exposed by a feature2d list. More... | |
Macros | |
| #define | DW_TABLE_CONTAINER_MAX_ENRTY_COUNT 128 |
| maximum columns of a cuda table More... | |
| #define | DW_CROSS_CAMERA_MATCH_ARRAY_MAX_CAMERA 16 |
| Maximum number of cameras matched in dwCrossCameraMatchArray. More... | |
| #define | DW_CROSS_CAMERA_MATCH_ARRAY_MAX_CAM_PAIR 1 |
| Maximum number of camera pairs in dwCrossCameraMatchArray. More... | |
Typedefs | |
| typedef struct dwCrossCameraFeatureArray | dwCrossCameraFeatureArray |
| Holds pointers to the data exposed by a list of 2D features. More... | |
| typedef struct dwCrossCameraMatchArray | dwCrossCameraMatchArray |
| Holds pointers to the data exposed by a list of 2D features. More... | |
| typedef struct dwFeatureDescriptorArray | dwFeatureDescriptorArray |
| Holds pointers to the data exposed by a feature2d list. More... | |
Functions | |
| DW_API_PUBLIC dwStatus | dwFeatureArray_getPropertyOffset (size_t propertyOffset[DW_TABLE_CONTAINER_MAX_ENRTY_COUNT+1], size_t *tableBytes, size_t *propertyCount, uint32_t maxFeatureCount) |
| Gets the table description used by dwFeatureArray. More... | |
| DW_API_PUBLIC dwStatus | dwFeatureHistoryArray_getPropertyOffset (size_t propertyOffset[DW_TABLE_CONTAINER_MAX_ENRTY_COUNT+1], size_t *tableBytes, size_t *propertyCount, uint32_t maxFeatureCount, uint32_t historyCapacity) |
| Gets the table description used by dwFeatureHistoryArray. More... | |
| DW_API_PUBLIC dwStatus | dwFeatureArray_fillFromBase (dwFeatureArray *features, void *basePtr, const dwMemoryType memoryType) |
| Fill the array of pointers in dwFeatureArray with the given address like: features.statuses = basePtr features.ages = basePtr + offset0 features.scale = basePtr + offset1 ... More... | |
| DW_API_PUBLIC dwStatus | dwFeatureArray_convertMemory (dwFeatureArray *outFeatures, const dwFeatureArray *srcFeatures, const dwMemoryType newMemoryType) |
| Convert the pointers of given feature array to address space of given memory type. More... | |
| DW_API_PUBLIC dwStatus | dwFeatureHistoryArray_fillFromBase (dwFeatureHistoryArray *featureHistory, void *basePtr, const dwMemoryType memoryType) |
| Fill the array of pointers in dwFeatureHistoryArray with the given address like: features.statuses = basePtr features.ages = basePtr + offset0 features.scale = basePtr + offset1 ... More... | |
| DW_API_PUBLIC dwStatus | dwFeatureHistoryArray_convertMemory (dwFeatureHistoryArray *outFeatureHistory, const dwFeatureHistoryArray *srcFeatureHistory, const dwMemoryType newMemoryType) |
| Convert the pointers of given feature history array to address space of given memory type. More... | |
| DW_API_PUBLIC dwStatus | dwFeatureDescriptorArray_create (dwFeatureDescriptorArray *descriptorArray, dwTrivialDataType const dataType, uint32_t const maxFeatureCount, dwMemoryType const memoryType, cudaStream_t stream, 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 | dwFeatureDescriptorArray_copyAsync (dwFeatureDescriptorArray *dstDescriptors, dwFeatureDescriptorArray const *srcDescriptors, cudaStream_t stream) |
| Deep copy all contents from srcDescriptors to dstDescriptors. More... | |
| DW_API_PUBLIC dwStatus | dwFeatureDescriptorArray_copy (dwFeatureDescriptorArray *dstDescriptors, dwFeatureDescriptorArray const *srcDescriptors) |
| Deep copy all contents from srcDescriptors to dstDescriptors. More... | |