Function: dvpp_set_pic_desc_height_stride

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

Sets the image description parameter: height after alignment.

Prototype

  • C Prototype
    1
    aclError acldvppSetPicDescHeightStride(acldvppPicDesc *picDesc, uint32_t heightStride)
    
  • Python Function
    1
    ret = acl.media.dvpp_set_pic_desc_height_stride(dvpp_pic_desc, height_stride)
    

Parameters

Parameter

Description

dvpp_pic_desc

Int, pointer address of the image description.

Call acl.media.dvpp_create_pic_desc to create data of the acldvppPicDesc type in advance.

height_stride

Int, height stride.

Return Value

Return Value

Description

ret

Int, error code. 0 on success; else, failure.