Home | History | Annotate | Download | only in lib
      1 /*
      2  * Copyright (C) 2008-2009 SVOX AG, Baslerstr. 30, 8048 Zuerich, Switzerland
      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 express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 /**
     17  * @file picofftsg.h
     18  *
     19  * include file for FFT/DCT related data types, constants and functions in Pico
     20  *
     21  * Copyright (C) 2008-2009 SVOX AG, Baslerstr. 30, 8048 Zuerich, Switzerland
     22  * All rights reserved.
     23  *
     24  * History:
     25  * - 2009-04-20 -- initial version
     26  *
     27 */
     28 #ifndef PICOFFTSG_H_
     29 #define PCOFFTSG_H_
     30 
     31 #include "picoos.h"
     32 #include "picodsp.h"
     33 
     34 
     35 #ifdef __cplusplus
     36 extern "C" {
     37 
     38 #endif
     39 #if 0
     40 }
     41 #endif
     42 
     43 #define PICOFFTSG_FFTTYPE picoos_int32
     44 
     45 extern void rdft(int n, int isgn, PICOFFTSG_FFTTYPE *a);
     46 extern void dfct(int n, float *a, int VAL_SHIFT);
     47 extern void dfct_nmf(int n, int *a);
     48 extern float norm_result(int m2, PICOFFTSG_FFTTYPE *tmpX, PICOFFTSG_FFTTYPE *norm_window);
     49 
     50 #ifdef __cplusplus
     51 }
     52 #endif
     53 
     54 #endif
     55