Home | History | Annotate | Download | only in celt

Lines Matching refs:Fs

90 static opus_int16 *compute_ebands(opus_int32 Fs, int frame_size, int res, int *nbEBands)
96 if (Fs == 400*(opus_int32)frame_size)
106 if (bark_freq[nBark+1]*2 >= Fs)
179 if (mode->Fs == 400*(opus_int32)mode->shortMdctSize)
195 if (400*(opus_int32)eband5ms[k] > mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize)
202 a1 = mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize - 400*(opus_int32)eband5ms[k-1];
203 a0 = 400*(opus_int32)eband5ms[k] - mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize;
224 CELTMode *opus_custom_mode_create(opus_int32 Fs, int frame_size, int *error)
247 if (Fs == static_mode_list[i]->Fs &&
266 if (Fs < 8000 || Fs > 96000)
279 if ((opus_int32)frame_size*1000 < Fs)
286 if ((opus_int32)frame_size*75 >= Fs && (frame_size%16)==0)
289 } else if ((opus_int32)frame_size*150 >= Fs && (frame_size%8)==0)
292 } else if ((opus_int32)frame_size*300 >= Fs && (frame_size%4)==0)
301 if ((opus_int32)(frame_size>>LM)*300 > Fs)
311 mode->Fs = Fs;
316 if(Fs < 12000) /* 8 kHz */
322 } else if(Fs < 24000) /* 16 kHz */
328 } else if(Fs < 40000) /* 32 kHz */
345 res = (mode->Fs+mode->shortMdctSize)/(2*mode->shortMdctSize);
347 mode->eBands = compute_ebands(Fs, mode->shortMdctSize, res, &mode->nbEBands);