Lines Matching defs:Fs
31 LVPSA_RETURN LVPSA_BPSinglePrecCoefs( LVM_UINT16 Fs,
35 LVPSA_RETURN LVPSA_BPDoublePrecCoefs( LVM_UINT16 Fs,
39 LVPSA_RETURN LVPSA_BPDoublePrecCoefs( LVM_UINT16 Fs,
77 if(pNewParams->Fs >= LVPSA_NR_SUPPORTED_RATE)
117 pParams->Fs = pLVPSA_Inst->CurrentParams.Fs;
195 if(Params.Fs != pInst->CurrentParams.Fs)
197 pInst->CurrentParams.Fs = Params.Fs;
200 Freq = (LVM_UINT16) ((LVPSA_SampleRateTab[pInst->CurrentParams.Fs]>>1) / (pInst->nBands + 1));
211 if(pInst->pFiltersParams[ii-1].CenterFrequency < (LVPSA_SampleRateTab[pInst->CurrentParams.Fs]>>1))
221 pInst->nSamplesBufferUpdate = (LVM_UINT16)LVPSA_nSamplesBufferUpdate[Params.Fs];
223 pInst->DownSamplingFactor = LVPSA_DownSamplingFactor[Params.Fs];
262 /* Double precision if (fc <= fs/110) */
263 /* Double precision if (fs/110 < fc < fs/85) & (Q>3) */
273 LVM_UINT32 fs = (LVM_UINT32)LVPSA_SampleRateTab[(LVM_UINT16)pParams->Fs]; /* Sample rate */
290 if ((LOW_FREQ * fs) >= (fc << 15))
293 * fc <= fs/110
299 if (((LOW_FREQ * fs) < (fc << 15)) && ((fc << 15) < (HIGH_FREQ * fs)) && (QFactor > 300))
302 * (fs/110 < fc < fs/85) & (Q>3)
350 LVPSA_BPDoublePrecCoefs((LVM_UINT16)pParams->Fs,
370 LVPSA_BPSinglePrecCoefs((LVM_UINT16)pParams->Fs,
411 LVM_Fs_en Fs = pParams->Fs;
416 pCoefficients = &LVPSA_QPD_Coefs[(pParams->LevelDetectionSpeed * LVPSA_NR_SUPPORTED_RATE) + Fs];
438 /* Fs Sampling frequency index */
448 /* t0 = 2 * Pi * Fc / Fs */
456 /* Fs is the sample frequency, 8000 to 48000 in descrete steps */
463 LVPSA_RETURN LVPSA_BPSinglePrecCoefs( LVM_UINT16 Fs,
500 T0 = (LVM_INT32)Frequency * LVPSA_TwoPiOnFsTable[Fs]; /* T0 = 2 * Pi * Fc / Fs */
518 T0 = (T0 >> 10) * 20859; /* Scale to 1.0 in 16-bit for range 0 to fs/2 */
553 /* Fs Sampling frequency index */
563 /* t0 = 2 * Pi * Fc / Fs */
570 /* Fc is the centre frequency, DC to Fs/50 */
571 /* Fs is the sample frequency, 8000 to 48000 in descrete steps */
574 /* 2. The double precision coefficients are only used when fc is less than fs/85, so */
587 LVPSA_RETURN LVPSA_BPDoublePrecCoefs( LVM_UINT16 Fs,
622 T0 = (LVM_INT32)Frequency * LVPSA_TwoPiOnFsTable[Fs]; /* T0 = 2 * Pi * Fc / Fs */
640 T0 = (T0 >> 6) * 0x7f53; /* Scale to 1.0 in 16-bit for range 0 to fs/50 */