Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_encoder.c1066 int tocmode = st->mode; in opus_encode_native() local
1068 if (tocmode==0) in opus_encode_native()
1069 tocmode = MODE_SILK_ONLY; in opus_encode_native()
1071 tocmode = MODE_CELT_ONLY; in opus_encode_native()
1073 tocmode = MODE_SILK_ONLY; in opus_encode_native()
1074 if(tocmode==MODE_SILK_ONLY&&bw>OPUS_BANDWIDTH_WIDEBAND) in opus_encode_native()
1076 else if (tocmode==MODE_CELT_ONLY&&bw==OPUS_BANDWIDTH_MEDIUMBAND) in opus_encode_native()
1078 else if (tocmode==MODE_HYBRID&&bw<=OPUS_BANDWIDTH_SUPERWIDEBAND) in opus_encode_native()
1080 data[0] = gen_toc(tocmode, frame_rate, bw, st->stream_channels); in opus_encode_native()