Lines Matching refs:HIFILT
396 tC->lpcStartBand[HIFILT] = i; in FDKaacEnc_InitTnsConfiguration()
397 tC->lpcStartLine[HIFILT] = pC->sfbOffset[i]; in FDKaacEnc_InitTnsConfiguration()
399 tC->confTab.threshOn[HIFILT] = 1437; in FDKaacEnc_InitTnsConfiguration()
402 tC->confTab.tnsLimitOrder[HIFILT] = tC->maxOrder; in FDKaacEnc_InitTnsConfiguration()
405 tC->confTab.tnsFilterDirection[HIFILT] = FILTER_DIRECTION; in FDKaacEnc_InitTnsConfiguration()
408 …tC->confTab.acfSplit[HIFILT] = -1; /* signal Merged4to2QuartersAutoCorrelation in FDKaacEnc_Merge… in FDKaacEnc_InitTnsConfiguration()
411 tC->confTab.filterEnabled[HIFILT] = 1; in FDKaacEnc_InitTnsConfiguration()
422 …FDKmemcpy(tC->acfWindow[HIFILT], acfWindowShort, FDKmin(sizeof(acfWindowShort), sizeof(tC->acfWind… in FDKaacEnc_InitTnsConfiguration()
423 …>acfWindow[LOFILT], acfWindowShort, FDKmin(sizeof(acfWindowShort), sizeof(tC->acfWindow[HIFILT]))); in FDKaacEnc_InitTnsConfiguration()
426 …FDKmemcpy(tC->acfWindow[HIFILT], acfWindowLong, FDKmin(sizeof(acfWindowLong), sizeof(tC->acfWindow… in FDKaacEnc_InitTnsConfiguration()
427 …C->acfWindow[LOFILT], acfWindowLong, FDKmin(sizeof(acfWindowLong), sizeof(tC->acfWindow[HIFILT]))); in FDKaacEnc_InitTnsConfiguration()
439 …tC->lpcStartBand[HIFILT] = FDKaacEnc_FreqToBandWithRounding(pCfg->filterStartFreq[HIFILT],… in FDKaacEnc_InitTnsConfiguration()
440 tC->lpcStartLine[HIFILT] = pC->sfbOffset[tC->lpcStartBand[HIFILT]]; in FDKaacEnc_InitTnsConfiguration()
444 …cEnc_CalcGaussWindow(tC->acfWindow[HIFILT], tC->maxOrder+1, sampleRate, granuleLength, pCfg->tnsTi… in FDKaacEnc_InitTnsConfiguration()
610 if ( (acfSplit[LOFILT]==-1) || (acfSplit[HIFILT]==-1) ) { in FDKaacEnc_MergedAutoCorrelation()
621 FDK_ASSERT(acfSplit[HIFILT]==3); in FDKaacEnc_MergedAutoCorrelation()
622 i = (lpcStopLine - lpcStartLine[HIFILT]) / 3; in FDKaacEnc_MergedAutoCorrelation()
624 idx1 = lpcStartLine[HIFILT]; in FDKaacEnc_MergedAutoCorrelation()
706 _rxx2[lag] = fMult(x2, acfWindow[HIFILT][lag]); in FDKaacEnc_MergedAutoCorrelation()
749 tsbi->tnsActive[HIFILT] = FALSE; in FDKaacEnc_TnsDetect()
750 tsbi->predictionGain[HIFILT] = 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()
779 …tsbi->predictionGain[HIFILT] = FDKaacEnc_AutoToParcor(rxx2, parcor_tmp, tC->confTab.tnsLimitOrder[… in FDKaacEnc_TnsDetect()
784 tnsInfo->coef[subBlockNumber][HIFILT], in FDKaacEnc_TnsDetect()
785 tC->confTab.tnsLimitOrder[HIFILT], in FDKaacEnc_TnsDetect()
789 for (i = tC->confTab.tnsLimitOrder[HIFILT] - 1; i >= 0; i--) { in FDKaacEnc_TnsDetect()
790 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) { in FDKaacEnc_TnsDetect()
795 tnsInfo->order[subBlockNumber][HIFILT] = i + 1; in FDKaacEnc_TnsDetect()
799 … sumSqrCoef += tnsInfo->coef[subBlockNumber][HIFILT][i] * tnsInfo->coef[subBlockNumber][HIFILT][i]; in FDKaacEnc_TnsDetect()
802 tnsInfo->direction[subBlockNumber][HIFILT] = tC->confTab.tnsFilterDirection[HIFILT]; in FDKaacEnc_TnsDetect()
803 tnsInfo->length[subBlockNumber][HIFILT] = sfbCnt - tC->lpcStartBand[HIFILT]; in FDKaacEnc_TnsDetect()
806 …if ((tsbi->predictionGain[HIFILT] > tC->confTab.threshOn[HIFILT]) || (sumSqrCoef > (tC->confTab.tn… in FDKaacEnc_TnsDetect()
808 tsbi->tnsActive[HIFILT] = TRUE; in FDKaacEnc_TnsDetect()
841 … tnsInfo->length[subBlockNumber][LOFILT] = tC->lpcStartBand[HIFILT] - tC->lpcStartBand[LOFILT]; in FDKaacEnc_TnsDetect()
851 …sumSqrCoef += FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i] - tnsInfo->coef[subBlockNumber][LOFI… 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()
858 for (; i < tnsInfo->order[subBlockNumber][HIFILT]; i++) { in FDKaacEnc_TnsDetect()
859 if (FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i]) > 1) { in FDKaacEnc_TnsDetect()
864 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) { in FDKaacEnc_TnsDetect()
868 if (i < tnsInfo->order[subBlockNumber][HIFILT]) { in FDKaacEnc_TnsDetect()
869 tnsInfo->order[subBlockNumber][HIFILT] = i + 1; in FDKaacEnc_TnsDetect()
938 if (pSbInfoDestW->tnsActive[HIFILT] || pSbInfoSrcW->tnsActive[HIFILT]) { in FDKaacEnc_TnsSync()
940 absDiff = FDKabs(tnsInfoDest->coef[w][HIFILT][i] - tnsInfoSrc->coef[w][HIFILT][i]); in FDKaacEnc_TnsSync()
951 if (pSbInfoSrcW->tnsActive[HIFILT]) { in FDKaacEnc_TnsSync()
953 if ((!pSbInfoDestW->tnsActive[HIFILT]) || in FDKaacEnc_TnsSync()
954 …((pSbInfoDestW->tnsActive[HIFILT]) && (tnsInfoDest->numOfFilters[w] > tnsInfoSrc->numOfFilters[w])… in FDKaacEnc_TnsSync()
956 pSbInfoDestW->tnsActive[HIFILT] = tnsInfoDest->numOfFilters[w] = 1; in FDKaacEnc_TnsSync()
959 tnsInfoDest->order [w][HIFILT] = tnsInfoSrc->order [w][HIFILT]; in FDKaacEnc_TnsSync()
960 tnsInfoDest->length [w][HIFILT] = tnsInfoSrc->length [w][HIFILT]; in FDKaacEnc_TnsSync()
961 tnsInfoDest->direction [w][HIFILT] = tnsInfoSrc->direction [w][HIFILT]; in FDKaacEnc_TnsSync()
962 tnsInfoDest->coefCompress[w][HIFILT] = tnsInfoSrc->coefCompress[w][HIFILT]; in FDKaacEnc_TnsSync()
965 tnsInfoDest->coef[w][HIFILT][i] = tnsInfoSrc->coef[w][HIFILT][i]; in FDKaacEnc_TnsSync()
969 pSbInfoDestW->tnsActive[HIFILT] = tnsInfoDest->numOfFilters[w] = 0; in FDKaacEnc_TnsSync()
1006 …Type == SHORT_WINDOW) && (!tnsData->dataRaw.Short.subBlockInfo[subBlockNumber].tnsActive[HIFILT]) ) in FDKaacEnc_TnsEncode()
1007 … || ( (blockType != SHORT_WINDOW) && (!tnsData->dataRaw.Long.subBlockInfo.tnsActive[HIFILT]) ) ) in FDKaacEnc_TnsEncode()
1012 startLine = (tnsData->filtersMerged) ? tC->lpcStartLine[LOFILT] : tC->lpcStartLine[HIFILT]; in FDKaacEnc_TnsEncode()
1043 stopLine = tC->lpcStartLine[HIFILT]; in FDKaacEnc_TnsEncode()