Runs a generic 2D box filter over the input image. More...
Functions | |
VPIStatus | vpiSubmitBoxFilter (VPIStream stream, uint32_t backend, VPIImage input, VPIImage output, int32_t kernelSizeX, int32_t kernelSizeY, VPIBorderExtension border) |
Runs a 2D box filter over an image. More... | |
Runs a generic 2D box filter over the input image.
VPIStatus vpiSubmitBoxFilter | ( | VPIStream | stream, |
uint32_t | backend, | ||
VPIImage | input, | ||
VPIImage | output, | ||
int32_t | kernelSizeX, | ||
int32_t | kernelSizeY, | ||
VPIBorderExtension | border | ||
) |
#include <vpi/algo/BoxFilter.h>
Runs a 2D box filter over an image.
[in] | stream | A stream handle where the operation will be queued into. |
[in] | backend | Backend that will execute the algorithm. |
[in] | input | Input image to be filtered. |
[out] | output | Output image where the result is written to. It must have same dimensions and format as input. |
[in] | kernelSizeX,kernelSizeY | [in] Box kernel size in X and Y directions respectively. Both must be odd and between 1 and 11 (CUDA and CPU backends) and between 3 and 11 (PVA backend). |
[in] | border | Border extension. |