summaryrefslogtreecommitdiff
path: root/docs/PLUGIN_API
blob: feba0868fb7a6c9020cb5c28fe25acfa65711850 (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
$Id$
               __________               __   ___.
     Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
     Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
     Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
     Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
                       \/            \/     \/    \/            \/

                            Plugin API summmary

Plugin API Version 26
(backwards compability up to version 25)

Info: To get the latest plugin api specs:
look at struct plugin_api in apps/plugin.h
(and apps/plugins/helloworld.c for an example)

Plugin Skeleton
===============

#include "plugin.h"

static struct plugin_api* rb;

//plugin entry point
enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
{
    TEST_PLUGIN_API(api);
    (void)parameter;
    rb = api;
    
    //insert your code here
    
    return PLUGIN_OK;
}

to call a function, use the plugin_api structure this way :  rb->function()

Plugin Internals
================

  int version;

     Plugin version number.

  int plugin_test(int api_version, int model, int memsize);

     This function is called by the TEST_PLUGIN_API() macro to test
     compability of the plugin with current software.
     Returns PLUGIN_OK if plugin is supported.
     Returns PLUGIN_WRONG_API_VERSION if plugin version isn't compatible.
     Returns PLUGIN_WRONG_MODEL if the model or memsize is wrong.

LCD
===

  Generic
  -------

    Most LCD functions are specific for which output we work with, due to the
    huge differences.

    void lcd_clear_display(void);
      
      Clear the whole display
   
    void backlight_on(void);
      
      Turn the backlight on
   
    void backlight_off(void);
      
      Turn the backlight off
   
    void splash(int ticks, bool center, char *fmt, ...);
      
      Display a formated string in a box durring time ticks. If center is
      FALSE, the display is left justified. If center is TRUE, the display
      is centered horizontaly and verticaly. The string is formated as with
      the printf function.
      (There are HZ ticks per second)
   
    void lcd_puts(int x, int y, const unsigned char *string);
      
      Write a string at given character position.
   
    void lcd_puts_scroll(int x, int y, unsigned char* string);
      
      Print a scrolling string at screen coordinates (x,y). The scrolling
      style is STYLE_DEFAULT.
   
    void lcd_stop_scroll(void);
      
      Stop all scrolling lines on the screen.
   
    void lcd_set_contrast(int val);
      
      Set the screen contrast. Argument val should be a value between
      MIN_CONTRAST_SETTING and MAX_CONTRAST_SETTING.

  Recorder
  --------
 
    All the functions operate on a display buffer. You make the buffer get
    shown on screen by calling lcd_update().

    void lcd_update(void);
   
       Update the LCD according to the internal buffer.

    void lcd_update_rect(int x, int y, int width, int height);

       Update the given rectangle to the LCD. Give arguments measured in
       pixels. Notice that the smallest vertical resolution in updates that the
       hardware supports is even 8 pixels. This function will adjust to those.

    void lcd_setfont(int font);
   
       Set default font
      
    struc font* font_get(int font);

       Return a pointer to an incore font structure. If the requested font
       isn't loaded/compiled-in, decrement the font number and try again.
      
    void lcd_putsxy(int x, int y, const unsigned char *string);
   
       Put a string at given coordinates.
   
    void lcd_puts_style(int x, int y, const unsigned char *str, int style);

       Put a string at given coordinates. Intger style can be STYLE_DEFAULT
       for black text display or STYLE_INVERT for white text display.
      
    void lcd_puts_scroll_style(int x, int y, unsigned char* string, int style);
  
      Same as lcd_puts_style and scrolling is enabled.
      {new in plugin API version 26}
      
    void lcd_bitmap(const unsigned char *src, int x, int y, int width,
                    int height, bool clear);
   
       Put a bitmap at given coordinates. If clear is true, the area is
       cleared before the bitmap is put.
       Element src[i] is the binary representation of column number i of
       the bitmap read from bottom to top.
   
    void lcd_clearrect(int x, int y, int width, int height);
   
       Clear a rectangle area.
   
    void lcd_fillrect(int x, int y, int width, int height);
   
       Fill a rectangle area.
      
    void lcd_drawrect(int x, int y, int width, int height);
   
       Draw a rectangle.
    
    void lcd_invertrect(int x, int y, int width, int height);
   
       Revert the graphics of the given area.
      
    void lcd_drawline(int x1, int y1, int x2, int y2);
   
       Draw a line between the coordinates.
      
    void lcd_clearline(int x1, int y1, int x2, int y2);
   
       Clear a line between two coordinates.
      
    void lcd_drawpixel(int x, int y);
   
       Draw a pixel on the given coordinate.
      
    void lcd_clearpixel(int x, int y);
   
       Clear the pixel at the given coordinate.
      
    int lcd_getstringsize(const unsigned char *str, int *w, int *h);

       Get the height and width of string str as it would appear on display.
       Return value is the width.
      
    void scrollbar(int x, int y, int width, int height, int items,
                   int min_shown, int max_shown, int orientation);
      
       Print a scroll bar at coordinates (x,y) of size width*height.
       orientation can be VERTICAL for a vertical scroll bar or anything else
       for a horizontal scroll bar.
       Item is the total number of items which the scroll bar refers to,
       min_show the rank of the first item displayed and max_show the 
       rank of the last displayed item.
      
    void checkbox(int x, int y, int width, int height, bool checked);

       Draw a checkbox area. If checked is TRUE, the checkbox is drawn
       checked !
      
    void lcd_blit(unsigned char* p_data, int x, int y, int width,
                  int height, int stride);
   
       ??? (see firmware/drivers/lcd-recorder.c:168)
      
    void lcd_roll(int pixels);
   
       Rolls up the lcd display by the specified amount of lines.
       Lines that are rolled out over the top of the screen are rolled in
       from the bottom again. This is a hardware remapping only and all
       operations on the lcd are affected.
       The screen is rolled up of pixel lines. The value must be between
       0 and LCD_HEIGHT.
       [Not for simulator]

  Player
  ------

    void lcd_define_pattern(int pat, char *pattern);
   
       Define a custom pattern of index pat. char *pattern is a 8x8 pixel
       bitmap.

    unsigned char lcd_get_locked_pattern(void);

       Get a locked pattern index.
       (see firmware/drivers/lcd-player.c:382)
      
    void lcd_unlock_pattern(unsigned char pat);

       Unlock pattern of index pat.
      
    void lcd_putc(int x, int y, unsigned char ch);

       Put character c at coordinates (x,y).
      
    void lcd_put_cursor(int x, int y, char cursor_char);

       Put cursor at coordinated (x,y).
       See firmware/export/lcd.h for possible cursor_char values.
      
    void lcd_remove_cursor(void);

       Remove the cursor from the screen.
      
    void lcd_icon(int icon, bool enable);

       ??? (see firmware/drivers/lcd-player.c:463)


Buttons
=======

  These functions work the same regardless of which keypad you have, but they
  return a different set of values. Note that the Recorder keypad has 10
  keys, while the Player keypad only features 6.

  Possible return values can be found in the firmware/export/button.h file.

  int button_get(bool block);

     Returns a bitmask for which keys were pressed. If 'block' is set TRUE it
     won't return until a key is pressed.

  int button_get_w_tmo(int ticks);

     Wait for a key press for ticks ticks. (There are HZ ticks per second)
     Returns a bitmask for which keys were pressed. If no key was pressed,
     return BUTTON_NONE.

  int button_status(void);

     Returns a bitmask for which keys are currently pressed.

  void button_clear_queue(void);

     Empty the button queue.
  

Files
=====

  (These functions are POSIX look-alikes)

  int open(const char *pathname, int flags);

     The open() function establishes the connection between a file and a file
     descriptor. It creates an open file description that refers to a file
     and a file descriptor that refers to that open file description. The file
     descriptor is used by other I/O functions to refer to that file.

  ssize_t read(int fd, void *buf, size_t count);

     The read() function attempts to read count bytes from the file associated
     with the open file descriptor, fd, into the buffer pointed to by buf.

  off_t lseek(int fd, off_t offset, int whence);

     The lseek() function sets the file pointer associated with the open file
     descriptor specified by fd as follows:

        o  If whence is SEEK_SET, the pointer is set to offset bytes.

        o  If whence is SEEK_CUR,  the  pointer  is  set  to  its
           current location plus offset.

        o  If whence is SEEK_END, the pointer is set to the  size
           of the file plus offset.

  int creat(const char *pathname, mode_t mode)

     Create a file with mode O_RDONLY, O_WRONLY or O_RDWR. Returns the
     file descriptor associated to this file.
 
  ssize_t write(int fd, const void *buf, size_t count);

     Write writes up to count bytes to the file referenced by the file
     descriptor fd from the buffer starting at buf.

  int close(int fd);

     The close() function will deallocate the file descriptor indicated by
     fd.  To deallocate means to make the file descriptor available for
     return by subsequent calls to open() or other functions that allocate
     file descriptors.
     Returns 0 upon success.

  int rename(const char *path, const char *newname);

     The rename() function changes the name of a file. The path argument
     points to the pathname of the file to be renamed. The newname argument
     points to the new pathname of the file.

  int remove(const char *pathname);

     remove() deletes a name from the filesystem.  It calls unlink for files,
     and rmdir for directories.

  int ftruncate(int fd, off_t length);

     Truncate file to the specified length.

  int filesize(int fd);

     Returns size of a file. Upon error, returns -1.

  int fdprintf(int fd, const char *fmt, ...);

     Write a formated string in the fd.
     Returns the number of characters writen to file.
     Returns a negative value upon error.

  int read_line(int fd, char* buffer, int buffer_size);

     Read (up to) a line of text from fd into buffer and return number of bytes
     read (which may be larger than the number of bytes stored in buffer). If 
     an error occurs, -1 is returned (and buffer contains whatever could be 
     read). A line is terminated by a LF char. Neither LF nor CR chars are 
     stored in buffer.    

  int settings_parseline(char* line, char** name, char** value);

     Parse a line from a configuration file. The line format is: 
     name: value
     Any whitespace before setting name or value (after ':') is ignored.
     A # as first non-whitespace character discards the whole line.
     Function sets pointers to null-terminated setting name and value.
     Returns false if no valid config entry was found

  int ata_sleep(void)
 
     Give the disk some rest.
     [Not for simulator]


Directories
===========

  DIR *opendir(const char *name);

     The opendir() function opens a directory stream corresponding to the
     directory name, and returns a pointer to the directory stream.  The
     stream is positioned at the first entry in the directory.

  struct dirent *readdir(DIR *dir);

     The readdir() function returns a pointer to a dirent structure
     representing the next directory entry in the directory stream pointed to
     by dir.  It returns NULL on reaching the end-of-file or if an error
     occurred.

     struct dirent {
         unsigned char d_name[MAX_PATH];
         int attribute;
         int size;
         int startcluster;
         unsigned short wrtdate; /*  Last write date */
         unsigned short wrttime; /*  Last write time */
     };

  int closedir(DIR *dir);

     The closedir() function closes the directory stream associated with dir.
     The directory stream descriptor dir is not available after this call.


Kernel
======

  void sleep(ticks);

     Sleep a specified number of ticks, we have HZ ticks per second.

  void yield(void);

     Let another thread run. This should be used as soon as you have to "wait"
     for something or similar, and also if you do anything that takes "a long
     time". This function is the entire foundation that our "cooperative
     multitasking" is based on. Use it.

  void usb_screen(void);

     Show the usb connection screen.
     
  long current_tick;

     The global tick variable.
     
  int default_event_handler(int event);

     If event == SYS_USB_CONNECTED, call usb_screen and return
     SYS_USB_CONNECTED. Else do nothing and return 0.
     
  int create_thread(void* function, void* stack, int stack_size,
                    const char *name IF_PRIO(int priority)
		    IF_COP(, unsigned int core, bool fallback));
 
     Create a thread.
     ??? (see firmware/thread.c:145)
     Return its ID if context area could be allocated, else return -1.
     
  void remove_thread(int threadnum);

     Remove a thread from the scheduler.
     Parameter is the ID as returned from create_thread().
     
  void reset_poweroff_timer(void);

     The function name pretty much says what it's supposed to do.


String/Memory
=============

  int strcmp(const char *a, const char *b);

     strcmp compares the string a to string b. If a sorts lexicographically
     after b, strcmp returns a number greater than zero. If the two strings
     match, strcmp returns zero. If a sorts lexicographically before b,
     strcmp returns a number less than zero.
     
  char *strcpy(char *dst, const char *src);

     strcpy copies the string pointed to by src (including the terminating
     null character) to the arra pointed to by dst.
     This function returns the initial value of dst.
     
  void *memcpy(void *out, const void *in, size_t length);

     Copies length bytes of data in memory from source to dest.
  
  void *memset(void *dst, int c, size_t length);

     Fills a memory region with specified byte value.
     
  int snprintf(char *buf, size_t size, const char *fmt, ...);

     Write a formated formated string in buffer buf of size size
     (including the trailing '\0').
     Upon success, return the number of characters printed or that would have
     been printed if the output was truncated (not including the trailing 
     '\0').
     These support %c, %s, %d and %x only with the width and zero padding
     flag only.
     
  char *strncpy(char *dst, const char *src, size_t length);

     strncpy copies not more than length characters from the string pointed
     to by src (including the terminating null character) to the array pointed
     to by dst. If the string pointed to by src is shorter than length
     characters, null characters are apended to the destination array until
     a total of length characters have been written.
     This function returns the initial value of dst.
     
  size_t strlen(const char *str);

     The strlen function works out the length of the string starting at str
     by counting characters until it reaches a null character.
     strlen returns the character count.
     
  char *strrchr(const char *string, int c);

     This function finds the last occurence of c (converted to a char) in the
     string pointed to by string (including the terminating null character).
     Returns a pointer to the located character, or a null pointer if c
     does not occur in string.
     
  int strcasecmp(const char *s1, const char *s2);

     The  strcasecmp() function compares the two strings s1 and s2, ignoring
     the case of the characters.  It returns an integer less than, equal to,
     or  greater than zero if s1 is found, respectively, to be less than, to
     match, or be greater than s2.
     
  int strncasecmp(const char *s1, const char *s2, size_t n);

     Like strncasecmp() but only on the first n characters.
     {new in plugin API version 26}
     
  const char *_ctype_;
 
     ??? (see firmware/common/ctype.c)
     [Not for simulator]
     
  int atoi(const char *str);

     The atoi() function converts the initial portion of a string pointed
     to by str to int.


Sound
=====

  void mpeg_sound_set(int setting, int value);

     The function mpeg_sound_set() is used to set sound output characteristics.
     This characterisitic is chosen with the setting argument. Possible
     settings (and the effective values) are :
       SOUND_VOLUME
         0 <= value <= 100
       SOUND_BALANCE (only effective with MAS3587F)
         -100 <= value <= 100
       SOUND_BASS
         -32 <= value <= 32
       SOUND_TREBLE
         -32 <= value <= 32
       SOUND_CHANNEL
         value : MPEG_SOUND_STEREO
                 MPEG_SOUND_MONO
                 MPEG_SOUND_MONO_LEFT
                 MPEG_SOUND_MONO_RIGHT
                 MPEG_SOUND_STEREO_NARROW
                 MPEG_SOUND_STEREO_WIDE
                 MPEG_SOUND_KARAOKE

       only available with MAS3587F :
       SOUND_LOUDNESS
         0 <= value <= 17
       SOUND_AVC  
         value :  1 : 20ms
                  2 : 2s
                  3 : 4s
                  4 : 8s
                  -1 : off then on
                  other : off
       SOUND_MDB_STRENGTH
         0 <= value <= 127
       SOUND_MDB_HARMONICS
         0 <= value <= 100
       SOUND_MDB_CENTER
         value : ???
       SOUND_MDB_SHAPE
         value : ???
       SOUND_MDB_ENABLE
         value == 0 : off
         other : on
       SOUND_SUPERBASS
         value == 0 : off
         other : on
         
     
  void mp3_play_data(unsigned char* start, int size,
                     void (*get_more)(unsigned char** start, int* size));
  
     Plays a chunk of an mp3 file.
     start points to the begining of the file to play.
     size is the size to play.
     getmore is a callback function.
     ??? (see firmware/mp3_playback.c:1062)
     [Not for simulator]
     
  void mp3_play_pause(bool play);
  
     If playback was paused and play is TRUE, resume playback.
     If playback isn't paused and play is FALSE, pause playback.
     [Not for simulator]
     
  void mp3_play_stop(void);
  
     Stop playback.
     [Not for simulator]
     
  bool mp3_is_playing(void);
  
     Return true if an mp3 is playing, else return false. Note : a paused
     mp3 is considered as a playing mp3.
     [Not for simulator]
     
  void bitswap(unsigned char *data, int length);
  
     Swap the bits for each element of array data of size length.
     [Not for simulator]


Playback Control
================

  void mpeg_play(int offset);

     Start playback.
     ??? what does offset do (see firmware/mpeg.c:2459)
     
  void mpeg_stop(void);

     Stop playback.
     
  void mpeg_pause(void);

     Pause playback.
     
  void mpeg_resume(void);

     Resume playback.
     
  void mpeg_next(void);

     Play the next item in playlist.
     
  void mpeg_prev(void);

     Play the previous item in playlist.
     
  void mpeg_ff_rewind(int newtime);

     Change playback time.
     Has no effect in simulator.
     
  struct mp3entry *mpeg_next_track(void);

     Return info about the next track.
     struct mp3entry is defined in file firmware/export/id3.h
     
  int playlist_amount(void);

     Returns the number of tracks in current playlist.
     
  int mpeg_status(void);

     Returns a bitmask about current mpeg stream status.
     Possibilities are :
       MPEG_STATUS_PLAY
       MPEG_STATUS_PAUSE
       MPEG_STATUS_RECORD [MAS3587F only]
       MPEG_STATUS_PRERECORD [MAS3587F only]
       MPEG_STATUS_ERROR
     
  bool mpeg_has_changed_track(void);

     Returns true if track has changed since last call of this function.
     Else returns false.
     
  struct mp3entry *mpeg_current_track(void);

     Return info about current track
     struct mp3entry is defined in file firmware/export/id3.h


MAS communication
=================

  [Not for simulator]
  
  int mas_readmem(int bank, int addr, unsigned long* dest, int len);

     ???
     
  int mas_writemem(int bank, int addr, unsigned long* src, int len);

     ???
     
  int mas_readreg(int reg);

     ???
     
  int mas_writereg(int reg, unsigned int val);
  
     ???
     
  int mas_codec_writereg(int reg, unsigned int val);
  
     ???
     [MAS3587F only]
     
  int mas_codec_readreg(int reg);
  
     ???
     [MAS3587F only]


Misc
====

  void srand(unsigned int seed);

     Seed the random number generator.
     
  int rand(void);

     Return a pseudo random number between 0 and 0x7fffffff.
     
  void qsort(void *base, size_t nmemb, size_t size,
             int(*compar)(const void *, const void *));

     qsort sorts an array (begining at base) of nmemb objects, size
     describes the size of each element of the array.

     You must supply a pointer to a comparison function, using the 
     argument shown as compar. (This permits the sorting objects of
     unknown properties.) Define the comparison function to accept
     two arguments, each a pointer to an element of the array starting
     at base. The result of (*compar) must be negative if the first
     argument is less than the second, zero if the two arguments match,
     and positive if the first argument is greater than the second 
     (chere ``less than'' and ``greter than'' refer to whatever
     arbitrary ordering is appropriate).

     The arra is sorted in place; that is, when qsort returns, the array
     elements begining at base have been reordered.
     
  int kbd_input(char *buffer, int buflen);

     Prompt for a string to be stored in buffer which is of length buflen.
     Return FALSE upon success.
     
  struct tm *get_time(void);

     Return current time.
     struct tm
     {
       int   tm_sec;
       int   tm_min;
       int   tm_hour;
       int   tm_mday;
       int   tm_mon;
       int   tm_year;
       int   tm_wday;
       int   tm_yday;
       int   tm_isdst;
     };
     
  int set_time(struct tm *tm);

     Set current time.
     Return FALSE upon success.
     (see get_time() for a description of struct tm)
     
  void *plugin_get_buffer(int *buffer_size);

     Returns a pointer to the portion of the plugin buffer that is not
     already being used. If no plugin is loaded, returns the entire
     plugin buffer.
     Upon return, *buffer_size is the memory size left in plugin buffer.
     
  void *plugin_get_mp3_buffer(int *buffer_size);

     Returns a pointer to the mp3 buffer.
     Playback gets stopped to avoid conflicts.
     
  int plugin_register_timer(int cycles, int prio,
                            void (*timer_callback)(void));
  
     Register a periodic time callbeck, called every 'cycles' CPU clocks.
     Note that this function will be called in interrupt context!
     [Not for simulator]
     
  void plugin_unregister_timer(void);
  
     Disable the user timer.
     [Not for simulator]
     
  void plugin_tsr(void (*exit_callback)(void));

     The plugin wants to stay resdent after leaving its main function, e.g.
     runs from timer or own thread. The callback is registered to later
     instruct it to free its resources before a new plugin gets loaded.
     
  void debugf(char *fmt, ...);
  
     Debug output in formated string format.
     [Simulator or debug only]
     
  struct user_settings *global_settings;

     Access to rockbox's settings.
     struct user_settings is defined in apps/settings.h
     
  void backlight_set_timeout(int index);

     Set the backlight timeout.
     index possible values :
       0 : backlight always off
       1 : no time out
       2 : 1s
       3 : 2s
       4 : 3s
       5 : 4s
       6 : 5s
       7 : 6s
       8 : 7s
       9 : 8s
       10 : 9s
       11 : 10s
       12 : 15s
       13 : 20s
       14 : 25s
       15 : 30s
       16 : 45s
       17 : 60s
       18 : 90s
       other : backlight always off
  
  bool mp3info(mp3entry *entry, char *filename);

     Return FALSE if successful. The given mp3entry is then filled in with
     whatever id3 info it could find about the given file.
     struct mp3entry is defined in file firmware/export/id3.h
 
  int count_mp3_frames(int fd, int startpos, int filesize,
                       void (*progressfunc)(int));

     ??? (see firmware/mp3data.c:531)
     something related to VBR files
     
  int create_xing_header(int fd, int startpos, int filesize,
                         unsigned char *buf, int num_frames,
                         unsigned long header_template,
                         void (*progressfunc)(int), bool generate_toc);

     ??? (see firmware/mp3data.c:593)
     
  int battery_level(void);

     Returns battery level in percent.
     On the simulator, battery_level always returns 75.

  void mpeg_set_pitch(int pitch);
  
     Change the pitch of audio playback. pitch is given in tenths of
     percent.
     [MAS3587F only]
     {new in plugin API version 26}
     
  unsigned short peak_meter_scale_value(unsigned short val, int meterwidth);
  
     Scales a peak value as read from the MAS to the range of meterwidth.
     The scaling is performed according to the scaling method (dBfs / linear)
     and the range (peak_meter_range_min .. peak_meter_range_max).
     unsigned short val is the volume value. Range: 0 <= val < MAX_PEAK
     int meterwidht is the widht of the meter in pixel
     Returns an a value between 0 and meterwidth
     [MAS3587F only]
     {new in plugin API version 26}
     
  void peak_meter_set_use_dbfs(int use);
  
     Specifies wether the values displayed are scaled as dBfs or as
     linear percent values. If use is 0 use linear percent scale, else
     use dBfs.
     [MAS3587F only]
     {new in plugin API version 26}
     
  int peak_meter_get_use_dbfs(void);
  
     Returns 1 if the meter currently is displaying dBfs values, 0
     if the meter is displaying percent values.
     [MAS3587F only]
     {new in plugin API version 26}

  void mpeg_flush_and_reload_tracks(void);

     ??? Flush the mpeg buffer and reload data ???
     (see firmware/mpeg.c:2597)
     (has no effect on simulator)
     {new in plugin API version 26}
     
  int mpeg_get_file_pos(void);

     ??? Returns the current cursor position in mpeg file ???
     (see firmware/mpeg.c:260)
     {new in plugin API version 26}
     
  unsigned long find_next_frame(int fd, int *offset, int max_offset,
                                unsigned long last_header);

     ???
     (see firmware/mp3data.c:262)
     {new in plugin API version 26}
     
  unsigned long mpeg_get_last_header(void);

     ???
     (see firmware/mpeg.c:320)
     {new in plugin API version 26}
660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652
/*
** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
** Copyright (C) 2003-2004 M. Bakker, Ahead Software AG, http://www.nero.com
**  
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
** 
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
** GNU General Public License for more details.
** 
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software 
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
**
** Any non-GPL usage of this software or parts of this software is strictly
** forbidden.
**
** Commercial non-GPL licensing of this software is possible.
** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
**
** $Id$
**/

#ifndef __MDCT_TAB_H__
#define __MDCT_TAB_H__

#ifdef __cplusplus
extern "C" {
#endif

#ifdef FIXED_POINT

/* 256 (N/4) complex twiddle factors */
ALIGN static const complex_t mdct_tab_2048[] ICONST_ATTR =
{
    { FRAC_CONST(0.999999926465718), FRAC_CONST(0.000383495187571) },
    { FRAC_CONST(0.999994043728986), FRAC_CONST(0.003451449920136) },
    { FRAC_CONST(0.999978748667469), FRAC_CONST(0.006519372166339) },
    { FRAC_CONST(0.999954041425130), FRAC_CONST(0.009587233049729) },
    { FRAC_CONST(0.999919922234523), FRAC_CONST(0.012655003694430) },
    { FRAC_CONST(0.999876391416790), FRAC_CONST(0.015722655225417) },
    { FRAC_CONST(0.999823449381662), FRAC_CONST(0.018790158768785) },
    { FRAC_CONST(0.999761096627447), FRAC_CONST(0.021857485452022) },
    { FRAC_CONST(0.999689333741034), FRAC_CONST(0.024924606404281) },
    { FRAC_CONST(0.999608161397882), FRAC_CONST(0.027991492756653) },
    { FRAC_CONST(0.999517580362017), FRAC_CONST(0.031058115642435) },
    { FRAC_CONST(0.999417591486022), FRAC_CONST(0.034124446197403) },
    { FRAC_CONST(0.999308195711029), FRAC_CONST(0.037190455560088) },
    { FRAC_CONST(0.999189394066715), FRAC_CONST(0.040256114872041) },
    { FRAC_CONST(0.999061187671285), FRAC_CONST(0.043321395278110) },
    { FRAC_CONST(0.998923577731466), FRAC_CONST(0.046386267926707) },
    { FRAC_CONST(0.998776565542496), FRAC_CONST(0.049450703970085) },
    { FRAC_CONST(0.998620152488109), FRAC_CONST(0.052514674564603) },
    { FRAC_CONST(0.998454340040525), FRAC_CONST(0.055578150871005) },
    { FRAC_CONST(0.998279129760433), FRAC_CONST(0.058641104054683) },
    { FRAC_CONST(0.998094523296980), FRAC_CONST(0.061703505285957) },
    { FRAC_CONST(0.997900522387752), FRAC_CONST(0.064765325740340) },
    { FRAC_CONST(0.997697128858759), FRAC_CONST(0.067826536598811) },
    { FRAC_CONST(0.997484344624418), FRAC_CONST(0.070887109048088) },
    { FRAC_CONST(0.997262171687536), FRAC_CONST(0.073947014280897) },
    { FRAC_CONST(0.997030612139289), FRAC_CONST(0.077006223496246) },
    { FRAC_CONST(0.996789668159205), FRAC_CONST(0.080064707899691) },
    { FRAC_CONST(0.996539342015138), FRAC_CONST(0.083122438703613) },
    { FRAC_CONST(0.996279636063255), FRAC_CONST(0.086179387127485) },
    { FRAC_CONST(0.996010552748006), FRAC_CONST(0.089235524398144) },
    { FRAC_CONST(0.995732094602106), FRAC_CONST(0.092290821750062) },
    { FRAC_CONST(0.995444264246510), FRAC_CONST(0.095345250425618) },
    { FRAC_CONST(0.995147064390386), FRAC_CONST(0.098398781675364) },
    { FRAC_CONST(0.994840497831093), FRAC_CONST(0.101451386758302) },
    { FRAC_CONST(0.994524567454152), FRAC_CONST(0.104503036942151) },
    { FRAC_CONST(0.994199276233219), FRAC_CONST(0.107553703503616) },
    { FRAC_CONST(0.993864627230060), FRAC_CONST(0.110603357728662) },
    { FRAC_CONST(0.993520623594518), FRAC_CONST(0.113651970912782) },
    { FRAC_CONST(0.993167268564487), FRAC_CONST(0.116699514361268) },
    { FRAC_CONST(0.992804565465879), FRAC_CONST(0.119745959389480) },
    { FRAC_CONST(0.992432517712594), FRAC_CONST(0.122791277323117) },
    { FRAC_CONST(0.992051128806486), FRAC_CONST(0.125835439498487) },
    { FRAC_CONST(0.991660402337333), FRAC_CONST(0.128878417262777) },
    { FRAC_CONST(0.991260341982802), FRAC_CONST(0.131920181974320) },
    { FRAC_CONST(0.990850951508414), FRAC_CONST(0.134960705002869) },
    { FRAC_CONST(0.990432234767506), FRAC_CONST(0.137999957729863) },
    { FRAC_CONST(0.990004195701201), FRAC_CONST(0.141037911548698) },
    { FRAC_CONST(0.989566838338365), FRAC_CONST(0.144074537864995) },
    { FRAC_CONST(0.989120166795573), FRAC_CONST(0.147109808096872) },
    { FRAC_CONST(0.988664185277066), FRAC_CONST(0.150143693675208) },
    { FRAC_CONST(0.988198898074718), FRAC_CONST(0.153176166043918) },
    { FRAC_CONST(0.987724309567987), FRAC_CONST(0.156207196660216) },
    { FRAC_CONST(0.987240424223882), FRAC_CONST(0.159236756994888) },
    { FRAC_CONST(0.986747246596917), FRAC_CONST(0.162264818532558) },
    { FRAC_CONST(0.986244781329065), FRAC_CONST(0.165291352771958) },
    { FRAC_CONST(0.985733033149723), FRAC_CONST(0.168316331226195) },
    { FRAC_CONST(0.985212006875659), FRAC_CONST(0.171339725423019) },
    { FRAC_CONST(0.984681707410971), FRAC_CONST(0.174361506905094) },
    { FRAC_CONST(0.984142139747039), FRAC_CONST(0.177381647230260) },
    { FRAC_CONST(0.983593308962479), FRAC_CONST(0.180400117971807) },
    { FRAC_CONST(0.983035220223096), FRAC_CONST(0.183416890718739) },
    { FRAC_CONST(0.982467878781833), FRAC_CONST(0.186431937076042) },
    { FRAC_CONST(0.981891289978725), FRAC_CONST(0.189445228664950) },
    { FRAC_CONST(0.981305459240845), FRAC_CONST(0.192456737123217) },
    { FRAC_CONST(0.980710392082254), FRAC_CONST(0.195466434105377) },
    { FRAC_CONST(0.980106094103952), FRAC_CONST(0.198474291283016) },
    { FRAC_CONST(0.979492570993821), FRAC_CONST(0.201480280345038) },
    { FRAC_CONST(0.978869828526574), FRAC_CONST(0.204484372997927) },
    { FRAC_CONST(0.978237872563701), FRAC_CONST(0.207486540966021) },
    { FRAC_CONST(0.977596709053412), FRAC_CONST(0.210486755991770) },
    { FRAC_CONST(0.976946344030582), FRAC_CONST(0.213484989836008) },
    { FRAC_CONST(0.976286783616694), FRAC_CONST(0.216481214278217) },
    { FRAC_CONST(0.975618034019782), FRAC_CONST(0.219475401116790) },
    { FRAC_CONST(0.974940101534372), FRAC_CONST(0.222467522169302) },
    { FRAC_CONST(0.974252992541423), FRAC_CONST(0.225457549272769) },
    { FRAC_CONST(0.973556713508266), FRAC_CONST(0.228445454283916) },
    { FRAC_CONST(0.972851270988544), FRAC_CONST(0.231431209079446) },
    { FRAC_CONST(0.972136671622152), FRAC_CONST(0.234414785556295) },
    { FRAC_CONST(0.971412922135171), FRAC_CONST(0.237396155631907) },
    { FRAC_CONST(0.970680029339806), FRAC_CONST(0.240375291244489) },
    { FRAC_CONST(0.969938000134324), FRAC_CONST(0.243352164353285) },
    { FRAC_CONST(0.969186841502986), FRAC_CONST(0.246326746938829) },
    { FRAC_CONST(0.968426560515983), FRAC_CONST(0.249299011003218) },
    { FRAC_CONST(0.967657164329370), FRAC_CONST(0.252268928570371) },
    { FRAC_CONST(0.966878660184996), FRAC_CONST(0.255236471686292) },
    { FRAC_CONST(0.966091055410439), FRAC_CONST(0.258201612419335) },
    { FRAC_CONST(0.965294357418935), FRAC_CONST(0.261164322860466) },
    { FRAC_CONST(0.964488573709308), FRAC_CONST(0.264124575123528) },
    { FRAC_CONST(0.963673711865903), FRAC_CONST(0.267082341345496) },
    { FRAC_CONST(0.962849779558509), FRAC_CONST(0.270037593686751) },
    { FRAC_CONST(0.962016784542291), FRAC_CONST(0.272990304331330) },
    { FRAC_CONST(0.961174734657714), FRAC_CONST(0.275940445487197) },
    { FRAC_CONST(0.960323637830474), FRAC_CONST(0.278887989386500) },
    { FRAC_CONST(0.959463502071418), FRAC_CONST(0.281832908285833) },
    { FRAC_CONST(0.958594335476470), FRAC_CONST(0.284775174466498) },
    { FRAC_CONST(0.957716146226559), FRAC_CONST(0.287714760234765) },
    { FRAC_CONST(0.956828942587535), FRAC_CONST(0.290651637922133) },
    { FRAC_CONST(0.955932732910098), FRAC_CONST(0.293585779885591) },
    { FRAC_CONST(0.955027525629714), FRAC_CONST(0.296517158507877) },
    { FRAC_CONST(0.954113329266539), FRAC_CONST(0.299445746197740) },
    { FRAC_CONST(0.953190152425337), FRAC_CONST(0.302371515390196) },
    { FRAC_CONST(0.952258003795400), FRAC_CONST(0.305294438546792) },
    { FRAC_CONST(0.951316892150466), FRAC_CONST(0.308214488155861) },
    { FRAC_CONST(0.950366826348636), FRAC_CONST(0.311131636732785) },
    { FRAC_CONST(0.949407815332292), FRAC_CONST(0.314045856820251) },
    { FRAC_CONST(0.948439868128010), FRAC_CONST(0.316957120988508) },
    { FRAC_CONST(0.947462993846478), FRAC_CONST(0.319865401835631) },
    { FRAC_CONST(0.946477201682409), FRAC_CONST(0.322770671987771) },
    { FRAC_CONST(0.945482500914454), FRAC_CONST(0.325672904099420) },
    { FRAC_CONST(0.944478900905116), FRAC_CONST(0.328572070853664) },
    { FRAC_CONST(0.943466411100659), FRAC_CONST(0.331468144962441) },
    { FRAC_CONST(0.942445041031025), FRAC_CONST(0.334361099166799) },
    { FRAC_CONST(0.941414800309736), FRAC_CONST(0.337250906237151) },
    { FRAC_CONST(0.940375698633812), FRAC_CONST(0.340137538973532) },
    { FRAC_CONST(0.939327745783671), FRAC_CONST(0.343020970205856) },
    { FRAC_CONST(0.938270951623047), FRAC_CONST(0.345901172794169) },
    { FRAC_CONST(0.937205326098888), FRAC_CONST(0.348778119628908) },
    { FRAC_CONST(0.936130879241267), FRAC_CONST(0.351651783631155) },
    { FRAC_CONST(0.935047621163287), FRAC_CONST(0.354522137752887) },
    { FRAC_CONST(0.933955562060987), FRAC_CONST(0.357389154977241) },
    { FRAC_CONST(0.932854712213241), FRAC_CONST(0.360252808318757) },
    { FRAC_CONST(0.931745081981669), FRAC_CONST(0.363113070823639) },
    { FRAC_CONST(0.930626681810532), FRAC_CONST(0.365969915570009) },
    { FRAC_CONST(0.929499522226639), FRAC_CONST(0.368823315668154) },
    { FRAC_CONST(0.928363613839244), FRAC_CONST(0.371673244260787) },
    { FRAC_CONST(0.927218967339952), FRAC_CONST(0.374519674523293) },
    { FRAC_CONST(0.926065593502609), FRAC_CONST(0.377362579663988) },
    { FRAC_CONST(0.924903503183211), FRAC_CONST(0.380201932924366) },
    { FRAC_CONST(0.923732707319793), FRAC_CONST(0.383037707579352) },
    { FRAC_CONST(0.922553216932333), FRAC_CONST(0.385869876937555) },
    { FRAC_CONST(0.921365043122642), FRAC_CONST(0.388698414341519) },
    { FRAC_CONST(0.920168197074266), FRAC_CONST(0.391523293167972) },
    { FRAC_CONST(0.918962690052376), FRAC_CONST(0.394344486828080) },
    { FRAC_CONST(0.917748533403661), FRAC_CONST(0.397161968767692) },
    { FRAC_CONST(0.916525738556228), FRAC_CONST(0.399975712467595) },
    { FRAC_CONST(0.915294317019487), FRAC_CONST(0.402785691443764) },
    { FRAC_CONST(0.914054280384047), FRAC_CONST(0.405591879247604) },
    { FRAC_CONST(0.912805640321604), FRAC_CONST(0.408394249466208) },
    { FRAC_CONST(0.911548408584834), FRAC_CONST(0.411192775722600) },
    { FRAC_CONST(0.910282597007282), FRAC_CONST(0.413987431675985) },
    { FRAC_CONST(0.909008217503247), FRAC_CONST(0.416778191021998) },
    { FRAC_CONST(0.907725282067676), FRAC_CONST(0.419565027492947) },
    { FRAC_CONST(0.906433802776045), FRAC_CONST(0.422347914858067) },
    { FRAC_CONST(0.905133791784250), FRAC_CONST(0.425126826923762) },
    { FRAC_CONST(0.903825261328488), FRAC_CONST(0.427901737533854) },
    { FRAC_CONST(0.902508223725146), FRAC_CONST(0.430672620569827) },
    { FRAC_CONST(0.901182691370685), FRAC_CONST(0.433439449951074) },
    { FRAC_CONST(0.899848676741519), FRAC_CONST(0.436202199635144) },
    { FRAC_CONST(0.898506192393902), FRAC_CONST(0.438960843617984) },
    { FRAC_CONST(0.897155250963809), FRAC_CONST(0.441715355934187) },
    { FRAC_CONST(0.895795865166814), FRAC_CONST(0.444465710657234) },
    { FRAC_CONST(0.894428047797974), FRAC_CONST(0.447211881899738) },
    { FRAC_CONST(0.893051811731707), FRAC_CONST(0.449953843813691) },
    { FRAC_CONST(0.891667169921672), FRAC_CONST(0.452691570590701) },
    { FRAC_CONST(0.890274135400645), FRAC_CONST(0.455425036462242) },
    { FRAC_CONST(0.888872721280396), FRAC_CONST(0.458154215699893) },
    { FRAC_CONST(0.887462940751569), FRAC_CONST(0.460879082615579) },
    { FRAC_CONST(0.886044807083556), FRAC_CONST(0.463599611561814) },
    { FRAC_CONST(0.884618333624370), FRAC_CONST(0.466315776931944) },
    { FRAC_CONST(0.883183533800523), FRAC_CONST(0.469027553160387) },
    { FRAC_CONST(0.881740421116898), FRAC_CONST(0.471734914722871) },
    { FRAC_CONST(0.880289009156621), FRAC_CONST(0.474437836136679) },
    { FRAC_CONST(0.878829311580933), FRAC_CONST(0.477136291960885) },
    { FRAC_CONST(0.877361342129065), FRAC_CONST(0.479830256796594) },
    { FRAC_CONST(0.875885114618104), FRAC_CONST(0.482519705287184) },
    { FRAC_CONST(0.874400642942865), FRAC_CONST(0.485204612118542) },
    { FRAC_CONST(0.872907941075761), FRAC_CONST(0.487884952019301) },
    { FRAC_CONST(0.871407023066671), FRAC_CONST(0.490560699761082) },
    { FRAC_CONST(0.869897903042806), FRAC_CONST(0.493231830158728) },
    { FRAC_CONST(0.868380595208580), FRAC_CONST(0.495898318070542) },
    { FRAC_CONST(0.866855113845470), FRAC_CONST(0.498560138398525) },
    { FRAC_CONST(0.865321473311890), FRAC_CONST(0.501217266088610) },
    { FRAC_CONST(0.863779688043047), FRAC_CONST(0.503869676130899) },
    { FRAC_CONST(0.862229772550811), FRAC_CONST(0.506517343559899) },
    { FRAC_CONST(0.860671741423578), FRAC_CONST(0.509160243454755) },
    { FRAC_CONST(0.859105609326130), FRAC_CONST(0.511798350939487) },
    { FRAC_CONST(0.857531390999499), FRAC_CONST(0.514431641183223) },
    { FRAC_CONST(0.855949101260827), FRAC_CONST(0.517060089400432) },
    { FRAC_CONST(0.854358755003227), FRAC_CONST(0.519683670851158) },
    { FRAC_CONST(0.852760367195645), FRAC_CONST(0.522302360841255) },
    { FRAC_CONST(0.851153952882715), FRAC_CONST(0.524916134722613) },
    { FRAC_CONST(0.849539527184621), FRAC_CONST(0.527524967893398) },
    { FRAC_CONST(0.847917105296951), FRAC_CONST(0.530128835798279) },
    { FRAC_CONST(0.846286702490560), FRAC_CONST(0.532727713928659) },
    { FRAC_CONST(0.844648334111418), FRAC_CONST(0.535321577822907) },
    { FRAC_CONST(0.843002015580473), FRAC_CONST(0.537910403066589) },
    { FRAC_CONST(0.841347762393502), FRAC_CONST(0.540494165292695) },
    { FRAC_CONST(0.839685590120966), FRAC_CONST(0.543072840181872) },
    { FRAC_CONST(0.838015514407864), FRAC_CONST(0.545646403462649) },
    { FRAC_CONST(0.836337550973584), FRAC_CONST(0.548214830911668) },
    { FRAC_CONST(0.834651715611756), FRAC_CONST(0.550778098353912) },
    { FRAC_CONST(0.832958024190107), FRAC_CONST(0.553336181662932) },
    { FRAC_CONST(0.831256492650303), FRAC_CONST(0.555889056761074) },
    { FRAC_CONST(0.829547137007809), FRAC_CONST(0.558436699619704) },
    { FRAC_CONST(0.827829973351730), FRAC_CONST(0.560979086259438) },
    { FRAC_CONST(0.826105017844665), FRAC_CONST(0.563516192750365) },
    { FRAC_CONST(0.824372286722551), FRAC_CONST(0.566047995212271) },
    { FRAC_CONST(0.822631796294515), FRAC_CONST(0.568574469814869) },
    { FRAC_CONST(0.820883562942715), FRAC_CONST(0.571095592778017) },
    { FRAC_CONST(0.819127603122188), FRAC_CONST(0.573611340371945) },
    { FRAC_CONST(0.817363933360698), FRAC_CONST(0.576121688917478) },
    { FRAC_CONST(0.815592570258577), FRAC_CONST(0.578626614786261) },
    { FRAC_CONST(0.813813530488567), FRAC_CONST(0.581126094400978) },
    { FRAC_CONST(0.812026830795670), FRAC_CONST(0.583620104235573) },
    { FRAC_CONST(0.810232487996982), FRAC_CONST(0.586108620815476) },
    { FRAC_CONST(0.808430518981543), FRAC_CONST(0.588591620717823) },
    { FRAC_CONST(0.806620940710170), FRAC_CONST(0.591069080571671) },
    { FRAC_CONST(0.804803770215303), FRAC_CONST(0.593540977058226) },
    { FRAC_CONST(0.802979024600843), FRAC_CONST(0.596007286911057) },
    { FRAC_CONST(0.801146721041991), FRAC_CONST(0.598467986916314) },
    { FRAC_CONST(0.799306876785086), FRAC_CONST(0.600923053912954) },
    { FRAC_CONST(0.797459509147442), FRAC_CONST(0.603372464792950) },
    { FRAC_CONST(0.795604635517188), FRAC_CONST(0.605816196501515) },
    { FRAC_CONST(0.793742273353100), FRAC_CONST(0.608254226037314) },
    { FRAC_CONST(0.791872440184440), FRAC_CONST(0.610686530452686) },
    { FRAC_CONST(0.789995153610791), FRAC_CONST(0.613113086853855) },
    { FRAC_CONST(0.788110431301888), FRAC_CONST(0.615533872401147) },
    { FRAC_CONST(0.786218290997456), FRAC_CONST(0.617948864309208) },
    { FRAC_CONST(0.784318750507039), FRAC_CONST(0.620358039847214) },
    { FRAC_CONST(0.782411827709837), FRAC_CONST(0.622761376339086) },
    { FRAC_CONST(0.780497540554532), FRAC_CONST(0.625158851163708) },
    { FRAC_CONST(0.778575907059125), FRAC_CONST(0.627550441755132) },
    { FRAC_CONST(0.776646945310762), FRAC_CONST(0.629936125602796) },
    { FRAC_CONST(0.774710673465566), FRAC_CONST(0.632315880251738) },
    { FRAC_CONST(0.772767109748464), FRAC_CONST(0.634689683302798) },
    { FRAC_CONST(0.770816272453019), FRAC_CONST(0.637057512412839) },
    { FRAC_CONST(0.768858179941253), FRAC_CONST(0.639419345294951) },
    { FRAC_CONST(0.766892850643481), FRAC_CONST(0.641775159718664) },
    { FRAC_CONST(0.764920303058128), FRAC_CONST(0.644124933510155) },
    { FRAC_CONST(0.762940555751566), FRAC_CONST(0.646468644552458) },
    { FRAC_CONST(0.760953627357928), FRAC_CONST(0.648806270785673) },
    { FRAC_CONST(0.758959536578942), FRAC_CONST(0.651137790207170) },
    { FRAC_CONST(0.756958302183750), FRAC_CONST(0.653463180871802) },
    { FRAC_CONST(0.754949943008733), FRAC_CONST(0.655782420892106) },
    { FRAC_CONST(0.752934477957330), FRAC_CONST(0.658095488438511) },
    { FRAC_CONST(0.750911925999868), FRAC_CONST(0.660402361739545) },
    { FRAC_CONST(0.748882306173375), FRAC_CONST(0.662703019082037) },
    { FRAC_CONST(0.746845637581407), FRAC_CONST(0.664997438811325) },
    { FRAC_CONST(0.744801939393863), FRAC_CONST(0.667285599331456) },
    { FRAC_CONST(0.742751230846809), FRAC_CONST(0.669567479105392) },
    { FRAC_CONST(0.740693531242296), FRAC_CONST(0.671843056655212) },
    { FRAC_CONST(0.738628859948175), FRAC_CONST(0.674112310562312) },
    { FRAC_CONST(0.736557236397919), FRAC_CONST(0.676375219467612) },
    { FRAC_CONST(0.734478680090438), FRAC_CONST(0.678631762071749) },
    { FRAC_CONST(0.732393210589896), FRAC_CONST(0.680881917135287) },
    { FRAC_CONST(0.730300847525525), FRAC_CONST(0.683125663478909) },
    { FRAC_CONST(0.728201610591445), FRAC_CONST(0.685362979983619) },
    { FRAC_CONST(0.726095519546471), FRAC_CONST(0.687593845590942) },
    { FRAC_CONST(0.723982594213936), FRAC_CONST(0.689818239303122) },
    { FRAC_CONST(0.721862854481496), FRAC_CONST(0.692036140183319) },
    { FRAC_CONST(0.719736320300951), FRAC_CONST(0.694247527355803) },
    { FRAC_CONST(0.717603011688049), FRAC_CONST(0.696452380006158) },
    { FRAC_CONST(0.715462948722304), FRAC_CONST(0.698650677381469) },
    { FRAC_CONST(0.713316151546803), FRAC_CONST(0.700842398790526) },
    { FRAC_CONST(0.711162640368018), FRAC_CONST(0.703027523604011) },
    { FRAC_CONST(0.709002435455618), FRAC_CONST(0.705206031254698) },
    { FRAC_CONST(0.706835557142274), FRAC_CONST(0.707377901237642) },
    { FRAC_CONST(0.704662025823469), FRAC_CONST(0.709543113110377) },
    { FRAC_CONST(0.702481861957308), FRAC_CONST(0.711701646493103) },
    { FRAC_CONST(0.700295086064324), FRAC_CONST(0.713853481068882) },
    { FRAC_CONST(0.698101718727284), FRAC_CONST(0.715998596583829) },
    { FRAC_CONST(0.695901780590997), FRAC_CONST(0.718136972847297) },
    { FRAC_CONST(0.693695292362118), FRAC_CONST(0.720268589732077) },
    { FRAC_CONST(0.691482274808956), FRAC_CONST(0.722393427174578) },
    { FRAC_CONST(0.689262748761273), FRAC_CONST(0.724511465175020) },
    { FRAC_CONST(0.687036735110096), FRAC_CONST(0.726622683797623) },
    { FRAC_CONST(0.684804254807511), FRAC_CONST(0.728727063170794) },
    { FRAC_CONST(0.682565328866473), FRAC_CONST(0.730824583487312) },
    { FRAC_CONST(0.680319978360607), FRAC_CONST(0.732915225004518) },
    { FRAC_CONST(0.678068224424007), FRAC_CONST(0.734998968044497) },
    { FRAC_CONST(0.675810088251037), FRAC_CONST(0.737075792994266) },
    { FRAC_CONST(0.673545591096136), FRAC_CONST(0.739145680305957) },
    { FRAC_CONST(0.671274754273613), FRAC_CONST(0.741208610497004) },
    { FRAC_CONST(0.668997599157450), FRAC_CONST(0.743264564150321) },
    { FRAC_CONST(0.666714147181098), FRAC_CONST(0.745313521914490) },
    { FRAC_CONST(0.664424419837275), FRAC_CONST(0.747355464503940) },
    { FRAC_CONST(0.662128438677769), FRAC_CONST(0.749390372699130) },
    { FRAC_CONST(0.659826225313227), FRAC_CONST(0.751418227346727) },
    { FRAC_CONST(0.657517801412960), FRAC_CONST(0.753439009359794) },
    { FRAC_CONST(0.655203188704732), FRAC_CONST(0.755452699717958) },
    { FRAC_CONST(0.652882408974559), FRAC_CONST(0.757459279467601) },
    { FRAC_CONST(0.650555484066504), FRAC_CONST(0.759458729722028) },
    { FRAC_CONST(0.648222435882470), FRAC_CONST(0.761451031661654) },
    { FRAC_CONST(0.645883286381996), FRAC_CONST(0.763436166534172) },
    { FRAC_CONST(0.643538057582048), FRAC_CONST(0.765414115654738) },
    { FRAC_CONST(0.641186771556811), FRAC_CONST(0.767384860406142) },
    { FRAC_CONST(0.638829450437486), FRAC_CONST(0.769348382238982) },
    { FRAC_CONST(0.636466116412077), FRAC_CONST(0.771304662671845) },
    { FRAC_CONST(0.634096791725184), FRAC_CONST(0.773253683291473) },
    { FRAC_CONST(0.631721498677792), FRAC_CONST(0.775195425752941) },
    { FRAC_CONST(0.629340259627066), FRAC_CONST(0.777129871779832) },
    { FRAC_CONST(0.626953096986133), FRAC_CONST(0.779057003164401) },
    { FRAC_CONST(0.624560033223877), FRAC_CONST(0.780976801767754) },
    { FRAC_CONST(0.622161090864727), FRAC_CONST(0.782889249520015) },
    { FRAC_CONST(0.619756292488441), FRAC_CONST(0.784794328420499) },
    { FRAC_CONST(0.617345660729897), FRAC_CONST(0.786692020537877) },
    { FRAC_CONST(0.614929218278880), FRAC_CONST(0.788582308010347) },
    { FRAC_CONST(0.612506987879866), FRAC_CONST(0.790465173045805) },
    { FRAC_CONST(0.610078992331810), FRAC_CONST(0.792340597922007) },
    { FRAC_CONST(0.607645254487931), FRAC_CONST(0.794208564986741) },
    { FRAC_CONST(0.605205797255497), FRAC_CONST(0.796069056657988) },
    { FRAC_CONST(0.602760643595607), FRAC_CONST(0.797922055424093) },
    { FRAC_CONST(0.600309816522980), FRAC_CONST(0.799767543843926) },
    { FRAC_CONST(0.597853339105734), FRAC_CONST(0.801605504547046) },
    { FRAC_CONST(0.595391234465169), FRAC_CONST(0.803435920233868) },
    { FRAC_CONST(0.592923525775551), FRAC_CONST(0.805258773675822) },
    { FRAC_CONST(0.590450236263896), FRAC_CONST(0.807074047715518) },
    { FRAC_CONST(0.587971389209745), FRAC_CONST(0.808881725266904) },
    { FRAC_CONST(0.585487007944951), FRAC_CONST(0.810681789315431) },
    { FRAC_CONST(0.582997115853458), FRAC_CONST(0.812474222918210) },
    { FRAC_CONST(0.580501736371077), FRAC_CONST(0.814259009204175) },
    { FRAC_CONST(0.578000892985270), FRAC_CONST(0.816036131374237) },
    { FRAC_CONST(0.575494609234928), FRAC_CONST(0.817805572701444) },
    { FRAC_CONST(0.572982908710149), FRAC_CONST(0.819567316531142) },
    { FRAC_CONST(0.570465815052013), FRAC_CONST(0.821321346281127) },
    { FRAC_CONST(0.567943351952366), FRAC_CONST(0.823067645441802) },
    { FRAC_CONST(0.565415543153590), FRAC_CONST(0.824806197576334) },
    { FRAC_CONST(0.562882412448385), FRAC_CONST(0.826536986320810) },
    { FRAC_CONST(0.560343983679541), FRAC_CONST(0.828259995384386) },
    { FRAC_CONST(0.557800280739717), FRAC_CONST(0.829975208549444) },
    { FRAC_CONST(0.555251327571214), FRAC_CONST(0.831682609671745) },
    { FRAC_CONST(0.552697148165750), FRAC_CONST(0.833382182680580) },
    { FRAC_CONST(0.550137766564234), FRAC_CONST(0.835073911578919) },
    { FRAC_CONST(0.547573206856540), FRAC_CONST(0.836757780443567) },
    { FRAC_CONST(0.545003493181281), FRAC_CONST(0.838433773425308) },
    { FRAC_CONST(0.542428649725581), FRAC_CONST(0.840101874749058) },
    { FRAC_CONST(0.539848700724848), FRAC_CONST(0.841762068714012) },
    { FRAC_CONST(0.537263670462543), FRAC_CONST(0.843414339693793) },
    { FRAC_CONST(0.534673583269956), FRAC_CONST(0.845058672136595) },
    { FRAC_CONST(0.532078463525974), FRAC_CONST(0.846695050565337) },
    { FRAC_CONST(0.529478335656852), FRAC_CONST(0.848323459577802) },
    { FRAC_CONST(0.526873224135985), FRAC_CONST(0.849943883846782) },
    { FRAC_CONST(0.524263153483673), FRAC_CONST(0.851556308120229) },
    { FRAC_CONST(0.521648148266897), FRAC_CONST(0.853160717221390) },
    { FRAC_CONST(0.519028233099081), FRAC_CONST(0.854757096048957) },
    { FRAC_CONST(0.516403432639864), FRAC_CONST(0.856345429577204) },
    { FRAC_CONST(0.513773771594868), FRAC_CONST(0.857925702856130) },
    { FRAC_CONST(0.511139274715464), FRAC_CONST(0.859497901011602) },
    { FRAC_CONST(0.508499966798541), FRAC_CONST(0.861062009245491) },
    { FRAC_CONST(0.505855872686269), FRAC_CONST(0.862618012835817) },
    { FRAC_CONST(0.503207017265869), FRAC_CONST(0.864165897136879) },
    { FRAC_CONST(0.500553425469378), FRAC_CONST(0.865705647579402) },
    { FRAC_CONST(0.497895122273411), FRAC_CONST(0.867237249670668) },
    { FRAC_CONST(0.495232132698931), FRAC_CONST(0.868760688994655) },
    { FRAC_CONST(0.492564481811011), FRAC_CONST(0.870275951212172) },
    { FRAC_CONST(0.489892194718595), FRAC_CONST(0.871783022060993) },
    { FRAC_CONST(0.487215296574269), FRAC_CONST(0.873281887355994) },
    { FRAC_CONST(0.484533812574016), FRAC_CONST(0.874772532989284) },
    { FRAC_CONST(0.481847767956986), FRAC_CONST(0.876254944930338) },
    { FRAC_CONST(0.479157188005253), FRAC_CONST(0.877729109226132) },
    { FRAC_CONST(0.476462098043581), FRAC_CONST(0.879195012001267) },
    { FRAC_CONST(0.473762523439183), FRAC_CONST(0.880652639458111) },
    { FRAC_CONST(0.471058489601483), FRAC_CONST(0.882101977876918) },
    { FRAC_CONST(0.468350021981877), FRAC_CONST(0.883543013615962) },
    { FRAC_CONST(0.465637146073494), FRAC_CONST(0.884975733111667) },
    { FRAC_CONST(0.462919887410955), FRAC_CONST(0.886400122878730) },
    { FRAC_CONST(0.460198271570134), FRAC_CONST(0.887816169510255) },
    { FRAC_CONST(0.457472324167916), FRAC_CONST(0.889223859677868) },
    { FRAC_CONST(0.454742070861955), FRAC_CONST(0.890623180131856) },
    { FRAC_CONST(0.452007537350437), FRAC_CONST(0.892014117701280) },
    { FRAC_CONST(0.449268749371830), FRAC_CONST(0.893396659294108) },
    { FRAC_CONST(0.446525732704651), FRAC_CONST(0.894770791897330) },
    { FRAC_CONST(0.443778513167218), FRAC_CONST(0.896136502577087) },
    { FRAC_CONST(0.441027116617407), FRAC_CONST(0.897493778478790) },
    { FRAC_CONST(0.438271568952410), FRAC_CONST(0.898842606827242) },
    { FRAC_CONST(0.435511896108492), FRAC_CONST(0.900182974926757) },
    { FRAC_CONST(0.432748124060744), FRAC_CONST(0.901514870161279) },
    { FRAC_CONST(0.429980278822841), FRAC_CONST(0.902838279994503) },
    { FRAC_CONST(0.427208386446796), FRAC_CONST(0.904153191969992) },
    { FRAC_CONST(0.424432473022717), FRAC_CONST(0.905459593711293) },
    { FRAC_CONST(0.421652564678558), FRAC_CONST(0.906757472922057) },
    { FRAC_CONST(0.418868687579875), FRAC_CONST(0.908046817386148) },
    { FRAC_CONST(0.416080867929579), FRAC_CONST(0.909327614967767) },
    { FRAC_CONST(0.413289131967691), FRAC_CONST(0.910599853611559) },
    { FRAC_CONST(0.410493505971093), FRAC_CONST(0.911863521342729) },
    { FRAC_CONST(0.407694016253280), FRAC_CONST(0.913118606267154) },
    { FRAC_CONST(0.404890689164118), FRAC_CONST(0.914365096571498) },
    { FRAC_CONST(0.402083551089587), FRAC_CONST(0.915602980523320) },
    { FRAC_CONST(0.399272628451541), FRAC_CONST(0.916832246471184) },
    { FRAC_CONST(0.396457947707454), FRAC_CONST(0.918052882844770) },
    { FRAC_CONST(0.393639535350173), FRAC_CONST(0.919264878154985) },
    { FRAC_CONST(0.390817417907669), FRAC_CONST(0.920468220994067) },
    { FRAC_CONST(0.387991621942785), FRAC_CONST(0.921662900035695) },
    { FRAC_CONST(0.385162174052990), FRAC_CONST(0.922848904035094) },
    { FRAC_CONST(0.382329100870125), FRAC_CONST(0.924026221829144) },
    { FRAC_CONST(0.379492429060153), FRAC_CONST(0.925194842336480) },
    { FRAC_CONST(0.376652185322910), FRAC_CONST(0.926354754557603) },
    { FRAC_CONST(0.373808396391851), FRAC_CONST(0.927505947574975) },
    { FRAC_CONST(0.370961089033802), FRAC_CONST(0.928648410553131) },
    { FRAC_CONST(0.368110290048703), FRAC_CONST(0.929782132738772) },
    { FRAC_CONST(0.365256026269360), FRAC_CONST(0.930907103460875) },
    { FRAC_CONST(0.362398324561191), FRAC_CONST(0.932023312130786) },
    { FRAC_CONST(0.359537211821973), FRAC_CONST(0.933130748242325) },
    { FRAC_CONST(0.356672714981588), FRAC_CONST(0.934229401371881) },
    { FRAC_CONST(0.353804861001772), FRAC_CONST(0.935319261178512) },
    { FRAC_CONST(0.350933676875858), FRAC_CONST(0.936400317404042) },
    { FRAC_CONST(0.348059189628526), FRAC_CONST(0.937472559873159) },
    { FRAC_CONST(0.345181426315543), FRAC_CONST(0.938535978493509) },
    { FRAC_CONST(0.342300414023514), FRAC_CONST(0.939590563255789) },
    { FRAC_CONST(0.339416179869623), FRAC_CONST(0.940636304233848) },
    { FRAC_CONST(0.336528751001382), FRAC_CONST(0.941673191584771) },
    { FRAC_CONST(0.333638154596371), FRAC_CONST(0.942701215548982) },
    { FRAC_CONST(0.330744417861983), FRAC_CONST(0.943720366450326) },
    { FRAC_CONST(0.327847568035171), FRAC_CONST(0.944730634696168) },
    { FRAC_CONST(0.324947632382188), FRAC_CONST(0.945732010777477) },
    { FRAC_CONST(0.322044638198335), FRAC_CONST(0.946724485268921) },
    { FRAC_CONST(0.319138612807696), FRAC_CONST(0.947708048828952) },
    { FRAC_CONST(0.316229583562890), FRAC_CONST(0.948682692199895) },
    { FRAC_CONST(0.313317577844809), FRAC_CONST(0.949648406208035) },
    { FRAC_CONST(0.310402623062359), FRAC_CONST(0.950605181763705) },
    { FRAC_CONST(0.307484746652204), FRAC_CONST(0.951553009861369) },
    { FRAC_CONST(0.304563976078509), FRAC_CONST(0.952491881579706) },
    { FRAC_CONST(0.301640338832679), FRAC_CONST(0.953421788081700) },
    { FRAC_CONST(0.298713862433100), FRAC_CONST(0.954342720614716) },
    { FRAC_CONST(0.295784574424884), FRAC_CONST(0.955254670510587) },
    { FRAC_CONST(0.292852502379605), FRAC_CONST(0.956157629185692) },
    { FRAC_CONST(0.289917673895041), FRAC_CONST(0.957051588141041) },
    { FRAC_CONST(0.286980116594916), FRAC_CONST(0.957936538962351) },
    { FRAC_CONST(0.284039858128637), FRAC_CONST(0.958812473320129) },
    { FRAC_CONST(0.281096926171038), FRAC_CONST(0.959679382969747) },
    { FRAC_CONST(0.278151348422115), FRAC_CONST(0.960537259751520) },
    { FRAC_CONST(0.275203152606767), FRAC_CONST(0.961386095590786) },
    { FRAC_CONST(0.272252366474537), FRAC_CONST(0.962225882497979) },
    { FRAC_CONST(0.269299017799346), FRAC_CONST(0.963056612568704) },
    { FRAC_CONST(0.266343134379238), FRAC_CONST(0.963878277983814) },
    { FRAC_CONST(0.263384744036113), FRAC_CONST(0.964690871009481) },
    { FRAC_CONST(0.260423874615468), FRAC_CONST(0.965494383997270) },
    { FRAC_CONST(0.257460553986133), FRAC_CONST(0.966288809384210) },
    { FRAC_CONST(0.254494810040011), FRAC_CONST(0.967074139692867) },
    { FRAC_CONST(0.251526670691813), FRAC_CONST(0.967850367531414) },
    { FRAC_CONST(0.248556163878797), FRAC_CONST(0.968617485593698) },
    { FRAC_CONST(0.245583317560504), FRAC_CONST(0.969375486659311) },
    { FRAC_CONST(0.242608159718497), FRAC_CONST(0.970124363593660) },
    { FRAC_CONST(0.239630718356094), FRAC_CONST(0.970864109348029) },
    { FRAC_CONST(0.236651021498106), FRAC_CONST(0.971594716959650) },
    { FRAC_CONST(0.233669097190577), FRAC_CONST(0.972316179551765) },
    { FRAC_CONST(0.230684973500512), FRAC_CONST(0.973028490333694) },
    { FRAC_CONST(0.227698678515621), FRAC_CONST(0.973731642600896) },
    { FRAC_CONST(0.224710240344050), FRAC_CONST(0.974425629735035) },
    { FRAC_CONST(0.221719687114115), FRAC_CONST(0.975110445204039) },
    { FRAC_CONST(0.218727046974045), FRAC_CONST(0.975786082562164) },
    { FRAC_CONST(0.215732348091706), FRAC_CONST(0.976452535450054) },
    { FRAC_CONST(0.212735618654346), FRAC_CONST(0.977109797594801) },
    { FRAC_CONST(0.209736886868323), FRAC_CONST(0.977757862810003) },
    { FRAC_CONST(0.206736180958844), FRAC_CONST(0.978396724995823) },
    { FRAC_CONST(0.203733529169694), FRAC_CONST(0.979026378139048) },
    { FRAC_CONST(0.200728959762976), FRAC_CONST(0.979646816313141) },
    { FRAC_CONST(0.197722501018842), FRAC_CONST(0.980258033678304) },
    { FRAC_CONST(0.194714181235226), FRAC_CONST(0.980860024481524) },
    { FRAC_CONST(0.191704028727580), FRAC_CONST(0.981452783056636) },
    { FRAC_CONST(0.188692071828605), FRAC_CONST(0.982036303824369) },
    { FRAC_CONST(0.185678338887988), FRAC_CONST(0.982610581292405) },
    { FRAC_CONST(0.182662858272129), FRAC_CONST(0.983175610055424) },
    { FRAC_CONST(0.179645658363882), FRAC_CONST(0.983731384795162) },
    { FRAC_CONST(0.176626767562281), FRAC_CONST(0.984277900280454) },
    { FRAC_CONST(0.173606214282275), FRAC_CONST(0.984815151367289) },
    { FRAC_CONST(0.170584026954464), FRAC_CONST(0.985343132998855) },
    { FRAC_CONST(0.167560234024824), FRAC_CONST(0.985861840205587) },
    { FRAC_CONST(0.164534863954446), FRAC_CONST(0.986371268105216) },
    { FRAC_CONST(0.161507945219266), FRAC_CONST(0.986871411902812) },
    { FRAC_CONST(0.158479506309796), FRAC_CONST(0.987362266890832) },
    { FRAC_CONST(0.155449575730856), FRAC_CONST(0.987843828449162) },
    { FRAC_CONST(0.152418182001307), FRAC_CONST(0.988316092045160) },
    { FRAC_CONST(0.149385353653780), FRAC_CONST(0.988779053233702) },
    { FRAC_CONST(0.146351119234411), FRAC_CONST(0.989232707657220) },
    { FRAC_CONST(0.143315507302572), FRAC_CONST(0.989677051045747) },
    { FRAC_CONST(0.140278546430595), FRAC_CONST(0.990112079216954) },
    { FRAC_CONST(0.137240265203516), FRAC_CONST(0.990537788076189) },
    { FRAC_CONST(0.134200692218792), FRAC_CONST(0.990954173616519) },
    { FRAC_CONST(0.131159856086043), FRAC_CONST(0.991361231918763) },
    { FRAC_CONST(0.128117785426777), FRAC_CONST(0.991758959151536) },
    { FRAC_CONST(0.125074508874121), FRAC_CONST(0.992147351571276) },
    { FRAC_CONST(0.122030055072553), FRAC_CONST(0.992526405522286) },
    { FRAC_CONST(0.118984452677633), FRAC_CONST(0.992896117436766) },
    { FRAC_CONST(0.115937730355728), FRAC_CONST(0.993256483834846) },
    { FRAC_CONST(0.112889916783750), FRAC_CONST(0.993607501324622) },
    { FRAC_CONST(0.109841040648883), FRAC_CONST(0.993949166602181) },
    { FRAC_CONST(0.106791130648307), FRAC_CONST(0.994281476451642) },
    { FRAC_CONST(0.103740215488939), FRAC_CONST(0.994604427745176) },
    { FRAC_CONST(0.100688323887154), FRAC_CONST(0.994918017443043) },
    { FRAC_CONST(0.097635484568517), FRAC_CONST(0.995222242593618) },
    { FRAC_CONST(0.094581726267515), FRAC_CONST(0.995517100333418) },
    { FRAC_CONST(0.091527077727285), FRAC_CONST(0.995802587887129) },
    { FRAC_CONST(0.088471567699341), FRAC_CONST(0.996078702567634) },
    { FRAC_CONST(0.085415224943307), FRAC_CONST(0.996345441776036) },
    { FRAC_CONST(0.082358078226647), FRAC_CONST(0.996602803001684) },
    { FRAC_CONST(0.079300156324388), FRAC_CONST(0.996850783822197) },
    { FRAC_CONST(0.076241488018856), FRAC_CONST(0.997089381903483) },
    { FRAC_CONST(0.073182102099403), FRAC_CONST(0.997318594999769) },
    { FRAC_CONST(0.070122027362134), FRAC_CONST(0.997538420953611) },
    { FRAC_CONST(0.067061292609637), FRAC_CONST(0.997748857695926) },
    { FRAC_CONST(0.063999926650714), FRAC_CONST(0.997949903246001) },
    { FRAC_CONST(0.060937958300107), FRAC_CONST(0.998141555711521) },
    { FRAC_CONST(0.057875416378229), FRAC_CONST(0.998323813288578) },
    { FRAC_CONST(0.054812329710890), FRAC_CONST(0.998496674261695) },
    { FRAC_CONST(0.051748727129028), FRAC_CONST(0.998660137003838) },
    { FRAC_CONST(0.048684637468439), FRAC_CONST(0.998814199976435) },
    { FRAC_CONST(0.045620089569500), FRAC_CONST(0.998958861729386) },
    { FRAC_CONST(0.042555112276904), FRAC_CONST(0.999094120901079) },
    { FRAC_CONST(0.039489734439384), FRAC_CONST(0.999219976218404) },
    { FRAC_CONST(0.036423984909444), FRAC_CONST(0.999336426496761) },
    { FRAC_CONST(0.033357892543086), FRAC_CONST(0.999443470640078) },
    { FRAC_CONST(0.030291486199539), FRAC_CONST(0.999541107640813) },
    { FRAC_CONST(0.027224794740988), FRAC_CONST(0.999629336579970) },
    { FRAC_CONST(0.024157847032300), FRAC_CONST(0.999708156627105) },
    { FRAC_CONST(0.021090671940755), FRAC_CONST(0.999777567040333) },
    { FRAC_CONST(0.018023298335774), FRAC_CONST(0.999837567166337) },
    { FRAC_CONST(0.014955755088644), FRAC_CONST(0.999888156440373) },
    { FRAC_CONST(0.011888071072252), FRAC_CONST(0.999929334386276) },
    { FRAC_CONST(0.008820275160808), FRAC_CONST(0.999961100616463) },
    { FRAC_CONST(0.005752396229574), FRAC_CONST(0.999983454831938) },
    { FRAC_CONST(0.002684463154596), FRAC_CONST(0.999996396822294) }
};

/* 64 (N/4) complex twiddle factors */
ALIGN static const complex_t mdct_tab_256[] ICONST_ATTR =
{
    { FRAC_CONST(0.999995293809576), FRAC_CONST(0.003067956762966) },
    { FRAC_CONST(0.999618822495179), FRAC_CONST(0.027608145778966) },
    { FRAC_CONST(0.998640218180265), FRAC_CONST(0.052131704680283) },
    { FRAC_CONST(0.997060070339483), FRAC_CONST(0.076623861392031) },
    { FRAC_CONST(0.994879330794806), FRAC_CONST(0.101069862754828) },
    { FRAC_CONST(0.992099313142192), FRAC_CONST(0.125454983411546) },
    { FRAC_CONST(0.988721691960324), FRAC_CONST(0.149764534677322) },
    { FRAC_CONST(0.984748501801904), FRAC_CONST(0.173983873387464) },
    { FRAC_CONST(0.980182135968117), FRAC_CONST(0.198098410717954) },
    { FRAC_CONST(0.975025345066994), FRAC_CONST(0.222093620973204) },
    { FRAC_CONST(0.969281235356549), FRAC_CONST(0.245955050335795) },
    { FRAC_CONST(0.962953266873684), FRAC_CONST(0.269668325572915) },
    { FRAC_CONST(0.956045251349996), FRAC_CONST(0.293219162694259) },
    { FRAC_CONST(0.948561349915730), FRAC_CONST(0.316593375556166) },
    { FRAC_CONST(0.940506070593268), FRAC_CONST(0.339776884406827) },
    { FRAC_CONST(0.931884265581668), FRAC_CONST(0.362755724367397) },
    { FRAC_CONST(0.922701128333879), FRAC_CONST(0.385516053843919) },
    { FRAC_CONST(0.912962190428398), FRAC_CONST(0.408044162864979) },
    { FRAC_CONST(0.902673318237259), FRAC_CONST(0.430326481340083) },
    { FRAC_CONST(0.891840709392343), FRAC_CONST(0.452349587233771) },
    { FRAC_CONST(0.880470889052161), FRAC_CONST(0.474100214650550) },
    { FRAC_CONST(0.868570705971341), FRAC_CONST(0.495565261825773) },
    { FRAC_CONST(0.856147328375194), FRAC_CONST(0.516731799017650) },
    { FRAC_CONST(0.843208239641845), FRAC_CONST(0.537587076295645) },
    { FRAC_CONST(0.829761233794523), FRAC_CONST(0.558118531220556) },
    { FRAC_CONST(0.815814410806734), FRAC_CONST(0.578313796411656) },
    { FRAC_CONST(0.801376171723140), FRAC_CONST(0.598160706996342) },
    { FRAC_CONST(0.786455213599086), FRAC_CONST(0.617647307937804) },
    { FRAC_CONST(0.771060524261814), FRAC_CONST(0.636761861236284) },
    { FRAC_CONST(0.755201376896537), FRAC_CONST(0.655492852999615) },
    { FRAC_CONST(0.738887324460615), FRAC_CONST(0.673829000378756) },
    { FRAC_CONST(0.722128193929215), FRAC_CONST(0.691759258364158) },
    { FRAC_CONST(0.704934080375905), FRAC_CONST(0.709272826438866) },
    { FRAC_CONST(0.687315340891759), FRAC_CONST(0.726359155084346) },
    { FRAC_CONST(0.669282588346636), FRAC_CONST(0.743007952135122) },
    { FRAC_CONST(0.650846684996381), FRAC_CONST(0.759209188978388) },
    { FRAC_CONST(0.632018735939809), FRAC_CONST(0.774953106594874) },
    { FRAC_CONST(0.612810082429410), FRAC_CONST(0.790230221437310) },
    { FRAC_CONST(0.593232295039800), FRAC_CONST(0.805031331142964) },
    { FRAC_CONST(0.573297166698042), FRAC_CONST(0.819347520076797) },
    { FRAC_CONST(0.553016705580028), FRAC_CONST(0.833170164701913) },
    { FRAC_CONST(0.532403127877198), FRAC_CONST(0.846490938774052) },
    { FRAC_CONST(0.511468850437971), FRAC_CONST(0.859301818357008) },
    { FRAC_CONST(0.490226483288291), FRAC_CONST(0.871595086655951) },
    { FRAC_CONST(0.468688822035828), FRAC_CONST(0.883363338665732) },
    { FRAC_CONST(0.446868840162374), FRAC_CONST(0.894599485631383) },
    { FRAC_CONST(0.424779681209109), FRAC_CONST(0.905296759318119) },
    { FRAC_CONST(0.402434650859419), FRAC_CONST(0.915448716088268) },
    { FRAC_CONST(0.379847208924051), FRAC_CONST(0.925049240782678) },
    { FRAC_CONST(0.357030961233430), FRAC_CONST(0.934092550404259) },
    { FRAC_CONST(0.333999651442009), FRAC_CONST(0.942573197601447) },
    { FRAC_CONST(0.310767152749611), FRAC_CONST(0.950486073949482) },
    { FRAC_CONST(0.287347459544730), FRAC_CONST(0.957826413027533) },
    { FRAC_CONST(0.263754678974832), FRAC_CONST(0.964589793289813) },
    { FRAC_CONST(0.240003022448742), FRAC_CONST(0.970772140728950) },
    { FRAC_CONST(0.216106797076220), FRAC_CONST(0.976369731330021) },
    { FRAC_CONST(0.192080397049892), FRAC_CONST(0.981379193313755) },
    { FRAC_CONST(0.167938294974731), FRAC_CONST(0.985797509167567) },
    { FRAC_CONST(0.143695033150295), FRAC_CONST(0.989622017463201) },
    { FRAC_CONST(0.119365214810991), FRAC_CONST(0.992850414459865) },
    { FRAC_CONST(0.094963495329639), FRAC_CONST(0.995480755491927) },
    { FRAC_CONST(0.070504573389614), FRAC_CONST(0.997511456140303) },
    { FRAC_CONST(0.046003182130915), FRAC_CONST(0.998941293186857) },
    { FRAC_CONST(0.021474080275470), FRAC_CONST(0.999769405351215) }
};

#ifdef LD_DEC
/* 256 (N/4) complex twiddle factors */
ALIGN static const complex_t mdct_tab_1024[] =
{
    { FRAC_CONST(0.999999705862882), FRAC_CONST(0.000766990318743) },
    { FRAC_CONST(0.999976174986898), FRAC_CONST(0.006902858724730) },
    { FRAC_CONST(0.999914995573113), FRAC_CONST(0.013038467241987) },
    { FRAC_CONST(0.999816169924900), FRAC_CONST(0.019173584868323) },
    { FRAC_CONST(0.999679701762988), FRAC_CONST(0.025307980620025) },
    { FRAC_CONST(0.999505596225325), FRAC_CONST(0.031441423540560) },
    { FRAC_CONST(0.999293859866888), FRAC_CONST(0.037573682709270) },
    { FRAC_CONST(0.999044500659429), FRAC_CONST(0.043704527250063) },
    { FRAC_CONST(0.998757527991183), FRAC_CONST(0.049833726340107) },
    { FRAC_CONST(0.998432952666508), FRAC_CONST(0.055961049218521) },
    { FRAC_CONST(0.998070786905482), FRAC_CONST(0.062086265195060) },
    { FRAC_CONST(0.997671044343441), FRAC_CONST(0.068209143658806) },
    { FRAC_CONST(0.997233740030466), FRAC_CONST(0.074329454086846) },
    { FRAC_CONST(0.996758890430818), FRAC_CONST(0.080446966052950) },
    { FRAC_CONST(0.996246513422316), FRAC_CONST(0.086561449236251) },
    { FRAC_CONST(0.995696628295664), FRAC_CONST(0.092672673429913) },
    { FRAC_CONST(0.995109255753726), FRAC_CONST(0.098780408549800) },
    { FRAC_CONST(0.994484417910748), FRAC_CONST(0.104884424643135) },
    { FRAC_CONST(0.993822138291520), FRAC_CONST(0.110984491897163) },