Function: dvpp_get_stream_desc_ret_code

Applicability

Product

Supported (√/x)

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas training products

Atlas inference products

Atlas 200I/500 A2 inference products

Function Usage

Obtains the video stream description parameter: the return code.

Prototype

  • C Prototype
    1
    uint32_t acldvppGetStreamDescRetCode(const acldvppStreamDesc *streamDesc)
    
  • Python Function
    1
    ret_code = acl.media.dvpp_get_stream_desc_ret_code(dvpp_stream_desc)
    

Parameter Description

Parameter

Description

dvpp_stream_desc

Int, pointer address of the video stream description.

Return Value Description

Return Value

Description

ret_code

Int, return code.

  • 0: success
  • Other values: failure