56 #ifndef NV_VPI_ALGORITHMS_OPTICALFLOWDENSE_H
57 #define NV_VPI_ALGORITHMS_OPTICALFLOWDENSE_H
68 #include "../Export.h"
69 #include "../ImageFormat.h"
70 #include "../Status.h"
struct VPIImageImpl * VPIImage
A handle to an image.
VPIStatus vpiCreateOpticalFlowDense(uint64_t backends, int32_t width, int32_t height, VPIImageFormat inputFmt, VPIOpticalFlowQuality quality, VPIPayload *payload)
Creates payload for vpiSubmitOpticalFlowDense.
VPIStatus vpiSubmitOpticalFlowDense(VPIStream stream, uint64_t backend, VPIPayload payload, VPIImage prevImg, VPIImage curImg, VPIImage mvImg)
Runs dense Optical Flow on two frames.
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.