Home | History | Annotate | Download | only in celt

Lines Matching refs:Fs

89 static opus_int16 *compute_ebands(opus_int32 Fs, int frame_size, int res, int *nbEBands)
95 if (Fs == 400*(opus_int32)frame_size)
105 if (bark_freq[nBark+1]*2 >= Fs)
178 if (mode->Fs == 400*(opus_int32)mode->shortMdctSize)
194 if (400*(opus_int32)eband5ms[k] > mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize)
201 a1 = mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize - 400*(opus_int32)eband5ms[k-1];
202 a0 = 400*(opus_int32)eband5ms[k] - mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize;
223 CELTMode *opus_custom_mode_create(opus_int32 Fs, int frame_size, int *error)
245 if (Fs == static_mode_list[i]->Fs &&
264 if (Fs < 8000 || Fs > 96000)
277 if ((opus_int32)frame_size*1000 < Fs)
284 if ((opus_int32)frame_size*75 >= Fs && (frame_size%16)==0)
287 } else if ((opus_int32)frame_size*150 >= Fs && (frame_size%8)==0)
290 } else if ((opus_int32)frame_size*300 >= Fs && (frame_size%4)==0)
299 if ((opus_int32)(frame_size>>LM)*300 > Fs)
309 mode->Fs = Fs;
314 if(Fs < 12000) /* 8 kHz */
320 } else if(Fs < 24000) /* 16 kHz */
326 } else if(Fs < 40000) /* 32 kHz */
343 res = (mode->Fs+mode->shortMdctSize)/(2*mode->shortMdctSize);
345 mode->eBands = compute_ebands(Fs, mode->shortMdctSize, res, &mode->nbEBands);