Commit b671c77f authored by Jan Kiene's avatar Jan Kiene
Browse files

add debug writeout of ms decision for float ref

parent e15ad0ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@
/* ################### Start DEBUGGING switches ########################### */

#ifndef RELEASE
/*#define DEBUGGING*/                           /* Activate debugging part of the code */
#define DEBUGGING                           /* Activate debugging part of the code */
#endif
/*#define WMOPS*/                               /* Activate complexity and memory counters */
/*#define WMOPS_PER_FRAME*/                     /* Output per-frame complexity (writes one float value per frame to the file "wmops_analysis") */
+6 −0
Original line number Diff line number Diff line
@@ -252,6 +252,12 @@ void stereo_mdct_core_enc(
        stereo_coder_tcx( hStereoMdct, sts, ms_mask, mdst_spectrum, inv_spectrum, inv_mdst_spectrum, 0 );
    }

#ifdef DEBUGGING
    dbgwrite(&hStereoMdct->mdct_stereo_mode[0], sizeof(int16_t), 2, 1, "mdct_stereo_mode_flt_ref");
    dbgwrite(&ms_mask[0][0], sizeof(int16_t), MAX_SFB, 1, "ms_mask_ch0_flt_ref");
    dbgwrite(&ms_mask[1][0], sizeof(int16_t), MAX_SFB, 1, "ms_mask_ch1_flt_ref");
#endif

    /*--------------------------------------------------------------*
     * Power spectrum calculation
     *---------------------------------------------------------------*/