c2_9pf_tab.cpp revision 4f1efc098cb5791c3e9f483f2af84aef70d2d0a0
1/* ------------------------------------------------------------------
2 * Copyright (C) 1998-2009 PacketVideo
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13 * express or implied.
14 * See the License for the specific language governing permissions
15 * and limitations under the License.
16 * -------------------------------------------------------------------
17 */
18/****************************************************************************************
19Portions of this file are derived from the following 3GPP standard:
20
21    3GPP TS 26.073
22    ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec
23    Available from http://www.3gpp.org
24
25(C) 2004, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TTA, TTC)
26Permission to distribute, modify and use this file under the standard license
27terms listed above has been obtained from the copyright holder.
28****************************************************************************************/
29/*
30
31 Filename: /audio/gsm_amr/c/src/c2_9pf_tab.c
32
33------------------------------------------------------------------------------
34 REVISION HISTORY
35
36 Description:
37 (1)    Corrected the module description
38 (2)    Corrected the filename in the template.
39 (3)    Removed embedded tabs.
40
41 Description: Added #ifdef __cplusplus and removed "extern" from table
42              definition.
43
44 Description: Put "extern" back.
45
46 Who:                       Date:
47 Description:
48
49------------------------------------------------------------------------------
50 MODULE DESCRIPTION
51
52 This file contains the declaration for startPos[] used by the functions
53 c2_9pf.c and d2_9pf.c
54
55------------------------------------------------------------------------------
56*/
57
58/*----------------------------------------------------------------------------
59; INCLUDES
60----------------------------------------------------------------------------*/
61#include "typedef.h"
62
63/*--------------------------------------------------------------------------*/
64#ifdef __cplusplus
65extern "C"
66{
67#endif
68
69    /*----------------------------------------------------------------------------
70    ; MACROS
71    ; [Define module specific macros here]
72    ----------------------------------------------------------------------------*/
73
74    /*----------------------------------------------------------------------------
75    ; DEFINES
76    ; [Include all pre-processor statements here. Include conditional
77    ; compile variables also.]
78    ----------------------------------------------------------------------------*/
79
80    /*----------------------------------------------------------------------------
81    ; LOCAL FUNCTION DEFINITIONS
82    ; [List function prototypes here]
83    ----------------------------------------------------------------------------*/
84
85    /*----------------------------------------------------------------------------
86    ; LOCAL VARIABLE DEFINITIONS
87    ; [Variable declaration - defined here and used outside this module]
88    ----------------------------------------------------------------------------*/
89    extern const Word16 startPos[2*4*2] = {0, 2, 0, 3,
90        0, 2, 0, 3,
91        1, 3, 2, 4,
92        1, 4, 1, 4
93    };
94
95    /*--------------------------------------------------------------------------*/
96#ifdef __cplusplus
97}
98#endif
99
100/*
101------------------------------------------------------------------------------
102 FUNCTION NAME:
103------------------------------------------------------------------------------
104 INPUT AND OUTPUT DEFINITIONS
105
106 Inputs:
107    None
108
109 Outputs:
110    None
111
112 Returns:
113    None
114
115 Global Variables Used:
116    None
117
118 Local Variables Needed:
119    None
120
121------------------------------------------------------------------------------
122 FUNCTION DESCRIPTION
123
124 None
125
126------------------------------------------------------------------------------
127 REQUIREMENTS
128
129 None
130
131------------------------------------------------------------------------------
132 REFERENCES
133
134 [1] c2_9pf.c UMTS GSM AMR speech codec, R99 -  Version 3.2.0, March 2, 2001
135
136------------------------------------------------------------------------------
137 PSEUDO-CODE
138
139
140------------------------------------------------------------------------------
141 RESOURCES USED [optional]
142
143 When the code is written for a specific target processor the
144 the resources used should be documented below.
145
146 HEAP MEMORY USED: x bytes
147
148 STACK MEMORY USED: x bytes
149
150 CLOCK CYCLES: (cycle count equation for this function) + (variable
151                used to represent cycle count for each subroutine
152                called)
153     where: (cycle count variable) = cycle count for [subroutine
154                                     name]
155
156------------------------------------------------------------------------------
157 CAUTION [optional]
158 [State any special notes, constraints or cautions for users of this function]
159
160------------------------------------------------------------------------------
161*/
162
163/*----------------------------------------------------------------------------
164; FUNCTION CODE
165----------------------------------------------------------------------------*/
166