Function: dvpp_set_pic_desc_ret_code

C Prototype

aclError acldvppSetPicDescRetCode(acldvppPicDesc *picDesc, uint32_t retCode)

Python Function

ret = acl.media.dvpp_set_pic_desc_ret_code(dvpp_pic_desc, ret_code)

Function Usage

Sets the image description parameter: return code.

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.

ret_code: int, return code.
  • 0: success.
  • Other values: failure.

Return Value

ret: int, error code.

Restrictions

None