Function: dvpp_set_pic_desc_size

C Prototype

aclError acldvppSetPicDescSize(acldvppPicDesc *picDesc, uint32_t size)

Python Function

ret = acl.media.dvpp_set_pic_desc_size(dvpp_pic_desc, size)

Function Usage

Sets the image description parameter: buffer size of image data.

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.

size: int, memory size, in bytes.

Return Value

ret: int, error code.

Restrictions

None