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_intensity_right.h 21 22 ------------------------------------------------------------------------------ 23 REVISION HISTORY 24 25 Description: Add hasmask parameter 26 27 Description: Changed name to from right_ch_sfb_tools_ms to intensity_right 28 to more correct reflect the purpose of the function. 29 30 Who: Date: 31 Description: 32 33 ------------------------------------------------------------------------------ 34 INCLUDE DESCRIPTION 35 36 This include file contains the function declaration for 37 pns_intensity_right.c 38 39 ------------------------------------------------------------------------------ 40 */ 41 42 /*---------------------------------------------------------------------------- 43 ; CONTINUE ONLY IF NOT ALREADY DEFINED 44 ----------------------------------------------------------------------------*/ 45 #ifndef PNS_INTENSITY_RIGHT_H 46 #define PNS_INTENSITY_RIGHT_H 47 48 /*---------------------------------------------------------------------------- 49 ; INCLUDES 50 ----------------------------------------------------------------------------*/ 51 #include "pv_audio_type_defs.h" 52 #include "s_frameinfo.h" 53 54 /*---------------------------------------------------------------------------- 55 ; MACROS 56 ; Define module specific macros here 57 ----------------------------------------------------------------------------*/ 58 59 /*---------------------------------------------------------------------------- 60 ; DEFINES 61 ; Include all pre-processor statements here. 62 ----------------------------------------------------------------------------*/ 63 64 /*---------------------------------------------------------------------------- 65 ; EXTERNAL VARIABLES REFERENCES 66 ; Declare variables used in this module but defined elsewhere 67 ----------------------------------------------------------------------------*/ 68 69 /*---------------------------------------------------------------------------- 70 ; SIMPLE TYPEDEF'S 71 ----------------------------------------------------------------------------*/ 72 73 /*---------------------------------------------------------------------------- 74 ; ENUMERATED TYPEDEF'S 75 ----------------------------------------------------------------------------*/ 76 77 /*---------------------------------------------------------------------------- 78 ; STRUCTURES TYPEDEF'S 79 ----------------------------------------------------------------------------*/ 80 81 /*---------------------------------------------------------------------------- 82 ; GLOBAL FUNCTION DEFINITIONS 83 ; Function Prototype declaration 84 ----------------------------------------------------------------------------*/ 85 void pns_intensity_right( 86 const Int hasmask, 87 const FrameInfo * const pFrameInfo, 88 const Int group[], 89 const Bool mask_map[], 90 const Int codebook_map[], 91 const Int factorsL[], 92 const Int factorsR[], 93 Int sfb_prediction_used[], 94 const Bool ltp_data_present, 95 Int32 spectralCoefLeft[], 96 Int32 spectralCoefRight[], 97 Int q_formatLeft[MAXBANDS], 98 Int q_formatRight[MAXBANDS], 99 Int32 * const pCurrentSeed); 100 101 /*---------------------------------------------------------------------------- 102 ; END 103 ----------------------------------------------------------------------------*/ 104 #endif 105 106 107