OSDN Git Service

original
[gb-231r1-is01/Gingerbread_2.3.3_r1_IS01.git] / frameworks / base / media / libstagefright / codecs / aacdec / analysis_sub_band.h
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 /*
19
20  Pathname: ./c/include/analysis_sub_band.h
21
22 ------------------------------------------------------------------------------
23  REVISION HISTORY
24
25  Who:                                       Date:
26  Description:
27 ------------------------------------------------------------------------------
28  INCLUDE DESCRIPTION
29
30 ------------------------------------------------------------------------------
31 */
32
33 #ifndef ANALYSIS_SUB_BAND_H
34 #define ANALYSIS_SUB_BAND_H
35
36
37 /*----------------------------------------------------------------------------
38 ; INCLUDES
39 ----------------------------------------------------------------------------*/
40
41 #include "pv_audio_type_defs.h"
42
43 /*----------------------------------------------------------------------------
44 ; MACROS
45 ; Define module specific macros here
46 ----------------------------------------------------------------------------*/
47 #ifdef __cplusplus
48 extern "C"
49 {
50 #endif
51
52     /*----------------------------------------------------------------------------
53     ; EXTERNAL VARIABLES REFERENCES
54     ----------------------------------------------------------------------------*/
55
56     /*----------------------------------------------------------------------------
57     ; DEFINES AND SIMPLE TYPEDEF'S
58     ----------------------------------------------------------------------------*/
59
60
61     void analysis_sub_band_LC(Int32 vec[64],
62     Int32 cosine_total[],
63     Int32 maxBand,
64     Int32 scratch_mem[][64]);
65
66 #ifdef HQ_SBR
67
68
69     void analysis_sub_band(Int32 vec[64],
70                            Int32 cosine_total[],
71                            Int32 sine_total[],
72                            Int32 maxBand,
73                            Int32 scratch_mem[][64]);
74
75 #endif
76
77
78 #ifdef __cplusplus
79 }
80 #endif
81
82 #endif  /* ANALYSIS_SUB_BAND_H */