Function: dvpp_set_stream_desc_format
Applicability
Product |
Supported (Yes/No) |
|---|---|
Atlas 350 Accelerator Card |
x |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
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)
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. |
Parent topic: common