Function: dvpp_get_pic_desc

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas training product

Atlas inference product

Atlas 200I/500 A2 inference product

Description

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)
    

Parameters

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

Return Value

Description

pic_desc

Int, description of the specified image.