Function: vdec_get_channel_desc_param

C Prototype

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

Python Function

paramRetSize, param, ret = acl.media.vdec_get_channel_desc_param(channelDesc, paramType)

Function Usage

Obtains the attributes of the description of a video decoding channel.

Input Description

channelDesc: int, pointer address of the description of a video decoding channel.

Before calling this API, you must call acl.media.dvpp_create_channel_desc to create data of the aclvdecChannelDesc type and call acl.media.vdec_set_channel_desc_param to set the description attributes of the video encoding channel.

paramType: int, attribute parameter type. For details, see aclvdecChannelDescParamType.

Return Value

paramRetSize: int, actual attribute value length.

param: int, attribute parameter value.

ret: int, error code.

Restrictions

None