Lines Matching refs:nI
528 picoos_int16 nI, k; in mel_2_lin_lookup() local
553 for (nI = 1; nI < m1; nI++) { in mel_2_lin_lookup()
554 XXr[nI] = c1[nI] << shift; in mel_2_lin_lookup()
570 for (nI = 1; nI < PICODSP_H_FFTSIZE; nI++) { in mel_2_lin_lookup()
571 k = A[nI]; in mel_2_lin_lookup()
575 XXr[nI] = term2 + ((D[nI] * delta) >> 5); /* ok because nI<=A[nI] <=B[nI] */ in mel_2_lin_lookup()
590 picoos_int16 nI, iRand, firstUV; in phase_spec2() local
660 for (nI = firstUV; nI < PICODSP_HFFTSIZE_P1 - 1; nI++) { in phase_spec2()
694 picoos_int16 nI; in env_spec() local
727 for (nI = 0; nI < voxbnd; nI++) { in env_spec()
728 get_trig(ang[nI], ctbl, &fcX, &fsX); in env_spec()
729 fExp = (picoos_int32) EXP((double)spect[nI]*mult); in env_spec()
730 Fr[nI] = fExp * fcX; in env_spec()
731 Fi[nI] = fExp * fsX; in env_spec()
737 for (nI = voxbnd; nI < PICODSP_HFFTSIZE_P1; nI++) { in env_spec()
740 fExp = (picoos_int32) EXP((double)spect[nI]*mult); in env_spec()
741 Fr[nI] = fExp * fcX; in env_spec()
742 Fi[nI] = fExp * fsX; in env_spec()
748 for (nI = 1; nI < PICODSP_HFFTSIZE_P1; nI++) { in env_spec()
751 fExp = (picoos_int32) EXP((double)spect[nI]*mult); in env_spec()
753 Fr[nI] = fExp * fcX; in env_spec()
754 Fi[nI] = fExp * fsX; in env_spec()
777 picoos_int16 nI, nn, m2, m4, voiced; in impulse_response() local
793 for (nI = 0, nn = 0; nI < m4; nI++, nn += 2) { in impulse_response()
794 fr[nn] = Fr[nI]; /* - fixed point */ in impulse_response()
798 for (nI = 1, nn = 3; nI < m4; nI++, nn += 2) { in impulse_response()
799 fr[nn] = -Fi[nI]; /* - fixed point */ in impulse_response()
830 picoos_int16 nI; in td_psola2() local
861 for (nI = 0; nI < sig_inObj->nV; nI++) { in td_psola2()
862 f = sig_inObj->EnV[nI]; in td_psola2()
865 ff = (f * window[sig_inObj->LocV[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
866 t1 = &(v1[a + sig_inObj->LocV[nI]]); in td_psola2()
872 for (nI = 0; nI < sig_inObj->nU; nI++) { in td_psola2()
873 f = sig_inObj->EnU[nI]; in td_psola2()
878 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
879 t1 = &(v1[a + sig_inObj->LocU[nI]]); in td_psola2()
885 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
886 t1 = &(v1[(m2 - 1 - a) + sig_inObj->LocU[nI]]); in td_psola2()
893 for (nI = 0; nI < sig_inObj->nV; nI++) { in td_psola2()
894 f = sig_inObj->EnV[nI]; in td_psola2()
897 ff = (f * window[sig_inObj->LocV[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
898 t1 = &(v1[a + sig_inObj->LocV[nI]]); in td_psola2()
903 for (nI = 0; nI < sig_inObj->nU; nI++) { in td_psola2()
904 f = sig_inObj->EnU[nI]; in td_psola2()
909 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
910 t1 = &(v1[a + sig_inObj->LocU[nI]]); in td_psola2()
916 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
917 t1 = &(v1[(m2 - 1 - a) + sig_inObj->LocU[nI]]); in td_psola2()
924 for (nI = 0; nI < sig_inObj->nU; nI++) { in td_psola2()
925 f = sig_inObj->EnU[nI]; in td_psola2()
930 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
931 t1 = &(v1[a + sig_inObj->LocU[nI]]); in td_psola2()
937 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
938 t1 = &(v1[(m2 - 1 - a) + sig_inObj->LocU[nI]]); in td_psola2()
944 for (nI = 0; nI < sig_inObj->nV; nI++) { in td_psola2()
945 f = sig_inObj->EnV[nI]; in td_psola2()
948 ff = (f * window[sig_inObj->LocV[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
949 t1 = &(v1[a + sig_inObj->LocV[nI]]); in td_psola2()
4009 picoos_int16 nI, nJ, k; in get_simple_excitation() local
4030 for (nI = 0; nI < sig_inObj->nV; nI++) { in get_simple_excitation()
4031 sig_inObj->LocV[nI] = sig_inObj->LocV[nI] - hop; in get_simple_excitation()
4033 for (nI = 0; nI < sig_inObj->nU; nI++) { in get_simple_excitation()
4034 sig_inObj->LocU[nI] = sig_inObj->LocU[nI] - hop; in get_simple_excitation()
4038 nI = 0; in get_simple_excitation()
4039 while ((sig_inObj->LocV[nI] < 0) && nI < sig_inObj->nV) in get_simple_excitation()
4040 nI++; in get_simple_excitation()
4042 for (nJ = nI; nJ < sig_inObj->nV; nJ++) { in get_simple_excitation()
4043 sig_inObj->LocV[nJ - nI] = sig_inObj->LocV[nJ]; in get_simple_excitation()
4044 sig_inObj->EnV[nJ - nI] = sig_inObj->EnV[nJ]; in get_simple_excitation()
4046 sig_inObj->nV -= nI; in get_simple_excitation()
4048 nI = 0; in get_simple_excitation()
4049 while ((sig_inObj->LocU[nI] < 0) && nI < sig_inObj->nU) in get_simple_excitation()
4050 nI++; in get_simple_excitation()
4052 for (nJ = nI; nJ < sig_inObj->nU; nJ++) { in get_simple_excitation()
4053 sig_inObj->LocU[nJ - nI] = sig_inObj->LocU[nJ]; in get_simple_excitation()
4054 sig_inObj->EnU[nJ - nI] = sig_inObj->EnU[nJ]; in get_simple_excitation()
4056 sig_inObj->nU -= nI; in get_simple_excitation()