Loading lib_dec/gain_dec_fx.c +16 −0 Original line number Diff line number Diff line Loading @@ -1029,6 +1029,13 @@ void lp_gain_updt_fx( #else tmp = extract_h( L_shl( norm_gain_code, 3 ) ); /*(16+3)-16 -> Q3*/ #endif /* To handle extremely low values */ test(); if ( norm_gain_code != 0 && tmp == 0 ) { tmp = 1; move16(); } IF( EQ_16( L_frame, L_FRAME ) ) { IF( EQ_16( i_subfr, 0 ) ) Loading Loading @@ -1106,6 +1113,15 @@ void lp_gain_updt_fx( move16(); /*Q3*/ } } /* To handle extremely low values */ test(); if ( tmp != 0 && *lp_gainc == 0 ) { *lp_gainc = 1; move16(); } return; } Loading Loading
lib_dec/gain_dec_fx.c +16 −0 Original line number Diff line number Diff line Loading @@ -1029,6 +1029,13 @@ void lp_gain_updt_fx( #else tmp = extract_h( L_shl( norm_gain_code, 3 ) ); /*(16+3)-16 -> Q3*/ #endif /* To handle extremely low values */ test(); if ( norm_gain_code != 0 && tmp == 0 ) { tmp = 1; move16(); } IF( EQ_16( L_frame, L_FRAME ) ) { IF( EQ_16( i_subfr, 0 ) ) Loading Loading @@ -1106,6 +1113,15 @@ void lp_gain_updt_fx( move16(); /*Q3*/ } } /* To handle extremely low values */ test(); if ( tmp != 0 && *lp_gainc == 0 ) { *lp_gainc = 1; move16(); } return; } Loading