mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
(cosmetics) Remove wrong comments.
Originally committed as revision 14977 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bb68b69dfb
commit
1b8a36d728
@ -152,11 +152,11 @@ void ff_acelp_high_pass_filter(
|
|||||||
|
|
||||||
for(i=0; i<length; i++)
|
for(i=0; i<length; i++)
|
||||||
{
|
{
|
||||||
tmp = (hpf_f[0]* 15836LL)>>13; /* (14.13) = (13.13) * (1.13) */
|
tmp = (hpf_f[0]* 15836LL)>>13;
|
||||||
tmp += (hpf_f[1]* -7667LL)>>13; /* (13.13) = (13.13) * (0.13) */
|
tmp += (hpf_f[1]* -7667LL)>>13;
|
||||||
tmp += 7699 * (in[i] - 2*in[i-1] + in[i-2]); /* (14.13) = (0.13) * (14.0) */
|
tmp += 7699 * (in[i] - 2*in[i-1] + in[i-2]);
|
||||||
|
|
||||||
out[i] = av_clip_int16((tmp + 0x800) >> 12); /* (15.0) = 2 * (13.13) = (14.13) */
|
out[i] = av_clip_int16((tmp + 0x800) >> 12);
|
||||||
|
|
||||||
hpf_f[1] = hpf_f[0];
|
hpf_f[1] = hpf_f[0];
|
||||||
hpf_f[0] = tmp;
|
hpf_f[0] = tmp;
|
||||||
|
Loading…
Reference in New Issue
Block a user