Searched refs:equiv_rate (Results 1 – 3 of 3) sorted by relevance
936 opus_int32 equiv_rate; in opus_multistream_encode_native() local937 equiv_rate = st->bitrate_bps; in opus_multistream_encode_native()939 equiv_rate -= 60*(Fs/frame_size - 50)*st->layout.nb_channels; in opus_multistream_encode_native()940 if (equiv_rate > 10000*st->layout.nb_channels) in opus_multistream_encode_native()942 else if (equiv_rate > 7000*st->layout.nb_channels) in opus_multistream_encode_native()944 else if (equiv_rate > 5000*st->layout.nb_channels) in opus_multistream_encode_native()
960 opus_int32 equiv_rate; in opus_encode_native() local1094 equiv_rate = st->bitrate_bps - (40*st->channels+20)*(st->Fs/frame_size - 50); in opus_encode_native()1129 st->stream_channels = (equiv_rate > stereo_threshold) ? 2 : 1; in opus_encode_native()1135 equiv_rate = st->bitrate_bps - (40*st->stream_channels+20)*(st->Fs/frame_size - 50); in opus_encode_native()1179 st->mode = (equiv_rate >= threshold) ? MODE_CELT_ONLY: MODE_SILK_ONLY; in opus_encode_native()1262 equiv_rate2 = equiv_rate; in opus_encode_native()1337 if (equiv_rate <= 18000*st->stream_channels && st->mode == MODE_CELT_ONLY) in opus_encode_native()1339 else if (equiv_rate <= 24000*st->stream_channels && st->mode == MODE_CELT_ONLY) in opus_encode_native()1341 else if (equiv_rate <= 30000*st->stream_channels) in opus_encode_native()1343 else if (equiv_rate <= 44000*st->stream_channels) in opus_encode_native()[all …]
1379 opus_int32 equiv_rate = 510000; in celt_encode_with_ec() local1473 equiv_rate = st->bitrate - (40*C+20)*((400>>LM) - 50); in celt_encode_with_ec()1891 st->intensity = hysteresis_decision((opus_val16)(equiv_rate/1000), in celt_encode_with_ec()1927 target = compute_vbr(mode, &st->analysis, base_target, LM, equiv_rate, in celt_encode_with_ec()2011 if (equiv_rate < (opus_int32)32000*C) in celt_encode_with_ec()2013 else if (equiv_rate < (opus_int32)48000*C) in celt_encode_with_ec()2015 else if (equiv_rate < (opus_int32)60000*C) in celt_encode_with_ec()2017 else if (equiv_rate < (opus_int32)80000*C) in celt_encode_with_ec()