Home
last modified time | relevance | path

Searched refs:MODE_SILK_ONLY (Results 1 – 5 of 5) 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}
96 {MODE_SILK_ONLY, OPUS_BANDWIDTH_MEDIUMBAND, 960*3, 1},
97 {MODE_SILK_ONLY, OPUS_BANDWIDTH_MEDIUMBAND, 960*2, 1},
[all …]
Dopus_encoder.c283 if (mode == MODE_SILK_ONLY) in gen_toc()
818 if (mode == MODE_SILK_ONLY || mode == MODE_HYBRID) in compute_equiv_rate()
1230 tocmode = MODE_SILK_ONLY; in opus_encode_native()
1234 if (frame_rate==25 && tocmode!=MODE_SILK_ONLY) in opus_encode_native()
1244 if (out_data_bytes==1 || (tocmode==MODE_SILK_ONLY && frame_rate!=10)) in opus_encode_native()
1246 tocmode = MODE_SILK_ONLY; in opus_encode_native()
1259 if(tocmode==MODE_SILK_ONLY&&bw>OPUS_BANDWIDTH_WIDEBAND) in opus_encode_native()
1357 st->mode = MODE_SILK_ONLY; in opus_encode_native()
1362 st->mode = MODE_SILK_ONLY; in opus_encode_native()
1386 st->mode = (equiv_rate >= threshold) ? MODE_CELT_ONLY: MODE_SILK_ONLY; in opus_encode_native()
[all …]
Dopus_private.h108 #define MODE_SILK_ONLY 1000 macro
Dopus_decoder.c215 mode = MODE_SILK_ONLY; in opus_packet_get_mode()
313 else if (mode != MODE_SILK_ONLY && audiosize > F5 && audiosize < F10) in opus_decode_frame()
380 if( mode == MODE_SILK_ONLY ) { in opus_decode_frame()
511 if (mode != MODE_SILK_ONLY) in opus_decode_frame()
/external/libopus/tests/
Dtest_opus_encode.c427 … if(opus_encoder_ctl(enc, OPUS_SET_FORCE_MODE(MODE_SILK_ONLY+modes[j]))!=OPUS_OK)test_failed(); in run_test1()
490 …if(opus_multistream_encoder_ctl(MSenc, OPUS_SET_FORCE_MODE(MODE_SILK_ONLY+modes[j]))!=OPUS_OK)test… in run_test1()