hi_mpi_venc_set_h264_vui

Description

Sets the video usability information (VUI) parameters of an H.264 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_h264_vui(hi_venc_chn chn, const hi_venc_h264_vui *h264_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.

h264_vui

Input

VUI parameter of an H.264 encoding channel.

Returns