Home
last modified time | relevance | path

Searched refs:MODE_SILK_ONLY (Results 1 – 5 of 5) 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}
103 {MODE_SILK_ONLY, OPUS_BANDWIDTH_MEDIUMBAND, 960*3, 1},
104 {MODE_SILK_ONLY, OPUS_BANDWIDTH_MEDIUMBAND, 960*2, 1},
[all …]
Dopus_encoder.c283 if (mode == MODE_SILK_ONLY) in gen_toc()
825 if (mode == MODE_SILK_ONLY || mode == MODE_HYBRID) in compute_equiv_rate()
1234 tocmode = MODE_SILK_ONLY; in opus_encode_native()
1238 if (frame_rate==25 && tocmode!=MODE_SILK_ONLY) in opus_encode_native()
1248 if (out_data_bytes==1 || (tocmode==MODE_SILK_ONLY && frame_rate!=10)) in opus_encode_native()
1250 tocmode = MODE_SILK_ONLY; in opus_encode_native()
1263 if(tocmode==MODE_SILK_ONLY&&bw>OPUS_BANDWIDTH_WIDEBAND) in opus_encode_native()
1353 st->mode = MODE_SILK_ONLY; in opus_encode_native()
1358 st->mode = MODE_SILK_ONLY; in opus_encode_native()
1382 st->mode = (equiv_rate >= threshold) ? MODE_CELT_ONLY: MODE_SILK_ONLY; in opus_encode_native()
[all …]
Dopus_private.h60 #define MODE_SILK_ONLY 1000 macro
Dopus_decoder.c195 mode = MODE_SILK_ONLY; in opus_packet_get_mode()
290 else if (mode != MODE_SILK_ONLY && audiosize > F5 && audiosize < F10) in opus_decode_frame()
357 if( mode == MODE_SILK_ONLY ) { in opus_decode_frame()
483 if (mode != MODE_SILK_ONLY) in opus_decode_frame()
/external/libopus/tests/
Dtest_opus_encode.c425 … if(opus_encoder_ctl(enc, OPUS_SET_FORCE_MODE(MODE_SILK_ONLY+modes[j]))!=OPUS_OK)test_failed(); in run_test1()
488 …if(opus_multistream_encoder_ctl(MSenc, OPUS_SET_FORCE_MODE(MODE_SILK_ONLY+modes[j]))!=OPUS_OK)test… in run_test1()