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: tns_decode_coef.h 21 22------------------------------------------------------------------------------ 23 REVISION HISTORY 24 25 Description: Modified to return the LPC coefficients in-place, so the 26 interface to tns_decode_coef is changed. 27 28 Description: Modified to return the q-format of the LPC coefficients. 29 30 Description: Modified so that only the function is declared here. extern 31 references to constant tables removed. Also, new copyright header included. 32 33 Description: Modified to include extra parameter, so tns_decode_coef can use 34 scratch memory techniques. 35 36 Description: 37 (1) Modified to include the lines... 38 39 #ifdef __cplusplus 40 extern "C" { 41 #endif 42 43 #ifdef __cplusplus 44 } 45 #endif 46 47 (2) Updated the copyright header. 48 49 Who: Date: 50 Description: 51------------------------------------------------------------------------------ 52 INCLUDE DESCRIPTION 53 54 This function includes the function declaration for tns_decode_coef() 55 56------------------------------------------------------------------------------ 57*/ 58 59/*---------------------------------------------------------------------------- 60; CONTINUE ONLY IF NOT ALREADY DEFINED 61----------------------------------------------------------------------------*/ 62#ifndef TNS_DECODE_COEF_H 63#define TNS_DECODE_COEF_H 64 65#ifdef __cplusplus 66extern "C" 67{ 68#endif 69 70 /*---------------------------------------------------------------------------- 71 ; INCLUDES 72 ----------------------------------------------------------------------------*/ 73 74 /*---------------------------------------------------------------------------- 75 ; MACROS 76 ; Define module specific macros here 77 ----------------------------------------------------------------------------*/ 78 79 /*---------------------------------------------------------------------------- 80 ; DEFINES 81 ; Include all pre-processor statements here. 82 ----------------------------------------------------------------------------*/ 83 84 /*---------------------------------------------------------------------------- 85 ; EXTERNAL VARIABLES REFERENCES 86 ; Declare variables used in this module but defined elsewhere 87 ----------------------------------------------------------------------------*/ 88 89 /*---------------------------------------------------------------------------- 90 ; SIMPLE TYPEDEF'S 91 ----------------------------------------------------------------------------*/ 92 93 /*---------------------------------------------------------------------------- 94 ; ENUMERATED TYPEDEF'S 95 ----------------------------------------------------------------------------*/ 96 97 /*---------------------------------------------------------------------------- 98 ; STRUCTURES TYPEDEF'S 99 ----------------------------------------------------------------------------*/ 100 101 /*---------------------------------------------------------------------------- 102 ; GLOBAL FUNCTION DEFINITIONS 103 ; Function Prototype declaration 104 ----------------------------------------------------------------------------*/ 105 Int tns_decode_coef( 106 const Int order, 107 const Int coef_res, 108 Int32 lpc_coef[], 109 Int32 scratchTnsDecCoefMem[]); 110 111#ifdef __cplusplus 112} 113#endif 114 115#endif /* TNS_DECODE_COEF */ 116