acl.himpi.venc_get_rc_param
C Prototype |
hi_s32 hi_mpi_venc_get_rc_param(hi_venc_chn chn, hi_venc_rc_param *rc_param); |
|---|---|
Python Function |
rc_param, ret = acl.himpi.venc_get_rc_param(chn, mode) |
Function Usage |
Obtains the advanced RC parameters of an encoding channel. The Atlas 200/300/500 Inference Product does not support this API in the current version. The Atlas Training Series Product does not support this API in the current version. |
Input 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 |
ret: int, error code.
rc_param: dict, advanced parameter dictionary of the encoding channel bit rate controller. For details, see hi_venc_rc_param. |
Restrictions |
This API must be called after an encoding channel is created and before the channel is destroyed. |