diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-07-14 23:33:35 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-07-14 23:33:35 +0000 |
commit | 0ee981a355115c35cc9b6aa5066d6b7271c4b28a (patch) | |
tree | 4f7bb10a00f3478cf7d6a2437245c10cc3aeb336 /src/libfaad/fftw/f77_func.h | |
parent | 775c694abe5e84d66e448864c0281bf569bf509c (diff) | |
download | xine-lib-0ee981a355115c35cc9b6aa5066d6b7271c4b28a.tar.gz xine-lib-0ee981a355115c35cc9b6aa5066d6b7271c4b28a.tar.bz2 |
merge FAAD2 - the GPL AAC decoder library.
xine_decoder.c is working, but demux_qt must send some needed
initialization data. currently it's hardcoded to play my test stream, so
it's not usable yet.
CVS patchset: 2266
CVS date: 2002/07/14 23:33:35
Diffstat (limited to 'src/libfaad/fftw/f77_func.h')
-rw-r--r-- | src/libfaad/fftw/f77_func.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/libfaad/fftw/f77_func.h b/src/libfaad/fftw/f77_func.h new file mode 100644 index 000000000..e6e74132a --- /dev/null +++ b/src/libfaad/fftw/f77_func.h @@ -0,0 +1,61 @@ +/* + * Copyright (c) 1997-1999 Massachusetts Institute of Technology + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + +#ifndef F77_FUNC_H +#define F77_FUNC_H + +#include <fftw-int.h> + +/* Define a macro to mangle function names so that they can be + recognized by the Fortran linker. Specifically, F77_FUNC_ + is designed to mangle identifiers containing an underscore. */ + +#ifdef FFTW_FORTRANIZE_LOWERCASE +# ifdef FFTW_FORTRANIZE_EXTRA_UNDERSCORE +# define F77_FUNC_(x,X) x ## _ +# else +# define F77_FUNC_(x,X) x +# endif +#endif + +#ifdef FFTW_FORTRANIZE_LOWERCASE_UNDERSCORE +# ifdef FFTW_FORTRANIZE_EXTRA_UNDERSCORE +# define F77_FUNC_(x,X) x ## __ +# else +# define F77_FUNC_(x,X) x ## _ +# endif +#endif + +#ifdef FFTW_FORTRANIZE_UPPERCASE +# ifdef FFTW_FORTRANIZE_EXTRA_UNDERSCORE +# define F77_FUNC_(x,X) X ## _ +# else +# define F77_FUNC_(x,X) X +# endif +#endif + +#ifdef FFTW_FORTRANIZE_UPPERCASE_UNDERSCORE +# ifdef FFTW_FORTRANIZE_EXTRA_UNDERSCORE +# define F77_FUNC_(x,X) X ## __ +# else +# define F77_FUNC_(x,X) X ## _ +# endif +#endif + +#endif /* F77_FUNC_H */ |