Creates a Gaussian pyramid from the input image. More...
Functions | |
| VPIStatus | vpiSubmitGaussianPyramidGenerator (VPIStream stream, uint64_t backend, VPIImage input, VPIPyramid output, VPIBorderExtension border) |
| Computes the Gaussian pyramid from the input image. More... | |
Creates a Gaussian pyramid from the input image.
Refer to Gaussian Pyramid Generator for more details and usage examples.
| VPIStatus vpiSubmitGaussianPyramidGenerator | ( | VPIStream | stream, |
| uint64_t | backend, | ||
| VPIImage | input, | ||
| VPIPyramid | output, | ||
| VPIBorderExtension | border | ||
| ) |
#include <vpi/algo/GaussianPyramid.h>
Computes the Gaussian pyramid from the input 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 that corresponds to the finer level of the pyramid. Processing is more efficient if input is wrapping the first level of the output pyramid.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| [out] | output | Where the resulting gaussian pyramid will be written to. It must have been created with the desired scale and number of levels.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| [in] | border | Border extension.
|
| VPI_ERROR_INVALID_ARGUMENT | stream is NULL. |
| VPI_ERROR_INVALID_ARGUMENT | input or output are NULL. |
| VPI_ERROR_INVALID_ARGUMENT | output pyramid's scale or dimensions outside valid range. |
| VPI_ERROR_INVALID_ARGUMENT | input image and output pyramid's first level dimensions do not match. |
| VPI_ERROR_INVALID_ARGUMENT | border not supported. |
| VPI_ERROR_INVALID_ARGUMENT | backend is invalid or unknown. |
| VPI_ERROR_INVALID_ARGUMENT | input and output formats do not match. |
| VPI_ERROR_INVALID_IMAGE_FORMAT | input and output formats aren't not supported. |
| VPI_ERROR_NOT_IMPLEMENTED | Gaussian Pyramid Generator algorithm is not supported by given backend. |
| VPI_ERROR_INVALID_OPERATION | Backend hardware not available. |
| VPI_ERROR_INVALID_OPERATION | The needed backends aren't enabled in stream, input or output. |
| VPI_SUCCESS | Operation executed successfully. |