Loading lib_com/pred_lt4_fx.c +1 −5 Original line number Diff line number Diff line Loading @@ -41,7 +41,6 @@ void pred_lt4_ivas_fx( #endif x0 = &excI[-T0]; frac = negate( frac ); IF( frac < 0 ) Loading Loading @@ -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(); Loading lib_com/prot_fx.h +2 −1 Original line number Diff line number Diff line Loading @@ -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*/ Loading lib_com/rom_com.c +11 −12 Original line number Diff line number Diff line Loading @@ -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, lib_com/rom_com.h +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading lib_dec/LD_music_post_filter_fx.c +8 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
lib_com/pred_lt4_fx.c +1 −5 Original line number Diff line number Diff line Loading @@ -41,7 +41,6 @@ void pred_lt4_ivas_fx( #endif x0 = &excI[-T0]; frac = negate( frac ); IF( frac < 0 ) Loading Loading @@ -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(); Loading
lib_com/prot_fx.h +2 −1 Original line number Diff line number Diff line Loading @@ -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*/ Loading
lib_com/rom_com.c +11 −12 Original line number Diff line number Diff line Loading @@ -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,
lib_com/rom_com.h +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading
lib_dec/LD_music_post_filter_fx.c +8 −1 Original line number Diff line number Diff line Loading @@ -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