Function: vdec_set_channel_desc_param
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Sets the description of a video encoding channel.
Prototype
- C Prototype
1aclError aclvdecSetChannelDescParam(aclvdecChannelDesc *channelDesc, aclvdecChannelDescParamType paramType, size_t length, const void *param)
- Python Function
1channelDesc, ret = acl.media.vdec_set_channel_desc_param(channelDesc, paramType, param)
Parameter Description
Parameter |
Description |
|---|---|
channelDesc |
Int, pointer address of the description of a video decoding channel. Call acl.media.dvpp_create_channel_desc to create data of the aclvdecChannelDesc type in advance. |
paramType |
Int, attribute parameter type. For details, see aclvdecChannelDescParamType. |
param |
Int, pointer address of the attribute value. |
Return Value Description
Return Value |
Description |
|---|---|
channelDesc |
Int, description of the video decoding channel. |
ret |
Int, error code: 0 on success; else, failure. |
Parent topic: common