Commit 86cd1d05 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Matrix product update to fix LTV crash issue

[x] Fixes Test case - 10dB neg ltv-OMASA 2Dir2TC 4ISM at br sw techs
13.2 to 512 kbps start 384 kbps, 48kHz in, 48kHz out,
BINAURAL_ROOM_REVERB out and 10dB neg ltv-OMASA 2Dir2TC 4ISM at br sw techs 13.2 to 512 kbps start 384 kbps, 48kHz in, 16kHz out, BINAURAL out (Model from file)
parent 956878fb
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1775,7 +1775,7 @@ Word16 matrix_product_q30_fx(
                    W_tmp = W_add( W_tmp, W_mult0_32_32( X_fx[x_idx], Y_fx[y_idx] ) ); // Q56
                }
                W_tmp = W_shl( W_tmp, 6 );
                ( *Zp_fx ) = L_sub( W_round64_L( W_tmp ), 64 ); // adjusting for precision
                ( *Zp_fx ) = W_round64_L( W_tmp );
                move32();
                Zp_fx++;
            }
@@ -1802,7 +1802,7 @@ Word16 matrix_product_q30_fx(
                    W_tmp = W_add( W_tmp, W_mult0_32_32( X_fx[x_idx], Y_fx[y_idx] ) ); // Q56
                }
                W_tmp = W_shl( W_tmp, 6 );
                ( *Zp_fx ) = L_sub( W_round64_L( W_tmp ), 64 ); // adjusting for precision
                ( *Zp_fx ) = W_round64_L( W_tmp );
                move32();
                Zp_fx++;
            }
@@ -1830,7 +1830,7 @@ Word16 matrix_product_q30_fx(
                }

                W_tmp = W_shl( W_tmp, 6 );
                ( *Zp_fx ) = L_sub( W_round64_L( W_tmp ), 64 ); // adjusting for precision
                ( *Zp_fx ) = W_round64_L( W_tmp );
                move32();
                Zp_fx++;
            }
@@ -1858,7 +1858,7 @@ Word16 matrix_product_q30_fx(
                    W_tmp = W_add( W_tmp, W_mult0_32_32( X_fx[x_idx], Y_fx[y_idx] ) ); // Q56
                }
                W_tmp = W_shl( W_tmp, 6 );
                ( *Zp_fx ) = L_sub( W_round64_L( W_tmp ), 64 ); // adjusting for precision
                ( *Zp_fx ) = W_round64_L( W_tmp );
                move32();
                Zp_fx++;
            }