56 #ifndef NV_VPI_ALGORITHMS_OPTICALFLOWDENSE_H
57 #define NV_VPI_ALGORITHMS_OPTICALFLOWDENSE_H
67 #include "../Export.h"
68 #include "../ImageFormat.h"
69 #include "../Status.h"
struct VPIImageImpl * VPIImage
A handle to an image.
VPIStatus vpiSubmitOpticalFlowDense(VPIStream stream, uint32_t backend, VPIPayload payload, VPIImage prevImg, VPIImage curImg, VPIImage mvImg)
Runs dense Optical Flow on two frames.
VPIStatus vpiCreateOpticalFlowDense(uint32_t backends, int32_t width, int32_t height, VPIImageFormat inputFmt, VPIOpticalFlowQuality quality, VPIPayload *payload)
Creates payload for vpiSubmitOpticalFlowDense.
struct VPIPayloadImpl * VPIPayload
A handle to an algorithm payload.
struct VPIStreamImpl * VPIStream
A handle to a stream.
VPIOpticalFlowQuality
Defines the quality of the optical flow algorithm.