Function: dvpp_set_stream_desc_format

Description

Sets the video stream description parameter: the video stream format.

Prototype

  • C Prototype
    1
    aclError acldvppSetStreamDescFormat(acldvppStreamDesc *streamDesc, acldvppStreamFormat format)
    
  • Python Function
    1
    ret = acl.media.dvpp_set_stream_desc_format(dvpp_stream_desc, format)
    

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.

format

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

Return Value

Return Value

Description

ret

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