Lines Matching refs:subBlockNumber
749 INT subBlockNumber, in FDKaacEnc_TnsDetect() argument
761 ? &tnsData->dataRaw.Short.subBlockInfo[subBlockNumber] in FDKaacEnc_TnsDetect()
767 tnsInfo->numOfFilters[subBlockNumber] = 0; in FDKaacEnc_TnsDetect()
768 tnsInfo->coefRes[subBlockNumber] = tC->coefRes; in FDKaacEnc_TnsDetect()
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()
796 tnsInfo->coef[subBlockNumber][HIFILT], in FDKaacEnc_TnsDetect()
802 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) { in FDKaacEnc_TnsDetect()
807 tnsInfo->order[subBlockNumber][HIFILT] = i + 1; in FDKaacEnc_TnsDetect()
811 … sumSqrCoef += tnsInfo->coef[subBlockNumber][HIFILT][i] * tnsInfo->coef[subBlockNumber][HIFILT][i]; in FDKaacEnc_TnsDetect()
814 tnsInfo->direction[subBlockNumber][HIFILT] = tC->confTab.tnsFilterDirection[HIFILT]; in FDKaacEnc_TnsDetect()
815 tnsInfo->length[subBlockNumber][HIFILT] = sfbCnt - tC->lpcStartBand[HIFILT]; in FDKaacEnc_TnsDetect()
821 tnsInfo->numOfFilters[subBlockNumber]++; in FDKaacEnc_TnsDetect()
835 tnsInfo->coef[subBlockNumber][LOFILT], 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()
862 …sumSqrCoef += FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i] - tnsInfo->coef[subBlockNumber][LOFI… 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()
869 for (; i < tnsInfo->order[subBlockNumber][HIFILT]; i++) { in FDKaacEnc_TnsDetect()
870 if (FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i]) > 1) { in FDKaacEnc_TnsDetect()
875 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) { in FDKaacEnc_TnsDetect()
879 if (i < tnsInfo->order[subBlockNumber][HIFILT]) { in FDKaacEnc_TnsDetect()
880 tnsInfo->order[subBlockNumber][HIFILT] = i + 1; in FDKaacEnc_TnsDetect()
884 tnsInfo->numOfFilters[subBlockNumber]++; in FDKaacEnc_TnsDetect()
1009 const INT subBlockNumber, in FDKaacEnc_TnsEncode() argument
1015 …if ( ( (blockType == SHORT_WINDOW) && (!tnsData->dataRaw.Short.subBlockInfo[subBlockNumber].tnsAct… in FDKaacEnc_TnsEncode()
1024 for (i=0; i<tnsInfo->numOfFilters[subBlockNumber]; i++) { in FDKaacEnc_TnsEncode()
1032 tnsInfo->coef[subBlockNumber][i], in FDKaacEnc_TnsEncode()
1034 tnsInfo->order[subBlockNumber][i], in FDKaacEnc_TnsEncode()
1040 tnsInfo->order[subBlockNumber][i], in FDKaacEnc_TnsEncode()
1047 tnsInfo->order[subBlockNumber][i], in FDKaacEnc_TnsEncode()