Function: dvpp_get_pic_desc_width

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 image description parameter: width of the source image.

Prototype

  • C Prototype
    1
    uint32_t acldvppGetPicDescWidth(const acldvppPicDesc *picDesc)
    
  • Python Function
    1
    width = acl.media.dvpp_get_pic_desc_width(dvpp_pic_desc)
    

Parameter Description

Parameter

Description

dvpp_pic_desc

Int, pointer address of the image description.

Return Value Description

Return Value

Description

width

Int, width of the source image.