Loading lib_com/cldfb_fx.c +8 −0 Original line number Diff line number Diff line Loading @@ -612,6 +612,14 @@ void cldfbAnalysis_ts_fx_var_q( } } #define CHECKHR_cldfbAnalysis_ts_fx_var_q_timebuffer #ifdef CHECKHR_cldfbAnalysis_ts_fx_var_q_timebuffer for ( int mx = 0; mx < ( ( CLDFB_NO_CHANNELS_MAX * CLDFB_NO_COL_MAX ) + ( 9 * CLDFB_NO_CHANNELS_MAX ) ); mx++ ) { //buffer_fx[mx] = MAXVAL_WORD32 >> 4; /*HR 4*/ assert( ( buffer_fx[mx] != 0 && norm_l( buffer_fx[mx] ) >= 4 ) || ( buffer_fx[mx] == 0 ) ); } #endif /* only process needed cols */ IF( GT_16( samplesToProcess, -1 ) ) { Loading lib_com/fft_cldfb_fx.c +11 −0 Original line number Diff line number Diff line Loading @@ -613,6 +613,17 @@ static void fft30_with_cmplx_data( cmplx *inp /*Qx*/ ) cmplx z[30], y[15], x[15], rs1, rs2, rs3, rs4, t; #define CHECKHR5_fft30_with_cmplx_data #ifdef CHECKHR5_fft30_with_cmplx_data for (int mx=0; mx<30; mx++) { assert( ( inp[mx].re != 0 && norm_l( inp[mx].re ) >= 5 ) || inp[mx].re == 0 ); assert( ( inp[mx].im != 0 && norm_l( inp[mx].im ) >= 5 ) || inp[mx].im == 0 ); //inp[mx].im = MAXVAL_WORD32>>5; //inp[mx].re = MAXVAL_WORD32>>5; } #endif /* 1. FFT15 stage */ x[0] = CL_shr( inp[0], SCALEFACTOR30_1 ); Loading lib_enc/ivas_enc_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -333,7 +333,7 @@ ivas_error ivas_enc_fx( { /* Scaling data_fx */ { Word16 norm_data_in = MAX16B; Word16 norm_data_in = 31; move16(); FOR( i = 0; i < hEncoderConfig->nchan_ism + st_ivas->nchan_transport; i++ ) { Loading Loading
lib_com/cldfb_fx.c +8 −0 Original line number Diff line number Diff line Loading @@ -612,6 +612,14 @@ void cldfbAnalysis_ts_fx_var_q( } } #define CHECKHR_cldfbAnalysis_ts_fx_var_q_timebuffer #ifdef CHECKHR_cldfbAnalysis_ts_fx_var_q_timebuffer for ( int mx = 0; mx < ( ( CLDFB_NO_CHANNELS_MAX * CLDFB_NO_COL_MAX ) + ( 9 * CLDFB_NO_CHANNELS_MAX ) ); mx++ ) { //buffer_fx[mx] = MAXVAL_WORD32 >> 4; /*HR 4*/ assert( ( buffer_fx[mx] != 0 && norm_l( buffer_fx[mx] ) >= 4 ) || ( buffer_fx[mx] == 0 ) ); } #endif /* only process needed cols */ IF( GT_16( samplesToProcess, -1 ) ) { Loading
lib_com/fft_cldfb_fx.c +11 −0 Original line number Diff line number Diff line Loading @@ -613,6 +613,17 @@ static void fft30_with_cmplx_data( cmplx *inp /*Qx*/ ) cmplx z[30], y[15], x[15], rs1, rs2, rs3, rs4, t; #define CHECKHR5_fft30_with_cmplx_data #ifdef CHECKHR5_fft30_with_cmplx_data for (int mx=0; mx<30; mx++) { assert( ( inp[mx].re != 0 && norm_l( inp[mx].re ) >= 5 ) || inp[mx].re == 0 ); assert( ( inp[mx].im != 0 && norm_l( inp[mx].im ) >= 5 ) || inp[mx].im == 0 ); //inp[mx].im = MAXVAL_WORD32>>5; //inp[mx].re = MAXVAL_WORD32>>5; } #endif /* 1. FFT15 stage */ x[0] = CL_shr( inp[0], SCALEFACTOR30_1 ); Loading
lib_enc/ivas_enc_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -333,7 +333,7 @@ ivas_error ivas_enc_fx( { /* Scaling data_fx */ { Word16 norm_data_in = MAX16B; Word16 norm_data_in = 31; move16(); FOR( i = 0; i < hEncoderConfig->nchan_ism + st_ivas->nchan_transport; i++ ) { Loading