venc_get_rc_param
Applicability
Product |
Supported (√/x) |
|---|---|
x |
|
x |
|
x |
|
√ |
|
√ |
Function Usage
Obtains the advanced RC parameters of an encoding channel.
Prototype
- C Prototype
1hi_s32 hi_mpi_venc_get_rc_param(hi_venc_chn chn, hi_venc_rc_param *rc_param);
- Python Function
1rc_param, ret = acl.himpi.venc_get_rc_param(chn, mode)
Parameter Description
Parameter |
Description |
|---|---|
chn |
Int, encoding channel ID.
|
mode |
Int, mode of the bit rate controller of an encoding channel. For details, see hi_venc_rc_mode. |
Return Value Description
Return Value |
Description |
|---|---|
rc_param |
Dict, advanced parameter dictionary of the encoding channel bit rate controller. For details, see hi_venc_rc_param. |
ret |
Int, error code.
|
Restrictions
Call this API after an encoding channel is created and before the channel is destroyed.
Parent topic: VENC/JPEGE APIs