Searched refs:total_bitRate (Results 1 – 1 of 1) sorted by relevance
1480 opus_int32 total_bitRate, celt_rate; in opus_encode_native() local1489 total_bitRate = 8 * bytes_target * frame_rate; in opus_encode_native()1496 st->silk_mode.bitRate += ( total_bitRate - st->silk_mode.bitRate ) * 2 / 3; in opus_encode_native()1499 st->silk_mode.bitRate += ( total_bitRate - st->silk_mode.bitRate ) * 3 / 5; in opus_encode_native()1502 if( st->silk_mode.bitRate > total_bitRate * 4/5 ) { in opus_encode_native()1503 st->silk_mode.bitRate = total_bitRate * 4/5; in opus_encode_native()1506 celt_rate = total_bitRate - st->silk_mode.bitRate; in opus_encode_native()1512 st->silk_mode.bitRate = total_bitRate; in opus_encode_native()