OSDN Git Service

original
[gb-231r1-is01/Gingerbread_2.3.3_r1_IS01.git] / frameworks / base / media / libstagefright / codecs / aacdec / ps_allocate_decoder.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: ps_allocate_decoder.h
21
22 ------------------------------------------------------------------------------
23  REVISION HISTORY
24
25  Who:                   Date:
26  Description:
27
28 ------------------------------------------------------------------------------
29  INCLUDE DESCRIPTION
30
31  Header file for function ps_allocate_decoder()
32
33 ------------------------------------------------------------------------------
34 */
35
36 /*----------------------------------------------------------------------------
37 ; CONTINUE ONLY IF NOT ALREADY DEFINED
38 ----------------------------------------------------------------------------*/
39 #ifndef PS_ALLOCATE_DECODER_H
40 #define PS_ALLOCATE_DECODER_H
41
42 /*----------------------------------------------------------------------------
43 ; INCLUDES
44 ----------------------------------------------------------------------------*/
45 #include "pv_audio_type_defs.h"
46
47 /*----------------------------------------------------------------------------
48 ; MACROS
49 ; Define module specific macros here
50 ----------------------------------------------------------------------------*/
51
52 /*----------------------------------------------------------------------------
53 ; DEFINES
54 ; Include all pre-processor statements here.
55 ----------------------------------------------------------------------------*/
56
57 /*----------------------------------------------------------------------------
58 ; EXTERNAL VARIABLES REFERENCES
59 ; Declare variables used in this module but defined elsewhere
60 ----------------------------------------------------------------------------*/
61
62 /*----------------------------------------------------------------------------
63 ; SIMPLE TYPEDEF'S
64 ----------------------------------------------------------------------------*/
65
66 /*----------------------------------------------------------------------------
67 ; ENUMERATED TYPEDEF'S
68 ----------------------------------------------------------------------------*/
69
70 /*----------------------------------------------------------------------------
71 ; STRUCTURES TYPEDEF'S
72 ----------------------------------------------------------------------------*/
73
74 /*----------------------------------------------------------------------------
75 ; GLOBAL FUNCTION DEFINITIONS
76 ; Function Prototype declaration
77 ----------------------------------------------------------------------------*/
78
79 #ifdef __cplusplus
80 extern "C"
81 {
82 #endif
83
84     Int32 ps_allocate_decoder(SBRDECODER_DATA *self,
85     UInt32  noSubSamples);
86
87 #ifdef __cplusplus
88 }
89 #endif
90
91 /*----------------------------------------------------------------------------
92 ; END
93 ----------------------------------------------------------------------------*/
94 #endif  /* PS_ALLOCATE_DECODER_H */