Lines Matching refs:nI
561 pico_status_t nI, nJ;
581 for (nI = 0; nI < PICOPAM_MAX_SYLL_PER_SENT; nI++)
583 pam->sSyllFeats[nI].phoneV[nJ] = 0;
585 for (nI = 0; nI < PICOPAM_MAX_PH_PER_SENT; nI++)
586 pam->sPhIds[nI] = 0;
588 for (nI = 0; nI < PICOPAM_VECT_SIZE; nI++)
589 pam->sPhFeats[nI] = 0;
591 for (nI = 0; nI < PICOPAM_MAX_ITEM_SIZE_PER_SENT; nI++)
592 pam->sSyllItems[nI] = 0;
594 for (nI = 0; nI < PICOPAM_MAX_ITEM_PER_SENT; nI++)
595 pam->sSyllItemOffs[nI] = 0;
653 for (nI = 0; nI < PICOPAM_DT_NRLFZ; nI++) {
654 if (pam->dtlfz[nI] == NULL) {
658 }PICODBG_DEBUG(("got dtlfz%d", nI+1));
672 for (nI = 0; nI < PICOPAM_DT_NRMGC; nI++) {
673 if (pam->dtmgc[nI] == NULL) {
677 }PICODBG_DEBUG(("got dtmgc%d", nI+1));
1074 picoos_uint8 nI;
1094 for (nI = 0; nI < (head.len + sizeof(picodata_itemhead_t)); nI++) {
1095 pam->sSyllItems[pam->nAttachedItemsSize + nI] = item[nI];
1098 pam->nAttachedItemsSize += nI;
1384 picoos_uint16 nFrameSize, nI;
1418 for (nI = 0; nI < 5; nI++) {
1419 fValue = pam->dRest + (picoos_single) numFramesState[nI] * pam->dMod;
1420 numFramesState[nI] = (picoos_uint8) (fValue);
1421 pam->dRest = fValue - (picoos_single) numFramesState[nI];
1430 * @param nI : number of the phone's state
1440 picoos_uint16 *lf0Index, picoos_uint8 nI, picoos_single *phonF0)
1451 lf0IndexOffset = lf0Index[nI];
1457 lf0IndexOffset += pam->pdflfz->stateoffset[nI];
1474 phonF0[nI] = (picoos_single) lfz;
1477 phonF0[nI] *= pam->pMod;
1521 picoos_uint8 numstates, nI;
1546 for (nI = 0; nI < numstates; nI++)
1547 f0avg += pam->phonF0[nI];
1608 picoos_uint8 *inVect, *phonVect, *outVect, nI;
1618 for (nI = 0; nI < PICOPAM_INVEC_SIZE; nI++)
1619 outVect[nI] = inVect[nI];
1680 picoos_uint8 *outVect, nI;
1686 for (nI = 0; nI < PICOPAM_INVEC_SIZE; nI++) {
1687 switch (nI) {
1702 if (outVect[nI] != PICOPAM_DONT_CARE_VALUE)
1703 outVect[nI] = pamCompressComponent(outVect[nI]);
1705 outVect[nI] = PICOPAM_DONT_CARE_VAL;
1724 picoos_uint8 *outVect, inVect[60], nI;
1730 for (nI = 0; nI < PICOPAM_INVEC_SIZE; nI++) inVect[nI] = outVect[nI];
1732 for (nI = T_B1; nI <= T_H5; nI++) {
1733 switch (nI) {
1900 picoos_uint8 *sDest, nI
1916 for (nI = 0; nI < PICOPAM_NRSTPF - 1; nI++)
1917 pam->numFramesState[nI] = 0;
1918 pam->numFramesState[nI] = 2;
1965 for (nI = 0; nI < PICOPAM_NRSTPF; nI++) {
1967 (picoos_uint16) pam->numFramesState[nI]);
1969 (picoos_uint16) pam->lf0Index[nI]);
1971 (picoos_uint16) pam->mgcIndex[nI]);
1992 picoos_uint8 *sDest, nI;
1995 for (nI = 0; nI < (sizeof(picodata_itemhead_t) + qItem[3]); nI++) {
1996 sDest[nI] = qItem[nI];
1998 *bytesWr = nI;
2192 picoos_uint8 nI, bWr;
2214 for (nI = 0; nI < PICOPAM_MAX_STATES_PER_PHONE; nI++) {
2215 if (!pam_do_tree(this, pam->dtlfz[nI], &(pam->sPhFeats[0]),
2220 pam->lf0Index[nI] = dTreeResult.class;
2224 for (nI = 0; nI < PICOPAM_MAX_STATES_PER_PHONE; nI++) {
2225 sResult = pam_get_f0(this, &(pam->lf0Index[0]), nI, &(pam->phonF0[0]));
2231 for (nI = 0; nI < PICOPAM_MAX_STATES_PER_PHONE; nI++) {
2233 if (!pam_do_tree(this, pam->dtmgc[nI], &(pam->sPhFeats[0]),
2238 pam->mgcIndex[nI] = dTreeResult.class;
2828 picoos_uint8 *phon, nI, nCond1;
2839 for (nI = 0; nI < item[3]; nI++) {
2840 nCond1 = picoktab_isSyllCarrier(pam->tabphones, phon[nI]);
2842 *pos = nI;
2843 return phon[nI];
3104 picoos_uint8 sDest, nI;
3562 for (nI = pam->e1_syllable_word_start; nI
3563 <= pam->e1_syllable_word_end; nI++)
3564 pam->sSyllFeats[nI].phoneV[E1]
3592 for (nI = pam->e2_syllable_word_start; nI
3593 <= pam->e2_syllable_word_end; nI++)
3594 pam->sSyllFeats[nI].phoneV[E2]
4229 picoos_uint8 nI;
4264 for (nI = 0; nI < PICOPAM_VECT_SIZE; nI++) {
4266 pam->sSyllFeats[pam->nCurrSyllable].phoneV[nI] = 0;
4268 if ((nI >= ITM) && (nI <= itm)) {
4269 if (pam->sSyllFeats[pam->nCurrSyllable].phoneV[nI] > 0) {
4274 pam->sSyllFeats[pam->nCurrSyllable].phoneV[nI] = 0;
4278 pam->sSyllFeats[pam->nCurrSyllable].phoneV[nI] = 0;
4377 for (nI = 0; nI < sContent[3]; nI++)
4378 pam->sPhIds[pam->nCurrPhoneme + nI] = sContent[4 + nI];
4379 pam->nCurrPhoneme += nI;
4380 pam->nTotalPhonemes += nI;