Loading lib_com/tools_fx.c +0 −24 Original line number Diff line number Diff line Loading @@ -2162,7 +2162,6 @@ Word16 maximum_exp_fx( const Word16 lvec_fx /* i : length of input vector */ ) #ifdef FIX_1981_MAXIMUM_EXP_FX #define FIX_1981_MAXIMUM_EXP_FX_2_TST { Word16 j, ind; ind = 0; Loading Loading @@ -2195,29 +2194,6 @@ Word16 maximum_exp_fx( } #endif } #ifdef FIX_1981_MAXIMUM_EXP_FX_2_TST { Word16 j, ind_tst; ind_tst = 0; move16(); FOR( j = 1; j < lvec_fx; j++ ) { Word16 scale = sub( exp_vec[j], exp_vec[ind_tst] ); if ( L_mac0_sat( L_shl_sat( L_deposit_l( vec_fx[j] ), scale ), vec_fx[ind_tst], -0x0001 ) > 0 ) { ind_tst = j; move16(); } } if ( ind_tst != ind ) { //assert( 0 ); printf( "\n diff in FIX_1981_MAXIMUM_EXP_FX_2_TST: new idx: %d(0x%08x, %d) old idx: %d(0x%08x, %d)", ind, vec_fx[ind], exp_vec[ind], ind_tst, vec_fx[ind_tst], exp_vec[ind_tst] ); } } #endif return ind; } #else Loading Loading
lib_com/tools_fx.c +0 −24 Original line number Diff line number Diff line Loading @@ -2162,7 +2162,6 @@ Word16 maximum_exp_fx( const Word16 lvec_fx /* i : length of input vector */ ) #ifdef FIX_1981_MAXIMUM_EXP_FX #define FIX_1981_MAXIMUM_EXP_FX_2_TST { Word16 j, ind; ind = 0; Loading Loading @@ -2195,29 +2194,6 @@ Word16 maximum_exp_fx( } #endif } #ifdef FIX_1981_MAXIMUM_EXP_FX_2_TST { Word16 j, ind_tst; ind_tst = 0; move16(); FOR( j = 1; j < lvec_fx; j++ ) { Word16 scale = sub( exp_vec[j], exp_vec[ind_tst] ); if ( L_mac0_sat( L_shl_sat( L_deposit_l( vec_fx[j] ), scale ), vec_fx[ind_tst], -0x0001 ) > 0 ) { ind_tst = j; move16(); } } if ( ind_tst != ind ) { //assert( 0 ); printf( "\n diff in FIX_1981_MAXIMUM_EXP_FX_2_TST: new idx: %d(0x%08x, %d) old idx: %d(0x%08x, %d)", ind, vec_fx[ind], exp_vec[ind], ind_tst, vec_fx[ind_tst], exp_vec[ind_tst] ); } } #endif return ind; } #else Loading