Lines Matching refs:NB_TBANDS
109 static const int tbands[NB_TBANDS+1] = {
458 float band_tonality[NB_TBANDS]; in tonality_analysis()
459 float logE[NB_TBANDS]; in tonality_analysis()
474 int is_masked[NB_TBANDS+1]; in tonality_analysis()
484 float band_log2[NB_TBANDS+1]; in tonality_analysis()
485 float leakage_from[NB_TBANDS+1]; in tonality_analysis()
486 float leakage_to[NB_TBANDS+1]; in tonality_analysis()
623 for (b=0;b<NB_TBANDS;b++) in tonality_analysis()
647 for (b=0;b<NB_TBANDS;b++) in tonality_analysis()
719 if (b>=NB_TBANDS-NB_TONAL_SKIP_BANDS) in tonality_analysis()
720 frame_tonality -= band_tonality[b-NB_TBANDS+NB_TONAL_SKIP_BANDS]; in tonality_analysis()
722 max_frame_tonality = MAX16(max_frame_tonality, (1.f+.03f*(b-NB_TBANDS))*frame_tonality); in tonality_analysis()
730 for (b=1;b<NB_TBANDS+1;b++) in tonality_analysis()
736 for (b=NB_TBANDS-2;b>=0;b--) in tonality_analysis()
742 celt_assert(NB_TBANDS+1 <= LEAK_BANDS); in tonality_analysis()
743 for (b=0;b<NB_TBANDS+1;b++) in tonality_analysis()
765 for (k=0;k<NB_TBANDS;k++) in tonality_analysis()
776 spec_variability = (float)sqrt(spec_variability/NB_FRAMES/NB_TBANDS); in tonality_analysis()
784 for (b=0;b<NB_TBANDS;b++) in tonality_analysis()
849 if (bandwidth == 20 && is_masked[NB_TBANDS]) in tonality_analysis()
851 else if (bandwidth > 0 && bandwidth <= NB_TBANDS && is_masked[bandwidth-1]) in tonality_analysis()
876 frame_stationarity /= NB_TBANDS; in tonality_analysis()
877 relativeE /= NB_TBANDS; in tonality_analysis()
880 frame_noisiness /= NB_TBANDS; in tonality_analysis()
886 frame_tonality = (max_frame_tonality/(NB_TBANDS-NB_TONAL_SKIP_BANDS)); in tonality_analysis()