Searched refs:equiv_rate (Results 1 - 6 of 6) sorted by relevance
/external/chromium_org/third_party/opus/src/src/ |
H A D | opus_multistream_encoder.c | 774 opus_int32 equiv_rate; local 775 equiv_rate = st->bitrate_bps; 777 equiv_rate -= 60*(Fs/frame_size - 50)*st->layout.nb_channels; 778 if (equiv_rate > 10000*st->layout.nb_channels) 780 else if (equiv_rate > 7000*st->layout.nb_channels) 782 else if (equiv_rate > 5000*st->layout.nb_channels)
|
H A D | opus_encoder.c | 947 opus_int32 equiv_rate; local 1066 equiv_rate = st->bitrate_bps - (40*st->channels+20)*(st->Fs/frame_size - 50); 1101 st->stream_channels = (equiv_rate > stereo_threshold) ? 2 : 1; 1107 equiv_rate = st->bitrate_bps - (40*st->stream_channels+20)*(st->Fs/frame_size - 50); 1151 st->mode = (equiv_rate >= threshold) ? MODE_CELT_ONLY: MODE_SILK_ONLY; 1234 equiv_rate2 = equiv_rate; 1309 if (equiv_rate <= 18000*st->stream_channels && st->mode == MODE_CELT_ONLY) 1311 else if (equiv_rate <= 24000*st->stream_channels && st->mode == MODE_CELT_ONLY) 1313 else if (equiv_rate <= 30000*st->stream_channels) 1315 else if (equiv_rate < [all...] |
/external/libopus/src/ |
H A D | opus_multistream_encoder.c | 774 opus_int32 equiv_rate; local 775 equiv_rate = st->bitrate_bps; 777 equiv_rate -= 60*(Fs/frame_size - 50)*st->layout.nb_channels; 778 if (equiv_rate > 10000*st->layout.nb_channels) 780 else if (equiv_rate > 7000*st->layout.nb_channels) 782 else if (equiv_rate > 5000*st->layout.nb_channels)
|
H A D | opus_encoder.c | 947 opus_int32 equiv_rate; local 1066 equiv_rate = st->bitrate_bps - (40*st->channels+20)*(st->Fs/frame_size - 50); 1101 st->stream_channels = (equiv_rate > stereo_threshold) ? 2 : 1; 1107 equiv_rate = st->bitrate_bps - (40*st->stream_channels+20)*(st->Fs/frame_size - 50); 1151 st->mode = (equiv_rate >= threshold) ? MODE_CELT_ONLY: MODE_SILK_ONLY; 1234 equiv_rate2 = equiv_rate; 1309 if (equiv_rate <= 18000*st->stream_channels && st->mode == MODE_CELT_ONLY) 1311 else if (equiv_rate <= 24000*st->stream_channels && st->mode == MODE_CELT_ONLY) 1313 else if (equiv_rate <= 30000*st->stream_channels) 1315 else if (equiv_rate < [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
H A D | celt_encoder.c | 1311 opus_int32 equiv_rate = 510000; local 1403 equiv_rate = st->bitrate - (40*C+20)*((400>>LM) - 50); 1819 st->intensity = hysteresis_decision((opus_val16)(equiv_rate/1000), 1854 target = compute_vbr(mode, &st->analysis, base_target, LM, equiv_rate, 1938 if (equiv_rate < (opus_int32)32000*C) 1940 else if (equiv_rate < (opus_int32)48000*C) 1942 else if (equiv_rate < (opus_int32)60000*C) 1944 else if (equiv_rate < (opus_int32)80000*C)
|
/external/libopus/celt/ |
H A D | celt_encoder.c | 1311 opus_int32 equiv_rate = 510000; local 1403 equiv_rate = st->bitrate - (40*C+20)*((400>>LM) - 50); 1819 st->intensity = hysteresis_decision((opus_val16)(equiv_rate/1000), 1854 target = compute_vbr(mode, &st->analysis, base_target, LM, equiv_rate, 1938 if (equiv_rate < (opus_int32)32000*C) 1940 else if (equiv_rate < (opus_int32)48000*C) 1942 else if (equiv_rate < (opus_int32)60000*C) 1944 else if (equiv_rate < (opus_int32)80000*C)
|
Completed in 165 milliseconds