Function: dvpp_set_stream_desc_eos

C Prototype

aclError acldvppSetStreamDescEos(acldvppStreamDesc *streamDesc, uint8_t eos)

Python Function

ret = acl.media.dvpp_set_stream_desc_eos(dvpp_stream_desc, eos)

Function Usage

Sets the video stream description parameter: whether the frame is the last frame.

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.

eos: int, whether the frame is the last frame.

  • 0: no
  • 1: yes

Return Value

ret: int, error code.

Restrictions

None