FFTRealFixLenParam.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*****************************************************************************
  2. FFTRealFixLenParam.h
  3. By Laurent de Soras
  4. --- Legal stuff ---
  5. This program is free software. It comes without any warranty, to
  6. the extent permitted by applicable law. You can redistribute it
  7. and/or modify it under the terms of the Do What The Fuck You Want
  8. To Public License, Version 2, as published by Sam Hocevar. See
  9. http://sam.zoy.org/wtfpl/COPYING for more details.
  10. *Tab=3***********************************************************************/
  11. #if ! defined (ffft_FFTRealFixLenParam_HEADER_INCLUDED)
  12. #define ffft_FFTRealFixLenParam_HEADER_INCLUDED
  13. #if defined (_MSC_VER)
  14. #pragma once
  15. #pragma warning (4 : 4250) // "Inherits via dominance."
  16. #endif
  17. /*\\\ INCLUDE FILES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
  18. namespace ffft
  19. {
  20. class FFTRealFixLenParam
  21. {
  22. /*\\\ PUBLIC \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
  23. public:
  24. // Over this bit depth, we use direct calculation for sin/cos
  25. enum { TRIGO_BD_LIMIT = 12 };
  26. typedef float DataType;
  27. /*\\\ PROTECTED \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
  28. protected:
  29. /*\\\ PRIVATE \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
  30. private:
  31. /*\\\ FORBIDDEN MEMBER FUNCTIONS \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
  32. private:
  33. FFTRealFixLenParam ();
  34. FFTRealFixLenParam (const FFTRealFixLenParam &other);
  35. FFTRealFixLenParam &
  36. operator = (const FFTRealFixLenParam &other);
  37. bool operator == (const FFTRealFixLenParam &other);
  38. bool operator != (const FFTRealFixLenParam &other);
  39. }; // class FFTRealFixLenParam
  40. } // namespace ffft
  41. //#include "ffft/FFTRealFixLenParam.hpp"
  42. #endif // ffft_FFTRealFixLenParam_HEADER_INCLUDED
  43. /*\\\ EOF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/