Function: vdec_get_channel_desc_ref_frame_num

C Prototype

uint32_t aclvdecGetChannelDescRefFrameNum(const aclvdecChannelDesc *channelDesc)

Python Function

ref_frame_num = acl.media.vdec_get_channel_desc_ref_frame_num(vdec_channel_desc)

Function Usage

Obtains the decoding channel description attribute: number of reference frames.

Input Description

vdec_channel_desc: int, description of the video decoding channel.

Return Value

ref_frame_num: int, number of reference frames. The value range is [0, 16].

In the current version of the Atlas 200/300/500 Inference Product, it is not supported to obtain this parameter value. The value obtained is invalid.

In the current version of the Atlas Training Series Product, it is not supported to obtain this parameter value. The value obtained is invalid.