venc_get_h264_vui
Applicability
Product |
Supported (√/x) |
|---|---|
x |
|
x |
|
x |
|
√ |
|
√ |
Function Usage
Obtains the VUI configurations of an H.264 encoding channel.
Prototype
- C Prototype
1hi_s32 hi_mpi_venc_get_h264_vui(hi_venc_chn chn, hi_venc_h264_vui *h264_vui)
- Python Function
1h264_vui, ret = acl.himpi.venc_get_h264_vui(chn)
Parameter Description
Parameter |
Description |
|---|---|
chn |
Int, encoding channel ID.
|
Return Value Description
Return Value |
Description |
|---|---|
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.
- Call this API after an encoding channel is created and before the channel is destroyed.
- You are advised to call this MPI after creating a channel but before starting encoding. This reduces the number of times of calling this MPI during encoding.
- Call this API only in an H.264 encoding channel.
Parent topic: VENC/JPEGE APIs