Function: dvpp_set_border_config_border_type

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

x

Atlas inference product

Atlas 200I/500 A2 inference product

Description

Sets the border configuration parameter: type enumeration.

Prototype

  • C Prototype
    1
    aclError acldvppSetBorderConfigBorderType(acldvppBorderConfig *borderConfig, acldvppBorderType borderType);
    
  • Python Function
    1
    ret = acl.media.dvpp_set_border_config_border_type(border_config, border_type)
    

Parameters

Parameter

Description

border_config

Int, pointer address of the border making configuration data. Call acl.media.dvpp_create_border_config to create data of the acldvppBorderConfig type in advance.

border_type

Int, type enumeration. For details, see acldvppBorderType.

Return Value

Return Value

Description

ret

Int, error code. 0 on success; else, failure.