|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
28 #ifndef DW_IMAGEPROCESSING_PYRAMID_PVA_H_
29 #define DW_IMAGEPROCESSING_PYRAMID_PVA_H_
37 #ifdef DW_SDK_BUILD_PVA
38 #include <cupva_host_scheduling.h>
109 cudaStream_t
const cudaStream,
166 cudaStream_t
const stream,
235 #endif // DW_IMAGEPROCESSING_PYRAMID_PVA_H_
DW_API_PUBLIC dwStatus dwPyramidPVA_getPVAStream(cupvaStream_t *const stream, dwPyramidPVAHandle_t const obj)
Get cuPVA Stream to the used.
DW_API_PUBLIC dwStatus dwPyramidPVA_release(dwPyramidPVAHandle_t const obj)
Release Pyramid module.
DW_API_PUBLIC dwStatus dwPyramidPVA_setCUDAStream(cudaStream_t const stream, dwPyramidPVAHandle_t const obj)
Sets CUDA Stream to the given stream.
void * cupvaStream_t
Defines the image pyramid structure.
DW_API_PUBLIC dwStatus dwPyramidPVA_initDefaultParams(dwPyramidPVAParams *params)
Initializes default parameters for PVA image pyramid with default values.
uint32_t vpuIndex
VPU index which determines on which VPU the algorithm should be executed on.
void * cupvaStream_t
Dummy definition for non PVA supported platforms.
uint32_t levelCount
Level cout of pyramid.
PVA image pyramid parameters.
struct dwPyramidPVAObject * dwPyramidPVAHandle_t
Handle to a Pyramid object.
struct dwPyramidPVAParams dwPyramidPVAParams
PVA image pyramid parameters.
DW_API_PUBLIC dwStatus dwPyramidPVA_computePyramid(dwPyramidImage const *pyramid, dwImageHandle_t const image, cudaStream_t const stream, dwPyramidPVAHandle_t const obj)
Builds the pyramid from level 0 image.
dwProcessorType processorType
Processor type which determines on which processor the algorithm should be executed on.
uint32_t imageWidth
Input image width.
const NvSciSyncObj *const obj
dwStatus
Status definition.
DW_API_PUBLIC dwStatus dwPyramidPVA_initialize(dwPyramidPVAHandle_t *obj, dwPyramidPVAParams const *params, dwPyramidImage const *pyramid, cudaStream_t const cudaStream, dwContextHandle_t const context)
Initialize parameters for image pyramid.
struct dwImageObject * dwImageHandle_t
Handle to an image object.
struct dwContextObject * dwContextHandle_t
Context handle.
DW_API_PUBLIC dwStatus dwPyramidPVA_setPVAStream(cupvaStream_t const stream, dwPyramidPVAHandle_t const obj)
Sets cuPVA Stream to the given stream.
DW_API_PUBLIC dwStatus dwPyramidPVA_getCUDAStream(cudaStream_t *const stream, dwPyramidPVAHandle_t const obj)
Get CUDA Stream to the used.
uint32_t imageHeight
Input image height.
DW_API_PUBLIC dwStatus dwPyramidPVA_reset(dwPyramidPVAHandle_t const obj)
Resets Pyramid module.