Commit c370ddfe authored by michael's avatar michael

rename pitch_delay_frac in ff_acelp_interpolate()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14893 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0fc83b4f
......@@ -47,7 +47,7 @@ void ff_acelp_interpolate(
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 @@ void ff_acelp_interpolate(
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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment