Function: dvpp_get_resize_config_interpolation

Applicability

Product

Supported

Atlas 350 Accelerator Card

x

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas training product

Atlas inference product

Atlas 200I/500 A2 inference product

Description

Obtains the image resizing algorithm.

Prototype

  • C Prototype
    1
    uint32 acldvppGetResizeConfigInterpolation(const acldvppResizeConfig * resizeConfig)
    
  • Python Function
    1
    interpolation = acl.media.dvpp_get_resize_config_interpolation(dvpp_resize_config)
    

Parameters

Parameter

Description

dvpp_resize_config

Int, pointer address of the resizing configuration data to be obtained.

Call acl.media.dvpp_create_resize_config to create data of the acldvppResizeConfig type and call acl.media.dvpp_set_resize_config_interpolation to set the resizing algorithm in advance.

Return Value

Return Value

Description

interpolation

Int, resizing algorithm. For details, see acl.media.dvpp_create_resize_config.