Function: dvpp_create_pic_desc

Applicable Products

Product

Supported (√/x)

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 acldvppPicDesc type as an image description.

To destroy data of the acldvppPicDesc type, call acl.media.dvpp_destroy_pic_desc.

Prototype

  • C Prototype
    1
    acldvppPicDesc *acldvppCreatePicDesc()
    
  • Python Function
    1
    dvpp_pic_desc = acl.media.dvpp_create_pic_desc()
    

Parameters

None

Return Value

Return Value

Description

dvpp_pic_desc

Int, pointer address of the acldvppPicDesc type.

  • A value other than 0 indicates success.
  • 0 indicates failure.