summaryrefslogtreecommitdiff
path: root/silk/LP_variable_cutoff.c
diff options
context:
space:
mode:
authorLinfeng Zhang <linfengz@google.com>2016-09-01 13:44:11 -0700
committerJean-Marc Valin <jmvalin@jmvalin.ca>2017-05-17 15:55:42 -0400
commit60eb7d88b4eace91395e553cf70fc4578a950353 (patch)
tree489d13c37dbb73fe5ad385df7057e5cef49d4d5b /silk/LP_variable_cutoff.c
parent1eaa67c0dce1f642af872cc26b7ff4b057a55bfb (diff)
downloadopus-60eb7d88b4eace91395e553cf70fc4578a950353.tar.gz
Update silk_biquad_alt()
Split to silk_biquad_alt_stride1() and silk_biquad_alt_stride2(), so that it can be optimized more efficiently when stride is 2. This change in C code is bit exact with the origin. Change-Id: Idaefe670397016ace2a489e3435ac61b7dbe79d5 Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Diffstat (limited to 'silk/LP_variable_cutoff.c')
-rw-r--r--silk/LP_variable_cutoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/LP_variable_cutoff.c b/silk/LP_variable_cutoff.c
index f639e1f8..79112ad3 100644
--- a/silk/LP_variable_cutoff.c
+++ b/silk/LP_variable_cutoff.c
@@ -130,6 +130,6 @@ void silk_LP_variable_cutoff(
/* ARMA low-pass filtering */
silk_assert( TRANSITION_NB == 3 && TRANSITION_NA == 2 );
- silk_biquad_alt( frame, B_Q28, A_Q28, psLP->In_LP_State, frame, frame_length, 1);
+ silk_biquad_alt_stride1( frame, B_Q28, A_Q28, psLP->In_LP_State, frame, frame_length);
}
}