Lines Matching refs:equiv_rate
1089 opus_int32 equiv_rate; in opus_encode_native() local
1295 equiv_rate = compute_equiv_rate(st->bitrate_bps, st->channels, st->Fs/frame_size, in opus_encode_native()
1331 st->stream_channels = (equiv_rate > stereo_threshold) ? 2 : 1; in opus_encode_native()
1338 equiv_rate = compute_equiv_rate(st->bitrate_bps, st->stream_channels, st->Fs/frame_size, in opus_encode_native()
1383 st->mode = (equiv_rate >= threshold) ? MODE_CELT_ONLY: MODE_SILK_ONLY; in opus_encode_native()
1445 equiv_rate = compute_equiv_rate(st->bitrate_bps, st->stream_channels, st->Fs/frame_size, in opus_encode_native()
1487 if (equiv_rate >= threshold) in opus_encode_native()
1532 if (equiv_rate <= 18000*st->stream_channels && st->mode == MODE_CELT_ONLY) in opus_encode_native()
1534 else if (equiv_rate <= 24000*st->stream_channels && st->mode == MODE_CELT_ONLY) in opus_encode_native()
1536 else if (equiv_rate <= 30000*st->stream_channels) in opus_encode_native()
1538 else if (equiv_rate <= 44000*st->stream_channels) in opus_encode_native()
1548 st->silk_mode.LBRR_coded, st->mode, &st->bandwidth, equiv_rate); in opus_encode_native()
1959 if (equiv_rate > 32000) in opus_encode_native()
1961 else if (equiv_rate < 16000) in opus_encode_native()
1964 … st->silk_mode.stereoWidth_Q14 = 16384 - 2048*(opus_int32)(32000-equiv_rate)/(equiv_rate-14000); in opus_encode_native()