1 /* ------------------------------------------------------------------
2 * Copyright (C) 1998-2009 PacketVideo
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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
14 * See the License for the specific language governing permissions
15 * and limitations under the License.
16 * -------------------------------------------------------------------
18 /****************************************************************************************
19 Portions of this file are derived from the following 3GPP standard:
22 ANSI-C code for the Adaptive Multi-Rate - Wideband (AMR-WB) speech codec
23 Available from http://www.3gpp.org
25 (C) 2007, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TTA, TTC)
26 Permission to distribute, modify and use this file under the standard license
27 terms listed above has been obtained from the copyright holder.
28 ****************************************************************************************/
30 ------------------------------------------------------------------------------
34 Pathname: ./cpp/include/mime_io.h
36 ------------------------------------------------------------------------------
39 ------------------------------------------------------------------------------
46 /*----------------------------------------------------------------------------
48 ----------------------------------------------------------------------------*/
50 /*----------------------------------------------------------------------------
52 ; Define module specific macros here
53 ----------------------------------------------------------------------------*/
56 /*----------------------------------------------------------------------------
58 ----------------------------------------------------------------------------*/
62 /*----------------------------------------------------------------------------
63 ; EXTERNAL VARIABLES REFERENCES
64 ----------------------------------------------------------------------------*/
65 extern const uint8 toc_byte[16];
67 /* number of speech bits for all modes */
68 extern const int16 unpacked_size[16];
70 /* size of packed frame for each mode, excluding TOC byte */
71 extern const int16 packed_size[16];
73 /* number of unused speech bits in packed format for each mode */
74 extern const int16 unused_size[16];
76 /* sorting tables for all modes */
78 extern const int16 sort_660[132];
80 extern const int16 sort_885[177];
82 extern const int16 sort_1265[253];
84 extern const int16 sort_1425[285];
86 extern const int16 sort_1585[317];
88 extern const int16 sort_1825[365];
90 extern const int16 sort_1985[397];
92 extern const int16 sort_2305[461];
94 extern const int16 sort_2385[477];
96 extern const int16 sort_SID[35];
99 /*----------------------------------------------------------------------------
101 ----------------------------------------------------------------------------*/
118 #endif /* MIME_IO_H */