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: synthesis_sub_band.h 21 22 ------------------------------------------------------------------------------ 23 REVISION HISTORY 24 25 Who: Date: 26 Description: 27 ------------------------------------------------------------------------------ 28 INCLUDE DESCRIPTION 29 30 ------------------------------------------------------------------------------ 31 */ 32 33 #ifndef SYNTHESIS_SUB_BAND_H 34 #define SYNTHESIS_SUB_BAND_H 35 36 /*---------------------------------------------------------------------------- 37 ; INCLUDES 38 ----------------------------------------------------------------------------*/ 39 40 #include "pv_audio_type_defs.h" 41 42 /*---------------------------------------------------------------------------- 43 ; MACROS 44 ; Define module specific macros here 45 ----------------------------------------------------------------------------*/ 46 #ifdef __cplusplus 47 extern "C" 48 { 49 #endif 50 51 52 /*---------------------------------------------------------------------------- 53 ; EXTERNAL VARIABLES REFERENCES 54 ----------------------------------------------------------------------------*/ 55 56 /*---------------------------------------------------------------------------- 57 ; DEFINES AND SIMPLE TYPEDEF'S 58 ----------------------------------------------------------------------------*/ 59 60 61 void synthesis_sub_band_LC(Int32 Sr[], Int16 data[]); 62 void synthesis_sub_band_LC_down_sampled(Int32 Sr[], Int16 data[]); 63 64 65 #ifdef HQ_SBR 66 67 void synthesis_sub_band(Int32 Sr[], Int32 Si[], Int16 data[]); 68 void synthesis_sub_band_down_sampled(Int32 Sr[], Int32 Si[], Int16 data[]); 69 70 #endif 71 72 73 #ifdef __cplusplus 74 } 75 #endif 76 77 #endif /* SYNTHESIS_SUB_BAND_H */ 78 79