venc_get_h265_vui
Applicability
Product |
Supported (√/x) |
|---|---|
x |
|
x |
|
x |
|
√ |
|
√ |
Function Usage
Obtains the VUI parameter settings of an H.265 channel.
Prototype
- C Prototype
1hi_s32 hi_mpi_venc_get_h265_vui(hi_venc_chn chn, hi_venc_h265_vui *h265_vui)
- Python Function
1h265_vui, ret = acl.himpi.venc_get_h265_vui(chn)
Parameter Description
Parameter |
Description |
|---|---|
chn |
Int, encoding channel ID.
|
Return Value Description
Return Value |
Description |
|---|---|
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 API is used to obtain the VUI parameter settings of an H.265 VENC 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.265 encoding channel.
Parent topic: VENC/JPEGE APIs