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: pns_left.h 21 22 ------------------------------------------------------------------------------ 23 REVISION HISTORY 24 25 Description: Removed #defines of LEFT and RIGHT, and the extra include 26 file "e_huffmanconst.h" 27 28 Who: Date: 29 Description: 30 ------------------------------------------------------------------------------ 31 INCLUDE DESCRIPTION 32 33 Contains the function definition for pns_left.c 34 35 ------------------------------------------------------------------------------ 36 */ 37 38 /*---------------------------------------------------------------------------- 39 ; CONTINUE ONLY IF NOT ALREADY DEFINED 40 ----------------------------------------------------------------------------*/ 41 #ifndef PNS_LEFT_H 42 #define PNS_LEFT_H 43 44 /*---------------------------------------------------------------------------- 45 ; INCLUDES 46 ----------------------------------------------------------------------------*/ 47 #include "pv_audio_type_defs.h" 48 #include "s_frameinfo.h" 49 50 /*---------------------------------------------------------------------------- 51 ; MACROS 52 ; Define module specific macros here 53 ----------------------------------------------------------------------------*/ 54 55 /*---------------------------------------------------------------------------- 56 ; DEFINES 57 ; Include all pre-processor statements here. 58 ----------------------------------------------------------------------------*/ 59 60 /*---------------------------------------------------------------------------- 61 ; EXTERNAL VARIABLES REFERENCES 62 ; Declare variables used in this module but defined elsewhere 63 ----------------------------------------------------------------------------*/ 64 65 /*---------------------------------------------------------------------------- 66 ; SIMPLE TYPEDEF'S 67 ----------------------------------------------------------------------------*/ 68 69 /*---------------------------------------------------------------------------- 70 ; ENUMERATED TYPEDEF'S 71 ----------------------------------------------------------------------------*/ 72 73 /*---------------------------------------------------------------------------- 74 ; STRUCTURES TYPEDEF'S 75 ----------------------------------------------------------------------------*/ 76 77 /*---------------------------------------------------------------------------- 78 ; GLOBAL FUNCTION DEFINITIONS 79 ; Function Prototype declaration 80 ----------------------------------------------------------------------------*/ 81 82 #ifdef __cplusplus 83 extern "C" 84 { 85 #endif 86 87 void pns_left( 88 const FrameInfo *pFrameInfo, 89 const Int group[], 90 const Int codebook_map[], 91 const Int factors[], 92 const Int sfb_prediction_used[], 93 const Bool ltp_data_present, 94 Int32 spectral_coef[], 95 Int q_format[], 96 Int32 *pCurrentSeed); 97 98 #ifdef __cplusplus 99 } 100 #endif 101 102 /*---------------------------------------------------------------------------- 103 ; END 104 ----------------------------------------------------------------------------*/ 105 #endif 106 107 108 109 110 111 112 113 114