Mercurial > libavcodec.hg
changeset 7695:073847371624 libavcodec
(cosmetics) Remove wrong comments.
author | voroshil |
---|---|
date | Tue, 26 Aug 2008 16:41:23 +0000 |
parents | c75d2318d345 |
children | 76cf62255b28 |
files | acelp_filters.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/acelp_filters.c Tue Aug 26 07:13:43 2008 +0000 +++ b/acelp_filters.c Tue Aug 26 16:41:23 2008 +0000 @@ -152,11 +152,11 @@ for(i=0; i<length; i++) { - tmp = (hpf_f[0]* 15836LL)>>13; /* (14.13) = (13.13) * (1.13) */ - tmp += (hpf_f[1]* -7667LL)>>13; /* (13.13) = (13.13) * (0.13) */ - tmp += 7699 * (in[i] - 2*in[i-1] + in[i-2]); /* (14.13) = (0.13) * (14.0) */ + tmp = (hpf_f[0]* 15836LL)>>13; + tmp += (hpf_f[1]* -7667LL)>>13; + 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[0] = tmp;