| 1 | ///////////////////////////////////////////////////////////////////////////// |
| 2 | // einspline: a library for creating and evaluating B-splines // |
| 3 | // Copyright (C) 2007 Kenneth P. Esler, Jr. // |
| 4 | // // |
| 5 | // This program is free software; you can redistribute it and/or modify // |
| 6 | // it under the terms of the GNU General Public License as published by // |
| 7 | // the Free Software Foundation; either version 2 of the License, or // |
| 8 | // (at your option) any later version. // |
| 9 | // // |
| 10 | // This program is distributed in the hope that it will be useful, // |
| 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of // |
| 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // |
| 13 | // GNU General Public License for more details. // |
| 14 | // // |
| 15 | // You should have received a copy of the GNU General Public License // |
| 16 | // along with this program; if not, write to the Free Software // |
| 17 | // Foundation, Inc., 51 Franklin Street, Fifth Floor, // |
| 18 | // Boston, MA 02110-1301 USA // |
| 19 | ///////////////////////////////////////////////////////////////////////////// |
| 20 | |
| 21 | #ifndef BSPLINE_H |
| 22 | #define BSPLINE_H |
| 23 | |
| 24 | #include "bspline_base.h" |
| 25 | //////////////////////////////////////////////////////////// |
| 26 | //////////////////////////////////////////////////////////// |
| 27 | //// Bspline structure definitions //// |
| 28 | //////////////////////////////////////////////////////////// |
| 29 | //////////////////////////////////////////////////////////// |
| 30 | #include "bspline_structs.h" |
| 31 | #include "multi_bspline_structs.h" |
| 32 | |
| 33 | // Currently, some of the single-precision routines use SSE2 instructions |
| 34 | #ifdef HAVE_SSE2 |
| 35 | #include "bspline_eval_sse_s.h" |
| 36 | #include "bspline_eval_sse_c.h" |
| 37 | #include "bspline_eval_sse_d.h" |
| 38 | #include "bspline_eval_sse_z.h" |
| 39 | #elif defined HAVE_SSE |
| 40 | #include "bspline_eval_sse_s.h" |
| 41 | #include "bspline_eval_sse_c.h" |
| 42 | #include "bspline_eval_std_d.h" |
| 43 | #include "bspline_eval_std_z.h" |
| 44 | #elif defined USE_ALTIVEC |
| 45 | #include "bspline_eval_altivec_s.h" |
| 46 | #include "bspline_eval_std_c.h" |
| 47 | #include "bspline_eval_std_d.h" |
| 48 | #include "bspline_eval_std_z.h" |
| 49 | #else |
| 50 | #include "bspline_eval_std_s.h" |
| 51 | #include "bspline_eval_std_c.h" |
| 52 | #include "bspline_eval_std_d.h" |
| 53 | #include "bspline_eval_std_z.h" |
| 54 | #endif |
| 55 | |
| 56 | #include "bspline_create.h" |
| 57 | #include "multi_bspline_create.h" |
| 58 | #endif |