Function: dvpp_create_batch_pic_desc

Applicability

Product

Supported (Yes/No)

Atlas 350 Accelerator Card

x

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

Creates data of the acldvppBatchPicDesc type, for the description of multiple 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)
    

Parameters

Parameter

Description

batch_size

Int, number of images.

Return Value

Return Value

Description

batch_pic_desc

Int, address for creating description.

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