From bf75c8ec4d0dded188bc7793de6da56c7ff0be1c Mon Sep 17 00:00:00 2001 From: Koen Vos Date: Tue, 13 Dec 2011 14:47:31 -0500 Subject: SILK fixes following last codec WG meeting decoder: - fixed incorrect scaling of filter states for the smallest quantization step sizes - NLSF2A now limits the prediction gain of LPC filters encoder: - increased damping of LTP coefficients in LTP analysis - increased white noise fraction in noise shaping LPC analysis - introduced maximum total prediction gain. Used by Burg's method to exit early if prediction gain is exceeded. This improves packet loss robustness and numerical robustness in Burg's method - Prefiltered signal is now in int32 Q10 domain, from int16 Q0 - Increased max number of iterations in CBR gain control loop from 5 to 6 - Removed useless code from LTP scaling control - Optimization: smarter LPC loop unrolling - Switched default win32 compile mode to be floating-point resampler: - made resampler have constant delay of 0.75 ms; removed delay compensation from silk code. - removed obsolete table entries (~850 Bytes) - increased downsampling filter order from 16 to 18/24/36 (depending on frequency ratio) - reoptimized filter coefficients --- silk/interpolate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'silk/interpolate.c') diff --git a/silk/interpolate.c b/silk/interpolate.c index 0f40a935..216f7c70 100644 --- a/silk/interpolate.c +++ b/silk/interpolate.c @@ -46,6 +46,6 @@ void silk_interpolate( silk_assert( ifact_Q2 <= 4 ); for( i = 0; i < d; i++ ) { - xi[ i ] = ( opus_int16 )silk_ADD_RSHIFT( x0[ i ], silk_SMULBB( x1[ i ] - x0[ i ], ifact_Q2 ), 2 ); + xi[ i ] = (opus_int16)silk_ADD_RSHIFT( x0[ i ], silk_SMULBB( x1[ i ] - x0[ i ], ifact_Q2 ), 2 ); } } -- cgit v1.2.3