venc_get_h265_vui
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
x |
x |
|
x |
|
x |
|
√ |
|
√ |
Description
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)
Parameters
Parameter |
Description |
|---|---|
chn |
Int, encoding channel ID.
|
Return Value
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 configuration of an H.265 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.265 encoding channel.
Parent topic: VENC/JPEGE APIs