Changes the dimensions of the input image while stretching/squeezing it. More...
Functions | |
VPIStatus | vpiSubmitRescale (VPIStream stream, uint32_t backend, VPIImage input, VPIImage output, VPIInterpolationType interpolationType, VPIBorderExtension border, uint32_t flags) |
Changes the size and scale of a 2D image. More... | |
Changes the dimensions of the input image while stretching/squeezing it.
VPIStatus vpiSubmitRescale | ( | VPIStream | stream, |
uint32_t | backend, | ||
VPIImage | input, | ||
VPIImage | output, | ||
VPIInterpolationType | interpolationType, | ||
VPIBorderExtension | border, | ||
uint32_t | flags | ||
) |
#include <vpi/algo/Rescale.h>
Changes the size and scale of a 2D image.
[in] | stream | The stream where the operation will be queued in. |
[in] | backend | VPI backend that will execute the algorithm. |
[in] | input | Input image to be rescaled. |
[out] | output | Output image with the desired resulting dimensions. |
[in] | interpolationType | Interpolation method to be used. |
[in] | border | Border extension to be used when sampling pixels outside the image border. |
[in] | flags | Control flags.
|