acldvppGetResizeConfigInterpolation

Applicable Products

Product

Supported

Ascend 950PR&950DT products

x

Atlas A3 products

√

Atlas A2 products

√

Atlas 200I/500 A2 inference products

√

Atlas inference products

√

Atlas training products

√

Function

Obtains the image resizing algorithm.

Prototype

1
uint32 acldvppGetResizeConfigInterpolation(const acldvppResizeConfig *resizeConfig)

Parameters

Parameter

Input/Output

Description

resizeConfig

Input

Pointer to resizing configuration to be obtained.

Call acldvppCreateResizeConfig to create data of the acldvppResizeConfig type and call acldvppSetResizeConfigInterpolation to set the resizing algorithm in advance.

Returns

0 on success; else, failure. For details, see aclError.