comparison src/fftw-3.3.5/rdft/hc2hc.h @ 127:7867fa7e1b6b

Current fftw source
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 18 Oct 2016 13:40:26 +0100
parents
children
comparison
equal deleted inserted replaced
126:4a7071416412 127:7867fa7e1b6b
1 /*
2 * Copyright (c) 2003, 2007-14 Matteo Frigo
3 * Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology
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, Boston, MA 02110-1301 USA
18 *
19 */
20
21 #include "rdft.h"
22
23 typedef void (*hc2hcapply) (const plan *ego, R *IO);
24 typedef struct hc2hc_solver_s hc2hc_solver;
25 typedef plan *(*hc2hc_mkinferior)(const hc2hc_solver *ego,
26 rdft_kind kind, INT r, INT m, INT s,
27 INT vl, INT vs, INT mstart, INT mcount,
28 R *IO, planner *plnr);
29
30 typedef struct {
31 plan super;
32 hc2hcapply apply;
33 } plan_hc2hc;
34
35 extern plan *X(mkplan_hc2hc)(size_t size, const plan_adt *adt,
36 hc2hcapply apply);
37
38 #define MKPLAN_HC2HC(type, adt, apply) \
39 (type *)X(mkplan_hc2hc)(sizeof(type), adt, apply)
40
41 struct hc2hc_solver_s {
42 solver super;
43 INT r;
44
45 hc2hc_mkinferior mkcldw;
46 };
47
48 hc2hc_solver *X(mksolver_hc2hc)(size_t size, INT r, hc2hc_mkinferior mkcldw);
49 extern hc2hc_solver *(*X(mksolver_hc2hc_hook))(size_t, INT, hc2hc_mkinferior);
50
51 void X(regsolver_hc2hc_direct)(planner *plnr, khc2hc codelet,
52 const hc2hc_desc *desc);
53
54 int X(hc2hc_applicable)(const hc2hc_solver *, const problem *, planner *);