Home
last modified time | relevance | path

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

/external/libopus/src/
Danalysis.c258 tonality_max = tonality_avg = info_out->tonality; in tonality_get_info()
268 tonality_max = MAX32(tonality_max, tonal->info[pos].tonality); in tonality_get_info()
269 tonality_avg += tonal->info[pos].tonality; in tonality_get_info()
272 info_out->tonality = MAX32(tonality_avg/tonality_count, tonality_max-.2f); in tonality_get_info()
325 VARDECL(float, tonality); in tonality_analysis()
397 ALLOC(tonality, 240, float); in tonality_analysis()
455 tonality[i] = 1.f/(1.f+40.f*16.f*pi4*avg_mod)-.015f; in tonality_analysis()
466 tonality[i] = .9f*MAX32(tonality[i], tt-.1f); in tonality_analysis()
511 tE += binE*MAX32(0, tonality[i]); in tonality_analysis()
727 info->tonality = frame_tonality; in tonality_analysis()
[all …]
/external/aac/libSBRenc/src/
Dtran_det.h190 int timeStep, int no_cols, FIXP_DBL *tonality);
Dtran_det.cpp397 int timeStep, int no_cols, FIXP_DBL *tonality) { in FDKsbrEnc_frameSplitter() argument
448 *tonality = FL2FXCONST_DBL(0.0f); in FDKsbrEnc_frameSplitter()
Denv_est.cpp1061 FIXP_DBL tonality = FDKsbrEnc_GetTonality( in FDKsbrEnc_extractSbrEnvelope1() local
1070 hEnvChan->encEnvData.ton_HF[0] = tonality; in FDKsbrEnc_extractSbrEnvelope1()
/external/libopus/celt/
Dcelt.h57 float tonality; member
Dcelt_encoder.c1297 tonal = MAX16(0.f,analysis->tonality-.15f)-0.12f; in compute_vbr()
1607 …5) || st->prefilter_gain > QCONST16(.4f,15)) && (!st->analysis.valid || st->analysis.tonality > .3) in celt_encode_with_ec()
1889 …st->spread_decision = hysteresis_decision(-st->analysis.tonality, spread_thresholds, spread_hister… in celt_encode_with_ec()