Mercurial > libavcodec.hg
changeset 7649:8c5d7ede9c96 libavcodec
rename pitch_delay_frac in ff_acelp_interpolate()
author | michael |
---|---|
date | Thu, 21 Aug 2008 22:36:32 +0000 |
parents | 4df1c17c034c |
children | 1e4ae5de68a4 |
files | acelp_filters.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/acelp_filters.c Thu Aug 21 22:34:13 2008 +0000 +++ b/acelp_filters.c Thu Aug 21 22:36:32 2008 +0000 @@ -47,7 +47,7 @@ const int16_t* in, const int16_t* filter_coeffs, int precision, - int pitch_delay_frac, + int frac_pos, int filter_length, int length) { @@ -72,10 +72,10 @@ v += R(n-i)*ff_acelp_interp_filter(t+6i) v += R(n+i+1)*ff_acelp_interp_filter(6-t+6i) */ - v += in[n + i] * filter_coeffs[idx + pitch_delay_frac]; + v += in[n + i] * filter_coeffs[idx + frac_pos]; idx += precision; i++; - v += in[n - i] * filter_coeffs[idx - pitch_delay_frac]; + v += in[n - i] * filter_coeffs[idx - frac_pos]; } out[n] = av_clip_int16(v >> 15); }