| Index: silk/fixed/solve_LS_FIX.c
|
| diff --git a/silk/fixed/solve_LS_FIX.c b/silk/fixed/solve_LS_FIX.c
|
| index fb913abeeba65b5d0b38e88d188d65ef5915c344..1a39018d8b04295bd9e2b87ea53bc021d5407f5a 100644
|
| --- a/silk/fixed/solve_LS_FIX.c
|
| +++ b/silk/fixed/solve_LS_FIX.c
|
| @@ -8,11 +8,11 @@ this list of conditions and the following disclaimer.
|
| - Redistributions in binary form must reproduce the above copyright
|
| notice, this list of conditions and the following disclaimer in the
|
| documentation and/or other materials provided with the distribution.
|
| -- Neither the name of Internet Society, IETF or IETF Trust, nor the
|
| +- Neither the name of Internet Society, IETF or IETF Trust, nor the
|
| names of specific contributors, may be used to endorse or promote
|
| products derived from this software without specific prior written
|
| permission.
|
| -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
|
| +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
| @@ -30,6 +30,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
| #endif
|
|
|
| #include "main_FIX.h"
|
| +#include "stack_alloc.h"
|
| #include "tuning_parameters.h"
|
|
|
| /*****************************/
|
| @@ -79,11 +80,13 @@ void silk_solve_LDL_FIX(
|
| opus_int32 *x_Q16 /* O Pointer to x solution vector */
|
| )
|
| {
|
| - opus_int32 L_Q16[ MAX_MATRIX_SIZE * MAX_MATRIX_SIZE ];
|
| + VARDECL( opus_int32, L_Q16 );
|
| opus_int32 Y[ MAX_MATRIX_SIZE ];
|
| inv_D_t inv_D[ MAX_MATRIX_SIZE ];
|
| + SAVE_STACK;
|
|
|
| silk_assert( M <= MAX_MATRIX_SIZE );
|
| + ALLOC( L_Q16, M * M, opus_int32 );
|
|
|
| /***************************************************
|
| Factorize A by LDL such that A = L*D*L',
|
| @@ -107,6 +110,7 @@ void silk_solve_LDL_FIX(
|
| x = inv(L') * inv(D) * Y
|
| *****************************************************/
|
| silk_LS_SolveLast_FIX( L_Q16, M, Y, x_Q16 );
|
| + RESTORE_STACK;
|
| }
|
|
|
| static inline void silk_LDL_factorize_FIX(
|
|
|