Function: dvpp_destroy_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

Destroys the description of a video stream. Only the video stream description created by calling acl.media.dvpp_create_stream_desc can be destroyed.

Prototype

  • C Prototype
    1
    aclError acldvppDestroyStreamDesc(acldvppStreamDesc *streamDesc)
    
  • Python Function
    1
    ret = acl.media.dvpp_destroy_stream_desc(dvpp_stream_desc)
    

Parameters

Parameter

Description

dvpp_stream_desc

Int, pointer address of the description of the video stream to be destroyed.

Return Value

Return Value

Description

ret

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