mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-14 23:52:26 -05:00
Add FS #10214. Initial commit of the original PDa code for the GSoC Pure Data plugin project of Wincent Balin. Stripped some non-sourcefiles and added a rockbox readme that needs a bit more info from Wincent. Is added to CATEGORIES and viewers, but not yet to SUBDIRS (ie doesn't build yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21044 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
95fa7f6a2e
commit
513389b4c1
199 changed files with 139349 additions and 1 deletions
100
apps/plugins/pdbox/PDa/src/d_imayer_tables.h
Normal file
100
apps/plugins/pdbox/PDa/src/d_imayer_tables.h
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
/* Tables for fixed point lookup with 18 bit precision*/
|
||||
|
||||
static int fsintab[TRIG_TAB_SIZE]= {
|
||||
262144,
|
||||
185363,
|
||||
100318,
|
||||
51141,
|
||||
25694,
|
||||
12862,
|
||||
6433,
|
||||
3216,
|
||||
1608,
|
||||
804,
|
||||
402,
|
||||
201,
|
||||
100,
|
||||
50,
|
||||
25,
|
||||
12,
|
||||
6,
|
||||
3,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0 };
|
||||
|
||||
|
||||
static int fcostab[TRIG_TAB_SIZE]= {
|
||||
0,
|
||||
185363,
|
||||
242189,
|
||||
257106,
|
||||
260881,
|
||||
261828,
|
||||
262065,
|
||||
262124,
|
||||
262139,
|
||||
262142,
|
||||
262143,
|
||||
262143,
|
||||
262143,
|
||||
262143,
|
||||
262143,
|
||||
262143,
|
||||
262143,
|
||||
262143,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0 };
|
||||
/* Tables for fixed point lookup with 18 bit precision*/
|
||||
|
||||
static int fsintab[TRIG_TAB_SIZE]= {
|
||||
262144,
|
||||
185363,
|
||||
100318,
|
||||
51141,
|
||||
25694,
|
||||
12862,
|
||||
6433,
|
||||
3216,
|
||||
1608,
|
||||
804,
|
||||
402,
|
||||
201,
|
||||
100,
|
||||
50,
|
||||
25,
|
||||
12,
|
||||
6,
|
||||
3,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0 };
|
||||
|
||||
|
||||
static int fcostab[TRIG_TAB_SIZE]= {
|
||||
0,
|
||||
185363,
|
||||
242189,
|
||||
257106,
|
||||
260881,
|
||||
261828,
|
||||
262065,
|
||||
262124,
|
||||
262139,
|
||||
262142,
|
||||
262143,
|
||||
262143,
|
||||
262143,
|
||||
262143,
|
||||
262143,
|
||||
262143,
|
||||
262143,
|
||||
262143,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0 };
|
||||
Loading…
Add table
Add a link
Reference in a new issue