acldvppCreateResizeConfig

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

Creates data of the acldvppResizeConfig type as an image resizing configuration.

To destroy data of the acldvppResizeConfig type, call acldvppDestroyResizeConfig.

For the Atlas training products, the high-order filtering algorithm developed by Huawei is used by default.

For the Atlas inference products, the conventional bilinear algorithm is used by default.

For the Atlas A2 products, the conventional bilinear algorithm is used by default.

For the Atlas 200I/500 A2 inference products, the conventional bilinear algorithm is used by default.

For the Atlas A3 products, the conventional bilinear algorithm is used by default.

Prototype

1
acldvppResizeConfig *acldvppCreateResizeConfig()

Parameters

None

Returns

  • Success: a pointer to data of the acldvppResizeConfig type
  • Failure: nullptr