48 #ifndef DW_IMAGEPROCESSING_PYRAMID_MODULE_H_ 49 #define DW_IMAGEPROCESSING_PYRAMID_MODULE_H_ 51 #include <dw/core/Config.h> 65 #define DW_PYRAMID_LEVEL_MAX_COUNT 16 182 dwPyramidPVAHandle_t obj);
206 #endif // DW_IMAGEPROCESSING_PYRAMID_MODULE_H_ 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.
NVIDIA DriveWorks API: Core Types
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: Core Methods
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.
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.
NVIDIA DriveWorks API: Core Exports
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.