1 /* ------------------------------------------------------------------
2 * Copyright (C) 1998-2009 PacketVideo
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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
14 * See the License for the specific language governing permissions
15 * and limitations under the License.
16 * -------------------------------------------------------------------
19 ------------------------------------------------------------------------------
24 Pathname: ./include/pvmp3_mdct_18.h
28 ------------------------------------------------------------------------------
34 ------------------------------------------------------------------------------
37 This include file defines function mdct_18, dct9, mdct_6 and dct_6
39 ------------------------------------------------------------------------------
42 /*----------------------------------------------------------------------------
43 ; CONTINUE ONLY IF NOT ALREADY DEFINED
44 ----------------------------------------------------------------------------*/
48 /*----------------------------------------------------------------------------
50 ----------------------------------------------------------------------------*/
51 #include "pvmp3_audio_type_defs.h"
53 /*----------------------------------------------------------------------------
55 ; Define module specific macros here
56 ----------------------------------------------------------------------------*/
58 /*----------------------------------------------------------------------------
60 ; Include all pre-processor statements here.
61 ----------------------------------------------------------------------------*/
62 #define Qfmt(a) (Int32)(a*((Int32)1<<28) )
63 #define Qfmt1(a) (Int32)(a*((Int32)0x7FFFFFFF))
64 #define Qfmt2(a) (Int32)(a*((Int32)1<<27))
66 /*----------------------------------------------------------------------------
67 ; EXTERNAL VARIABLES REFERENCES
68 ; Declare variables used in this module but defined elsewhere
69 ----------------------------------------------------------------------------*/
71 /*----------------------------------------------------------------------------
73 ----------------------------------------------------------------------------*/
75 /*----------------------------------------------------------------------------
76 ; ENUMERATED TYPEDEF'S
77 ----------------------------------------------------------------------------*/
79 /*----------------------------------------------------------------------------
80 ; STRUCTURES TYPEDEF'S
81 ----------------------------------------------------------------------------*/
83 /*----------------------------------------------------------------------------
84 ; GLOBAL FUNCTION DEFINITIONS
85 ; Function Prototype declaration
86 ----------------------------------------------------------------------------*/
92 void pvmp3_mdct_18(int32 vec[], int32 *history, const int32 *window);
94 void pvmp3_dct_9(int32 vec[]);
96 void pvmp3_mdct_6(int32 vec[], int32 *overlap);
98 void pvmp3_dct_6(int32 vec[]);
104 /*----------------------------------------------------------------------------
106 ----------------------------------------------------------------------------*/