Function: dvpp_create_pic_desc

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

Creates data of the acldvppPicDesc type as an image description.

To destroy data of the acldvppPicDesc type, see 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

Returns

Return Value

Description

dvpp_pic_desc

Int, pointer address of the acldvppPicDesc type.

  • Non-zero: success
  • 0: failure