Loading lib_rend/ivas_dirac_dec_binaural_functions.c +57 −62 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ #include "wmc_auto.h" //#define FIX1072_SPEEDUP_formulate2x2MixingMatrix_fx_simple #define FIX1072_SPEEDUP_formulate2x2MixingMatrix_fx_reduceDivs //#define FIX1072_SPEEDUP_formulate2x2MixingMatrix_fx_reduceDivs //#define FIX1072_SPEEDUP_chol2x2_fx Loading Loading @@ -149,7 +149,8 @@ static void matrixMul_fx( Word32 Are[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_A static void matrixTransp2Mul_fx( Word32 Are[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_A*/, Word32 Aim[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_A*/, Word16 *q_A, Word32 Bre[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_B*/, Word16 *q_A, Word32 Bre[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_B*/, Word32 Bim[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_B*/, Word16 *q_B, #ifdef FIX_1072_SPEEDUP_matrixTransp2Mul_fx_scaleSwitch Loading @@ -158,8 +159,7 @@ static void matrixTransp2Mul_fx( #endif Word32 outRe[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_out*/, Word32 outIm[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_out*/, Word16 *q_out ); Word16 *q_out ); /*------------------------------------------------------------------------- * ivas_dirac_dec_init_binaural_data() Loading Loading @@ -4224,7 +4224,6 @@ static void chol2x2_fx( move32(); q_im = add( sub( 31, exp ), sub( q_c, q_re1 ) ); #endif /*FIX1072_SPEEDUP_chol2x2_fx*/ } if ( outRe[1][0] == 0 ) { Loading Loading @@ -4264,7 +4263,6 @@ static void chol2x2_fx( temp = BASOP_Util_Divide3232_Scale_cadence( temp, e1, &exp ); q_tmp = add( sub( 31, exp ), sub( q_tmp, q_e ) ); #endif /*FIX1072_SPEEDUP_chol2x2_fx*/ } if ( temp == 0 ) { Loading Loading @@ -4506,7 +4504,6 @@ static void formulate2x2MixingMatrix_fx( #endif q_ky = 0; move16(); q_Sx = 0; Loading Loading @@ -4908,7 +4905,6 @@ static void formulate2x2MixingMatrix_fx( hdrm_re[chA][chB] = sub( add( add( q_temp, q_div ), hdrm_re[chA][chB] ), 32 ); move16(); #endif } ELSE { Loading Loading @@ -4940,7 +4936,6 @@ static void formulate2x2MixingMatrix_fx( hdrm_im[chA][chB] = sub( add( add( q_temp, q_div ), hdrm_im[chA][chB] ), 32 ); move16(); #endif } ELSE { Loading Loading
lib_rend/ivas_dirac_dec_binaural_functions.c +57 −62 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ #include "wmc_auto.h" //#define FIX1072_SPEEDUP_formulate2x2MixingMatrix_fx_simple #define FIX1072_SPEEDUP_formulate2x2MixingMatrix_fx_reduceDivs //#define FIX1072_SPEEDUP_formulate2x2MixingMatrix_fx_reduceDivs //#define FIX1072_SPEEDUP_chol2x2_fx Loading Loading @@ -149,7 +149,8 @@ static void matrixMul_fx( Word32 Are[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_A static void matrixTransp2Mul_fx( Word32 Are[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_A*/, Word32 Aim[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_A*/, Word16 *q_A, Word32 Bre[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_B*/, Word16 *q_A, Word32 Bre[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_B*/, Word32 Bim[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_B*/, Word16 *q_B, #ifdef FIX_1072_SPEEDUP_matrixTransp2Mul_fx_scaleSwitch Loading @@ -158,8 +159,7 @@ static void matrixTransp2Mul_fx( #endif Word32 outRe[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_out*/, Word32 outIm[BINAURAL_CHANNELS][BINAURAL_CHANNELS] /*q_out*/, Word16 *q_out ); Word16 *q_out ); /*------------------------------------------------------------------------- * ivas_dirac_dec_init_binaural_data() Loading Loading @@ -4224,7 +4224,6 @@ static void chol2x2_fx( move32(); q_im = add( sub( 31, exp ), sub( q_c, q_re1 ) ); #endif /*FIX1072_SPEEDUP_chol2x2_fx*/ } if ( outRe[1][0] == 0 ) { Loading Loading @@ -4264,7 +4263,6 @@ static void chol2x2_fx( temp = BASOP_Util_Divide3232_Scale_cadence( temp, e1, &exp ); q_tmp = add( sub( 31, exp ), sub( q_tmp, q_e ) ); #endif /*FIX1072_SPEEDUP_chol2x2_fx*/ } if ( temp == 0 ) { Loading Loading @@ -4506,7 +4504,6 @@ static void formulate2x2MixingMatrix_fx( #endif q_ky = 0; move16(); q_Sx = 0; Loading Loading @@ -4908,7 +4905,6 @@ static void formulate2x2MixingMatrix_fx( hdrm_re[chA][chB] = sub( add( add( q_temp, q_div ), hdrm_re[chA][chB] ), 32 ); move16(); #endif } ELSE { Loading Loading @@ -4940,7 +4936,6 @@ static void formulate2x2MixingMatrix_fx( hdrm_im[chA][chB] = sub( add( add( q_temp, q_div ), hdrm_im[chA][chB] ), 32 ); move16(); #endif } ELSE { Loading