• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_tMP4AudioObjectType.h
21 
22  This file contains enumerated types for MP4 Audio Object Types, as defined
23  in ISO/IEC 14496-3, AMMENDMENT 1 Dated 2000-09-15
24 
25 ------------------------------------------------------------------------------
26 */
27 
28 /*----------------------------------------------------------------------------
29 ; CONTINUE ONLY IF NOT ALREADY DEFINED
30 ----------------------------------------------------------------------------*/
31 #ifndef E_TMP4AUDIOOBJECTTYPE_H
32 #define E_TMP4AUDIOOBJECTTYPE_H
33 
34 #ifdef __cplusplus
35 extern "C"
36 {
37 #endif
38 
39     /*----------------------------------------------------------------------------
40     ; INCLUDES
41     ----------------------------------------------------------------------------*/
42 
43     /*----------------------------------------------------------------------------
44     ; MACROS
45     ; Define module specific macros here
46     ----------------------------------------------------------------------------*/
47 
48     /*----------------------------------------------------------------------------
49     ; DEFINES
50     ; Include all pre-processor statements here.
51     ----------------------------------------------------------------------------*/
52 
53     /*----------------------------------------------------------------------------
54     ; EXTERNAL VARIABLES REFERENCES
55     ; Declare variables used in this module but defined elsewhere
56     ----------------------------------------------------------------------------*/
57 
58     /*----------------------------------------------------------------------------
59     ; SIMPLE TYPEDEF'S
60     ----------------------------------------------------------------------------*/
61 
62     /*----------------------------------------------------------------------------
63     ; ENUMERATED TYPEDEF'S
64     ----------------------------------------------------------------------------*/
65 
66     typedef enum eMP4AudioObjectType
67     {
68         MP4AUDIO_NULL            =  0, /*                                       */
69         MP4AUDIO_AAC_MAIN        =  1, /*                                       */
70         MP4AUDIO_AAC_LC          =  2, /* LC = Low Complexity                   */
71         MP4AUDIO_AAC_SSR         =  3, /* SSR = Scalable Sampling Rate          */
72         MP4AUDIO_LTP             =  4, /* LTP = Long Term Prediction            */
73         MP4AUDIO_SBR             =  5, /* SBR = Spectral Band Replication       */
74         MP4AUDIO_AAC_SCALABLE    =  6, /* scales both bitrate and sampling rate */
75         MP4AUDIO_TWINVQ          =  7, /* low bit rate                          */
76         MP4AUDIO_CELP            =  8,
77         MP4AUDIO_HVXC            =  9,
78         /* 10 is reserved                        */
79         /* 11 is reserved                        */
80         MP4AUDIO_TTSI            = 12,
81         /* 13-16 are synthesis and MIDI types    */
82         MP4AUDIO_ER_AAC_LC       = 17, /*                                       */
83         /* 18 is reserved                        */
84         MP4AUDIO_ER_AAC_LTP      = 19, /*                                       */
85         MP4AUDIO_ER_AAC_SCALABLE = 20, /*                                       */
86         MP4AUDIO_ER_TWINVQ       = 21, /*                                       */
87         MP4AUDIO_ER_BSAC         = 22, /*                                       */
88         MP4AUDIO_ER_AAC_LD       = 23, /*                                       */
89         MP4AUDIO_ER_CELP         = 24, /*                                       */
90         MP4AUDIO_ER_HVXC         = 25, /*                                       */
91         MP4AUDIO_ER_HILN         = 26, /*                                       */
92         MP4AUDIO_PARAMETRIC      = 27, /*                                       */
93         MP4AUDIO_PS              = 29  /*  Explicit Parametric Stereo           */
94 
95     } tMP4AudioObjectType;
96 
97     /*----------------------------------------------------------------------------
98     ; STRUCTURES TYPEDEF'S
99     ----------------------------------------------------------------------------*/
100 
101     /*----------------------------------------------------------------------------
102     ; GLOBAL FUNCTION DEFINITIONS
103     ; Function Prototype declaration
104     ----------------------------------------------------------------------------*/
105 
106     /* Should not be any function declarations in this file */
107 
108     /*----------------------------------------------------------------------------
109     ; END
110     ----------------------------------------------------------------------------*/
111 
112 #ifdef __cplusplus
113 }
114 #endif
115 
116 #endif  /* E_TMP4AUDIOOBJECTTYPE_H */
117 
118 
119