Function: dvpp_set_pic_desc_height_stride

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

Sets the image description parameter: height stride.

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)
    

Parameter Description

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 Description

Return Value

Description

ret

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