Function: dvpp_set_pic_desc_width_stride

C Prototype

aclError acldvppSetPicDescWidthStride(acldvppPicDesc *picDesc, uint32_t widthStride)

Python Function

ret = acl.media.dvpp_set_pic_desc_width_stride(dvpp_pic_desc, width_stride)

Function Usage

Sets the image description parameter: width after alignment.

Input 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.

width_stride: int, width after alignment.

Return Value

ret: int, error code.

Restrictions

None