Function: dvpp_create_batch_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

Creates data of the acldvppBatchPicDesc type as the description of a batch of images.

To destroy data of the acldvppBatchPicDesc type, call acl.media.dvpp_destroy_batch_pic_desc.

Prototype

  • C Prototype
    1
    acldvppBatchPicDesc *acldvppCreateBatchPicDesc(uint32_t batchSize)
    
  • Python Function
    1
    batch_pic_desc = acl.media.dvpp_create_batch_pic_desc(batch_size)
    

Parameter Description

Parameter

Description

batch_size

Int, number of images.

Return Value Description

Return Value

Description

batch_pic_desc

Int, address for creating description.

  • If the value is not 0, the operation is successful.
  • If the value is 0, the operation fails.