hi_mpi_venc_set_ref_param

Description

Sets the advanced frame skipping reference parameters of an H.264/H.265 encoding channel to change the inter-frame reference relationship. For details about the advanced frame skipping mode, see Advanced Frame Skipping Modes.

The Ascend 310 AI Processor does not support this API in the current version.

The Ascend 910 AI Processor does not support this API in the current version.

The Ascend 310P AI Processor does not support this API in the current version.

Restrictions

Prototype

hi_s32 hi_mpi_venc_set_ref_param(hi_venc_chn chn, const hi_venc_ref_param *ref_param)

Parameters

Parameter

Input/Output

Description

chn

Input

Encoding channel ID.

The value range of the encoding channel ID is [0, 256). The maximum number of channels is 256.

ref_param

Input

Pointer to the advanced frame skipping reference parameters for an H.264/H.265 encoding channel.

Returns

Advanced Frame Skipping Modes

The advanced frame skipping reference modes involve three parameters: base, enhance, and pred_en. For details about their meanings, see hi_venc_ref_param. The following figures show the advanced frame skipping reference modes.