FreeCalypso > hg > gsm-codec-lib
changeset 387:7818f466a639
libtwamr: integrate lsp.tab
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 06 May 2024 06:36:40 +0000 |
parents | 9adfe3863a41 |
children | 550d3594c878 |
files | libtwamr/Makefile libtwamr/lsp_tab.c libtwamr/lsp_tab.h libtwamr/namespace.list libtwamr/window.h |
diffstat | 5 files changed, 42 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libtwamr/Makefile Mon May 06 06:24:26 2024 +0000 +++ b/libtwamr/Makefile Mon May 06 06:36:40 2024 +0000 @@ -9,10 +9,10 @@ enc_lag6.o ex_ctrl.o g_adapt.o g_code.o g_pitch.o gain_q.o gains_tab.o \ gc_pred.o gmed_n.o graytab.o hp_max.o int_lpc.o int_lsf.o inter_36.o \ inv_sqrt.o lag_wind.o levinson.o log2.o lpc.o lsfwt.o lsp_az.o \ - lsp_lsf.o mac_32.o oper_32b.o pow2.o prmno.o q_gain_c.o q_gain_p.o \ - q_plsf.o q_plsf3_tab.o q_plsf5_tab.o q_plsf_3.o q_plsf_5.o qgain475.o \ - qgain795.o qua_gain.o qua_gain_tab.o reorder.o s10_8pf.o set_sign.o \ - sqrt_l.o tls_flags.o window.o + lsp_lsf.o lsp_tab.o mac_32.o oper_32b.o pow2.o prmno.o q_gain_c.o \ + q_gain_p.o q_plsf.o q_plsf3_tab.o q_plsf5_tab.o q_plsf_3.o q_plsf_5.o \ + qgain475.o qgain795.o qua_gain.o qua_gain_tab.o reorder.o s10_8pf.o \ + set_sign.o sqrt_l.o tls_flags.o window.o HDRS= namespace.h LIB= libtwamr.a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libtwamr/lsp_tab.c Mon May 06 06:36:40 2024 +0000 @@ -0,0 +1,22 @@ +/* +******************************************************************************** +* +* GSM AMR-NB speech codec R98 Version 7.6.0 December 12, 2001 +* R99 Version 3.3.0 +* REL-4 Version 4.1.0 +* +******************************************************************************** +* +* File : lsp.tab +* Purpose : Table for lsp init +* $Id $ +* +******************************************************************************** +*/ + +#include "typedef.h" +#include "namespace.h" +#include "cnst.h" + +const Word16 lsp_init_data[M] = {30000, 26000, 21000, 15000, 8000, + 0, -8000, -15000, -21000, -26000};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libtwamr/lsp_tab.h Mon May 06 06:36:40 2024 +0000 @@ -0,0 +1,14 @@ +/* + * This header file holds the extern declaration for the table in lsp_tab.c, + * previously static in lsp.tab include file, but now with intermodule linkage. + */ + +#ifndef lsp_tab_h +#define lsp_tab_h + +#include "typedef.h" +#include "cnst.h" + +extern const Word16 lsp_init_data[M]; + +#endif
--- a/libtwamr/namespace.list Mon May 06 06:24:26 2024 +0000 +++ b/libtwamr/namespace.list Mon May 06 06:36:40 2024 +0000 @@ -54,6 +54,7 @@ dico1_lsf dico2_lsf dico3_lsf dico4_lsf dico5_lsf dico1_lsf3 dico2_lsf3 dico3_lsf3 mr515_3_lsf mr795_1_lsf past_rq_init pred_fact +lsp_init_data Cb_gain_average Cb_gain_average_reset MR475_update_unq_pred MR475_gain_quant MR795_gain_quant