Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_encoder.c1229 int tocmode = st->mode; in opus_encode_native() local
1234 if (tocmode==0) in opus_encode_native()
1235 tocmode = MODE_SILK_ONLY; in opus_encode_native()
1237 tocmode = MODE_CELT_ONLY; in opus_encode_native()
1239 if (frame_rate==25 && tocmode!=MODE_SILK_ONLY) in opus_encode_native()
1249 if (out_data_bytes==1 || (tocmode==MODE_SILK_ONLY && frame_rate!=10)) in opus_encode_native()
1251 tocmode = MODE_SILK_ONLY; in opus_encode_native()
1264 if(tocmode==MODE_SILK_ONLY&&bw>OPUS_BANDWIDTH_WIDEBAND) in opus_encode_native()
1266 else if (tocmode==MODE_CELT_ONLY&&bw==OPUS_BANDWIDTH_MEDIUMBAND) in opus_encode_native()
1268 else if (tocmode==MODE_HYBRID&&bw<=OPUS_BANDWIDTH_SUPERWIDEBAND) in opus_encode_native()
[all …]