Function: dvpp_create_stream_desc

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

Creates data of the acldvppStreamDesc type as a video stream description.

To destroy data of the acldvppStreamDesc type, see acl.media.dvpp_destroy_stream_desc.

Prototype

  • C Prototype
    1
    acldvppStreamDesc *acldvppCreateStreamDesc()
    
  • Python Function
    1
    dvpp_stream_desc = acl.media.dvpp_create_stream_desc()
    

Parameters

Parameter

Description

dvpp_stream_desc

Int, pointer address of the acldvppStreamDesc type.

  • A value other than 0 indicates success.
  • 0 indicates failure.

Return Value

Return Value

Description

ret

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