Function: dvpp_get_resize_config_interpolation

Applicability

Product

Supported (√/x)

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas training products

Atlas inference products

Atlas 200I/500 A2 inference products

Function Usage

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)
    

Parameter Description

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 Description

Return Value

Description

interpolation

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