Function: dvpp_set_border_config_right

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

x

Atlas A3 products

√

Atlas A2 products

√

Atlas training products

x

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

Description

Sets the border configuration parameter: length of the border in pixels at the right of the image.

Prototype

  • C Prototype
    1
    aclError acldvppSetBorderConfigRight(acldvppBorderConfig  *borderConfig, uint32_t right)
    
  • Python Function
    1
    ret = acl.media.dvpp_set_border_config_right(border_config, right)
    

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.

right

Int, length of the border in pixels at the right of the image.

Return Values

Return Value

Description

ret

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