Function cvcudaPillowResizeGetWorkspaceRequirements
Defined in File OpPillowResize.h
Function Documentation
-
NVCVStatus cvcudaPillowResizeGetWorkspaceRequirements(NVCVOperatorHandle handle, int maxBatchSize, int32_t maxInWidth, int32_t maxInHeight, int32_t maxOutWidth, int32_t maxOutHeight, NVCVImageFormat fmt, NVCVWorkspaceRequirements *reqOut)
Calculates the upper bounds of buffer sizes required to run the operator
- Parameters:
handle – [in] Where the image instance handle will be written to.
Must not be NULL.
maxBatchSize – [in] Maximum batchsize used in this operator.
maxWidth – [in] Maximum input and output image width.
maxHeight – [in] Maximum input and output image height.
fmt – [in] Image format
reqOut – [out] Requirements for the operator’s workspace
- Return values:
NVCV_ERROR_INVALID_ARGUMENT – Handle is null or one of the arguments is out of range.
NVCV_SUCCESS – Operation executed successfully.