Commit fbc7fc85 authored by Adityaraj Jain's avatar Adityaraj Jain
Browse files

changes for be foe evs

parent 4541b670
Loading
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -41,7 +41,6 @@ void pred_lt4_ivas_fx(
#endif
    x0 = &excI[-T0];


    frac = negate( frac );

    IF( frac < 0 )
@@ -71,9 +70,6 @@ void pred_lt4_ivas_fx(
            }
            s = W_sat_l( W_shr( s64, 16 ) ); /* Q_exc + Q16 */
        }
#if ( INTERP_EXP != -1 )
        //s = L_shl_o( s, INTERP_EXP + 1, &Overflow ); /* Q_exc + Q15 */
#endif

        excO[j] = round_fx_o( s, &Overflow ); /* Q_exc */
        move16();
+2 −1
Original line number Diff line number Diff line
@@ -7182,6 +7182,7 @@ void pred_lt4(
    const Word16 nb_coef,  /* i  : nb of filter coef       Q0*/
    const Word16 up_sample /* i  : up_sample               Q0*/
);
void pred_lt4_ivas_fx(
    const Word16 excI[],   /* in : excitation buffer       Q_exc*/
    Word16 excO[],         /* out: excitation buffer       Q_exc*/
+11 −12
Original line number Diff line number Diff line
@@ -1332,8 +1332,7 @@ const Word16 inter4_2_fx[] =
};
/* 1/4 resolution interpolation filter (-3 dB at 0.856*fs/2) */
const Word32 L_pitch_inter4_2[PIT_FIR_SIZE2] =
{
const Word32 L_pitch_inter4_2[PIT_FIR_SIZE2] = { /* Q31 */
    2018634624, 1839083520, 1357785216, 724904576, 126856152, -281447072,
    -428193216, -340524320, -121030032, 102233104, 229241728, 222704784,
    111802296, -32603096, -136805440, -158183648, -99851544, -2110976,
+2 −2
Original line number Diff line number Diff line
@@ -175,8 +175,8 @@ extern const Word16 fft256_read_indexes[]; /* FFT Q0*/
extern const Word16 inter4_2_fx_Q15[];     // Q15     /* 1/4 resolution interpolation filter */
extern const Word16 inter4_2_fx[];
extern const Word16 pitch_inter4_1[UP_SAMP * L_INTERPOL1 + 1]; /*1Q14*/
extern const Word16 pitch_inter4_2[PIT_FIR_SIZE2];             /*1Q14*/
extern const Word32 L_pitch_inter4_2[PIT_FIR_SIZE2];             /*1Q14*/
extern const Word16 pitch_inter4_2[PIT_FIR_SIZE2];             /*Q15*/
extern const Word32 L_pitch_inter4_2[PIT_FIR_SIZE2];           /*Q31*/
extern const Word16 Assym_window_W16fx[];                      // Q15
extern const Word16 assym_window_16k_fx[];                     // Q15
extern const Word16 grid50_fx[( GRID50_POINTS - 1 ) / 2 - 1];  // Q15
+8 −1
Original line number Diff line number Diff line
@@ -832,7 +832,14 @@ void Prep_music_postP_fx(
     * Extrapolation of the last future part and windowing
     *------------------------------------------------------------*/
    pt1 = exc_buffer_in + DCT_L_POST - OFFSET2; /*Q_exc*/
    IF( element_mode != EVS_MONO )
    {
        pred_lt4_ivas_fx( pt1, pt1, s_pit, fr_pit, OFFSET2, L_pitch_inter4_2, L_INTERPOL2, PIT_UP_SAMP );
    }
    ELSE
    {
        pred_lt4( pt1, pt1, s_pit, fr_pit, OFFSET2, pitch_inter4_2, L_INTERPOL2, PIT_UP_SAMP );
    }
    /*------------------------------------------------------------*
     *  windowing right side
     *------------------------------------------------------------*/
Loading