Function: dvpp_set_stream_desc_eos

Applicability

Product

Supported (Yes/No)

Atlas 350 Accelerator Card

x

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas training product

Atlas inference product

Atlas 200I/500 A2 inference product

Description

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

Prototype

  • C Prototype
    1
    aclError acldvppSetStreamDescEos(acldvppStreamDesc *streamDesc, uint8_t eos)
    
  • Python Function
    1
    ret = acl.media.dvpp_set_stream_desc_eos(dvpp_stream_desc, eos)
    

Parameters

Parameter

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, EOS flag.

  • 0: no
  • 1: yes

Return Value

Return Value

Description

ret

Int, error code. 0 on success; else, failure.