Lines Matching refs:pit_max
212 for (i = lag_max, j = (PIT_MAX-lag_max-1); i >= lag_min; i--, j--)
672 where signal[-pit_max] to signal[-1] should be known
674 pit_max = 16 bit value specifies the maximum pitch lag
702 4*pit_min ... pit_max
726 // signal[-pit_max] to signal[-1] should be known
728 Word16 pit_max, // i : maximum pitch lag
745 Word32 corr[PIT_MAX+1], *corr_ptr;
749 Word16 scaled_signal[L_FRAME + PIT_MAX];
767 scal_sig = &scaled_signal[pit_max];
770 for (i = -pit_max; i < L_frame; i++)
789 for (i = -pit_max; i < L_frame; i++)
798 for (i = -pit_max; i < L_frame; i++)
806 for (i = -pit_max; i < L_frame; i++)
813 // calculate all coreelations of scal_sig, from pit_min to pit_max
814 corr_ptr = &corr[pit_max];
815 comp_corr (scal_sig, L_frame, pit_max, pit_min, corr_ptr);
823 * First section: lag delay = pit_max downto 4*pit_min *
841 pit_max, j, &max1, &rmax1, &r01, dtx);
854 pit_max, j, &max1, dtx);
870 hp_max (corr_ptr, scal_sig, L_frame, pit_max, pit_min, &corr_hp_max);
943 /* signal[-pit_max] to signal[-1] should be known */
945 Word16 pit_max, /* i : maximum pitch lag */
973 Word32 corr[PIT_MAX+1];
978 Word16 scaled_signal[L_FRAME + PIT_MAX];
1001 p_signal = &signal[-pit_max];
1003 for (i = -pit_max; i < L_frame; i++)
1028 p_signal = &signal[-pit_max];
1033 for (i = (pit_max + L_frame) >> 1; i != 0; i--)
1039 if ((pit_max + L_frame) & 1)
1049 for (i = (pit_max + L_frame) >> 1; i != 0; i--)
1055 if ((pit_max + L_frame) & 1)
1064 memcpy(scal_sig, p_signal, (L_frame + pit_max)*sizeof(*signal));
1068 /* calculate all coreelations of scal_sig, from pit_min to pit_max */
1069 corr_ptr = &corr[pit_max];
1071 scal_sig = &scaled_signal[pit_max];
1073 comp_corr(scal_sig, L_frame, pit_max, pit_min, corr_ptr);
1081 * First section: lag delay = pit_max downto 4*pit_min *
1110 pit_max, j, &max1, &rmax1, &r01, dtx, pOverflow);
1137 pit_max, j, &max1, dtx, pOverflow);
1158 hp_max(corr_ptr, scal_sig, L_frame, pit_max, pit_min, &corr_hp_max,