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 ****************************************************************************************/
32 * Quantization tables for split by 5 VQ of ISFs for a background
34 * Version whith no prediction
37 /*----------------------------------------------------------------------------
39 ----------------------------------------------------------------------------*/
45 const int16 mean_isf_noise[ORDER] =
48 478, 1100, 2213, 3267, 4219, 5222, 6198, 7240,
49 8229, 9153, 10098, 11108, 12144, 13184, 14165, 3803
55 * isf codebooks: split-by-5 VQ
57 * codebook vector dimension number of vectors
58 * ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
67 * 1st split: isf0 to isf1
71 const int16 dico1_isf_noise[SIZE_BK_NOISE1*2] =
142 * 2nd split: isf2 to isf4
145 const int16 dico2_isf_noise[SIZE_BK_NOISE2*3] =
215 * 3rd split: isf5 to isf7
218 const int16 dico3_isf_noise[SIZE_BK_NOISE3*3] =
288 * 4th split: isf8 to isf11
291 const int16 dico4_isf_noise[SIZE_BK_NOISE4*4] =
294 -776, -854, -891, -920,
295 -552, -610, -663, -741,
296 -321, -370, -476, -565,
297 274, -160, -456, 201,
322 772, 845, 1024, 1151,
324 940, 1068, 1252, 1302,
325 1588, 1767, 1718, 1513
329 * 5th split: isf12 to isf15
332 const int16 dico5_isf_noise[SIZE_BK_NOISE5*4] =
334 -810, -879, -945, -254,
350 640, 1004, 1052, 369,
355 1016, 838, 1011, 189,
358 956, 987, 1011, -120,
361 1123, 1059, 1182, 118,
363 1109, 918, 1101, 503,
364 1039, 1286, 1220, 317,
365 1351, 1207, 1010, 326