Lines Matching refs:equiv_rate
947 opus_int32 equiv_rate; in opus_encode_native() local
1066 equiv_rate = st->bitrate_bps - (40*st->channels+20)*(st->Fs/frame_size - 50); in opus_encode_native()
1101 st->stream_channels = (equiv_rate > stereo_threshold) ? 2 : 1; in opus_encode_native()
1107 equiv_rate = st->bitrate_bps - (40*st->stream_channels+20)*(st->Fs/frame_size - 50); in opus_encode_native()
1151 st->mode = (equiv_rate >= threshold) ? MODE_CELT_ONLY: MODE_SILK_ONLY; in opus_encode_native()
1234 equiv_rate2 = equiv_rate; in opus_encode_native()
1309 if (equiv_rate <= 18000*st->stream_channels && st->mode == MODE_CELT_ONLY) in opus_encode_native()
1311 else if (equiv_rate <= 24000*st->stream_channels && st->mode == MODE_CELT_ONLY) in opus_encode_native()
1313 else if (equiv_rate <= 30000*st->stream_channels) in opus_encode_native()
1315 else if (equiv_rate <= 44000*st->stream_channels) in opus_encode_native()
1747 st->silk_mode.stereoWidth_Q14 = IMIN((1<<14),2*IMAX(0,equiv_rate-30000)); in opus_encode_native()