Home | History | Annotate | Download | only in src

Lines Matching refs:tnsInfo

729               TNS_INFO* tnsInfo,
754 tnsInfo->numOfFilters[subBlockNumber] = 0;
755 tnsInfo->coefRes[subBlockNumber] = tC->coefRes;
757 tnsInfo->coef[subBlockNumber][HIFILT][i] = tnsInfo->coef[subBlockNumber][LOFILT][i] = 0;
760 tnsInfo->length[subBlockNumber][HIFILT] = tnsInfo->length[subBlockNumber][LOFILT] = 0;
761 tnsInfo->order [subBlockNumber][HIFILT] = tnsInfo->order [subBlockNumber][LOFILT] = 0;
784 tnsInfo->coef[subBlockNumber][HIFILT],
790 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) {
795 tnsInfo->order[subBlockNumber][HIFILT] = i + 1;
799 sumSqrCoef += tnsInfo->coef[subBlockNumber][HIFILT][i] * tnsInfo->coef[subBlockNumber][HIFILT][i];
802 tnsInfo->direction[subBlockNumber][HIFILT] = tC->confTab.tnsFilterDirection[HIFILT];
803 tnsInfo->length[subBlockNumber][HIFILT] = sfbCnt - tC->lpcStartBand[HIFILT];
809 tnsInfo->numOfFilters[subBlockNumber]++;
823 tnsInfo->coef[subBlockNumber][LOFILT],
829 if (tnsInfo->coef[subBlockNumber][LOFILT][i] != 0) {
833 tnsInfo->order[subBlockNumber][LOFILT] = i + 1;
837 sumSqrCoef += tnsInfo->coef[subBlockNumber][LOFILT][i] * tnsInfo->coef[subBlockNumber][LOFILT][i];
840 tnsInfo->direction[subBlockNumber][LOFILT] = tC->confTab.tnsFilterDirection[LOFILT];
841 tnsInfo->length[subBlockNumber][LOFILT] = tC->lpcStartBand[HIFILT] - tC->lpcStartBand[LOFILT];
851 sumSqrCoef += FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i] - tnsInfo->coef[subBlockNumber][LOFILT][i]);
854 (tnsInfo->direction[subBlockNumber][LOFILT] == tnsInfo->direction[subBlockNumber][HIFILT]) )
857 tnsInfo->length[subBlockNumber][HIFILT] = sfbCnt - tC->lpcStartBand[LOFILT];
858 for (; i < tnsInfo->order[subBlockNumber][HIFILT]; i++) {
859 if (FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i]) > 1) {
864 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) {
868 if (i < tnsInfo->order[subBlockNumber][HIFILT]) {
869 tnsInfo->order[subBlockNumber][HIFILT] = i + 1;
873 tnsInfo->numOfFilters[subBlockNumber]++;
994 TNS_INFO* tnsInfo,
1015 for (i=0; i<tnsInfo->numOfFilters[subBlockNumber]; i++) {
1023 tnsInfo->coef[subBlockNumber][i],
1025 tnsInfo->order[subBlockNumber][i],
1031 tnsInfo->order[subBlockNumber][i],
1038 tnsInfo->order[subBlockNumber][i],