acldvppGetResizeConfigInterpolation

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

x

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference 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.