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: ./include/esc_iquant_scaling.h 21 22 ------------------------------------------------------------------------------ 23 REVISION HISTORY 24 25 Who: Date: 26 Description: 27 28 ------------------------------------------------------------------------------ 29 INCLUDE DESCRIPTION 30 31 Header file for esc_iquant_scaling.c 32 33 ------------------------------------------------------------------------------ 34 */ 35 36 /*---------------------------------------------------------------------------- 37 ; CONTINUE ONLY IF NOT ALREADY DEFINED 38 ----------------------------------------------------------------------------*/ 39 #ifndef ESC_IQUANT_SCALING_H 40 #define ESC_IQUANT_SCALING_H 41 42 /*---------------------------------------------------------------------------- 43 ; INCLUDES 44 ----------------------------------------------------------------------------*/ 45 #include "pv_audio_type_defs.h" 46 47 /*---------------------------------------------------------------------------- 48 ; MACROS 49 ; Define module specific macros here 50 ----------------------------------------------------------------------------*/ 51 52 /*---------------------------------------------------------------------------- 53 ; DEFINES 54 ; Include all pre-processor statements here. 55 ----------------------------------------------------------------------------*/ 56 57 /*---------------------------------------------------------------------------- 58 ; EXTERNAL VARIABLES REFERENCES 59 ; Declare variables used in this module but defined elsewhere 60 ----------------------------------------------------------------------------*/ 61 62 /*---------------------------------------------------------------------------- 63 ; SIMPLE TYPEDEF'S 64 ----------------------------------------------------------------------------*/ 65 66 /*---------------------------------------------------------------------------- 67 ; ENUMERATED TYPEDEF'S 68 ----------------------------------------------------------------------------*/ 69 70 /*---------------------------------------------------------------------------- 71 ; STRUCTURES TYPEDEF'S 72 ----------------------------------------------------------------------------*/ 73 74 /*---------------------------------------------------------------------------- 75 ; GLOBAL FUNCTION DEFINITIONS 76 ; Function Prototype declaration 77 ----------------------------------------------------------------------------*/ 78 79 #ifdef __cplusplus 80 extern "C" 81 { 82 #endif 83 84 85 void esc_iquant_scaling( 86 const Int16 quantSpec[], 87 Int32 coef[], 88 const Int sfbWidth, 89 Int const pQFormat, 90 UInt16 scale, 91 Int maxInput); 92 93 #ifdef __cplusplus 94 } 95 #endif 96 97 /*---------------------------------------------------------------------------- 98 ; END 99 ----------------------------------------------------------------------------*/ 100 #endif /* ESC_IQUANT_SCALING_H */ 101 102 103