Home | History | Annotate | Download | only in src

Lines Matching refs:tnsInfo

748               TNS_INFO* tnsInfo,
769 tnsInfo->numOfFilters[subBlockNumber] = 0;
770 tnsInfo->coefRes[subBlockNumber] = tC->coefRes;
772 tnsInfo->coef[subBlockNumber][HIFILT][i] = tnsInfo->coef[subBlockNumber][LOFILT][i] = 0;
775 tnsInfo->length[subBlockNumber][HIFILT] = tnsInfo->length[subBlockNumber][LOFILT] = 0;
776 tnsInfo->order [subBlockNumber][HIFILT] = tnsInfo->order [subBlockNumber][LOFILT] = 0;
798 tnsInfo->coef[subBlockNumber][HIFILT],
804 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) {
809 tnsInfo->order[subBlockNumber][HIFILT] = i + 1;
813 sumSqrCoef += tnsInfo->coef[subBlockNumber][HIFILT][i] * tnsInfo->coef[subBlockNumber][HIFILT][i];
816 tnsInfo->direction[subBlockNumber][HIFILT] = tC->confTab.tnsFilterDirection[HIFILT];
817 tnsInfo->length[subBlockNumber][HIFILT] = sfbCnt - tC->lpcStartBand[HIFILT];
823 tnsInfo->numOfFilters[subBlockNumber]++;
837 tnsInfo->coef[subBlockNumber][LOFILT],
843 if (tnsInfo->coef[subBlockNumber][LOFILT][i] != 0) {
847 tnsInfo->order[subBlockNumber][LOFILT] = i + 1;
851 sumSqrCoef += tnsInfo->coef[subBlockNumber][LOFILT][i] * tnsInfo->coef[subBlockNumber][LOFILT][i];
854 tnsInfo->direction[subBlockNumber][LOFILT] = tC->confTab.tnsFilterDirection[LOFILT];
855 tnsInfo->length[subBlockNumber][LOFILT] = tC->lpcStartBand[HIFILT] - tC->lpcStartBand[LOFILT];
864 sumSqrCoef += FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i] - tnsInfo->coef[subBlockNumber][LOFILT][i]);
867 (tnsInfo->direction[subBlockNumber][LOFILT] == tnsInfo->direction[subBlockNumber][HIFILT]) )
870 tnsInfo->length[subBlockNumber][HIFILT] = sfbCnt - tC->lpcStartBand[LOFILT];
871 for (; i < tnsInfo->order[subBlockNumber][HIFILT]; i++) {
872 if (FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i]) > 1) {
877 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) {
881 if (i < tnsInfo
882 tnsInfo->order[subBlockNumber][HIFILT] = i + 1;
886 tnsInfo->numOfFilters[subBlockNumber]++;
1005 TNS_INFO* tnsInfo,
1026 for (i=0; i<tnsInfo->numOfFilters[subBlockNumber]; i++) {
1034 tnsInfo->coef[subBlockNumber][i],
1036 tnsInfo->order[subBlockNumber][i],
1042 tnsInfo->order[subBlockNumber][i],
1049 tnsInfo->order[subBlockNumber][i],