56 #ifndef NV_VPI_ALGORITHMS_CONVOLUTION_H
57 #define NV_VPI_ALGORITHMS_CONVOLUTION_H
59 #include "../Export.h"
60 #include "../Status.h"
155 const float *kernelData, int32_t kernelWidth, int32_t kernelHeight,
231 const float *kernelXData, int32_t kernelXSize,
232 const float *kernelYData, int32_t kernelYSize,
VPIStatus vpiSubmitConvolution(VPIStream stream, uint64_t backend, VPIImage input, VPIImage output, const float *kernelData, int32_t kernelWidth, int32_t kernelHeight, VPIBorderExtension border)
Runs a generic 2D convolution over an image.
VPIStatus vpiSubmitSeparableConvolution(VPIStream stream, uint64_t backend, VPIImage input, VPIImage output, const float *kernelXData, int32_t kernelXSize, const float *kernelYData, int32_t kernelYSize, VPIBorderExtension border)
Runs a generic 2D convolution operation over an image, optimized for separable kernels.
struct VPIImageImpl * VPIImage
A handle to an image.
struct VPIStreamImpl * VPIStream
A handle to a stream.
VPIBorderExtension
Image border extension specify how pixel values outside of the image domain should be constructed.