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: sfb.h 21 22 ------------------------------------------------------------------------------ 23 REVISION HISTORY 24 25 Description: created to declare scalefactor bands for all sampling rates 26 27 Description: Change short to Int16 28 29 Description: Eliminated declaration of sfb_96_128 array, values are equal 30 to array sfb_64_128 31 32 ------------------------------------------------------------------------------ 33 INCLUDE DESCRIPTION 34 35 this file declares the scalefactor bands for all sampling rates 36 37 ------------------------------------------------------------------------------ 38 */ 39 40 41 /*---------------------------------------------------------------------------- 42 ; CONTINUE ONLY IF NOT ALREADY DEFINED 43 ----------------------------------------------------------------------------*/ 44 #ifndef SFB_H 45 #define SFB_H 46 47 /*---------------------------------------------------------------------------- 48 ; INCLUDES 49 ----------------------------------------------------------------------------*/ 50 #include "pv_audio_type_defs.h" 51 #include "s_sr_info.h" 52 #include "e_progconfigconst.h" 53 54 /*---------------------------------------------------------------------------- 55 ; MACROS 56 ; Define module specific macros here 57 ----------------------------------------------------------------------------*/ 58 59 /*---------------------------------------------------------------------------- 60 ; DEFINES 61 ; Include all pre-processor statements here. 62 ----------------------------------------------------------------------------*/ 63 64 /*---------------------------------------------------------------------------- 65 ; EXTERNAL VARIABLES REFERENCES 66 ; Declare variables used in this module but defined elsewhere 67 ----------------------------------------------------------------------------*/ 68 extern const Int16 sfb_96_1024[]; /* 41 scfbands */ 69 70 extern const Int16 sfb_64_1024[]; /* 41 scfbands 47 */ 71 72 extern const Int16 sfb_64_128[]; /* 12 scfbands */ 73 74 75 extern const Int16 sfb_48_1024[]; /* 49 scfbands */ 76 77 extern const Int16 sfb_48_128[]; /* 14 scfbands */ 78 79 extern const Int16 sfb_32_1024[]; /* 51 scfbands */ 80 81 extern const Int16 sfb_24_1024[]; /* 47 scfbands */ 82 83 extern const Int16 sfb_24_128[]; /* 15 scfbands */ 84 85 extern const Int16 sfb_16_1024[]; /* 43 scfbands */ 86 87 extern const Int16 sfb_16_128[]; /* 15 scfbands */ 88 89 extern const Int16 sfb_8_1024[]; /* 40 scfbands */ 90 91 extern const Int16 sfb_8_128[]; /* 15 scfbands */ 92 93 extern const SR_Info samp_rate_info[12]; 94 95 /*---------------------------------------------------------------------------- 96 ; SIMPLE TYPEDEF'S 97 ----------------------------------------------------------------------------*/ 98 99 /*---------------------------------------------------------------------------- 100 ; ENUMERATED TYPEDEF'S 101 ----------------------------------------------------------------------------*/ 102 103 /*---------------------------------------------------------------------------- 104 ; STRUCTURES TYPEDEF'S 105 ----------------------------------------------------------------------------*/ 106 107 /*---------------------------------------------------------------------------- 108 ; GLOBAL FUNCTION DEFINITIONS 109 ; Function Prototype declaration 110 ----------------------------------------------------------------------------*/ 111 112 /*---------------------------------------------------------------------------- 113 ; END 114 ----------------------------------------------------------------------------*/ 115 #endif 116 117 118