Home
last modified time | relevance | path

Searched refs:OPUS_BANDWIDTH_NARROWBAND (Results 1 – 9 of 9) 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.c260 toc = (bandwidth-OPUS_BANDWIDTH_NARROWBAND)<<5; in gen_toc()
1014 st->detected_bandwidth = OPUS_BANDWIDTH_NARROWBAND; in opus_encode_native()
1039 int bw = st->bandwidth == 0 ? OPUS_BANDWIDTH_NARROWBAND : st->bandwidth; in opus_encode_native()
1049 bw=OPUS_BANDWIDTH_NARROWBAND; in opus_encode_native()
1270 } while (--bandwidth>OPUS_BANDWIDTH_NARROWBAND); in opus_encode_native()
1298 if (st->Fs <= 8000 && st->bandwidth > OPUS_BANDWIDTH_NARROWBAND) in opus_encode_native()
1299 st->bandwidth = OPUS_BANDWIDTH_NARROWBAND; in opus_encode_native()
1310 min_detected_bandwidth = OPUS_BANDWIDTH_NARROWBAND; in opus_encode_native()
1330 st->bandwidth = OPUS_BANDWIDTH_NARROWBAND; in opus_encode_native()
1501 if (st->bandwidth == OPUS_BANDWIDTH_NARROWBAND) in opus_encode_native()
[all …]
Dopus_decoder.c347 if( st->bandwidth == OPUS_BANDWIDTH_NARROWBAND ) { in opus_decode_frame()
424 case OPUS_BANDWIDTH_NARROWBAND: in opus_decode_frame()
896 bandwidth = OPUS_BANDWIDTH_NARROWBAND; in opus_packet_get_bandwidth()
902 bandwidth = OPUS_BANDWIDTH_NARROWBAND + ((data[0]>>5)&0x3); in opus_packet_get_bandwidth()
Dopus_multistream_encoder.c785 opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_BANDWIDTH_NARROWBAND)); in opus_multistream_encode_native()
/external/libopus/include/
Dopus_defines.h198 #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()
/external/libopus/tests/
Dtest_opus_encode.c275 bw=modes[j]==0?OPUS_BANDWIDTH_NARROWBAND+(fast_rand()%3): in run_test1()
277 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()