Loading lib_com/lsf_tools_fx.c +6 −4 Original line number Diff line number Diff line Loading @@ -291,13 +291,14 @@ void E_LPC_a_isp_conversion( const Word16 a[], Word16 isp[], const Word16 old_is tmp = div_s( (Word16) 16383, tmp ); t0 = L_mult( x, tmp ); #ifdef NONBE_FIX_2493_CHECK_EXTRACT_L_E_LPC_a_isp_conversion t0 = L_shr( t0, sub( 20 - 5, exp ) ); t0 = L_shr( t0, sub( 20 - 6, exp ) ); /* Restore Sign */ if ( y < 0 ) t0 = L_negate( t0 ); t0 = Mpy_32_16_1( t0, ylow ); /* result in Q15 */ t0 = Mpy_32_16_1( t0, ylow ); t0 = L_shr( t0, 1 ); /* result in Q15 */ #else t0 = L_shr( t0, sub( 20, exp ) ); #ifdef FIX_2493_CHECK_EXTRACT_L Loading Loading @@ -1167,13 +1168,14 @@ void E_LPC_a_lsp_conversion( tmp = div_s( (Word16) 16383 / 2, tmp ); t0 = L_mult( x, tmp ); #ifdef NONBE_FIX_2493_CHECK_EXTRACT_L_E_LPC_a_isp_conversion t0 = L_shr( t0, sub( 20 - 5, exp ) ); t0 = L_shr( t0, sub( 20 - 6, exp ) ); /* Restore Sign */ if ( y < 0 ) t0 = L_negate( t0 ); t0 = Mpy_32_16_1( t0, ylow ); /* result in Q15 */ t0 = Mpy_32_16_1( t0, ylow ); t0 = L_shr( t0, 1 ); /* result in Q15 */ #else t0 = L_shr( t0, sub( 20, exp ) ); #ifdef FIX_2493_CHECK_EXTRACT_L Loading Loading
lib_com/lsf_tools_fx.c +6 −4 Original line number Diff line number Diff line Loading @@ -291,13 +291,14 @@ void E_LPC_a_isp_conversion( const Word16 a[], Word16 isp[], const Word16 old_is tmp = div_s( (Word16) 16383, tmp ); t0 = L_mult( x, tmp ); #ifdef NONBE_FIX_2493_CHECK_EXTRACT_L_E_LPC_a_isp_conversion t0 = L_shr( t0, sub( 20 - 5, exp ) ); t0 = L_shr( t0, sub( 20 - 6, exp ) ); /* Restore Sign */ if ( y < 0 ) t0 = L_negate( t0 ); t0 = Mpy_32_16_1( t0, ylow ); /* result in Q15 */ t0 = Mpy_32_16_1( t0, ylow ); t0 = L_shr( t0, 1 ); /* result in Q15 */ #else t0 = L_shr( t0, sub( 20, exp ) ); #ifdef FIX_2493_CHECK_EXTRACT_L Loading Loading @@ -1167,13 +1168,14 @@ void E_LPC_a_lsp_conversion( tmp = div_s( (Word16) 16383 / 2, tmp ); t0 = L_mult( x, tmp ); #ifdef NONBE_FIX_2493_CHECK_EXTRACT_L_E_LPC_a_isp_conversion t0 = L_shr( t0, sub( 20 - 5, exp ) ); t0 = L_shr( t0, sub( 20 - 6, exp ) ); /* Restore Sign */ if ( y < 0 ) t0 = L_negate( t0 ); t0 = Mpy_32_16_1( t0, ylow ); /* result in Q15 */ t0 = Mpy_32_16_1( t0, ylow ); t0 = L_shr( t0, 1 ); /* result in Q15 */ #else t0 = L_shr( t0, sub( 20, exp ) ); #ifdef FIX_2493_CHECK_EXTRACT_L Loading