Lines Matching refs:bitRate
202 st->silk_mode.bitRate = 25000; in opus_encoder_init()
1467 … st->silk_mode.bitRate = st->stream_channels * ( 5000 + 1000 * ( st->Fs == 100 * frame_size ) ); in opus_encode_native()
1470 st->silk_mode.bitRate += ( total_bitRate - st->silk_mode.bitRate ) * 2 / 3; in opus_encode_native()
1473 st->silk_mode.bitRate += ( total_bitRate - st->silk_mode.bitRate ) * 3 / 5; in opus_encode_native()
1476 if( st->silk_mode.bitRate > total_bitRate * 4/5 ) { in opus_encode_native()
1477 st->silk_mode.bitRate = total_bitRate * 4/5; in opus_encode_native()
1482 celt_rate = total_bitRate - st->silk_mode.bitRate; in opus_encode_native()
1489 st->silk_mode.bitRate = total_bitRate; in opus_encode_native()
1526 rate_offset = MAX32(rate_offset, -2*st->silk_mode.bitRate/3); in opus_encode_native()
1529 st->silk_mode.bitRate += 3*rate_offset/5; in opus_encode_native()
1531 st->silk_mode.bitRate += rate_offset; in opus_encode_native()
1584 st->silk_mode.maxBits = (st->silk_mode.bitRate * frame_size / (st->Fs * 8))*8; in opus_encode_native()
1586 st->silk_mode.bitRate = IMAX(1, st->silk_mode.bitRate-2000); in opus_encode_native()
1697 … nb_compr_bytes = len + bytes_target - (st->silk_mode.bitRate * frame_size) / (8 * st->Fs); in opus_encode_native()