Loading lib_enc/tcx_utils_enc_fx.c +0 −29 Original line number Diff line number Diff line Loading @@ -1405,8 +1405,6 @@ void tcx_scalar_quantization_fx( tmp16 = negate( s_max( tmp16, 0 ) ); #endif // FIX_BASOP_2551_HARM_SCALAR_QUAN i = sub( L_frame, 1 ); #ifdef FIX_BASOP_2551_HARM_SCALAR_QUAN IF( memQuantZeros_fx != NULL ) { test(); Loading @@ -1418,33 +1416,6 @@ void tcx_scalar_quantization_fx( } } #else if ( EQ_16( element_mode, EVS_MONO ) ) { test(); WHILE( ( memQuantZeros_fx[i] != 0 ) && ( LT_32( L_abs( L_shl( x[i], tmp16 ) ), tmp32 ) ) ) { test(); xq[i] = 0; move16(); i = sub( i, 1 ); } } else { IF( memQuantZeros_fx != NULL ) { test(); FOR( ; ( ( memQuantZeros_fx[i] != 0 ) && ( L_abs( x[i] ) < tmp32 ) ); i-- ) { test(); xq[i] = 0; move16(); } } } #endif // !FIX_BASOP_2551_HARM_SCALAR_QUAN /* invert gain */ gain = Inv16( gain, &gain_e ); Loading Loading
lib_enc/tcx_utils_enc_fx.c +0 −29 Original line number Diff line number Diff line Loading @@ -1405,8 +1405,6 @@ void tcx_scalar_quantization_fx( tmp16 = negate( s_max( tmp16, 0 ) ); #endif // FIX_BASOP_2551_HARM_SCALAR_QUAN i = sub( L_frame, 1 ); #ifdef FIX_BASOP_2551_HARM_SCALAR_QUAN IF( memQuantZeros_fx != NULL ) { test(); Loading @@ -1418,33 +1416,6 @@ void tcx_scalar_quantization_fx( } } #else if ( EQ_16( element_mode, EVS_MONO ) ) { test(); WHILE( ( memQuantZeros_fx[i] != 0 ) && ( LT_32( L_abs( L_shl( x[i], tmp16 ) ), tmp32 ) ) ) { test(); xq[i] = 0; move16(); i = sub( i, 1 ); } } else { IF( memQuantZeros_fx != NULL ) { test(); FOR( ; ( ( memQuantZeros_fx[i] != 0 ) && ( L_abs( x[i] ) < tmp32 ) ); i-- ) { test(); xq[i] = 0; move16(); } } } #endif // !FIX_BASOP_2551_HARM_SCALAR_QUAN /* invert gain */ gain = Inv16( gain, &gain_e ); Loading