Commit c4352710 authored by thomas dettbarn's avatar thomas dettbarn
Browse files

compiles.

parent 44eb648b
Loading
Loading
Loading
Loading
Loading
+41 −43
Original line number Diff line number Diff line
@@ -59,8 +59,6 @@
#define INV_SQRT_45_OVER_32_Q29   452729280l /* 1.0f/SQRT_45_OVER_32_Q29   */




/* --------------------------------
   normalization conversion tables
   -------------------------------- */
@@ -368,7 +366,7 @@ AMBI_CONVERT_ERROR renormalize_channels(
        for ( i = 0; i < L_FRAME48k; i++ )
        {
            Word64 tmp;
            tmp= W_mult0_32x32(in[i_chan][i], conversion_factor );
            tmp = W_mult0_32_32( in[i_chan][i], conversion_factor );
            tmp = W_shr( tmp, Q29 );
            out[i_chan][i] = W_extract_h( tmp );
        }
+7 −0
Original line number Diff line number Diff line
@@ -34,6 +34,13 @@
#define AMBI_CONVERT_H

#include <stdint.h>
#include "options.h"
#include "prot_fx.h"
#include "ivas_cnst.h"
#include <math.h>
#include "wmc_auto.h"
#include "ivas_prot_fx.h"


#define L_FRAME48k        960
#define AMBI_MAX_CHANNELS 16