acldvppCreateResizeConfig

Applicability

Product

Supported

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

Description

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 training products/Atlas A2 inference 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 training products/Atlas A3 inference products, the conventional bilinear algorithm is used by default.

Prototype

acldvppResizeConfig *acldvppCreateResizeConfig()

Parameters

None

Returns

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