• Home
  • Raw
  • Download

Lines Matching refs:nI

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