Commit 1e715947 authored by voroshil's avatar voroshil

(cosmetics) Describe for which tests clipping is required.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14979 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e05fc1ce
......@@ -156,6 +156,8 @@ void ff_acelp_high_pass_filter(
tmp += (hpf_f[1]* -7667LL)>>13;
tmp += 7699 * (in[i] - 2*in[i-1] + in[i-2]);
/* With "+0x800" rounding, clipping is needed
for ALGTHM and SPEECH tests. */
out[i] = av_clip_int16((tmp + 0x800) >> 12);
hpf_f[1] = hpf_f[0];
......
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