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: e_RawBitstreamConst.h
     21 
     22 ------------------------------------------------------------------------------
     23  REVISION HISTORY
     24 
     25  Who:                       Date:
     26  Description:
     27 
     28 ------------------------------------------------------------------------------
     29  INCLUDE DESCRIPTION
     30 
     31  enum for the Raw Bitstream related constants
     32 
     33 ------------------------------------------------------------------------------
     34 */
     35 
     36 /*----------------------------------------------------------------------------
     37 ; CONTINUE ONLY IF NOT ALREADY DEFINED
     38 ----------------------------------------------------------------------------*/
     39 #ifndef E_RAW_BITSTREAM_CONST_H
     40 #define E_RAW_BITSTREAM_CONST_H
     41 
     42 /*----------------------------------------------------------------------------
     43 ; INCLUDES
     44 ----------------------------------------------------------------------------*/
     45 
     46 /*----------------------------------------------------------------------------
     47 ; MACROS
     48 ; Define module specific macros here
     49 ----------------------------------------------------------------------------*/
     50 
     51 /*----------------------------------------------------------------------------
     52 ; DEFINES
     53 ; Include all pre-processor statements here.
     54 ----------------------------------------------------------------------------*/
     55 
     56 /*----------------------------------------------------------------------------
     57 ; EXTERNAL VARIABLES REFERENCES
     58 ; Declare variables used in this module but defined elsewhere
     59 ----------------------------------------------------------------------------*/
     60 
     61 /*----------------------------------------------------------------------------
     62 ; SIMPLE TYPEDEF'S
     63 ----------------------------------------------------------------------------*/
     64 
     65 /*----------------------------------------------------------------------------
     66 ; ENUMERATED TYPEDEF'S
     67 ----------------------------------------------------------------------------*/
     68 typedef enum
     69 {
     70     LEN_SE_ID       = 3,
     71     LEN_TAG     = 4,
     72     LEN_COM_WIN     = 1,
     73     LEN_ICS_RESERV  = 1,
     74     LEN_WIN_SEQ     = 2,
     75     LEN_WIN_SH      = 1,
     76     LEN_MAX_SFBL    = 6,
     77     LEN_MAX_SFBS    = 4,
     78     LEN_CB          = 4,
     79     LEN_SCL_PCM     = 8,
     80     LEN_PRED_PRES   = 1,
     81     LEN_PRED_RST    = 1,
     82     LEN_PRED_RSTGRP = 5,
     83     LEN_PRED_ENAB   = 1,
     84     LEN_MASK_PRES   = 2,
     85     LEN_MASK        = 1,
     86     LEN_PULSE_PRES  = 1,
     87     LEN_TNS_PRES    = 1,
     88     LEN_GAIN_PRES   = 1,
     89 
     90     LEN_PULSE_NPULSE    = 2,
     91     LEN_PULSE_ST_SFB    = 6,
     92     LEN_PULSE_POFF      = 5,
     93     LEN_PULSE_PAMP      = 4,
     94     NUM_PULSE_LINES     = 4,
     95     PULSE_OFFSET_AMP    = 4,
     96 
     97     LEN_IND_CCE_FLG = 1,
     98     LEN_NCC         = 3,
     99     LEN_IS_CPE      = 1,
    100     LEN_CC_LR       = 1,
    101     LEN_CC_DOM      = 1,
    102     LEN_CC_SGN      = 1,
    103     LEN_CCH_GES     = 2,
    104     LEN_CCH_CGP     = 1,
    105 
    106     LEN_D_ALIGN     = 1,
    107     LEN_D_CNT       = 8,
    108     LEN_D_ESC       = 8,
    109     LEN_F_CNT       = 4,
    110     LEN_F_ESC       = 8,
    111     LEN_BYTE        = 8,
    112     LEN_PAD_DATA    = 8,
    113 
    114     LEN_PC_COMM     = 9
    115 
    116 } eRawBitstreamConst;
    117 
    118 /*----------------------------------------------------------------------------
    119 ; STRUCTURES TYPEDEF'S
    120 ----------------------------------------------------------------------------*/
    121 
    122 /*----------------------------------------------------------------------------
    123 ; GLOBAL FUNCTION DEFINITIONS
    124 ; Function Prototype declaration
    125 ----------------------------------------------------------------------------*/
    126 
    127 /*----------------------------------------------------------------------------
    128 ; END
    129 ----------------------------------------------------------------------------*/
    130 #endif
    131