• Home
  • Raw
  • Download

Lines Matching refs:nI

527     picoos_int16 nI, k;  in mel_2_lin_lookup()  local
552 for (nI = 1; nI < m1; nI++) { in mel_2_lin_lookup()
553 XXr[nI] = c1[nI] << shift; in mel_2_lin_lookup()
569 for (nI = 1; nI < PICODSP_H_FFTSIZE; nI++) { in mel_2_lin_lookup()
570 k = A[nI]; in mel_2_lin_lookup()
574 XXr[nI] = term2 + ((D[nI] * delta) >> 5); /* ok because nI<=A[nI] <=B[nI] */ in mel_2_lin_lookup()
589 picoos_int16 nI, iRand, firstUV; in phase_spec2() local
659 for (nI = firstUV; nI < PICODSP_HFFTSIZE_P1 - 1; nI++) { in phase_spec2()
693 picoos_int16 nI; in env_spec() local
726 for (nI = 0; nI < voxbnd; nI++) { in env_spec()
727 get_trig(ang[nI], ctbl, &fcX, &fsX); in env_spec()
728 fExp = (picoos_int32) EXP((double)spect[nI]*mult); in env_spec()
729 Fr[nI] = fExp * fcX; in env_spec()
730 Fi[nI] = fExp * fsX; in env_spec()
736 for (nI = voxbnd; nI < PICODSP_HFFTSIZE_P1; nI++) { in env_spec()
739 fExp = (picoos_int32) EXP((double)spect[nI]*mult); in env_spec()
740 Fr[nI] = fExp * fcX; in env_spec()
741 Fi[nI] = fExp * fsX; in env_spec()
747 for (nI = 1; nI < PICODSP_HFFTSIZE_P1; nI++) { in env_spec()
750 fExp = (picoos_int32) EXP((double)spect[nI]*mult); in env_spec()
752 Fr[nI] = fExp * fcX; in env_spec()
753 Fi[nI] = fExp * fsX; in env_spec()
776 picoos_int16 nI, nn, m2, m4, voiced; in impulse_response() local
792 for (nI = 0, nn = 0; nI < m4; nI++, nn += 2) { in impulse_response()
793 fr[nn] = Fr[nI]; /* - fixed point */ in impulse_response()
797 for (nI = 1, nn = 3; nI < m4; nI++, nn += 2) { in impulse_response()
798 fr[nn] = -Fi[nI]; /* - fixed point */ in impulse_response()
829 picoos_int16 nI; in td_psola2() local
860 for (nI = 0; nI < sig_inObj->nV; nI++) { in td_psola2()
861 f = sig_inObj->EnV[nI]; in td_psola2()
864 ff = (f * window[sig_inObj->LocV[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
865 t1 = &(v1[a + sig_inObj->LocV[nI]]); in td_psola2()
871 for (nI = 0; nI < sig_inObj->nU; nI++) { in td_psola2()
872 f = sig_inObj->EnU[nI]; in td_psola2()
877 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
878 t1 = &(v1[a + sig_inObj->LocU[nI]]); in td_psola2()
884 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
885 t1 = &(v1[(m2 - 1 - a) + sig_inObj->LocU[nI]]); in td_psola2()
892 for (nI = 0; nI < sig_inObj->nV; nI++) { in td_psola2()
893 f = sig_inObj->EnV[nI]; in td_psola2()
896 ff = (f * window[sig_inObj->LocV[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
897 t1 = &(v1[a + sig_inObj->LocV[nI]]); in td_psola2()
902 for (nI = 0; nI < sig_inObj->nU; nI++) { in td_psola2()
903 f = sig_inObj->EnU[nI]; in td_psola2()
908 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
909 t1 = &(v1[a + sig_inObj->LocU[nI]]); in td_psola2()
915 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
916 t1 = &(v1[(m2 - 1 - a) + sig_inObj->LocU[nI]]); in td_psola2()
923 for (nI = 0; nI < sig_inObj->nU; nI++) { in td_psola2()
924 f = sig_inObj->EnU[nI]; in td_psola2()
929 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
930 t1 = &(v1[a + sig_inObj->LocU[nI]]); in td_psola2()
936 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
937 t1 = &(v1[(m2 - 1 - a) + sig_inObj->LocU[nI]]); in td_psola2()
943 for (nI = 0; nI < sig_inObj->nV; nI++) { in td_psola2()
944 f = sig_inObj->EnV[nI]; in td_psola2()
947 ff = (f * window[sig_inObj->LocV[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
948 t1 = &(v1[a + sig_inObj->LocV[nI]]); in td_psola2()
4008 picoos_int16 nI, nJ, k; in get_simple_excitation() local
4029 for (nI = 0; nI < sig_inObj->nV; nI++) { in get_simple_excitation()
4030 sig_inObj->LocV[nI] = sig_inObj->LocV[nI] - hop; in get_simple_excitation()
4032 for (nI = 0; nI < sig_inObj->nU; nI++) { in get_simple_excitation()
4033 sig_inObj->LocU[nI] = sig_inObj->LocU[nI] - hop; in get_simple_excitation()
4037 nI = 0; in get_simple_excitation()
4038 while ((sig_inObj->LocV[nI] < 0) && nI < sig_inObj->nV) in get_simple_excitation()
4039 nI++; in get_simple_excitation()
4041 for (nJ = nI; nJ < sig_inObj->nV; nJ++) { in get_simple_excitation()
4042 sig_inObj->LocV[nJ - nI] = sig_inObj->LocV[nJ]; in get_simple_excitation()
4043 sig_inObj->EnV[nJ - nI] = sig_inObj->EnV[nJ]; in get_simple_excitation()
4045 sig_inObj->nV -= nI; in get_simple_excitation()
4047 nI = 0; in get_simple_excitation()
4048 while ((sig_inObj->LocU[nI] < 0) && nI < sig_inObj->nU) in get_simple_excitation()
4049 nI++; in get_simple_excitation()
4051 for (nJ = nI; nJ < sig_inObj->nU; nJ++) { in get_simple_excitation()
4052 sig_inObj->LocU[nJ - nI] = sig_inObj->LocU[nJ]; in get_simple_excitation()
4053 sig_inObj->EnU[nJ - nI] = sig_inObj->EnU[nJ]; in get_simple_excitation()
4055 sig_inObj->nU -= nI; in get_simple_excitation()