hi_mpi_venc_set_h265_vui

Description

Sets the VUI parameters of an H.265 encoding channel.

The VUI parameters mainly include the format information of the decoded image, such as the sampling aspect ratio, optical-to-electrical conversion, and color space. The VUI parameters are optional in the protocol and do not affect the video decoding process. However, it is recommended that the decoder perform correction.

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.

Restrictions

Prototype

hi_s32 hi_mpi_venc_set_h265_vui(hi_venc_chn chn, const hi_venc_h265_vui *h265_vui)

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.

h265_vui

Input

VUI parameter of an H.265 encoding channel.

Returns