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: s_Ch_Info.h 21 22 ------------------------------------------------------------------------------ 23 REVISION HISTORY 24 25 Who: Date: 26 Description: 27 28 ------------------------------------------------------------------------------ 29 INCLUDE DESCRIPTION 30 31 This include file defines the structure, Ch_Info 32 33 ------------------------------------------------------------------------------ 34 */ 35 36 /*---------------------------------------------------------------------------- 37 ; CONTINUE ONLY IF NOT ALREADY DEFINED 38 ----------------------------------------------------------------------------*/ 39 #ifndef S_CH_INFO_H 40 #define S_CH_INFO_H 41 42 /*---------------------------------------------------------------------------- 43 ; INCLUDES 44 ----------------------------------------------------------------------------*/ 45 #include "pv_audio_type_defs.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 70 /*---------------------------------------------------------------------------- 71 ; STRUCTURES TYPEDEF'S 72 ----------------------------------------------------------------------------*/ 73 74 typedef struct 75 { 76 // Int present; /* channel present */ 77 Int tag; /* element tag */ 78 Int cpe; /* 0 if single channel, 1 if channel pair */ 79 // Int common_window; /* 1 if common window for cpe */ 80 // Int ch_is_left; /* 1 if left channel of cpe */ 81 // Int paired_ch; /* index of paired channel in cpe */ 82 // Int widx; /* window element index for this channel */ 83 Int is_present; /* intensity stereo is used */ 84 Int ncch; /* number of coupling channels for this ch */ 85 /* #if (CChans > 0) */ 86 /* int cch[CChans];*/ /* coupling channel idx */ 87 /* int cc_dom[CChans];*/ /* coupling channel domain */ 88 /* int cc_ind[CChans];*/ /* independently switched coupling channel flag */ 89 /* #endif */ 90 Char *fext; /* filename extension */ 91 92 } Ch_Info; 93 94 /*---------------------------------------------------------------------------- 95 ; GLOBAL FUNCTION DEFINITIONS 96 ; Function Prototype declaration 97 ----------------------------------------------------------------------------*/ 98 99 /*---------------------------------------------------------------------------- 100 ; END 101 ----------------------------------------------------------------------------*/ 102 #endif 103 104