acldvppCreateResizeConfig

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function

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

To destroy data of the acldvppResizeConfig type, see acldvppDestroyResizeConfig.

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

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

For the Atlas A2 training product/Atlas A2 inference product, the conventional bilinear algorithm is used by default.

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

For the Atlas A3 training product/Atlas A3 inference product, 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