Commit d0e32552 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_2306_MISSING_UPDATE_LOWRATE_PITCH_GAIN

parent b25dd1a4
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -108,7 +108,6 @@
/* any switch which is non-be wrt. TS 26.251 V3.0 */

#define FIX_2250_LARGE_DIFFERENCES_BETWEEN_BASOP_AND_FLOAT  /* Dolby: Issue 2250:  random vector generation in GenShapedSHBExcitation() */
#define FIX_2306_MISSING_UPDATE_LOWRATE_PITCH_GAIN      /* Dolby: Fix missing update of low-rate pitch gain in the S/M classifier */
#define FIX_2257_INCR_GUARD_BITS                        /* FhG: take correct rendering frame-size into account for guard-bits calculation */
#define FIX_2315_AGC_MEMORY_RESET                       /* VA: basop issue 2315: fix reset of the AGC memory */
#define FIX_2312_CONDITION_MISSING_GSC_DEC_LR           /* VA: basop issue 2297: addition of condition missing in the GSC gain decoder at low-rate */
+0 −7
Original line number Diff line number Diff line
@@ -310,15 +310,8 @@ void encod_gen_voic_fx(
            push_indice( hBstr, IND_LP_FILT_SELECT, lp_select, 1 );
        }

#ifndef FIX_2306_MISSING_UPDATE_LOWRATE_PITCH_GAIN
        IF( st_fx->element_mode == EVS_MONO )
        {
#endif
            /*st_fx->lowrate_pitchGain = 0.9f * st_fx->lowrate_pitchGain + 0.1f * gain_pit_fx;*/
            st_fx->hSpMusClas->lowrate_pitchGain = round_fx_sat( L_mac_sat( L_mult( 29491, st_fx->hSpMusClas->lowrate_pitchGain ), 6554, gain_pit_fx ) ); /*Q14*Q16(0.1) + Q15 -> Q15*/
#ifndef FIX_2306_MISSING_UPDATE_LOWRATE_PITCH_GAIN
        }
#endif

        /*-----------------------------------------------------------------*
         * Transform domain contribution encoding - active frames