Loading lib_enc/ivas_agc_enc.c +1 −1 Original line number Diff line number Diff line Loading @@ -333,6 +333,7 @@ void ivas_agc_enc_process( if ( isClipped ) { int16_t isCompensated = FALSE; actualMaxAbsVal = pState->gain_state[i].lastMaxAbs * pState->gain_state[i].lastGain; #ifndef AGC_TUNING_IMPROVEMENT if ( MaxAbsValIdx == 0 ) Loading @@ -342,7 +343,6 @@ void ivas_agc_enc_process( else { #endif int16_t isCompensated = FALSE; pState->gain_data[i].gainException = FALSE; #ifdef AGC_TUNING_IMPROVEMENT pState->gain_state[i].gainExpVal = (int16_t) ceilf( -logf( actualMaxAbsVal * MDFT_NORM_SCALING ) / logf( pState->agc_com.winFunc[min( offset - 1, MaxAbsValIdx )] ) ); Loading Loading
lib_enc/ivas_agc_enc.c +1 −1 Original line number Diff line number Diff line Loading @@ -333,6 +333,7 @@ void ivas_agc_enc_process( if ( isClipped ) { int16_t isCompensated = FALSE; actualMaxAbsVal = pState->gain_state[i].lastMaxAbs * pState->gain_state[i].lastGain; #ifndef AGC_TUNING_IMPROVEMENT if ( MaxAbsValIdx == 0 ) Loading @@ -342,7 +343,6 @@ void ivas_agc_enc_process( else { #endif int16_t isCompensated = FALSE; pState->gain_data[i].gainException = FALSE; #ifdef AGC_TUNING_IMPROVEMENT pState->gain_state[i].gainExpVal = (int16_t) ceilf( -logf( actualMaxAbsVal * MDFT_NORM_SCALING ) / logf( pState->agc_com.winFunc[min( offset - 1, MaxAbsValIdx )] ) ); Loading