Function: dvpp_create_resize_config

C Prototype

acldvppResizeConfig *acldvppCreateResizeConfig()

Python Function

dvpp_resize_config = acl.media.dvpp_create_resize_config()

Function Usage

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

To destroy data of the acldvppResizeConfig type, call acl.media.dvpp_destroy_resize_config.

For the Atlas 200/300/500 Inference Product, the high-order filtering algorithm developed by Huawei is used by default.

For the Atlas Training Series Product, the high-order filtering algorithm developed by Huawei is used by default.

Return Value

dvpp_resize_config: int, returns the pointer address of acldvppResizeConfig type data.

  • If a non-zero value is returned, the operation is successful.
  • If 0 is returned, the operation fails.