Function: dvpp_set_stream_desc_format

C Prototype

aclError acldvppSetStreamDescFormat(acldvppStreamDesc *streamDesc, acldvppStreamFormat format)

Python Function

ret = acl.media.dvpp_set_stream_desc_format(dvpp_stream_desc, format)

Function Usage

Sets the video stream description parameter: the video stream format.

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.

format: int, video stream format (H.264/H.265). For details, see acldvppStreamFormat.

Return Value

ret: int, error code.

Restrictions

None