Lines Matching refs:logE
436 float logE[NB_TBANDS]; in tonality_analysis() local
636 logE[b] = (float)log(E+1e-10f); in tonality_analysis()
638 tonal->logE[tonal->E_count][b] = logE[b]; in tonality_analysis()
640 tonal->highE[b] = tonal->lowE[b] = logE[b]; in tonality_analysis()
643 if (tonal->highE[b] - logE[b] > logE[b] - tonal->lowE[b]) in tonality_analysis()
648 if (logE[b] > tonal->highE[b]) in tonality_analysis()
650 tonal->highE[b] = logE[b]; in tonality_analysis()
652 } else if (logE[b] < tonal->lowE[b]) in tonality_analysis()
654 tonal->lowE[b] = logE[b]; in tonality_analysis()
657 relativeE += (logE[b]-tonal->lowE[b])/(1e-15f + (tonal->highE[b]-tonal->lowE[b])); in tonality_analysis()
729 tmp = tonal->logE[i][k] - tonal->logE[j][k]; in tonality_analysis()
826 sum += dct_table[i*16+b]*logE[b]; in tonality_analysis()