annotate libtwamr/pred_lt.h @ 405:8fff74ca83e8

libtwamr: integrate ton_stab.c
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 06 May 2024 23:23:40 +0000
parents df14b0c17e6d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
398
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 ********************************************************************************
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 *
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 * GSM AMR-NB speech codec R98 Version 7.6.0 December 12, 2001
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 * R99 Version 3.3.0
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 * REL-4 Version 4.1.0
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 *
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 ********************************************************************************
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 *
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 * File : pred_lt.h
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 * Purpose : Compute the result of long term prediction.
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 *
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 *
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 ********************************************************************************
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 */
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 #ifndef pred_lt_h
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 #define pred_lt_h "$Id $"
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 /*
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 ********************************************************************************
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 * INCLUDE FILES
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 ********************************************************************************
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 */
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 #include "typedef.h"
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 /*
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 ********************************************************************************
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 * DEFINITION OF DATA TYPES
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 ********************************************************************************
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 */
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 /*
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 ********************************************************************************
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 * DECLARATION OF PROTOTYPES
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 ********************************************************************************
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 */
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 void Pred_lt_3or6 (
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 Word16 exc[], /* in/out: excitation buffer */
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 Word16 T0, /* input : integer pitch lag */
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 Word16 frac, /* input : fraction of lag */
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 Word16 L_subfr, /* input : subframe size */
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 Word16 flag3 /* input : if set, upsampling rate = 3 (6 otherwise) */
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 );
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45
df14b0c17e6d libtwamr: integrate pred_lt.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 #endif