Function: vdec_get_channel_desc_ref_frame_num

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

x

Atlas A3 products

√

Atlas A2 products

√

Atlas training products

√

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

Description

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

Prototype

  • C Prototype
    1
    uint32_t aclvdecGetChannelDescRefFrameNum(const aclvdecChannelDesc *channelDesc)
    
  • Python Function
    1
    ref_frame_num = acl.media.vdec_get_channel_desc_ref_frame_num(vdec_channel_desc)
    

Parameters

Parameter

Description

vdec_channel_desc

Int, description of the video decoding channel.

Return Values

Return Value

Description

ref_frame_num

Int, number of reference frames. The value range is [0, 16].

Atlas training products do not support obtaining this parameter value. Any obtained value is invalid.