FreeCalypso > hg > gsm-codec-lib
diff libtwamr/pred_lt.h @ 398:df14b0c17e6d
libtwamr: integrate pred_lt.c
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 06 May 2024 19:07:10 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libtwamr/pred_lt.h Mon May 06 19:07:10 2024 +0000 @@ -0,0 +1,46 @@ +/* +******************************************************************************** +* +* 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 : pred_lt.h +* Purpose : Compute the result of long term prediction. +* +* +******************************************************************************** +*/ +#ifndef pred_lt_h +#define pred_lt_h "$Id $" + +/* +******************************************************************************** +* INCLUDE FILES +******************************************************************************** +*/ +#include "typedef.h" + +/* +******************************************************************************** +* DEFINITION OF DATA TYPES +******************************************************************************** +*/ + +/* +******************************************************************************** +* DECLARATION OF PROTOTYPES +******************************************************************************** +*/ + +void Pred_lt_3or6 ( + Word16 exc[], /* in/out: excitation buffer */ + Word16 T0, /* input : integer pitch lag */ + Word16 frac, /* input : fraction of lag */ + Word16 L_subfr, /* input : subframe size */ + Word16 flag3 /* input : if set, upsampling rate = 3 (6 otherwise) */ +); + +#endif