Function: dvpp_set_border_config_left

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

x

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas training products

x

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

Description

Sets the border configuration parameter: pixel value of the image left.

Prototype

  • C Prototype
    1
    aclError acldvppSetBorderConfigLeft(acldvppBorderConfig  *borderConfig, uint32_t left);
    
  • Python Function
    1
    ret = acl.media.dvpp_set_border_config_left(border_config, left)
    

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.

left

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

Return Value

Return Value

Description

ret

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