Commit b0fe2ae8 authored by vaclav's avatar vaclav
Browse files

accept FIX_820_DOUBLE_PREC_MACROS

parent 48d5b89d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -4682,19 +4682,11 @@ void ivas_td_decorr_APD_iir_filter(
    out1_re = ( in1_re * in2_re ) - ( in1_im * in2_im ); MAC(1); MULT(1);    \
    out1_im = ( in1_re * in2_im ) + ( in2_re * in1_im ); MAC(1); MULT(1);

#ifdef FIX_820_DOUBLE_PREC_MACROS
#define IVAS_CALCULATE_ABS( re, im, out ) \
    out = sqrtf( ( re * re ) + ( im * im ) ); MAC(1); MULT(1); SQRT(1);

#define IVAS_CALCULATE_RABS( re, out ) \
    out = sqrtf( re * re ); MULT(1); SQRT(1);
#else
#define IVAS_CALCULATE_ABS( re, im, out ) \
    out = (float) sqrt( ( re * re ) + ( im * im ) ); MAC(1); MULT(1); SQRT(1);

#define IVAS_CALCULATE_RABS( re, out ) \
    out = (float) sqrt( re * re ); MULT(1); SQRT(1);
#endif

#define IVAS_CALCULATE_SQ_ABS( re, im, out ) \
    out = (float) ( ( re * re ) + ( im * im ) ); MAC(1); MULT(1);
+0 −1
Original line number Diff line number Diff line
@@ -150,7 +150,6 @@
/*#define FIX_I4_OL_PITCH*/                             /* fix open-loop pitch used for EVS core switching */
/*#define SPLIT_REND_WITH_HEAD_ROT  */                  /* Dlb,FhG: Split Rendering contributions 21 and 35 */

#define FIX_820_DOUBLE_PREC_MACROS                      /* VA: issue 820: Double precision arithmetic in IVAS_CALCULATE_ABS() */
#define FIX_814_DOUBLE_PREC_IN_REVERB                   /* Philips: Issue 814: Replace double precision arithmetic in reverb */
#define FIX_866_MOVE_VBAP                               /* Nokia: Issue 866: Move VBAP to lib_rend */
#define FIX_863_REMOVE_REDUNDANCIES_OMASA               /* Nokia/VA: Issue 863: Remove redundancies in stereo_classifier for OMASA */