hi_mpi_venc_get_h264_vui
Applicable Products
Product |
Supported |
|---|---|
☓ |
|
☓ |
|
☓ |
|
√ |
|
√ |
|
☓ |
Function
Obtains the VUI configurations of 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.
Restrictions
- This API must be called after a VENC channel is created and before the channel is destroyed.
- You are advised to call this API after creating a channel but before starting encoding. This reduces the number of times of calling this API during encoding.
- It is recommended that this API be called only in an H.264 encoding channel.