Function: vdec_set_channel_desc_param

C Prototype

aclError aclvdecSetChannelDescParam(aclvdecChannelDesc *channelDesc, aclvdecChannelDescParamType paramType, size_t length, const void *param)

Python Function

channelDesc, ret = acl.media.vdec_set_channel_desc_param(channelDesc, paramType, param)

Function Usage

Sets the description of a video encoding channel.

Input 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

channelDesc: int, description of the video decoding channel.

ret: int, error code.

Restrictions

None