Function: dvpp_get_pic_desc

Applicability

Product

Supported (√/x)

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas training products

Atlas inference products

Atlas 200I/500 A2 inference products

Function Usage

Obtains the description of an image.

Prototype

  • C Prototype
    1
    acldvppPicDesc *acldvppGetPicDesc(acldvppBatchPicDesc *batchPicDesc, uint32_t index)
    
  • Python Function
    1
    pic_desc = acl.media.dvpp_get_pic_desc(batch_pic_desc, index)
    

Parameter Description

Parameter

Description

batch_pic_desc

Int, pointer address of the description of the image batch.

Call acl.media.dvpp_create_batch_pic_desc to create data of the acldvppBatchPicDesc type in advance.

Return Value Description

Return Value

Description

pic_desc

Int, description of the specified image.