Function: dvpp_get_border_config_value

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

Obtains the border configuration parameter: value of the color component.

Prototype

  • C Prototype
    1
    double acldvppGetBorderConfigValue(const acldvppBorderConfig  *borderConfig, uint32_t index);
    
  • Python Function
    1
    value = acl.media.dvpp_get_border_config_value(border_config, index)
    

Parameters

Parameter

Description

border_config

Int, pointer address of the border making configuration data.

index

Int. The value 0 indicates the R or Y component, the value 1 indicates the G or U component, the value 2 indicates the B or V component, and the value 3 is reserved.

Return Values

Return Value

Description

ret

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