OSDN Git Service

original
[gb-231r1-is01/Gingerbread_2.3.3_r1_IS01.git] / frameworks / base / media / libstagefright / codecs / aacenc / inc / config.h
1 /*\r
2  ** Copyright 2003-2010, VisualOn, Inc.\r
3  **\r
4  ** Licensed under the Apache License, Version 2.0 (the "License");\r
5  ** you may not use this file except in compliance with the License.\r
6  ** You may obtain a copy of the License at\r
7  **\r
8  **     http://www.apache.org/licenses/LICENSE-2.0\r
9  **\r
10  ** Unless required by applicable law or agreed to in writing, software\r
11  ** distributed under the License is distributed on an "AS IS" BASIS,\r
12  ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  ** See the License for the specific language governing permissions and\r
14  ** limitations under the License.\r
15  */\r
16 /*******************************************************************************\r
17         File:           config.h\r
18 \r
19         Content:        aac encoder parameter\r
20 \r
21 *******************************************************************************/\r
22 \r
23 #ifndef _AACENC_CONFIG_H_\r
24 #define _AACENC_CONFIG_H_\r
25 \r
26 #define MAX_CHANNELS        2\r
27 \r
28 #define AACENC_BLOCKSIZE    1024   /*! encoder only takes BLOCKSIZE samples at a time */\r
29 #define AACENC_TRANS_FAC    8      /*! encoder short long ratio */\r
30 \r
31 \r
32 #define MAXBITS_COEF            6144
33 #define MINBITS_COEF            744\r
34 \r
35 \r
36 #endif