Home
last modified time | relevance | path

Searched refs:OPUS_BANDWIDTH_NARROWBAND (Results 1 – 11 of 11) 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()
1192 st->detected_bandwidth = OPUS_BANDWIDTH_NARROWBAND; in opus_encode_native()
1230 int bw = st->bandwidth == 0 ? OPUS_BANDWIDTH_NARROWBAND : st->bandwidth; in opus_encode_native()
1267 bw=OPUS_BANDWIDTH_NARROWBAND; in opus_encode_native()
1489 } while (--bandwidth>OPUS_BANDWIDTH_NARROWBAND); in opus_encode_native()
1521 if (st->Fs <= 8000 && st->bandwidth > OPUS_BANDWIDTH_NARROWBAND) in opus_encode_native()
1522 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.c52 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.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/libopus/include/
Dopus_defines.h202 #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()