• Home
  • Raw
  • Download

Lines Matching refs:nI

524     picoos_int16 nI, k;  in mel_2_lin_lookup()  local
549 for (nI = 1; nI < m1; nI++) { in mel_2_lin_lookup()
550 XXr[nI] = c1[nI] << shift; in mel_2_lin_lookup()
566 for (nI = 1; nI < PICODSP_H_FFTSIZE; nI++) { in mel_2_lin_lookup()
567 k = A[nI]; in mel_2_lin_lookup()
571 XXr[nI] = term2 + ((D[nI] * delta) >> 5); /* ok because nI<=A[nI] <=B[nI] */ in mel_2_lin_lookup()
586 picoos_int16 nI, iRand, firstUV; in phase_spec2() local
656 for (nI = firstUV; nI < PICODSP_HFFTSIZE_P1 - 1; nI++) { in phase_spec2()
690 picoos_int16 nI; in env_spec() local
723 for (nI = 0; nI < voxbnd; nI++) { in env_spec()
724 get_trig(ang[nI], ctbl, &fcX, &fsX); in env_spec()
725 fExp = (picoos_int32) EXP((double)spect[nI]*mult); in env_spec()
726 Fr[nI] = fExp * fcX; in env_spec()
727 Fi[nI] = fExp * fsX; in env_spec()
733 for (nI = voxbnd; nI < PICODSP_HFFTSIZE_P1; nI++) { in env_spec()
736 fExp = (picoos_int32) EXP((double)spect[nI]*mult); in env_spec()
737 Fr[nI] = fExp * fcX; in env_spec()
738 Fi[nI] = fExp * fsX; in env_spec()
744 for (nI = 1; nI < PICODSP_HFFTSIZE_P1; nI++) { in env_spec()
747 fExp = (picoos_int32) EXP((double)spect[nI]*mult); in env_spec()
749 Fr[nI] = fExp * fcX; in env_spec()
750 Fi[nI] = fExp * fsX; in env_spec()
773 picoos_int16 nI, nn, m2, m4, voiced; in impulse_response() local
789 for (nI = 0, nn = 0; nI < m4; nI++, nn += 2) { in impulse_response()
790 fr[nn] = Fr[nI]; /* - fixed point */ in impulse_response()
794 for (nI = 1, nn = 3; nI < m4; nI++, nn += 2) { in impulse_response()
795 fr[nn] = -Fi[nI]; /* - fixed point */ in impulse_response()
825 picoos_int16 nI; in td_psola2() local
856 for (nI = 0; nI < sig_inObj->nV; nI++) { in td_psola2()
857 f = sig_inObj->EnV[nI]; in td_psola2()
860 ff = (f * window[sig_inObj->LocV[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
861 t1 = &(v1[a + sig_inObj->LocV[nI]]); in td_psola2()
867 for (nI = 0; nI < sig_inObj->nU; nI++) { in td_psola2()
868 f = sig_inObj->EnU[nI]; in td_psola2()
873 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
874 t1 = &(v1[a + sig_inObj->LocU[nI]]); in td_psola2()
880 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
881 t1 = &(v1[(m2 - 1 - a) + sig_inObj->LocU[nI]]); in td_psola2()
888 for (nI = 0; nI < sig_inObj->nV; nI++) { in td_psola2()
889 f = sig_inObj->EnV[nI]; in td_psola2()
892 ff = (f * window[sig_inObj->LocV[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
893 t1 = &(v1[a + sig_inObj->LocV[nI]]); in td_psola2()
898 for (nI = 0; nI < sig_inObj->nU; nI++) { in td_psola2()
899 f = sig_inObj->EnU[nI]; in td_psola2()
904 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
905 t1 = &(v1[a + sig_inObj->LocU[nI]]); in td_psola2()
911 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
912 t1 = &(v1[(m2 - 1 - a) + sig_inObj->LocU[nI]]); in td_psola2()
919 for (nI = 0; nI < sig_inObj->nU; nI++) { in td_psola2()
920 f = sig_inObj->EnU[nI]; in td_psola2()
925 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
926 t1 = &(v1[a + sig_inObj->LocU[nI]]); in td_psola2()
932 ff = (f * window[sig_inObj->LocU[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
933 t1 = &(v1[(m2 - 1 - a) + sig_inObj->LocU[nI]]); in td_psola2()
939 for (nI = 0; nI < sig_inObj->nV; nI++) { in td_psola2()
940 f = sig_inObj->EnV[nI]; in td_psola2()
943 ff = (f * window[sig_inObj->LocV[nI]]) >> PICODSP_SHIFT_FACT1; in td_psola2()
944 t1 = &(v1[a + sig_inObj->LocV[nI]]); in td_psola2()
4004 picoos_int16 nI, nJ, k; in get_simple_excitation() local
4022 for (nI = 0; nI < sig_inObj->nV; nI++) { in get_simple_excitation()
4023 sig_inObj->LocV[nI] = sig_inObj->LocV[nI] - hop; in get_simple_excitation()
4025 for (nI = 0; nI < sig_inObj->nU; nI++) { in get_simple_excitation()
4026 sig_inObj->LocU[nI] = sig_inObj->LocU[nI] - hop; in get_simple_excitation()
4030 nI = 0; in get_simple_excitation()
4031 while ((sig_inObj->LocV[nI] < 0) && nI < sig_inObj->nV) in get_simple_excitation()
4032 nI++; in get_simple_excitation()
4034 for (nJ = nI; nJ < sig_inObj->nV; nJ++) { in get_simple_excitation()
4035 sig_inObj->LocV[nJ - nI] = sig_inObj->LocV[nJ]; in get_simple_excitation()
4036 sig_inObj->EnV[nJ - nI] = sig_inObj->EnV[nJ]; in get_simple_excitation()
4038 sig_inObj->nV -= nI; in get_simple_excitation()
4040 nI = 0; in get_simple_excitation()
4041 while ((sig_inObj->LocU[nI] < 0) && nI < sig_inObj->nU) in get_simple_excitation()
4042 nI++; in get_simple_excitation()
4044 for (nJ = nI; nJ < sig_inObj->nU; nJ++) { in get_simple_excitation()
4045 sig_inObj->LocU[nJ - nI] = sig_inObj->LocU[nJ]; in get_simple_excitation()
4046 sig_inObj->EnU[nJ - nI] = sig_inObj->EnU[nJ]; in get_simple_excitation()
4048 sig_inObj->nU -= nI; in get_simple_excitation()