mirror of
https://github.com/darksaid98/mediaplex.git
synced 2026-12-04 06:28:50 +00:00
chore: update
This commit is contained in:
1 parent
345a8c44ca
commit
71b3dc90ee
136 files changed
+3928
-2157
No files matched your search
Vendored
+8
@@ -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
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user