Function: dvpp_create_border_config

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

Creates data of the acldvppBorderConfig type as a border configuration.

To destroy data of the acldvppBorderConfig type, call acl.media.dvpp_destroy_border_config.

Prototype

  • C Prototype
    1
    acldvppBorderConfig *acldvppCreateBorderConfig()
    
  • Python Function
    1
    pic_desc = acl.media.dvpp_create_border_config()
    

Parameters

None

Return Value

Return Value

Description

pic_desc

  • int.
  • If a pointer address of the acldvppBorderConfig type is returned, the operation is successful.
  • nullptr: failure