Function: vdec_get_channel_desc_param

Description

Obtains the description of a video decoding channel.

Prototype

  • C Prototype
    1
    aclError aclvdecGetChannelDescParam(const aclvdecChannelDesc *channelDesc, aclvdecChannelDescParamType paramType, size_t length, size_t *paramRetSize, void *param)
    
  • Python Function
    1
    paramRetSize, param, ret = acl.media.vdec_get_channel_desc_param(channelDesc, paramType)
    

Parameters

Parameter

Description

channelDesc

Int, pointer address of the description of a video decoding channel.

Before calling this API, 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 a video decoding channel.

paramType

Int, attribute parameter type. For details, see aclvdecChannelDescParamType.

Return Values

Return Value

Description

paramRetSize

Int, actual attribute value length.

param

Int, attribute parameter value.

ret

Int, error code: 0 on success; else, failure.