Function: dvpp_set_stream_desc_ret_code

C Prototype

aclError acldvppSetStreamDescRetCode(acldvppStreamDesc *streamDesc, uint32_t retCode)

Python Function

ret = acl.media.dvpp_set_stream_desc_ret_code(dvpp_stream_desc, ret_code)

Function Usage

Sets the video stream description parameter: the return code.

Input Description

dvpp_stream_desc: int, pointer address of the video stream description.

Call acl.media.dvpp_create_stream_desc to create data of the acldvppStreamDesc type in advance.

ret_code: int, return code.
  • If the return value is 0, the operation is successful.
  • Other values indicate failure.

Return Value

ret: int, error code.

Restrictions

None