Lines Matching refs:LOFILT

391       tC->lpcStartBand[LOFILT]   = (blockType == SHORT_WINDOW) ? 0 : ((sampleRate < 18783) ? 4 : 8);  in FDKaacEnc_InitTnsConfiguration()
392 tC->lpcStartLine[LOFILT] = pC->sfbOffset[tC->lpcStartBand[LOFILT]]; in FDKaacEnc_InitTnsConfiguration()
395 …while (pC->sfbOffset[i] > (tC->lpcStartLine[LOFILT] + (tC->lpcStopLine - tC->lpcStartLine[LOFILT])… in FDKaacEnc_InitTnsConfiguration()
400 tC->confTab.threshOn[LOFILT] = 1500; in FDKaacEnc_InitTnsConfiguration()
403 tC->confTab.tnsLimitOrder[LOFILT] = tC->maxOrder - 7; in FDKaacEnc_InitTnsConfiguration()
406 tC->confTab.tnsFilterDirection[LOFILT] = FILTER_DIRECTION; in FDKaacEnc_InitTnsConfiguration()
409 …tC->confTab.acfSplit[LOFILT] = -1; /* signal Merged4to2QuartersAutoCorrelation in FDKaacEnc_Merge… in FDKaacEnc_InitTnsConfiguration()
412 tC->confTab.filterEnabled[LOFILT] = 1; in FDKaacEnc_InitTnsConfiguration()
423 …FDKmemcpy(tC->acfWindow[LOFILT], acfWindowShort, FDKmin(sizeof(acfWindowShort), sizeof(tC->acfWind… in FDKaacEnc_InitTnsConfiguration()
427 …FDKmemcpy(tC->acfWindow[LOFILT], acfWindowLong, FDKmin(sizeof(acfWindowLong), sizeof(tC->acfWindow… in FDKaacEnc_InitTnsConfiguration()
441 …tC->lpcStartBand[LOFILT] = FDKaacEnc_FreqToBandWithRounding(pCfg->filterStartFreq[LOFILT],… in FDKaacEnc_InitTnsConfiguration()
442 tC->lpcStartLine[LOFILT] = pC->sfbOffset[tC->lpcStartBand[LOFILT]]; in FDKaacEnc_InitTnsConfiguration()
445 …cEnc_CalcGaussWindow(tC->acfWindow[LOFILT], tC->maxOrder+1, sampleRate, granuleLength, pCfg->tnsTi… in FDKaacEnc_InitTnsConfiguration()
610 if ( (acfSplit[LOFILT]==-1) || (acfSplit[HIFILT]==-1) ) { in FDKaacEnc_MergedAutoCorrelation()
612 idx0 = lpcStartLine[LOFILT]; in FDKaacEnc_MergedAutoCorrelation()
613 i = lpcStopLine - lpcStartLine[LOFILT]; in FDKaacEnc_MergedAutoCorrelation()
620 FDK_ASSERT(acfSplit[LOFILT]==1); in FDKaacEnc_MergedAutoCorrelation()
623 idx0 = lpcStartLine[LOFILT]; in FDKaacEnc_MergedAutoCorrelation()
661 _rxx1[lag] = fMult(scaleValue(fMult(x1,fac1),sc_fac1), acfWindow[LOFILT][lag]); in FDKaacEnc_MergedAutoCorrelation()
669 _rxx1[lag] = fMult(scaleValue(fMult(x1,fac1),sc_fac1), acfWindow[LOFILT][3*lag]); in FDKaacEnc_MergedAutoCorrelation()
751 tsbi->tnsActive[LOFILT] = FALSE; in FDKaacEnc_TnsDetect()
752 tsbi->predictionGain[LOFILT] = 1000; in FDKaacEnc_TnsDetect()
757 tnsInfo->coef[subBlockNumber][HIFILT][i] = tnsInfo->coef[subBlockNumber][LOFILT][i] = 0; in FDKaacEnc_TnsDetect()
760 tnsInfo->length[subBlockNumber][HIFILT] = tnsInfo->length[subBlockNumber][LOFILT] = 0; in FDKaacEnc_TnsDetect()
761 tnsInfo->order [subBlockNumber][HIFILT] = tnsInfo->order [subBlockNumber][LOFILT] = 0; in FDKaacEnc_TnsDetect()
813 (tC->confTab.filterEnabled[LOFILT]) && (tC->confTab.seperateFiltersAllowed) ) in FDKaacEnc_TnsDetect()
818 INT predGain = FDKaacEnc_AutoToParcor(rxx1, parcor_tmp, tC->confTab.tnsLimitOrder[LOFILT]); in FDKaacEnc_TnsDetect()
823 tnsInfo->coef[subBlockNumber][LOFILT], in FDKaacEnc_TnsDetect()
824 tC->confTab.tnsLimitOrder[LOFILT], in FDKaacEnc_TnsDetect()
828 for (i = tC->confTab.tnsLimitOrder[LOFILT] - 1; i >= 0; i--) { in FDKaacEnc_TnsDetect()
829 if (tnsInfo->coef[subBlockNumber][LOFILT][i] != 0) { in FDKaacEnc_TnsDetect()
833 tnsInfo->order[subBlockNumber][LOFILT] = i + 1; in FDKaacEnc_TnsDetect()
837 … sumSqrCoef += tnsInfo->coef[subBlockNumber][LOFILT][i] * tnsInfo->coef[subBlockNumber][LOFILT][i]; in FDKaacEnc_TnsDetect()
840 tnsInfo->direction[subBlockNumber][LOFILT] = tC->confTab.tnsFilterDirection[LOFILT]; in FDKaacEnc_TnsDetect()
841 … tnsInfo->length[subBlockNumber][LOFILT] = tC->lpcStartBand[HIFILT] - tC->lpcStartBand[LOFILT]; in FDKaacEnc_TnsDetect()
844 …if ( ( (predGain > tC->confTab.threshOn[LOFILT]) && (predGain < (16000 * tC->confTab.tnsLimitOrder… in FDKaacEnc_TnsDetect()
845 || ( (sumSqrCoef > 9) && (sumSqrCoef < 22 * tC->confTab.tnsLimitOrder[LOFILT]) ) ) in FDKaacEnc_TnsDetect()
848 tsbi->tnsActive[LOFILT] = TRUE; in FDKaacEnc_TnsDetect()
850 for (i = 0; i < tC->confTab.tnsLimitOrder[LOFILT]; i++) { in FDKaacEnc_TnsDetect()
851 …oef += FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i] - tnsInfo->coef[subBlockNumber][LOFILT][i]); in FDKaacEnc_TnsDetect()
854 … (tnsInfo->direction[subBlockNumber][LOFILT] == tnsInfo->direction[subBlockNumber][HIFILT]) ) in FDKaacEnc_TnsDetect()
857 tnsInfo->length[subBlockNumber][HIFILT] = sfbCnt - tC->lpcStartBand[LOFILT]; in FDKaacEnc_TnsDetect()
876 tsbi->predictionGain[LOFILT]=predGain; in FDKaacEnc_TnsDetect()
1012 startLine = (tnsData->filtersMerged) ? tC->lpcStartLine[LOFILT] : tC->lpcStartLine[HIFILT]; in FDKaacEnc_TnsEncode()
1042 startLine = tC->lpcStartLine[LOFILT]; in FDKaacEnc_TnsEncode()