Commit 90284bc5 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh Committed by Manuel Jander
Browse files

Cleanup of pre-processor macros in the main branch

parent c052b67d
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -1138,9 +1138,6 @@ void cldfbSynthesis_ivas_fx(
    Word32 *timeOut_fx,            /* o  : output time domain samples  Qx - 1*/
    const Word16 samplesToProcess, /* i  : number of processed samples */
    const Word16 shift,              /* i  : scale for state buffer */
#ifdef OPT_AVOID_STATE_BUF_RESCALE
    const Word16 out_shift,          /* i  : scale for output buffer */
#endif                               /* OPT_AVOID_STATE_BUF_RESCALE */
    HANDLE_CLDFB_FILTER_BANK h_cldfb /* i  : filter bank state           */
)
{
+2 −1
Original line number Diff line number Diff line
@@ -610,7 +610,8 @@ void computeDirectionVectors_fixed(
    Word32 *direction_vector_z, /* o: Q30*/
    Word16 i_e                  /*Exponent of all the intensity buffers*/
    ,
    Word16 *i_e_band )
    Word16 *i_e_band
)
{
    Word16 i;
    Word32 intensityNorm;
+2 −3
Original line number Diff line number Diff line
@@ -3238,7 +3238,8 @@ void computeDirectionVectors_fixed(
    Word32 *direction_vector_z, /*Q30*/
    Word16 i_e                  /*Exponent of all the intensity buffers*/
    ,
    Word16 *i_e_band );
    Word16 *i_e_band
);


UWord8 ivas_masa_surrcoh_signicant_fx(
@@ -5950,9 +5951,7 @@ ivas_error pre_proc_front_ivas_fx(
    const Word16 front_vad_dtx_flag, /* i  : front-VAD DTX flag to overwrite VAD decision				Q0*/
    const IVAS_FORMAT ivas_format,   /* i  : IVAS format												*/
    const Word16 MCT_flag,           /* i  : hMCT handle allocated (1) or not (0)						Q0*/
#ifdef NONBE_1211_DTX_BR_SWITCHING
    const Word32 last_ivas_total_brate, /* i  : last IVAS total bitrate                                    Q0*/
#endif
    const Word32 ivas_total_brate,   /* i  : IVAS total bitrate - for setting the DTX					Q0*/
    Word16 *Q_new
#ifdef DEBUG_MODE_INFO
+2 −0
Original line number Diff line number Diff line
@@ -446,6 +446,8 @@ ivas_error only_reduce_bits_direction_fx(
                }
            }
        }


    }

    *reduce_bits_out = negate( reduce_bits );
+0 −9
Original line number Diff line number Diff line
@@ -3830,15 +3830,6 @@ void ivas_compute_spar_params_fx(
                        move32();
                    }
                }
#else
                for ( i = 0; i < IVAS_SPAR_MAX_CH - IVAS_SPAR_MAX_DMX_CHS; i++ )
                {
                    for ( j = 0; j < IVAS_SPAR_MAX_DMX_CHS - 1; j++ )
                    {
                        hSparMd->band_coeffs[b + i_ts * IVAS_MAX_NUM_BANDS].C_re_fx[i][j] = L_shr( hSparMd->band_coeffs[b + i_ts * IVAS_MAX_NUM_BANDS].C_re_fx[i][j], sub( q_tmp, 22 ) );
                    }
                }
#endif
                hSparMd->band_coeffs[b + ( i_ts * IVAS_MAX_NUM_BANDS )].q_C_re_fx = Q22;
                move16();
            }
Loading