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: calc_sbr_anafilterbank.h 21 Funtions: 22 get_dse 23 24 ------------------------------------------------------------------------------ 25 REVISION HISTORY 26 27 28 Who: Date: MM/DD/YYYY 29 Description: 30 ------------------------------------------------------------------------------ 31 32 */ 33 34 /*---------------------------------------------------------------------------- 35 ; CONTINUE ONLY IF NOT ALREADY DEFINED 36 ----------------------------------------------------------------------------*/ 37 #ifndef CALC_SBR_ANAFILTERBANK_H 38 #define CALC_SBR_ANAFILTERBANK_H 39 40 41 /*---------------------------------------------------------------------------- 42 ; INCLUDES 43 ----------------------------------------------------------------------------*/ 44 45 #include "pv_audio_type_defs.h" 46 47 #ifdef __cplusplus 48 extern "C" 49 { 50 #endif 51 52 /*---------------------------------------------------------------------------- 53 ; MACROS 54 ; Define module specific macros here 55 ----------------------------------------------------------------------------*/ 56 57 /*---------------------------------------------------------------------------- 58 ; DEFINES 59 ; Include all pre-processor statements here. 60 ----------------------------------------------------------------------------*/ 61 62 #define ROUND_ANAFIL 0 63 //#define ROUND_ANAFIL 0 64 #define ROUND_ANAFIL_LC (0) 65 66 /*---------------------------------------------------------------------------- 67 ; EXTERNAL VARIABLES REFERENCES 68 ; Declare variables used in this module but defined elsewhere 69 ----------------------------------------------------------------------------*/ 70 71 /*---------------------------------------------------------------------------- 72 ; SIMPLE TYPEDEF'S 73 ----------------------------------------------------------------------------*/ 74 75 /*---------------------------------------------------------------------------- 76 ; ENUMERATED TYPEDEF'S 77 ----------------------------------------------------------------------------*/ 78 79 /*---------------------------------------------------------------------------- 80 ; STRUCTURES TYPEDEF'S 81 ----------------------------------------------------------------------------*/ 82 83 /*---------------------------------------------------------------------------- 84 ; GLOBAL FUNCTION DEFINITIONS 85 ; Function Prototype declaration 86 ----------------------------------------------------------------------------*/ 87 88 89 void calc_sbr_anafilterbank_LC(Int32 * Sr, 90 Int16 * X, 91 Int32 scratch_mem[][64], 92 Int32 maxBand); 93 94 95 #ifdef HQ_SBR 96 97 void calc_sbr_anafilterbank(Int32 * Sr, 98 Int32 * Si, 99 Int16 * X, 100 Int32 scratch_mem[][64], 101 Int32 maxBand); 102 103 #endif 104 105 106 #ifdef __cplusplus 107 } 108 #endif 109 110 /*---------------------------------------------------------------------------- 111 ; END 112 ----------------------------------------------------------------------------*/ 113 #endif /* CALC_SBR_ANAFILTERBANK_H */ 114