FreeCalypso > hg > gsm-codec-lib
comparison libtwamr/tw_amr.h @ 354:e4ce7972737f
libtwamr: add DHF tables
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 05 May 2024 21:34:23 +0000 |
parents | 6b33f3ba4289 |
children | 028ed5114e52 |
comparison
equal
deleted
inserted
replaced
353:b252d74da6c6 | 354:e4ce7972737f |
---|---|
92 | 92 |
93 void amr_frame_to_tseq(const struct amr_param_frame *frame, uint16_t *cod); | 93 void amr_frame_to_tseq(const struct amr_param_frame *frame, uint16_t *cod); |
94 int amr_frame_from_tseq(const uint16_t *cod, int use_rxtype, | 94 int amr_frame_from_tseq(const uint16_t *cod, int use_rxtype, |
95 struct amr_param_frame *frame); | 95 struct amr_param_frame *frame); |
96 | 96 |
97 /* stateless functions and const data for DHF detection */ | |
98 | |
99 int amr_check_dhf(const struct amr_param_frame *frame, int first_sub_only); | |
100 | |
101 void amr_dhf_subst_efr(struct amr_param_frame *frame); | |
102 | |
103 extern const int16_t amr_dhf_mr475[AMR_MAX_PRM]; | |
104 extern const int16_t amr_dhf_mr515[AMR_MAX_PRM]; | |
105 extern const int16_t amr_dhf_mr59[AMR_MAX_PRM]; | |
106 extern const int16_t amr_dhf_mr67[AMR_MAX_PRM]; | |
107 extern const int16_t amr_dhf_mr74[AMR_MAX_PRM]; | |
108 extern const int16_t amr_dhf_mr795[AMR_MAX_PRM]; | |
109 extern const int16_t amr_dhf_mr102[AMR_MAX_PRM]; | |
110 extern const int16_t amr_dhf_mr122[AMR_MAX_PRM]; | |
111 extern const int16_t amr_dhf_gsmefr[AMR_MAX_PRM]; | |
112 | |
97 #endif /* include guard */ | 113 #endif /* include guard */ |