chore: update

This commit is contained in:
skdhg committed 2023-08-09 23:22:32 +05:45
1 parent 345a8c44ca
commit 71b3dc90ee
136 files changed
+3928 -2157

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
exe = executable('test_unit_LPC_inv_pred_gain',
'test_unit_LPC_inv_pred_gain.c', '../LPC_inv_pred_gain.c',
include_directories: opus_includes,
link_with: [celt_lib, celt_static_libs, silk_lib, silk_static_libs],
dependencies: libm,
install: false)
test(test_name, exe)
+1 -1
View File
@@ -43,6 +43,7 @@ int check_stability(opus_int16 *A_Q12, int order) {
int i;
int j;
int sum_a, sum_abs_a;
double y[SILK_MAX_ORDER_LPC] = {0};
sum_a = sum_abs_a = 0;
for( j = 0; j < order; j++ ) {
sum_a += A_Q12[ j ];
@@ -57,7 +58,6 @@ int check_stability(opus_int16 *A_Q12, int order) {
if( sum_abs_a < 4096 ) {
return 1;
}
double y[SILK_MAX_ORDER_LPC] = {0};
y[0] = 1;
for( i = 0; i < 10000; i++ ) {
double sum = 0;