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[];
90    const Word16 startPos[2*4*2] = {0, 2, 0, 3,
91        0, 2, 0, 3,
92        1, 3, 2, 4,
93        1, 4, 1, 4
94    };
95
96    /*--------------------------------------------------------------------------*/
97#ifdef __cplusplus
98}
99#endif
100
101/*
102------------------------------------------------------------------------------
103 FUNCTION NAME:
104------------------------------------------------------------------------------
105 INPUT AND OUTPUT DEFINITIONS
106
107 Inputs:
108    None
109
110 Outputs:
111    None
112
113 Returns:
114    None
115
116 Global Variables Used:
117    None
118
119 Local Variables Needed:
120    None
121
122------------------------------------------------------------------------------
123 FUNCTION DESCRIPTION
124
125 None
126
127------------------------------------------------------------------------------
128 REQUIREMENTS
129
130 None
131
132------------------------------------------------------------------------------
133 REFERENCES
134
135 [1] c2_9pf.c UMTS GSM AMR speech codec, R99 -  Version 3.2.0, March 2, 2001
136
137------------------------------------------------------------------------------
138 PSEUDO-CODE
139
140
141------------------------------------------------------------------------------
142 RESOURCES USED [optional]
143
144 When the code is written for a specific target processor the
145 the resources used should be documented below.
146
147 HEAP MEMORY USED: x bytes
148
149 STACK MEMORY USED: x bytes
150
151 CLOCK CYCLES: (cycle count equation for this function) + (variable
152                used to represent cycle count for each subroutine
153                called)
154     where: (cycle count variable) = cycle count for [subroutine
155                                     name]
156
157------------------------------------------------------------------------------
158 CAUTION [optional]
159 [State any special notes, constraints or cautions for users of this function]
160
161------------------------------------------------------------------------------
162*/
163
164/*----------------------------------------------------------------------------
165; FUNCTION CODE
166----------------------------------------------------------------------------*/
167