Lines Matching refs:LOFILT
100 LOFILT = 1 /* index of lower filter */ enumerator
408 tC->lpcStartBand[LOFILT] = (blockType == SHORT_WINDOW) ? 0 : ((sampleRate < 18783) ? 4 : 8); in FDKaacEnc_InitTnsConfiguration()
409 tC->lpcStartLine[LOFILT] = pC->sfbOffset[tC->lpcStartBand[LOFILT]]; in FDKaacEnc_InitTnsConfiguration()
412 …while (pC->sfbOffset[i] > (tC->lpcStartLine[LOFILT] + (tC->lpcStopLine - tC->lpcStartLine[LOFILT])… in FDKaacEnc_InitTnsConfiguration()
417 tC->confTab.threshOn[LOFILT] = 1500; in FDKaacEnc_InitTnsConfiguration()
420 tC->confTab.tnsLimitOrder[LOFILT] = tC->maxOrder - 7; in FDKaacEnc_InitTnsConfiguration()
423 tC->confTab.tnsFilterDirection[LOFILT] = FILTER_DIRECTION; in FDKaacEnc_InitTnsConfiguration()
426 …tC->confTab.acfSplit[LOFILT] = -1; /* signal Merged4to2QuartersAutoCorrelation in FDKaacEnc_Merge… in FDKaacEnc_InitTnsConfiguration()
429 tC->confTab.filterEnabled[LOFILT] = 1; in FDKaacEnc_InitTnsConfiguration()
440 …FDKmemcpy(tC->acfWindow[LOFILT], acfWindowShort, FDKmin(sizeof(acfWindowShort), sizeof(tC->acfWind… in FDKaacEnc_InitTnsConfiguration()
444 …FDKmemcpy(tC->acfWindow[LOFILT], acfWindowLong, FDKmin(sizeof(acfWindowLong), sizeof(tC->acfWindow… in FDKaacEnc_InitTnsConfiguration()
455 …tC->lpcStartBand[LOFILT] = FDKaacEnc_FreqToBandWithRounding(pCfg->filterStartFreq[LOFILT],… in FDKaacEnc_InitTnsConfiguration()
456 tC->lpcStartLine[LOFILT] = pC->sfbOffset[tC->lpcStartBand[LOFILT]]; in FDKaacEnc_InitTnsConfiguration()
459 tC->confTab.threshOn[LOFILT] = pCfg->threshOn[LOFILT]; in FDKaacEnc_InitTnsConfiguration()
462 tC->confTab.tnsLimitOrder[LOFILT] = pCfg->tnsLimitOrder[LOFILT]; in FDKaacEnc_InitTnsConfiguration()
465 tC->confTab.tnsFilterDirection[LOFILT] = pCfg->tnsFilterDirection[LOFILT]; in FDKaacEnc_InitTnsConfiguration()
468 tC->confTab.acfSplit[LOFILT] = pCfg->acfSplit[LOFILT]; in FDKaacEnc_InitTnsConfiguration()
471 tC->confTab.filterEnabled[LOFILT] = pCfg->filterEnabled[LOFILT]; in FDKaacEnc_InitTnsConfiguration()
475 …cEnc_CalcGaussWindow(tC->acfWindow[LOFILT], tC->maxOrder+1, sampleRate, granuleLength, pCfg->tnsTi… in FDKaacEnc_InitTnsConfiguration()
637 if ( (acfSplit[LOFILT]==-1) || (acfSplit[HIFILT]==-1) ) { in FDKaacEnc_MergedAutoCorrelation()
639 idx0 = lpcStartLine[LOFILT]; in FDKaacEnc_MergedAutoCorrelation()
640 i = lpcStopLine - lpcStartLine[LOFILT]; in FDKaacEnc_MergedAutoCorrelation()
647 FDK_ASSERT(acfSplit[LOFILT]==1); in FDKaacEnc_MergedAutoCorrelation()
650 idx0 = lpcStartLine[LOFILT]; in FDKaacEnc_MergedAutoCorrelation()
687 _rxx1[lag] = fMult(scaleValue(fMult(x1,fac1),sc_fac1), acfWindow[LOFILT][3*lag]); in FDKaacEnc_MergedAutoCorrelation()
770 tnsInfo->coef[subBlockNumber][HIFILT][i] = tnsInfo->coef[subBlockNumber][LOFILT][i] = 0; in FDKaacEnc_TnsDetect()
773 tnsInfo->length[subBlockNumber][HIFILT] = tnsInfo->length[subBlockNumber][LOFILT] = 0; in FDKaacEnc_TnsDetect()
774 tnsInfo->order [subBlockNumber][HIFILT] = tnsInfo->order [subBlockNumber][LOFILT] = 0; in FDKaacEnc_TnsDetect()
825 (tC->confTab.filterEnabled[LOFILT]) && (tC->confTab.seperateFiltersAllowed) ) in FDKaacEnc_TnsDetect()
830 INT predGain = FDKaacEnc_AutoToParcor(rxx1, parcor_tmp, tC->confTab.tnsLimitOrder[LOFILT]); in FDKaacEnc_TnsDetect()
835 tnsInfo->coef[subBlockNumber][LOFILT], in FDKaacEnc_TnsDetect()
836 tC->confTab.tnsLimitOrder[LOFILT], in FDKaacEnc_TnsDetect()
840 for (i = tC->confTab.tnsLimitOrder[LOFILT] - 1; i >= 0; i--) { in FDKaacEnc_TnsDetect()
841 if (tnsInfo->coef[subBlockNumber][LOFILT][i] != 0) { in FDKaacEnc_TnsDetect()
845 tnsInfo->order[subBlockNumber][LOFILT] = i + 1; in FDKaacEnc_TnsDetect()
849 … sumSqrCoef += tnsInfo->coef[subBlockNumber][LOFILT][i] * tnsInfo->coef[subBlockNumber][LOFILT][i]; in FDKaacEnc_TnsDetect()
852 tnsInfo->direction[subBlockNumber][LOFILT] = tC->confTab.tnsFilterDirection[LOFILT]; in FDKaacEnc_TnsDetect()
853 … tnsInfo->length[subBlockNumber][LOFILT] = tC->lpcStartBand[HIFILT] - tC->lpcStartBand[LOFILT]; in FDKaacEnc_TnsDetect()
856 …if ( ( (predGain > tC->confTab.threshOn[LOFILT]) && (predGain < (16000 * tC->confTab.tnsLimitOrder… in FDKaacEnc_TnsDetect()
857 || ( (sumSqrCoef > 9) && (sumSqrCoef < 22 * tC->confTab.tnsLimitOrder[LOFILT]) ) ) in FDKaacEnc_TnsDetect()
861 for (i = 0; i < tC->confTab.tnsLimitOrder[LOFILT]; i++) { in FDKaacEnc_TnsDetect()
862 …oef += FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i] - tnsInfo->coef[subBlockNumber][LOFILT][i]); in FDKaacEnc_TnsDetect()
865 … (tnsInfo->direction[subBlockNumber][LOFILT] == tnsInfo->direction[subBlockNumber][HIFILT]) ) in FDKaacEnc_TnsDetect()
868 tnsInfo->length[subBlockNumber][HIFILT] = sfbCnt - tC->lpcStartBand[LOFILT]; in FDKaacEnc_TnsDetect()
1021 startLine = (tnsData->filtersMerged) ? tC->lpcStartLine[LOFILT] : tC->lpcStartLine[HIFILT]; in FDKaacEnc_TnsEncode()
1051 startLine = tC->lpcStartLine[LOFILT]; in FDKaacEnc_TnsEncode()