shithub: aacenc

ref: d3bfd6c0e4da61ea0d423ef1837a098190944c1d
dir: /libfaac/fft.h/

View raw version
/*
 * FAAC - Freeware Advanced Audio Coder
 * Copyright (C) 2001 Menno Bakker
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.

 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * $Id: fft.h,v 1.2 2001/05/30 08:57:08 menno Exp $
 */

#ifndef FFT_H
#define FFT_H

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */




static void build_table(int logm);
static void rsrec(double *x, int logm);
static void srrec(double *xr, double *xi, int logm);
void rsfft(double *x, int logm);
void srfft(double *xr, double *xi, int logm);
void srifft(double *xr, double *xi, int logm);


#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* FFT_H */