Commit 9fd6a92c authored by malenov's avatar malenov
Browse files

fix unknown cntr_push_pop

parent cd5c12f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -558,7 +558,6 @@ enum instructions
extern double ops_cnt_wmc;
extern double prom_cnt_wmc;
extern double inst_cnt[NUM_INST];
extern int cntr_push_pop;

#define push_wmops( ... ) push_wmops_fct( __VA_ARGS__, NULL )
void push_wmops_fct( const char *label, ... );
@@ -570,6 +569,7 @@ void update_mem( void );

#else

extern int cntr_push_pop;
#define push_wmops( x ) ( cntr_push_pop++ )
#define pop_wmops()     ( cntr_push_pop-- )
#define reset_wmops()
+6 −3
Original line number Diff line number Diff line
@@ -30,10 +30,10 @@

*******************************************************************************************************/

#include "basop_util.h"
#include "ivas_cnst.h"
#include <assert.h>
#include <stdint.h>
#include "basop_util.h"
#include "ivas_cnst.h"
#include "options.h"
#include <math.h>
#include "cnst.h"
@@ -1161,14 +1161,17 @@ void rotateFrame_sd(
    Word16 azimuth, elevation;
    Word32 azimuth_fx, elevation_fx;
    Word32 tmp = Q31_BY_SUB_FRAME_240; // Q31
    move32();
    Word32 out_temp;
    Word32 tmp_gains_fx[MAX_CICP_CHANNELS - 1];
    Word32 gains_fx[MAX_CICP_CHANNELS][MAX_CICP_CHANNELS];
    Word32 gains_prev_fx[MAX_CICP_CHANNELS][MAX_CICP_CHANNELS];
    Word32 output_tmp_fx[MAX_CICP_CHANNELS][L_FRAME48k];
    Word32 cross_fade_fx[L_FRAME48k / MAX_PARAM_SPATIAL_SUBFRAMES];

    push_wmops( "rotateFrame_sd" );

    move32();

    nchan = add( hTransSetup.nchan_out_woLFE, hTransSetup.num_lfe );
    index_lfe = hTransSetup.index_lfe[0];
    move16();