summaryrefslogtreecommitdiff
path: root/silk/decode_parameters.c
diff options
context:
space:
mode:
authorLinfeng Zhang <linfengz@google.com>2016-07-13 17:25:49 -0700
committerJean-Marc Valin <jmvalin@jmvalin.ca>2017-02-14 23:57:15 -0500
commit95d4c9f960c9469961781c923ccfdb8c3eba0562 (patch)
tree293fb4a4794c6dc74d7ed7381a543e88f741a8c9 /silk/decode_parameters.c
parent68688651a4c3ed1fc4345c1bfb3932658e51f0b4 (diff)
downloadopus-95d4c9f960c9469961781c923ccfdb8c3eba0562.tar.gz
Optimize silk_LPC_inverse_pred_gain() for ARM NEON
The optimization is bit exact with C function. Change-Id: Ib3bdc26a5a4ebe02e7f24be85104e8e9a2a9a738 Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Diffstat (limited to 'silk/decode_parameters.c')
-rw-r--r--silk/decode_parameters.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/silk/decode_parameters.c b/silk/decode_parameters.c
index e345b1dc..a56a4098 100644
--- a/silk/decode_parameters.c
+++ b/silk/decode_parameters.c
@@ -52,7 +52,7 @@ void silk_decode_parameters(
silk_NLSF_decode( pNLSF_Q15, psDec->indices.NLSFIndices, psDec->psNLSF_CB );
/* Convert NLSF parameters to AR prediction filter coefficients */
- silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 1 ], pNLSF_Q15, psDec->LPC_order );
+ silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 1 ], pNLSF_Q15, psDec->LPC_order, psDec->arch );
/* If just reset, e.g., because internal Fs changed, do not allow interpolation */
/* improves the case of packet loss in the first frame after a switch */
@@ -69,7 +69,7 @@ void silk_decode_parameters(
}
/* Convert NLSF parameters to AR prediction filter coefficients */
- silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 0 ], pNLSF0_Q15, psDec->LPC_order );
+ silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 0 ], pNLSF0_Q15, psDec->LPC_order, psDec->arch );
} else {
/* Copy LPC coefficients for first half from second half */
silk_memcpy( psDecCtrl->PredCoef_Q12[ 0 ], psDecCtrl->PredCoef_Q12[ 1 ], psDec->LPC_order * sizeof( opus_int16 ) );