Lines Matching refs:Fs
161 … void *_x, opus_val32 *y, opus_val32 S[3], int subframe, int offset, int c1, int c2, int C, int Fs) in downmix_and_resample() argument
170 if (Fs == 48000) in downmix_and_resample()
174 } else if (Fs == 16000) { in downmix_and_resample()
192 if (Fs == 48000) in downmix_and_resample()
195 } else if (Fs == 24000) { in downmix_and_resample()
197 } else if (Fs == 16000) { in downmix_and_resample()
215 void tonality_analysis_init(TonalityAnalysisState *tonal, opus_int32 Fs) in tonality_analysis_init() argument
219 tonal->Fs = Fs; in tonality_analysis_init()
253 if (len > tonal->Fs/50 && pos != tonal->write_pos) in tonality_get_info()
396 tonal->read_subframe += len/(tonal->Fs/400); in tonality_get_info()
475 if (tonal->Fs == 48000) in tonality_analysis()
480 } else if (tonal->Fs == 16000) { in tonality_analysis()
490 IMIN(len, ANALYSIS_BUF_SIZE-tonal->mem_fill), offset, c1, c2, C, tonal->Fs); in tonality_analysis()
519 offset+ANALYSIS_BUF_SIZE-tonal->mem_fill, c1, c2, C, tonal->Fs); in tonality_analysis()
786 if (tonal->Fs == 48000) { in tonality_analysis()
917 int analysis_frame_size, int frame_size, int c1, int c2, int C, opus_int32 Fs, in run_analysis() argument
927 analysis_frame_size = IMIN((DETECT_SIZE-5)*Fs/50, analysis_frame_size); in run_analysis()
932 …tonality_analysis(analysis, celt_mode, analysis_pcm, IMIN(Fs/50, pcm_len), offset, c1, c2, C, lsb_… in run_analysis()
933 offset += Fs/50; in run_analysis()
934 pcm_len -= Fs/50; in run_analysis()