46 #ifndef DW_IMAGEPROCESSING_IMAGEFILTER_H_ 47 #define DW_IMAGEPROCESSING_IMAGEFILTER_H_ 189 #endif // DW_FEATURES_FEATURES_H_ NVIDIA DriveWorks API: Core Types
DW_API_PUBLIC dwStatus dwImageFilter_getCUDAStream(cudaStream_t *stream, dwImageFilterHandle_t filter)
Gets the cuda stream used by the APIs of ImageFilter.
float float32_t
Specifies POD types.
struct dwImageObject * dwImageHandle_t
dwTrivialDataType
Specifies a type indicator of the underlying trivial data type.
const float32_t * kernel
Filter kernel data defined by user.
uint32_t kernelLength
Indicates the kernel data lenght defined by user.
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
Zero order recursive gaussian filter.
DW_API_PUBLIC dwStatus dwImageFilter_initialize(dwImageFilterHandle_t *filter, const dwImageFilterConfig *config, dwContextHandle_t context)
Allocates resources for an image filter of a certain type, expecting an image of a specific size...
DW_API_PUBLIC dwStatus dwImageFilter_applyFilter(dwImageHandle_t outputImage, dwImageHandle_t inputImage, dwImageFilterHandle_t filter)
Applies the set filter to the input image.
dwStatus
Status definition.
dwImageFilterType filterType
Filtering algorithm defined by dwImageFilterType
dwProcessorType
Processor type definitions.
float32_t sigma
The sigma of kernel for GAUSSIAN filter.
struct dwImageFilterObject * dwImageFilterHandle_t
DW_API_PUBLIC dwStatus dwImageFilter_release(dwImageFilterHandle_t filter)
Releases the image filter.
dwTrivialDataType pxlType
Pixel type of the images that the ImageFilter runs on.
uint32_t order
The order of GAUSSIAN filter.
struct dwContextObject * dwContextHandle_t
Context handle.
NVIDIA DriveWorks API: Core Methods
uint32_t imageWidth
Width of the images that the ImageFilter runs on.
dwProcessorType processorType
Processorr type set to DW_PROCESSOR_TYPE_PVA_0 or DW_PROCESSOR_TYPE_PVA_1 to run algorithm on PVA...
uint32_t imageHeight
Height of the images that the ImageFilter runs on.
DW_API_PUBLIC dwStatus dwImageFilter_setCUDAStream(cudaStream_t stream, dwImageFilterHandle_t filter)
Sets the cuda stream.
uint32_t kernelWidth
Width of filter kernel.
uint32_t kernelHeight
Height of filter kernel.
NVIDIA DriveWorks API: Core Exports