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_ProgConfigConst.h 21 22 ------------------------------------------------------------------------------ 23 REVISION HISTORY 24 25 Who: Date: 26 Description: 27 28 ------------------------------------------------------------------------------ 29 INCLUDE DESCRIPTION 30 31 enum for ProgConfig related constants 32 33 ------------------------------------------------------------------------------ 34 */ 35 36 /*---------------------------------------------------------------------------- 37 ; CONTINUE ONLY IF NOT ALREADY DEFINED 38 ----------------------------------------------------------------------------*/ 39 #ifndef E_PROG_CONFIG_CONST_H 40 #define E_PROG_CONFIG_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 /* 71 * Program Configuration 72 */ 73 Main_Profile = 0, 74 LC_Profile = 1, 75 76 Fs_48 = 3, 77 Fs_44 = 4, 78 Fs_32 = 5, 79 80 LEN_PROFILE = 2, 81 LEN_SAMP_IDX = 4, 82 LEN_NUM_ELE = 4, 83 LEN_NUM_LFE = 2, 84 LEN_NUM_DAT = 3, 85 LEN_NUM_CCE = 4, 86 LEN_MIX_PRES = 1, 87 LEN_MMIX_IDX = 2, 88 LEN_PSUR_ENAB = 1, 89 LEN_ELE_IS_CPE = 1, 90 LEN_IND_SW_CCE = 1, 91 LEN_COMMENT_BYTES = 8 92 93 } eProgConfigConst; 94 95 /*---------------------------------------------------------------------------- 96 ; STRUCTURES TYPEDEF'S 97 ----------------------------------------------------------------------------*/ 98 99 100 /*---------------------------------------------------------------------------- 101 ; GLOBAL FUNCTION DEFINITIONS 102 ; Function Prototype declaration 103 ----------------------------------------------------------------------------*/ 104 105 /*---------------------------------------------------------------------------- 106 ; END 107 ----------------------------------------------------------------------------*/ 108 #endif 109 110 111