Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_demo.c92 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 960*3, 1},
93 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 960*2, 1},
94 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 960, 1},
95 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 480, 1},
96 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 960*3, 2},
97 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 960*2, 2},
98 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 960, 2},
99 {MODE_SILK_ONLY, OPUS_BANDWIDTH_NARROWBAND, 480, 2}
142 {MODE_CELT_ONLY, OPUS_BANDWIDTH_NARROWBAND, 960, 1},
147 {MODE_CELT_ONLY, OPUS_BANDWIDTH_NARROWBAND, 480, 1},
[all …]
Dopus_encoder.c285 toc = (bandwidth-OPUS_BANDWIDTH_NARROWBAND)<<5; in gen_toc()
743 LBRR_rate_thres_bps = fec_thresholds[2*(*bandwidth - OPUS_BANDWIDTH_NARROWBAND)]; in decide_fec()
744 hysteresis = fec_thresholds[2*(*bandwidth - OPUS_BANDWIDTH_NARROWBAND) + 1]; in decide_fec()
755 else if (*bandwidth > OPUS_BANDWIDTH_NARROWBAND) in decide_fec()
1191 st->detected_bandwidth = OPUS_BANDWIDTH_NARROWBAND; in opus_encode_native()
1229 int bw = st->bandwidth == 0 ? OPUS_BANDWIDTH_NARROWBAND : st->bandwidth; in opus_encode_native()
1266 bw=OPUS_BANDWIDTH_NARROWBAND; in opus_encode_native()
1488 } while (--bandwidth>OPUS_BANDWIDTH_NARROWBAND); in opus_encode_native()
1516 if (st->Fs <= 8000 && st->bandwidth > OPUS_BANDWIDTH_NARROWBAND) in opus_encode_native()
1517 st->bandwidth = OPUS_BANDWIDTH_NARROWBAND; in opus_encode_native()
[all …]
Dopus_decoder.c358 if( st->bandwidth == OPUS_BANDWIDTH_NARROWBAND ) { in opus_decode_frame()
435 case OPUS_BANDWIDTH_NARROWBAND: in opus_decode_frame()
948 bandwidth = OPUS_BANDWIDTH_NARROWBAND; in opus_packet_get_bandwidth()
954 bandwidth = OPUS_BANDWIDTH_NARROWBAND + ((data[0]>>5)&0x3); in opus_packet_get_bandwidth()
Dopus_multistream_encoder.c996 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.c51 info->fs = samp_freqs[bandwidth - OPUS_BANDWIDTH_NARROWBAND]; in ParseToc()
Dtest_opus_encode.c198 int max_bandwidths[6] = {OPUS_BANDWIDTH_NARROWBAND, OPUS_BANDWIDTH_MEDIUMBAND, in fuzz_encoder_settings()
431 bw=modes[j]==0?OPUS_BANDWIDTH_NARROWBAND+(fast_rand()%3): in run_test1()
433 OPUS_BANDWIDTH_NARROWBAND+(fast_rand()%5); in run_test1()
Dtest_opus_api.c282 bw=OPUS_BANDWIDTH_NARROWBAND+(((((bw&7)*9)&(63-(bw&8)))+2+12*((bw&8)!=0))>>4); in test_dec_api()
1222 i=OPUS_BANDWIDTH_NARROWBAND; in test_enc_api()
1240 if(err!=OPUS_OK || (i!=OPUS_BANDWIDTH_NARROWBAND&& in test_enc_api()
1257 i=OPUS_BANDWIDTH_NARROWBAND; in test_enc_api()
1275 if(err!=OPUS_OK || (i!=OPUS_BANDWIDTH_NARROWBAND&& in test_enc_api()
/external/libopus/include/
Dopus_defines.h199 #define OPUS_BANDWIDTH_NARROWBAND 1101 /**< 4 kHz bandpass @hideinitializer*/ macro
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Dopus_unittest.cc534 SetMaxPlaybackRate(opus_encoder_, OPUS_BANDWIDTH_NARROWBAND, 8000); in TEST_P()
535 SetMaxPlaybackRate(opus_encoder_, OPUS_BANDWIDTH_NARROWBAND, 4000); in TEST_P()
Dopus_interface.c183 set_bandwidth = OPUS_BANDWIDTH_NARROWBAND; in WebRtcOpus_SetMaxPlaybackRate()