Searched refs:tonal (Results 1 – 3 of 3) sorted by relevance
143 void tonality_get_info(TonalityAnalysisState *tonal, AnalysisInfo *info_out, int len) in tonality_get_info() argument150 pos = tonal->read_pos; in tonality_get_info()151 curr_lookahead = tonal->write_pos-tonal->read_pos; in tonality_get_info()155 if (len > 480 && pos != tonal->write_pos) in tonality_get_info()161 if (pos == tonal->write_pos) in tonality_get_info()165 OPUS_COPY(info_out, &tonal->info[pos], 1); in tonality_get_info()166 tonal->read_subframe += len/120; in tonality_get_info()167 while (tonal->read_subframe>=4) in tonality_get_info()169 tonal->read_subframe -= 4; in tonality_get_info()170 tonal->read_pos++; in tonality_get_info()[all …]
81 void tonality_analysis(TonalityAnalysisState *tonal, AnalysisInfo *info,84 void tonality_get_info(TonalityAnalysisState *tonal, AnalysisInfo *info_out, int len);
1189 float tonal; in compute_vbr() local1192 tonal = MAX16(0.f,analysis->tonality-.15f)-0.09f; in compute_vbr()1193 tonal_target = target + (opus_int32)((coded_bins<<BITRES)*1.2f*tonal); in compute_vbr()