Index: silk/float/wrappers_FLP.c |
diff --git a/silk/float/wrappers_FLP.c b/silk/float/wrappers_FLP.c |
index 350599b20c53239cc45a3d788766a73d94c161f5..6666b8efaade2f0ce9eef37181c07683d5433ec2 100644 |
--- a/silk/float/wrappers_FLP.c |
+++ b/silk/float/wrappers_FLP.c |
@@ -161,10 +161,10 @@ void silk_NSQ_wrapper_FLP( |
/* Call NSQ */ |
if( psEnc->sCmn.nStatesDelayedDecision > 1 || psEnc->sCmn.warping_Q16 > 0 ) { |
silk_NSQ_del_dec( &psEnc->sCmn, psNSQ, psIndices, x_Q3, pulses, PredCoef_Q12[ 0 ], LTPCoef_Q14, |
- AR2_Q13, HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, psEncCtrl->pitchL, Lambda_Q10, LTP_scale_Q14 ); |
+ AR2_Q13, HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, psEncCtrl->pitchL, Lambda_Q10, LTP_scale_Q14, psEnc->sCmn.arch ); |
} else { |
silk_NSQ( &psEnc->sCmn, psNSQ, psIndices, x_Q3, pulses, PredCoef_Q12[ 0 ], LTPCoef_Q14, |
- AR2_Q13, HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, psEncCtrl->pitchL, Lambda_Q10, LTP_scale_Q14 ); |
+ AR2_Q13, HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, psEncCtrl->pitchL, Lambda_Q10, LTP_scale_Q14, psEnc->sCmn.arch ); |
} |
} |
@@ -179,7 +179,8 @@ void silk_quant_LTP_gains_FLP( |
const silk_float W[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* I Error weights */ |
const opus_int mu_Q10, /* I Mu value (R/D tradeoff) */ |
const opus_int lowComplexity, /* I Flag for low complexity */ |
- const opus_int nb_subfr /* I number of subframes */ |
+ const opus_int nb_subfr, /* I number of subframes */ |
+ int arch /* I Run-time architecture */ |
) |
{ |
opus_int i; |
@@ -193,7 +194,7 @@ void silk_quant_LTP_gains_FLP( |
W_Q18[ i ] = (opus_int32)silk_float2int( W[ i ] * 262144.0f ); |
} |
- silk_quant_LTP_gains( B_Q14, cbk_index, periodicity_index, sum_log_gain_Q7, W_Q18, mu_Q10, lowComplexity, nb_subfr ); |
+ silk_quant_LTP_gains( B_Q14, cbk_index, periodicity_index, sum_log_gain_Q7, W_Q18, mu_Q10, lowComplexity, nb_subfr, arch ); |
for( i = 0; i < nb_subfr * LTP_ORDER; i++ ) { |
B[ i ] = (silk_float)B_Q14[ i ] * ( 1.0f / 16384.0f ); |