acl.himpi.venc_get_h264_vui

C Prototype

hi_s32 hi_mpi_venc_get_h264_vui(hi_venc_chn chn, hi_venc_h264_vui *h264_vui)

Python Function

h264_vui, ret = acl.himpi.venc_get_h264_vui(chn)

Function Usage

Obtains the VUI configurations of an H.264 encoding 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

h264_vui: dict, VUI attributes of an H.264 encoding channel. For details, see hi_venc_h264_vui.

ret: int, error code.

Restrictions

  • This API is used to obtain the VUI configurations of an H.264 encoding 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.264 encoding channel.