Searched refs:equiv_rate (Results 1 – 3 of 3) sorted by relevance
774 opus_int32 equiv_rate; in opus_multistream_encode_native() local775 equiv_rate = st->bitrate_bps; in opus_multistream_encode_native()777 equiv_rate -= 60*(Fs/frame_size - 50)*st->layout.nb_channels; in opus_multistream_encode_native()778 if (equiv_rate > 10000*st->layout.nb_channels) in opus_multistream_encode_native()780 else if (equiv_rate > 7000*st->layout.nb_channels) in opus_multistream_encode_native()782 else if (equiv_rate > 5000*st->layout.nb_channels) in opus_multistream_encode_native()
947 opus_int32 equiv_rate; in opus_encode_native() local1066 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()[all …]
1311 opus_int32 equiv_rate = 510000; in celt_encode_with_ec() local1403 equiv_rate = st->bitrate - (40*C+20)*((400>>LM) - 50); in celt_encode_with_ec()1819 st->intensity = hysteresis_decision((opus_val16)(equiv_rate/1000), in celt_encode_with_ec()1854 target = compute_vbr(mode, &st->analysis, base_target, LM, equiv_rate, in celt_encode_with_ec()1938 if (equiv_rate < (opus_int32)32000*C) in celt_encode_with_ec()1940 else if (equiv_rate < (opus_int32)48000*C) in celt_encode_with_ec()1942 else if (equiv_rate < (opus_int32)60000*C) in celt_encode_with_ec()1944 else if (equiv_rate < (opus_int32)80000*C) in celt_encode_with_ec()