# HG changeset patch # User michael # Date 1219361141 0 # Node ID 155ec22a635a19625c65613bb28fc1c2139bbe5a # Parent 9896f3cb1500e9294d556f6461c7199b1406bf29 Remove mathops.h dependancy. diff -r 9896f3cb1500 -r 155ec22a635a acelp_filters.c --- a/acelp_filters.c Thu Aug 21 23:23:01 2008 +0000 +++ b/acelp_filters.c Thu Aug 21 23:25:41 2008 +0000 @@ -24,8 +24,6 @@ #include "avcodec.h" #include "acelp_filters.h" -#define FRAC_BITS 13 -#include "mathops.h" const int16_t ff_acelp_interp_filter[61] = { /* (0.15) */ @@ -152,8 +150,8 @@ for(i=0; i>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) */ out[i] = av_clip_int16((tmp + 0x800) >> 12); /* (15.0) = 2 * (13.13) = (14.13) */