Home
last modified time | relevance | path

Searched refs:OPUS_BANDWIDTH_NARROWBAND (Results 1 – 17 of 17) sorted by relevance

/external/libopus/src/
Dopus_demo.c85 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 960*3, 1},
86 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 960*2, 1},
87 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 960, 1},
88 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 480, 1},
89 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 960*3, 2},
90 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 960*2, 2},
91 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 960, 2},
92 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 480, 2}
135 {MODE_CELT_ONLY, OPUS_BANDWIDTH_NARROWBAND, 960, 1},
140 {MODE_CELT_ONLY, OPUS_BANDWIDTH_NARROWBAND, 480, 1},
[all …]
Dopus_encoder.c285 toc = (bandwidth-OPUS_BANDWIDTH_NARROWBAND)<<5; in gen_toc()
729 LBRR_rate_thres_bps = fec_thresholds[2*(*bandwidth - OPUS_BANDWIDTH_NARROWBAND)]; in decide_fec()
730 hysteresis = fec_thresholds[2*(*bandwidth - OPUS_BANDWIDTH_NARROWBAND) + 1]; in decide_fec()
741 else if (*bandwidth > OPUS_BANDWIDTH_NARROWBAND) in decide_fec()
1187 st->detected_bandwidth = OPUS_BANDWIDTH_NARROWBAND; in opus_encode_native()
1225 int bw = st->bandwidth == 0 ? OPUS_BANDWIDTH_NARROWBAND : st->bandwidth; in opus_encode_native()
1262 bw=OPUS_BANDWIDTH_NARROWBAND; in opus_encode_native()
1486 } while (--bandwidth>OPUS_BANDWIDTH_NARROWBAND); in opus_encode_native()
1518 if (st->Fs <= 8000 && st->bandwidth > OPUS_BANDWIDTH_NARROWBAND) in opus_encode_native()
1519 st->bandwidth = OPUS_BANDWIDTH_NARROWBAND; in opus_encode_native()
[all …]
Dopus_decoder.c381 if( bandwidth == OPUS_BANDWIDTH_NARROWBAND ) { in opus_decode_frame()
474 case OPUS_BANDWIDTH_NARROWBAND: in opus_decode_frame()
979 bandwidth = OPUS_BANDWIDTH_NARROWBAND; in opus_packet_get_bandwidth()
985 bandwidth = OPUS_BANDWIDTH_NARROWBAND + ((data[0]>>5)&0x3); in opus_packet_get_bandwidth()
Dopus_multistream_encoder.c911 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_NARROWBAND)); in opus_multistream_encode_native()
/external/libopus/tests/
Dopus_encode_regressions.c62 opus_multistream_encoder_ctl(enc, OPUS_SET_MAX_BANDWIDTH(OPUS_BANDWIDTH_NARROWBAND)); in celt_ec_internal_error()
268 opus_multistream_encoder_ctl(enc, OPUS_SET_MAX_BANDWIDTH(OPUS_BANDWIDTH_NARROWBAND)); in celt_ec_internal_error()
325 opus_multistream_encoder_ctl(enc, OPUS_SET_MAX_BANDWIDTH(OPUS_BANDWIDTH_NARROWBAND)); in mscbr_encode_fail10()
413 opus_multistream_encoder_ctl(enc, OPUS_SET_MAX_BANDWIDTH(OPUS_BANDWIDTH_NARROWBAND)); in surround_analysis_uninit()
414 opus_multistream_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_NARROWBAND)); in surround_analysis_uninit()
753 opus_multistream_encoder_ctl(enc, OPUS_SET_MAX_BANDWIDTH(OPUS_BANDWIDTH_NARROWBAND)); in surround_analysis_uninit()
1009 opus_encoder_ctl(enc, OPUS_SET_MAX_BANDWIDTH(OPUS_BANDWIDTH_NARROWBAND)); in silk_gain_assert()
Dopus_decode_fuzzer.c54 info->fs = samp_freqs[bandwidth - OPUS_BANDWIDTH_NARROWBAND]; in ParseToc()
Dtest_opus_encode.c200 int max_bandwidths[6] = {OPUS_BANDWIDTH_NARROWBAND, OPUS_BANDWIDTH_MEDIUMBAND, in fuzz_encoder_settings()
433 bw=modes[j]==0?OPUS_BANDWIDTH_NARROWBAND+(fast_rand()%3): in run_test1()
435 OPUS_BANDWIDTH_NARROWBAND+(fast_rand()%5); in run_test1()
Dtest_opus_api.c283 bw=OPUS_BANDWIDTH_NARROWBAND+(((((bw&7)*9)&(63-(bw&8)))+2+12*((bw&8)!=0))>>4); in test_dec_api()
1220 i=OPUS_BANDWIDTH_NARROWBAND; in test_enc_api()
1238 if(err!=OPUS_OK || (i!=OPUS_BANDWIDTH_NARROWBAND&& in test_enc_api()
1255 i=OPUS_BANDWIDTH_NARROWBAND; in test_enc_api()
1273 if(err!=OPUS_OK || (i!=OPUS_BANDWIDTH_NARROWBAND&& in test_enc_api()
/external/webrtc/modules/audio_coding/codecs/opus/
Dopus_unittest.cc597 WebRtcOpus_SetBandwidth(opus_encoder_, OPUS_BANDWIDTH_NARROWBAND)); in TEST_P()
607 OPUS_BANDWIDTH_NARROWBAND - 1)); in TEST_P()
609 WebRtcOpus_SetBandwidth(opus_encoder_, OPUS_BANDWIDTH_NARROWBAND)); in TEST_P()
612 EXPECT_EQ(OPUS_BANDWIDTH_NARROWBAND, WebRtcOpus_GetBandwidth(opus_encoder_)); in TEST_P()
793 SetMaxPlaybackRate(opus_encoder_, OPUS_BANDWIDTH_NARROWBAND, 8000); in TEST_P()
794 SetMaxPlaybackRate(opus_encoder_, OPUS_BANDWIDTH_NARROWBAND, 4000); in TEST_P()
Dopus_speed_test.cc119 ADD_BANDWIDTH_TEST(OPUS_BANDWIDTH_NARROWBAND)
Daudio_encoder_opus.cc308 bandwidth > OPUS_BANDWIDTH_NARROWBAND) { in GetNewBandwidth()
309 return absl::optional<int>(OPUS_BANDWIDTH_NARROWBAND); in GetNewBandwidth()
Dopus_interface.cc223 set_bandwidth = OPUS_BANDWIDTH_NARROWBAND; in WebRtcOpus_SetMaxPlaybackRate()
Daudio_encoder_opus_unittest.cc470 EXPECT_EQ(absl::optional<int>(OPUS_BANDWIDTH_NARROWBAND), bandwidth); in TEST_P()
/external/libopus/fuzzer/
Dopus_dec_fuzzer.cpp70 int samplingRateIndex = bandwidth - OPUS_BANDWIDTH_NARROWBAND; in initDecoder()
Dopus_enc_fuzzer.cpp68 constexpr int kMaxBandwidths[] = {OPUS_BANDWIDTH_NARROWBAND, OPUS_BANDWIDTH_MEDIUMBAND,
DREADME.md109 | `maxBandwidth` | 0.`OPUS_BANDWIDTH_NARROWBAND ` 1.`OPUS_BANDWIDTH_MEDIUMBAND ` 2.`OPUS_BANDWIDT…
/external/libopus/include/
Dopus_defines.h203 #define OPUS_BANDWIDTH_NARROWBAND 1101 /**< 4 kHz bandpass @hideinitializer*/ macro