|
1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - Initial contribution |
|
11 * |
|
12 * Contributors: |
|
13 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /* |
|
21 \file |
|
22 \brief SBR ROM tables interface $Revision: 1.1.1.1.4.1 $ |
|
23 */ |
|
24 |
|
25 /************************************************************************** |
|
26 sbr_rom.h - SBR ROM tables interface. |
|
27 |
|
28 Author(s): Juha Ojanpera |
|
29 Copyright (c) 2004 by Nokia Research Center, Multimedia Technologies. |
|
30 *************************************************************************/ |
|
31 |
|
32 #ifndef SBR_ROM_H_ |
|
33 #define SBR_ROM_H_ |
|
34 |
|
35 /*-- Project Headers. --*/ |
|
36 #include "env_extr.h" |
|
37 |
|
38 #define INV_INT_TABLE_SIZE (55) |
|
39 #define LOG_DUALIS_TABLE_SIZE (65) |
|
40 #define SBR_BIT_ARRAY_SIZE (8) |
|
41 |
|
42 extern const uint32 bitArray[SBR_BIT_ARRAY_SIZE]; |
|
43 |
|
44 extern const uint8 sbr_start_freq_16[16]; |
|
45 extern const uint8 sbr_start_freq_22[16]; |
|
46 extern const uint8 sbr_start_freq_24[16]; |
|
47 extern const uint8 sbr_start_freq_32[16]; |
|
48 extern const uint8 sbr_start_freq_44[16]; |
|
49 extern const uint8 sbr_start_freq_48[16]; |
|
50 extern const uint8 sbr_start_freq_64[16]; |
|
51 extern const uint8 sbr_start_freq_88[16]; |
|
52 |
|
53 extern const FLOAT sbr_invIntTable[INV_INT_TABLE_SIZE]; |
|
54 extern const FLOAT logDualisTable[LOG_DUALIS_TABLE_SIZE]; |
|
55 |
|
56 extern const FRAME_INFO sbr_staticFrameInfo[3]; |
|
57 |
|
58 extern const SbrHeaderData sbr_defaultHeader; |
|
59 |
|
60 extern const int8 sbr_huffBook_EnvLevel10T[120][2]; |
|
61 extern const int8 sbr_huffBook_EnvLevel10F[120][2]; |
|
62 extern const int8 sbr_huffBook_EnvBalance10T[48][2]; |
|
63 extern const int8 sbr_huffBook_EnvBalance10F[48][2]; |
|
64 extern const int8 sbr_huffBook_EnvLevel11T[62][2]; |
|
65 extern const int8 sbr_huffBook_EnvLevel11F[62][2]; |
|
66 extern const int8 sbr_huffBook_EnvBalance11T[24][2]; |
|
67 extern const int8 sbr_huffBook_EnvBalance11F[24][2]; |
|
68 extern const int8 sbr_huffBook_NoiseLevel11T[62][2]; |
|
69 extern const int8 sbr_huffBook_NoiseBalance11T[24][2]; |
|
70 |
|
71 extern const int32 v_Huff_envelopeLevelC10T[121]; |
|
72 extern const uint8 v_Huff_envelopeLevelL10T[121]; |
|
73 extern const int32 v_Huff_envelopeLevelC10F[121]; |
|
74 extern const uint8 v_Huff_envelopeLevelL10F[121]; |
|
75 extern const int32 bookSbrEnvBalanceC10T[49]; |
|
76 extern const uint8 bookSbrEnvBalanceL10T[49]; |
|
77 extern const int32 bookSbrEnvBalanceC10F[49]; |
|
78 extern const uint8 bookSbrEnvBalanceL10F[49]; |
|
79 extern const int32 v_Huff_envelopeLevelC11T[63]; |
|
80 extern const uint8 v_Huff_envelopeLevelL11T[63]; |
|
81 extern const int32 v_Huff_envelopeLevelC11F[63]; |
|
82 extern const uint8 v_Huff_envelopeLevelL11F[63]; |
|
83 extern const uint16 bookSbrEnvBalanceC11T[25]; |
|
84 extern const uint8 bookSbrEnvBalanceL11T[25]; |
|
85 extern const uint16 bookSbrEnvBalanceC11F[25]; |
|
86 extern const uint8 bookSbrEnvBalanceL11F[25]; |
|
87 extern const uint16 v_Huff_NoiseLevelC11T[63]; |
|
88 extern const uint8 v_Huff_NoiseLevelL11T[63]; |
|
89 extern const uint16 bookSbrNoiseBalanceC11T[25]; |
|
90 extern const uint8 bookSbrNoiseBalanceL11T[25]; |
|
91 |
|
92 #endif /*-- SBR_ROM_H_ --*/ |