Function: vdec_set_channel_desc_out_mode
Applicability
Product |
Supported |
|---|---|
x |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Sets the decoding channel description attribute: whether to output frames in real time.
Prototype
- C Prototype
1aclError aclvdecSetChannelDescOutMode(aclvdecChannelDesc *channelDesc, uint32_t outMode)
- Python Function
1ret = acl.media.vdec_set_channel_desc_out_mode(vdec_channel_desc, out_mode)
Parameters
Parameter |
Description |
|---|---|
vdec_channel_desc |
Int, description of the video decoding channel. Call acl.media.vdec_create_channel_desc to create data of the aclvdecChannelDesc type in advance. |
out_mode |
int, setting whether to output frames in real time (that is, decoding one frame at a time, without the need to wait for subsequent frames). The options are as follows:
|
Return Value
Return Value |
Description |
|---|---|
ret |
Int, error code. 0 on success; else, failure. |