Lines Matching refs:nI
526 picoos_int16 nI, k; in mel_2_lin_lookup() local
551 for (nI = 1; nI < m1; nI++) { in mel_2_lin_lookup()
552 XXr[nI] = c1[nI] << shift; in mel_2_lin_lookup()
568 for (nI = 1; nI < PICODSP_H_FFTSIZE; nI++) { in mel_2_lin_lookup()
569 k = A[nI]; in mel_2_lin_lookup()
573 XXr[nI] = term2 + ((D[nI] * delta) >> 5); /* ok because nI<=A[nI] <=B[nI] */ in mel_2_lin_lookup()
588 picoos_int16 nI, iRand, firstUV; in phase_spec2() local
658 for (nI = firstUV; nI < PICODSP_HFFTSIZE_P1 - 1; nI++) { in phase_spec2()
692 picoos_int16 nI; in env_spec() local
725 for (nI = 0; nI < voxbnd; nI++) { in env_spec()
726 get_trig(ang[nI], ctbl, &fcX, &fsX); in env_spec()
727 fExp = (picoos_int32) EXP((double)spect[nI]*mult); in env_spec()
728 Fr[nI] = fExp * fcX; in env_spec()
729 Fi[nI] = fExp * fsX; in env_spec()
735 for (nI = voxbnd; nI < PICODSP_HFFTSIZE_P1; nI++) { in env_spec()
738 fExp = (picoos_int32) EXP((double)spect[nI]*mult); in env_spec()
739 Fr[nI] = fExp * fcX; in env_spec()
740 Fi[nI] = fExp * fsX; in env_spec()
746 for (nI = 1; nI < PICODSP_HFFTSIZE_P1; nI++) { in env_spec()
749 fExp = (picoos_int32) EXP((double)spect[nI]*mult); in env_spec()
751 Fr[nI] = fExp * fcX; in env_spec()
752 Fi[nI] = fExp * fsX; in env_spec()
775 picoos_int16 nI, nn, m2, m4, voiced; in impulse_response() local
791 for (nI = 0, nn = 0; nI < m4; nI++, nn += 2) { in impulse_response()
792 fr[nn] = Fr[nI]; /* - fixed point */ in impulse_response()
796 for (nI = 1, nn = 3; nI < m4; nI++, nn += 2) { in impulse_response()
797 fr[nn] = -Fi[nI]; /* - fixed point */ in impulse_response()
828 picoos_int16 nI; in td_psola2() local
859 for (nI = 0; nI < sig_inObj->nV; nI++) { in td_psola2()
860 f = sig_inObj->EnV[nI]; in td_psola2()
863 ff = (f * window[sig_inObj->LocV[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
864 t1 = &(v1[a + sig_inObj->LocV[nI]]); in td_psola2()
870 for (nI = 0; nI < sig_inObj->nU; nI++) { in td_psola2()
871 f = sig_inObj->EnU[nI]; in td_psola2()
876 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
877 t1 = &(v1[a + sig_inObj->LocU[nI]]); in td_psola2()
883 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
884 t1 = &(v1[(m2 - 1 - a) + sig_inObj->LocU[nI]]); in td_psola2()
891 for (nI = 0; nI < sig_inObj->nV; nI++) { in td_psola2()
892 f = sig_inObj->EnV[nI]; in td_psola2()
895 ff = (f * window[sig_inObj->LocV[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
896 t1 = &(v1[a + sig_inObj->LocV[nI]]); in td_psola2()
901 for (nI = 0; nI < sig_inObj->nU; nI++) { in td_psola2()
902 f = sig_inObj->EnU[nI]; in td_psola2()
907 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
908 t1 = &(v1[a + sig_inObj->LocU[nI]]); in td_psola2()
914 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
915 t1 = &(v1[(m2 - 1 - a) + sig_inObj->LocU[nI]]); in td_psola2()
922 for (nI = 0; nI < sig_inObj->nU; nI++) { in td_psola2()
923 f = sig_inObj->EnU[nI]; in td_psola2()
928 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
929 t1 = &(v1[a + sig_inObj->LocU[nI]]); in td_psola2()
935 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
936 t1 = &(v1[(m2 - 1 - a) + sig_inObj->LocU[nI]]); in td_psola2()
942 for (nI = 0; nI < sig_inObj->nV; nI++) { in td_psola2()
943 f = sig_inObj->EnV[nI]; in td_psola2()
946 ff = (f * window[sig_inObj->LocV[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
947 t1 = &(v1[a + sig_inObj->LocV[nI]]); in td_psola2()
4007 picoos_int16 nI, nJ, k; in get_simple_excitation() local
4028 for (nI = 0; nI < sig_inObj->nV; nI++) { in get_simple_excitation()
4029 sig_inObj->LocV[nI] = sig_inObj->LocV[nI] - hop; in get_simple_excitation()
4031 for (nI = 0; nI < sig_inObj->nU; nI++) { in get_simple_excitation()
4032 sig_inObj->LocU[nI] = sig_inObj->LocU[nI] - hop; in get_simple_excitation()
4036 nI = 0; in get_simple_excitation()
4037 while ((sig_inObj->LocV[nI] < 0) && nI < sig_inObj->nV) in get_simple_excitation()
4038 nI++; in get_simple_excitation()
4040 for (nJ = nI; nJ < sig_inObj->nV; nJ++) { in get_simple_excitation()
4041 sig_inObj->LocV[nJ - nI] = sig_inObj->LocV[nJ]; in get_simple_excitation()
4042 sig_inObj->EnV[nJ - nI] = sig_inObj->EnV[nJ]; in get_simple_excitation()
4044 sig_inObj->nV -= nI; in get_simple_excitation()
4046 nI = 0; in get_simple_excitation()
4047 while ((sig_inObj->LocU[nI] < 0) && nI < sig_inObj->nU) in get_simple_excitation()
4048 nI++; in get_simple_excitation()
4050 for (nJ = nI; nJ < sig_inObj->nU; nJ++) { in get_simple_excitation()
4051 sig_inObj->LocU[nJ - nI] = sig_inObj->LocU[nJ]; in get_simple_excitation()
4052 sig_inObj->EnU[nJ - nI] = sig_inObj->EnU[nJ]; in get_simple_excitation()
4054 sig_inObj->nU -= nI; in get_simple_excitation()