29#ifdef P_R_O_T_O_T_Y_P_E_S
103 integer minp2, ltau2, maxp2, i__;
121 difmag_(&speech[1], lpita, &tau[1], ltau, &tau[*ltau], &amdf[1], minptr,
123 *mintau = tau[*minptr];
124 minamd = (
integer)amdf[*minptr];
132 i__3 = *mintau + 3, i__4 = tau[*ltau] - 1;
133 i__2 =
min(i__3,i__4);
134 for (i__ =
max(i__1,41); i__ <= i__2; ++i__) {
135 while(tau[ptr] < i__) {
138 if (tau[ptr] != i__) {
140 tau2[ltau2 - 1] = i__;
146 difmag_(&speech[1], lpita, tau2, <au2, &tau[*ltau], amdf2, &minp2, &
148 if (amdf2[minp2 - 1] < (
real) minamd) {
149 *mintau = tau2[minp2 - 1];
150 minamd = (
integer)amdf2[minp2 - 1];
156 if ((i__ & 1) == 0) {
164 difmag_(&speech[1], lpita, tau2, <au2, &tau[*ltau], amdf2, &minp2, &
166 if (amdf2[minp2 - 1] < (
real) minamd) {
167 *mintau = tau2[minp2 - 1];
168 minamd = (
integer)amdf2[minp2 - 1];
173 amdf[*minptr] = (
real) minamd;
177 *maxptr =
max(i__2,1);
180 i__2 =
min(i__1,*ltau);
181 for (i__ = *maxptr + 1; i__ <= i__2; ++i__) {
182 if (amdf[i__] > amdf[*maxptr]) {
int difmag_(real *speech, integer *lpita, integer *tau, integer *ltau, integer *maxlag, real *amdf, integer *minptr, integer *maxptr)
int tbdm_(real *speech, integer *lpita, integer *tau, integer *ltau, real *amdf, integer *minptr, integer *maxptr, integer *mintau)