acl.himpi.venc_get_h265_vui

C Prototype

hi_s32 hi_mpi_venc_get_h265_vui(hi_venc_chn chn, hi_venc_h265_vui *h265_vui)

Python Function

h265_vui, ret = acl.himpi.venc_get_h265_vui(chn)

Function Usage

Obtains the VUI parameter settings of an H.265 channel.

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Input Description

chn: int, encoding channel ID.

Return Value

h265_vui: dict, dictionary of VUI attributes of an H.265 encoding channel. For details, see hi_venc_h265_vui.

ret: int, error code.

Restrictions

  • This MPI is used to obtain the VUI parameter settings of an H.265 VENC channel.
  • This API must be called after an encoding channel is created and before the channel is destroyed.
  • It is recommended that this API be called after an encoding channel is created and before encoding is started, to reduce the number of the API calls during encoding.
  • It is recommended that this API be called only in an H.265 encoding channel.