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: sbr_open.h 21 Funtions: 22 get_dse 23 24 25 ------------------------------------------------------------------------------ 26 REVISION HISTORY 27 28 29 Who: Date: MM/DD/YYYY 30 Description: 31 ------------------------------------------------------------------------------ 32 SC 29 Software Copyright Licencing Disclaimer: 33 34 This software module was originally developed by 35 Coding Technologies 36 37 and edited by 38 - 39 40 in the course of development of the ISO/IEC 13818-7 and ISO/IEC 14496-3 41 standards for reference purposes and its performance may not have been 42 optimized. This software module is an implementation of one or more tools as 43 specified by the ISO/IEC 13818-7 and ISO/IEC 14496-3 standards. 44 ISO/IEC gives users free license to this software module or modifications 45 thereof for use in products claiming conformance to audiovisual and 46 image-coding related ITU Recommendations and/or ISO/IEC International 47 Standards. ISO/IEC gives users the same free license to this software module or 48 modifications thereof for research purposes and further ISO/IEC standardisation. 49 Those intending to use this software module in products are advised that its 50 use may infringe existing patents. ISO/IEC have no liability for use of this 51 software module or modifications thereof. Copyright is not released for 52 products that do not conform to audiovisual and image-coding related ITU 53 Recommendations and/or ISO/IEC International Standards. 54 The original developer retains full right to modify and use the code for its 55 own purpose, assign or donate the code to a third party and to inhibit third 56 parties from using the code for products that do not conform to audiovisual and 57 image-coding related ITU Recommendations and/or ISO/IEC International Standards. 58 This copyright notice must be included in all copies or derivative works. 59 Copyright (c) ISO/IEC 2002. 60 61 $Id: ct_envcalc.h,v 1.3 2002/11/29 16:11:49 kaehleof Exp $ 62 */ 63 64 /*---------------------------------------------------------------------------- 65 ; CONTINUE ONLY IF NOT ALREADY DEFINED 66 ----------------------------------------------------------------------------*/ 67 #ifndef SBR_OPEN_H 68 #define SBR_OPEN_H 69 70 /*---------------------------------------------------------------------------- 71 ; INCLUDES 72 ----------------------------------------------------------------------------*/ 73 #include "s_sbr_channel.h" 74 #include "sbr_dec.h" 75 /*---------------------------------------------------------------------------- 76 ; MACROS 77 ; Define module specific macros here 78 ----------------------------------------------------------------------------*/ 79 80 /*---------------------------------------------------------------------------- 81 ; DEFINES 82 ; Include all pre-processor statements here. 83 ----------------------------------------------------------------------------*/ 84 85 /*---------------------------------------------------------------------------- 86 ; EXTERNAL VARIABLES REFERENCES 87 ; Declare variables used in this module but defined elsewhere 88 ----------------------------------------------------------------------------*/ 89 90 /*---------------------------------------------------------------------------- 91 ; SIMPLE TYPEDEF'S 92 ----------------------------------------------------------------------------*/ 93 94 /*---------------------------------------------------------------------------- 95 ; ENUMERATED TYPEDEF'S 96 ----------------------------------------------------------------------------*/ 97 98 /*---------------------------------------------------------------------------- 99 ; STRUCTURES TYPEDEF'S 100 ----------------------------------------------------------------------------*/ 101 102 /*---------------------------------------------------------------------------- 103 ; GLOBAL FUNCTION DEFINITIONS 104 ; Function Prototype declaration 105 ----------------------------------------------------------------------------*/ 106 void sbr_open(Int32 sampleRate, 107 SBR_DEC *sbrDec, 108 SBRDECODER_DATA * self, 109 bool bDownSampledSbr); 110 111 /*---------------------------------------------------------------------------- 112 ; END 113 ----------------------------------------------------------------------------*/ 114 #endif 115 116 117