Function: dvpp_set_pic_desc_data

C Prototype

aclError acldvppSetPicDescData(acldvppPicDesc *picDesc, void *dataDev)

Python Function

ret = acl.media.dvpp_set_pic_desc_data(dvpp_pic_desc, data_dev)

Function Usage

Sets the image description parameter: image data memory.

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.

data_dev: int, pointer address of the image data memory on the device. The memory must be allocated by using acl.media.dvpp_malloc.

Return Value

ret: int, error code.

Restrictions

None