hi_mpi_venc_get_h264_vui
The
The
Description
Obtains the VUI configurations of an H.264 encoding channel.
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.
Prototype
hi_s32 hi_mpi_venc_get_h264_vui(hi_venc_chn chn, hi_venc_h264_vui *h264_vui)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
chn |
Input |
Encoding channel ID. |
h264_vui |
Output |
VUI attributes of an H.264 encoding channel. |
Returns
- 0: success
- Other values: failure. For details, see VENC/JPEGE Return Codes.
Parent topic: VENC/JPEGE