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

add correct dumping mechanism ported from ivas-float-update

parent 1cb64fb6
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@
#include <assert.h>
#ifdef DEBUGGING
#include "debug.h"
#include <string.h>
#endif
#include "wmc_auto.h"

+9 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@
#include "options.h"
#ifdef DEBUGGING
#include "debug.h"
#include <string.h>
#endif
#include "cnst.h"
#include "ivas_cnst.h"
@@ -220,6 +221,14 @@ ivas_error pre_proc_front_ivas(
        }
    }

#ifdef DEBUG_MODE_INFO
    {
        int16_t tmp_dmx_in[L_FRAME48k];
        mvr2s( signal_in - NS2SA( st->input_Fs, ACELP_LOOK_NS ), tmp_dmx_in, input_frame );
        dbgwrite( tmp_dmx_in, sizeof( int16_t ), input_frame, 1, strcat( fname( debug_dir, "ivas_input_dmx", 0, n + 1, ENC ), ".pcm" ) );
    }
#endif

    lMemRecalc_12k8 = 0;
    lMemRecalc = 0;
    if ( element_mode == IVAS_CPE_TD || element_mode == IVAS_CPE_MDCT )