diff options
author | Linfeng Zhang <linfengz@google.com> | 2016-06-16 16:21:02 -0700 |
---|---|---|
committer | Felicia Lim <flim@google.com> | 2017-01-17 14:04:37 -0800 |
commit | 783ad76766e1f6b6aaca5d6eb415ac8a8269e1f2 (patch) | |
tree | 120458893d45586c9c1f3ee07135a71b4d22fc01 /celt/celt_lpc.h | |
parent | c9ba55208c842a1681d82e7d7ff44fafedd2a853 (diff) | |
download | opus-783ad76766e1f6b6aaca5d6eb415ac8a8269e1f2.tar.gz |
Revise celt_fir_c() to not pass in argument "mem"
The "mem" in celt_fir_c() either is contained in the head of input "x"
in reverse order already, or can be easily attached to the head of "x"
before calling the function. Removing argument "mem" can eliminate the
redundant buffer copies inside.
Update celt_fir_sse4_1() accordingly.
Diffstat (limited to 'celt/celt_lpc.h')
-rw-r--r-- | celt/celt_lpc.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/celt/celt_lpc.h b/celt/celt_lpc.h index 323459eb..a4c5fd6e 100644 --- a/celt/celt_lpc.h +++ b/celt/celt_lpc.h @@ -45,12 +45,11 @@ void celt_fir_c( opus_val16 *y, int N, int ord, - opus_val16 *mem, int arch); #if !defined(OVERRIDE_CELT_FIR) -#define celt_fir(x, num, y, N, ord, mem, arch) \ - (celt_fir_c(x, num, y, N, ord, mem, arch)) +#define celt_fir(x, num, y, N, ord, arch) \ + (celt_fir_c(x, num, y, N, ord, arch)) #endif void celt_iir(const opus_val32 *x, |