Home | History | Annotate | Download | only in aacdec
      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: ./include/e_infoinitConst.h
     21 
     22 ------------------------------------------------------------------------------
     23  REVISION HISTORY
     24 
     25  Who:                       Date:
     26  Description:
     27 
     28 ------------------------------------------------------------------------------
     29  INCLUDE DESCRIPTION
     30 
     31  enum for Infoinit related constants
     32 
     33 ------------------------------------------------------------------------------
     34 */
     35 
     36 /*----------------------------------------------------------------------------
     37 ; CONTINUE ONLY IF NOT ALREADY DEFINED
     38 ----------------------------------------------------------------------------*/
     39 #ifndef E_INFOINIT_CONST_H
     40 #define E_INFOINIT_CONST_H
     41 
     42 /*----------------------------------------------------------------------------
     43 ; INCLUDES
     44 ----------------------------------------------------------------------------*/
     45 #include "chans.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 typedef enum
     70 {
     71     /* block switch windows for single channels or channel pairs */
     72     Winds   = Chans,
     73 
     74     /* average channel block length, bytes */
     75     Avjframe    = 341,
     76 
     77     TEXP    = 128,      /* size of exp cache table */
     78     MAX_IQ_TBL  = 128,      /* size of inv quant table */
     79     MAXFFT  = LN4
     80 
     81 } infoinitConst;
     82 
     83 
     84 /*----------------------------------------------------------------------------
     85 ; STRUCTURES TYPEDEF'S
     86 ----------------------------------------------------------------------------*/
     87 
     88 /*----------------------------------------------------------------------------
     89 ; GLOBAL FUNCTION DEFINITIONS
     90 ; Function Prototype declaration
     91 ----------------------------------------------------------------------------*/
     92 
     93 /*----------------------------------------------------------------------------
     94 ; END
     95 ----------------------------------------------------------------------------*/
     96 #endif
     97