46 #ifndef DW_IMAGEPROCESSING_PYRAMID_MODULE_H_ 47 #define DW_IMAGEPROCESSING_PYRAMID_MODULE_H_ 63 #define DW_PYRAMID_LEVEL_MAX_COUNT 16 180 dwPyramidPVAHandle_t obj);
204 #endif // DW_IMAGEPROCESSING_PYRAMID_MODULE_H_ NVIDIA DriveWorks API: Core Types
DW_API_PUBLIC dwStatus dwPyramidPVA_create(dwPyramidImage *pyramid, uint32_t levelCount, uint32_t width, uint32_t height, dwTrivialDataType pxlType, dwContextHandle_t context)
Creates and initializes an image pyramid.
float float32_t
Specifies POD types.
struct dwImageObject * dwImageHandle_t
dwTrivialDataType
Specifies a type indicator of the underlying trivial data type.
Image pyramid Parameters parameters.
DW_API_PUBLIC dwStatus dwPyramidPVA_computePyramid(dwPyramidImage *pyramid, const dwImageHandle_t image, cudaStream_t stream, dwPyramidPVAHandle_t obj)
Builds the pyramid from level 0 image.
uint32_t imageWidth
Input image width.
DW_API_PUBLIC dwStatus dwPyramidPVA_initDefaultParams(dwPyramidPVAParams *params)
Initializes default parameters for image pyramid with default values.
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
dwStatus
Status definition.
uint32_t imageHeight
Input image height.
dwProcessorType
Processor type definitions.
NVIDIA DriveWorks API: Pyramid
uint32_t numOfPyrLevels
Output Number of Levels in Pyramid.
DW_API_PUBLIC dwStatus dwPyramidPVA_getCUDAStream(cudaStream_t *stream, dwPyramidPVAHandle_t obj)
Get CUDA Stream to the used.
DW_API_PUBLIC dwStatus dwPyramidPVA_release(dwPyramidPVAHandle_t obj)
Release Pyramid module.
dwProcessorType processorType
Indicates where the pipline should be executed.
DW_API_PUBLIC dwStatus dwPyramidPVA_reset(dwPyramidPVAHandle_t obj)
Resets Pyramid module.
struct dwContextObject * dwContextHandle_t
Context handle.
NVIDIA DriveWorks API: Core Methods
float32_t pyrScale
Output Pyramid scale.
DW_API_PUBLIC dwStatus dwPyramidPVA_initialize(dwPyramidPVAHandle_t *obj, dwPyramidPVAParams *params, dwContextHandle_t context)
Initialize parameters for image pyramid.
struct dwPyramidPVAObject * dwPyramidPVAHandle_t
Handle to a Pyramid object.
DW_API_PUBLIC dwStatus dwPyramidPVA_destroy(dwPyramidImage *pyramid)
Destroy pyramid images.
DW_API_PUBLIC dwStatus dwPyramidPVA_setCUDAStream(cudaStream_t stream, dwPyramidPVAHandle_t obj)
Sets CUDA Stream to the given stream.
NVIDIA DriveWorks API: Core Exports