Loading lib_dec/ivas_svd_dec.c +36 −36 Original line number Diff line number Diff line Loading @@ -1990,22 +1990,22 @@ static float maxWithSign( * *-------------------------------------------------------------------------*/ static void flushToZeroArray_fx( Word32 arr[MAX_OUTPUT_CHANNELS], const Word16 length ) { int16_t i; for ( i = 0; i < length; ++i ) { if ( L_abs( arr[i] ) < SVD_ZERO_FLUSH_THRESHOLD_FX ) { arr[i] = 0; } } return; } //static void flushToZeroArray_fx( // Word32 arr[MAX_OUTPUT_CHANNELS], // const Word16 length ) //{ // int16_t i; // // for ( i = 0; i < length; ++i ) // { // if ( L_abs( arr[i] ) < SVD_ZERO_FLUSH_THRESHOLD_FX ) // { // arr[i] = 0; // } // } // // return; //} static void flushToZeroArray( float arr[MAX_OUTPUT_CHANNELS], Loading @@ -2031,26 +2031,26 @@ static void flushToZeroArray( * *-------------------------------------------------------------------------*/ static void flushToZeroMat_fx( Word32 mat[][MAX_OUTPUT_CHANNELS], const Word16 m, const Word16 n ) { Word16 i, j; for ( i = 0; i < m; ++i ) { for ( j = 0; j < n; ++j ) { if ( L_abs( mat[i][j] ) < SVD_ZERO_FLUSH_THRESHOLD_FX ) { mat[i][j] = 0; } } } return; } //static void flushToZeroMat_fx( // Word32 mat[][MAX_OUTPUT_CHANNELS], // const Word16 m, // const Word16 n ) //{ // Word16 i, j; // // for ( i = 0; i < m; ++i ) // { // for ( j = 0; j < n; ++j ) // { // if ( L_abs( mat[i][j] ) < SVD_ZERO_FLUSH_THRESHOLD_FX ) // { // mat[i][j] = 0; // } // } // } // // return; //} static void flushToZeroMat( float mat[][MAX_OUTPUT_CHANNELS], Loading Loading
lib_dec/ivas_svd_dec.c +36 −36 Original line number Diff line number Diff line Loading @@ -1990,22 +1990,22 @@ static float maxWithSign( * *-------------------------------------------------------------------------*/ static void flushToZeroArray_fx( Word32 arr[MAX_OUTPUT_CHANNELS], const Word16 length ) { int16_t i; for ( i = 0; i < length; ++i ) { if ( L_abs( arr[i] ) < SVD_ZERO_FLUSH_THRESHOLD_FX ) { arr[i] = 0; } } return; } //static void flushToZeroArray_fx( // Word32 arr[MAX_OUTPUT_CHANNELS], // const Word16 length ) //{ // int16_t i; // // for ( i = 0; i < length; ++i ) // { // if ( L_abs( arr[i] ) < SVD_ZERO_FLUSH_THRESHOLD_FX ) // { // arr[i] = 0; // } // } // // return; //} static void flushToZeroArray( float arr[MAX_OUTPUT_CHANNELS], Loading @@ -2031,26 +2031,26 @@ static void flushToZeroArray( * *-------------------------------------------------------------------------*/ static void flushToZeroMat_fx( Word32 mat[][MAX_OUTPUT_CHANNELS], const Word16 m, const Word16 n ) { Word16 i, j; for ( i = 0; i < m; ++i ) { for ( j = 0; j < n; ++j ) { if ( L_abs( mat[i][j] ) < SVD_ZERO_FLUSH_THRESHOLD_FX ) { mat[i][j] = 0; } } } return; } //static void flushToZeroMat_fx( // Word32 mat[][MAX_OUTPUT_CHANNELS], // const Word16 m, // const Word16 n ) //{ // Word16 i, j; // // for ( i = 0; i < m; ++i ) // { // for ( j = 0; j < n; ++j ) // { // if ( L_abs( mat[i][j] ) < SVD_ZERO_FLUSH_THRESHOLD_FX ) // { // mat[i][j] = 0; // } // } // } // // return; //} static void flushToZeroMat( float mat[][MAX_OUTPUT_CHANNELS], Loading