Commit 15cdd2da authored by Nishant S Kulgod's avatar Nishant S Kulgod
Browse files

removing debug code

parent 57c6a15c
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2127,8 +2127,10 @@ void ivas_param_ism_dec_digest_tc_fx(
    int16_t slot_idx, bin_idx;
    int32_t ivas_total_brate;
    int16_t output_frame;
#ifdef CHECK_POW_VALUES
    float ref_power[CLDFB_NO_CHANNELS_MAX];
    float cx_diag[CLDFB_NO_CHANNELS_MAX][PARAM_ISM_MAX_DMX];
#endif
    Word32 ref_power_fx[CLDFB_NO_CHANNELS_MAX];
    Word32 cx_diag_fx[CLDFB_NO_CHANNELS_MAX][PARAM_ISM_MAX_DMX];
    Word16 exp_ref_power, exp_cx_diag;
@@ -2312,6 +2314,7 @@ void ivas_param_ism_dec_digest_tc_fx(
                                            ch,
                                            ref_power_fx, &exp_ref_power, cx_diag_fx, &exp_cx_diag );

#ifdef CHECK_POW_VALUES
            FOR( int band_idx = 0; band_idx < hParamIsmDec->hParamIsm->nbands; band_idx++ )
            {
                Word16 a = hParamIsmDec->hParamIsm->band_grouping[band_idx];
@@ -2323,6 +2326,7 @@ void ivas_param_ism_dec_digest_tc_fx(
                    ref_power[bin_idx] = me2f( ref_power_fx[bin_idx], exp_ref_power );
                }
            }
#endif
#else
            ivas_param_ism_collect_slot(hParamIsmDec, &hParamIsmDec->hParamIsmRendering->Cldfb_RealBuffer_tc[slot_idx * hSpatParamRendCom->num_freq_bands * nchan_transport + ch * hSpatParamRendCom->num_freq_bands], &hParamIsmDec->hParamIsmRendering->Cldfb_ImagBuffer_tc[slot_idx * hSpatParamRendCom->num_freq_bands * nchan_transport + ch * hSpatParamRendCom->num_freq_bands], ch, ref_power, cx_diag);
#endif