Function: dvpp_create_border_config

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

Creates data of the acldvppBorderConfig type as a border configuration.

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

The Atlas training product does not support this API in the current version.

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