48 #ifndef DW_IMAGEPROCESSING_MOTION_DENSEOPTICALFLOW_H_ 49 #define DW_IMAGEPROCESSING_MOTION_DENSEOPTICALFLOW_H_ 169 dwDenseOpticalFlowHandle_t obj);
189 dwDenseOpticalFlowHandle_t obj);
195 #endif // DW_IMAGEPROCESSING_MOTION_DENSEOPTICALFLOW_H_ struct dwDenseOpticalFlowObject * dwDenseOpticalFlowHandle_t
Handle to a DenseOpticalFlow object.
High quality with low performance.
struct dwImageObject * dwImageHandle_t
DW_API_PUBLIC dwStatus dwDenseOpticalFlow_getOutputImageProperties(dwImageProperties *outputProperties, dwDenseOpticalFlowHandle_t obj)
Returns the required output image properties.
Dense Optical Flow parameters.
DW_API_PUBLIC dwStatus dwDenseOpticalFlow_calculateOpticalFlow(dwImageHandle_t output, const dwImageHandle_t input, const dwImageHandle_t inputReference, dwDenseOpticalFlowHandle_t obj)
Calculates Dense Optical Flow between input and inputReference.
NVIDIA DriveWorks API: Core Methods
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
DW_API_PUBLIC dwStatus dwDenseOpticalFlow_reset(dwDenseOpticalFlowHandle_t obj)
Resets DenseOpticalFlow module.
dwProcessorType processorPVA
Indicates which PVA the corresponding part of the pipeline to be executed.
dwStatus
Status definition.
dwProcessorType
Processor type definitions.
DW_API_PUBLIC dwStatus dwDenseOpticalFlow_initialize(dwDenseOpticalFlowHandle_t *obj, const dwDenseOpticalFlowParams *params, dwContextHandle_t ctx)
Initializes Dense Optical Flow module.
dwProcessorType processorNVENC
Indicates which NVENC the corresponding part of the pipeline to be executed.
uint32_t imageHeight
Input image height.
DW_API_PUBLIC dwStatus dwDenseOpticalFlow_initDefaultParams(dwDenseOpticalFlowParams *params)
Initializes DenseOpticalFlow parameters with default values.
DW_API_PUBLIC dwStatus dwDenseOpticalFlow_setCUDAStream(cudaStream_t stream, dwDenseOpticalFlowHandle_t obj)
Sets the CUDA stream.
uint32_t imageWidth
Input image width.
Ultra high performance with lowest quality.
struct dwContextObject * dwContextHandle_t
Context handle.
dwDenseOpticalFlowMode estimationMode
Estimation mode that determines the speed and quality of the optical flow.
DW_API_PUBLIC dwStatus dwDenseOpticalFlow_release(dwDenseOpticalFlowHandle_t obj)
Releases the DenseOpticalFlow module.
DW_API_PUBLIC dwStatus dwDenseOpticalFlow_getCUDAStream(cudaStream_t *stream, dwDenseOpticalFlowHandle_t obj)
Gets the CUDA stream.
Defines the properties of the image.
High performance with lower quality.