/* Copyright (C) 2004 Caltech Written by Lexing Ying */ #ifndef _FDCT_WRAPPING_INC_HPP_ #define _FDCT_WRAPPING_INC_HPP_ //STL stuff #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //using namespace std; #include //FFT stuff #include "fftw.h" #define FDCT_WRAPPING_NS_BEGIN_NAMESPACE namespace fdct_wrapping_ns { #define FDCT_WRAPPING_NS_END_NAMESPACE } FDCT_WRAPPING_NS_BEGIN_NAMESPACE //Complex number typedef std::complex cpx; //AUX functions inline int pow2(int l) { assert(l>=0); return (1<