1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
#pragma once
#include "common.h"
#include "convolution.h"
#include "wavelets.h"
#ifdef TYPE
#error TYPE should not be defined here.
#else
#ifdef REAL_TYPE
#error REAL_TYPE should not be defined here.
#else
#define TYPE float
#define REAL_TYPE float
#include "wt.template.h"
#undef REAL_TYPE
#undef TYPE
#define TYPE double
#define REAL_TYPE double
#include "wt.template.h"
#undef REAL_TYPE
#undef TYPE
#ifdef HAVE_C99_COMPLEX
#define TYPE float_complex
#define REAL_TYPE float
#include "wt.template.h"
#undef REAL_TYPE
#undef TYPE
#define TYPE double_complex
#define REAL_TYPE double
#include "wt.template.h"
#undef REAL_TYPE
#undef TYPE
#endif
#endif /* REAL_TYPE */
#endif /* TYPE */
|