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  Filename: e_sbr_error.h
     21  Funtions:
     22 
     23 
     24 ------------------------------------------------------------------------------
     25  REVISION HISTORY
     26 
     27 
     28  Who:                                   Date: MM/DD/YYYY
     29  Description:
     30 ------------------------------------------------------------------------------
     31 
     32 
     33 ----------------------------------------------------------------------------
     34 ; CONTINUE ONLY IF NOT ALREADY DEFINED
     35 ----------------------------------------------------------------------------*/
     36 #ifndef E_SBR_ERROR_H
     37 #define E_SBR_ERROR_H
     38 
     39 /*----------------------------------------------------------------------------
     40 ; INCLUDES
     41 ----------------------------------------------------------------------------*/
     42 
     43 
     44 /*----------------------------------------------------------------------------
     45 ; MACROS
     46 ; Define module specific macros here
     47 ----------------------------------------------------------------------------*/
     48 
     49 /*----------------------------------------------------------------------------
     50 ; DEFINES
     51 ; Include all pre-processor statements here.
     52 ----------------------------------------------------------------------------*/
     53 #define HANDLE_ERROR_INFO Int32
     54 #define noError 0
     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 typedef enum
     71 {
     72     SBRDEC_OK = 0,
     73     SBRDEC_NOSYNCH,
     74     SBRDEC_ILLEGAL_PROGRAM,
     75     SBRDEC_ILLEGAL_TAG,
     76     SBRDEC_ILLEGAL_CHN_CONFIG,
     77     SBRDEC_ILLEGAL_SECTION,
     78     SBRDEC_ILLEGAL_SCFACTORS,
     79     SBRDEC_ILLEGAL_PULSE_DATA,
     80     SBRDEC_MAIN_PROFILE_NOT_IMPLEMENTED,
     81     SBRDEC_GC_NOT_IMPLEMENTED,
     82     SBRDEC_ILLEGAL_PLUS_ELE_ID,
     83     SBRDEC_CREATE_ERROR,
     84     SBRDEC_NOT_INITIALIZED,
     85     SBRDEC_TOO_MANY_SBR_ENVELOPES,
     86     SBRDEC_INVALID_BITSTREAM
     87 }
     88 SBR_ERROR;
     89 
     90 /*----------------------------------------------------------------------------
     91 ; STRUCTURES TYPEDEF'S
     92 ----------------------------------------------------------------------------*/
     93 
     94 
     95 /*----------------------------------------------------------------------------
     96 ; GLOBAL FUNCTION DEFINITIONS
     97 ; Function Prototype declaration
     98 ----------------------------------------------------------------------------*/
     99 
    100 
    101 /*----------------------------------------------------------------------------
    102 ; END
    103 ----------------------------------------------------------------------------*/
    104 #endif
    105 
    106 
    107