projects
/
jump.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
79e567e9c3312d066acb8f74ee39ce9c521f5b11
[jump.git]
/
fft2.h
1
#ifndef FFT2_H
2
#define FFT2_H
3
4
#include <dol.h>
5
#include "global.h"
6
7
#define PORT_INA "inA"
8
#define PORT_INB "inB"
9
#define PORT_OUTA "outA"
10
#define PORT_OUTB "outB"
11
12
typedef struct _local_states
13
{
14
char id[14];
15
ComplexNumber inA, inB, outA, outB, rotated_inB, twiddle_factor;
16
} Fft2_State;
17
18
void fft2_init(DOLProcess *);
19
int fft2_fire(DOLProcess *);
20
21
#endif