hi_mpi_venc_set_rc_param
The
The Ascend 910 AI Processor does not support this API.
Description
Sets the advanced RC parameters of an encoding channel.
Restrictions
- This API must be called after an encoding channel is created and before the channel is destroyed.
- If this API is not called to set the advanced RC parameters of an encoding channel, the default advanced RC settings will be used.
- You are advised to first obtain the current advanced RC settings of the target channel by using hi_mpi_venc_get_rc_param and pass the updated settings to this API call.
Prototype
hi_s32 hi_mpi_venc_set_rc_param(hi_venc_chn chn, const hi_venc_rc_param *rc_param)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
chn |
Input |
Encoding channel ID. |
rc_param |
Input |
Pointer to the advanced RC parameters of an encoding channel. |
Returns
- 0: success
- Other values: failure. For details, see VENC/JPEGE Return Codes.
Parent topic: VENC/JPEGE