Lines Matching refs:tnsInfo
746 TNS_INFO* tnsInfo,
767 tnsInfo->numOfFilters[subBlockNumber] = 0;
768 tnsInfo->coefRes[subBlockNumber] = tC->coefRes;
770 tnsInfo->coef[subBlockNumber][HIFILT][i] = tnsInfo->coef[subBlockNumber][LOFILT][i] = 0;
773 tnsInfo->length[subBlockNumber][HIFILT] = tnsInfo->length[subBlockNumber][LOFILT] = 0;
774 tnsInfo->order [subBlockNumber][HIFILT] = tnsInfo->order [subBlockNumber][LOFILT] = 0;
796 tnsInfo->coef[subBlockNumber][HIFILT],
802 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) {
807 tnsInfo->order[subBlockNumber][HIFILT] = i + 1;
811 sumSqrCoef += tnsInfo->coef[subBlockNumber][HIFILT][i] * tnsInfo->coef[subBlockNumber][HIFILT][i];
814 tnsInfo->direction[subBlockNumber][HIFILT] = tC->confTab.tnsFilterDirection[HIFILT];
815 tnsInfo->length[subBlockNumber][HIFILT] = sfbCnt - tC->lpcStartBand[HIFILT];
821 tnsInfo->numOfFilters[subBlockNumber]++;
835 tnsInfo->coef[subBlockNumber][LOFILT],
841 if (tnsInfo->coef[subBlockNumber][LOFILT][i] != 0) {
845 tnsInfo->order[subBlockNumber][LOFILT] = i + 1;
849 sumSqrCoef += tnsInfo->coef[subBlockNumber][LOFILT][i] * tnsInfo->coef[subBlockNumber][LOFILT][i];
852 tnsInfo->direction[subBlockNumber][LOFILT] = tC->confTab.tnsFilterDirection[LOFILT];
853 tnsInfo->length[subBlockNumber][LOFILT] = tC->lpcStartBand[HIFILT] - tC->lpcStartBand[LOFILT];
862 sumSqrCoef += FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i] - tnsInfo->coef[subBlockNumber][LOFILT][i]);
865 (tnsInfo->direction[subBlockNumber][LOFILT] == tnsInfo->direction[subBlockNumber][HIFILT]) )
868 tnsInfo->length[subBlockNumber][HIFILT] = sfbCnt - tC->lpcStartBand[LOFILT];
869 for (; i < tnsInfo->order[subBlockNumber][HIFILT]; i++) {
870 if (FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i]) > 1) {
875 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) {
879 if (i < tnsInfo
880 tnsInfo->order[subBlockNumber][HIFILT] = i + 1;
884 tnsInfo->numOfFilters[subBlockNumber]++;
1003 TNS_INFO* tnsInfo,
1024 for (i=0; i<tnsInfo->numOfFilters[subBlockNumber]; i++) {
1032 tnsInfo->coef[subBlockNumber][i],
1034 tnsInfo->order[subBlockNumber][i],
1040 tnsInfo->order[subBlockNumber][i],
1047 tnsInfo->order[subBlockNumber][i],