Function: dvpp_get_stream_desc_format

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 video stream format.

Prototype

  • C Prototype
    1
    acldvppStreamFormat acldvppGetStreamDescFormat(const acldvppStreamDesc *streamDesc)
    
  • Python Function
    1
    format = acl.media.dvpp_get_stream_desc_format(dvpp_stream_desc)
    

Parameter Description

Parameter

Description

dvpp_stream_desc

Int, pointer address of the video stream description.

Return Value Description

Return Value

Description

format

Int, video stream format (H.264/H.265). For details, see acldvppStreamFormat.