Lines Matching refs:DETECT_SIZE
166 curr_lookahead += DETECT_SIZE; in tonality_get_info()
171 if (pos==DETECT_SIZE) in tonality_get_info()
177 pos = DETECT_SIZE-1; in tonality_get_info()
185 if (tonal->read_pos>=DETECT_SIZE) in tonality_get_info()
186 tonal->read_pos-=DETECT_SIZE; in tonality_get_info()
195 for (i=0;i<DETECT_SIZE-curr_lookahead;i++) in tonality_get_info()
197 for (;i<DETECT_SIZE;i++) in tonality_get_info()
259 if (tonal->write_pos>=DETECT_SIZE) in tonality_analysis()
260 tonal->write_pos-=DETECT_SIZE; in tonality_analysis()
582 for (i=1;i<DETECT_SIZE-1;i++) in tonality_analysis()
588 tonal->pspeech[DETECT_SIZE-1] = m0*tau*speech0; in tonality_analysis()
590 tonal->pmusic [DETECT_SIZE-1] = s0*tau*music0; in tonality_analysis()
593 for (i=0;i<DETECT_SIZE;i++) in tonality_analysis()
596 for (i=0;i<DETECT_SIZE;i++) in tonality_analysis()
602 for (i=1;i<DETECT_SIZE;i++) in tonality_analysis()
656 analysis_frame_size = IMIN((DETECT_SIZE-5)*Fs/100, analysis_frame_size); in run_analysis()