Function: dvpp_set_stream_desc_format
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Sets the video stream description parameter: the video stream format.
Prototype
- C Prototype
1aclError acldvppSetStreamDescFormat(acldvppStreamDesc *streamDesc, acldvppStreamFormat format)
- Python Function
1ret = acl.media.dvpp_set_stream_desc_format(dvpp_stream_desc, format)
Parameter Description
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 Description
Return Value |
Description |
|---|---|
ret |
Int, error code: 0 on success; else, failure. |
Parent topic: common