spandsp 3.0.0
v34_shell_map.h
1/* THIS FILE WAS AUTOMATICALLY GENERATED - ANY MODIFICATIONS MADE TO THIS
2 FILE MAY BE OVERWRITTEN DURING FUTURE BUILDS OF THE SOFTWARE */
3
4/* 1 rings deals with up to 0 bits */
5static const uint32_t g2_1_rings[1] =
6{
7 1
8};
9
10static const uint32_t g4_1_rings[1] =
11{
12 1
13};
14
15static const uint32_t z8_1_rings[1] =
16{
17 0x00000000
18};
19
20/* 2 rings deals with up to 8 bits */
21static const uint32_t g2_2_rings[5] =
22{
23 1,
24 2,
25 1,
26 0,
27 0
28};
29
30static const uint32_t g4_2_rings[9] =
31{
32 1,
33 4,
34 6,
35 4,
36 1,
37 0,
38 0,
39 0,
40 0
41};
42
43static const uint32_t z8_2_rings[9] =
44{
45 0x00000000,
46 0x00000001,
47 0x00000009,
48 0x00000025,
49 0x0000005D,
50 0x000000A3,
51 0x000000DB,
52 0x000000F7,
53 0x000000FF
54};
55
56/* 3 rings deals with up to 12 bits */
57static const uint32_t g2_3_rings[9] =
58{
59 1,
60 2,
61 3,
62 2,
63 1,
64 0,
65 0,
66 0,
67 0
68};
69
70static const uint32_t g4_3_rings[11] =
71{
72 1,
73 4,
74 10,
75 16,
76 19,
77 16,
78 10,
79 4,
80 1,
81 0,
82 0
83};
84
85static const uint32_t z8_3_rings[11] =
86{
87 0x00000000,
88 0x00000001,
89 0x00000009,
90 0x0000002D,
91 0x0000009D,
92 0x000001A7,
93 0x0000039F,
94 0x000006AF,
95 0x00000AA7,
96 0x00000EFA,
97 0x000012F2
98};
99
100/* 4 rings deals with up to 16 bits */
101static const uint32_t g2_4_rings[13] =
102{
103 1,
104 2,
105 3,
106 4,
107 3,
108 2,
109 1,
110 0,
111 0,
112 0,
113 0,
114 0,
115 0
116};
117
118static const uint32_t g4_4_rings[25] =
119{
120 1,
121 4,
122 10,
123 20,
124 31,
125 40,
126 44,
127 40,
128 31,
129 20,
130 10,
131 4,
132 1,
133 0,
134 0,
135 0,
136 0,
137 0,
138 0,
139 0,
140 0,
141 0,
142 0,
143 0,
144 0
145};
146
147static const uint32_t z8_4_rings[25] =
148{
149 0x00000000,
150 0x00000001,
151 0x00000009,
152 0x0000002D,
153 0x000000A5,
154 0x000001E7,
155 0x000004BF,
156 0x00000A53,
157 0x000013FB,
158 0x000022EA,
159 0x000037BA,
160 0x00005202,
161 0x00007032,
162 0x00008FCE,
163 0x0000ADFE,
164 0x0000C846,
165 0x0000DD16,
166 0x0000EC05,
167 0x0000F5AD,
168 0x0000FB41,
169 0x0000FE19,
170 0x0000FF5B,
171 0x0000FFD3,
172 0x0000FFF7,
173 0x0000FFFF
174};
175
176/* 5 rings deals with up to 18 bits */
177static const uint32_t g2_5_rings[17] =
178{
179 1,
180 2,
181 3,
182 4,
183 5,
184 4,
185 3,
186 2,
187 1,
188 0,
189 0,
190 0,
191 0,
192 0,
193 0,
194 0,
195 0
196};
197
198static const uint32_t g4_5_rings[20] =
199{
200 1,
201 4,
202 10,
203 20,
204 35,
205 52,
206 68,
207 80,
208 85,
209 80,
210 68,
211 52,
212 35,
213 20,
214 10,
215 4,
216 1,
217 0,
218 0,
219 0
220};
221
222static const uint32_t z8_5_rings[20] =
223{
224 0x00000000,
225 0x00000001,
226 0x00000009,
227 0x0000002D,
228 0x000000A5,
229 0x000001EF,
230 0x000004FF,
231 0x00000B73,
232 0x000017BB,
233 0x00002D1E,
234 0x00004F7E,
235 0x000082D2,
236 0x0000CA62,
237 0x000127E6,
238 0x00019ABE,
239 0x00021F8E,
240 0x0002B066,
241 0x0003457B,
242 0x0003D653,
243 0x00045B23
244};
245
246/* 6 rings deals with up to 20 bits */
247static const uint32_t g2_6_rings[21] =
248{
249 1,
250 2,
251 3,
252 4,
253 5,
254 6,
255 5,
256 4,
257 3,
258 2,
259 1,
260 0,
261 0,
262 0,
263 0,
264 0,
265 0,
266 0,
267 0,
268 0,
269 0
270};
271
272static const uint32_t g4_6_rings[24] =
273{
274 1,
275 4,
276 10,
277 20,
278 35,
279 56,
280 80,
281 104,
282 125,
283 140,
284 146,
285 140,
286 125,
287 104,
288 80,
289 56,
290 35,
291 20,
292 10,
293 4,
294 1,
295 0,
296 0,
297 0
298};
299
300static const uint32_t z8_6_rings[24] =
301{
302 0x00000000,
303 0x00000001,
304 0x00000009,
305 0x0000002D,
306 0x000000A5,
307 0x000001EF,
308 0x00000507,
309 0x00000BB3,
310 0x000018DB,
311 0x000030DE,
312 0x000059CE,
313 0x00009B76,
314 0x0000FF06,
315 0x00018E56,
316 0x000252C6,
317 0x000353D6,
318 0x000495A6,
319 0x000617A3,
320 0x0007D3BB,
321 0x0009BE4F,
322 0x000BC6F7,
323 0x000DDA09,
324 0x000FE2B1,
325 0x0011CD45
326};
327
328/* 7 rings deals with up to 22 bits */
329static const uint32_t g2_7_rings[25] =
330{
331 1,
332 2,
333 3,
334 4,
335 5,
336 6,
337 7,
338 6,
339 5,
340 4,
341 3,
342 2,
343 1,
344 0,
345 0,
346 0,
347 0,
348 0,
349 0,
350 0,
351 0,
352 0,
353 0,
354 0,
355 0
356};
357
358static const uint32_t g4_7_rings[29] =
359{
360 1,
361 4,
362 10,
363 20,
364 35,
365 56,
366 84,
367 116,
368 149,
369 180,
370 206,
371 224,
372 231,
373 224,
374 206,
375 180,
376 149,
377 116,
378 84,
379 56,
380 35,
381 20,
382 10,
383 4,
384 1,
385 0,
386 0,
387 0,
388 0
389};
390
391static const uint32_t z8_7_rings[29] =
392{
393 0x00000000,
394 0x00000001,
395 0x00000009,
396 0x0000002D,
397 0x000000A5,
398 0x000001EF,
399 0x00000507,
400 0x00000BBB,
401 0x0000191B,
402 0x000031FE,
403 0x00005D8E,
404 0x0000A5C6,
405 0x000117C6,
406 0x0001C3DA,
407 0x0002BD0A,
408 0x0004181E,
409 0x0005EA16,
410 0x0008462B,
411 0x000B3B83,
412 0x000ED2D7,
413 0x00130C5F,
414 0x0017DE6D,
415 0x001D34FD,
416 0x0022F25D,
417 0x0028F0ED,
418 0x002F05D4,
419 0x00350464,
420 0x003AC1C4,
421 0x00401854
422};
423
424/* 8 rings deals with up to 24 bits */
425static const uint32_t g2_8_rings[29] =
426{
427 1,
428 2,
429 3,
430 4,
431 5,
432 6,
433 7,
434 8,
435 7,
436 6,
437 5,
438 4,
439 3,
440 2,
441 1,
442 0,
443 0,
444 0,
445 0,
446 0,
447 0,
448 0,
449 0,
450 0,
451 0,
452 0,
453 0,
454 0,
455 0
456};
457
458static const uint32_t g4_8_rings[57] =
459{
460 1,
461 4,
462 10,
463 20,
464 35,
465 56,
466 84,
467 120,
468 161,
469 204,
470 246,
471 284,
472 315,
473 336,
474 344,
475 336,
476 315,
477 284,
478 246,
479 204,
480 161,
481 120,
482 84,
483 56,
484 35,
485 20,
486 10,
487 4,
488 1,
489 0,
490 0,
491 0,
492 0,
493 0,
494 0,
495 0,
496 0,
497 0,
498 0,
499 0,
500 0,
501 0,
502 0,
503 0,
504 0,
505 0,
506 0,
507 0,
508 0,
509 0,
510 0,
511 0,
512 0,
513 0,
514 0,
515 0,
516 0
517};
518
519static const uint32_t z8_8_rings[57] =
520{
521 0x00000000,
522 0x00000001,
523 0x00000009,
524 0x0000002D,
525 0x000000A5,
526 0x000001EF,
527 0x00000507,
528 0x00000BBB,
529 0x00001923,
530 0x0000323E,
531 0x00005EAE,
532 0x0000A986,
533 0x00012216,
534 0x0001DC9A,
535 0x0002F2AA,
536 0x00048342,
537 0x0006B232,
538 0x0009A6DB,
539 0x000D8A33,
540 0x0012841F,
541 0x0018B847,
542 0x0020429D,
543 0x002933E5,
544 0x00338EA1,
545 0x003F44D9,
546 0x004C3714,
547 0x005A34B4,
548 0x0068FDC4,
549 0x00784624,
550 0x0087B9DC,
551 0x0097023C,
552 0x00A5CB4C,
553 0x00B3C8EC,
554 0x00C0BB27,
555 0x00CC715F,
556 0x00D6CC1B,
557 0x00DFBD63,
558 0x00E747B9,
559 0x00ED7BE1,
560 0x00F275CD,
561 0x00F65925,
562 0x00F94DCE,
563 0x00FB7CBE,
564 0x00FD0D56,
565 0x00FE2366,
566 0x00FEDDEA,
567 0x00FF567A,
568 0x00FFA152,
569 0x00FFCDC2,
570 0x00FFE6DD,
571 0x00FFF445,
572 0x00FFFAF9,
573 0x00FFFE11,
574 0x00FFFF5B,
575 0x00FFFFD3,
576 0x00FFFFF7,
577 0x00FFFFFF
578};
579
580/* 9 rings deals with up to 25 bits */
581static const uint32_t g2_9_rings[33] =
582{
583 1,
584 2,
585 3,
586 4,
587 5,
588 6,
589 7,
590 8,
591 9,
592 8,
593 7,
594 6,
595 5,
596 4,
597 3,
598 2,
599 1,
600 0,
601 0,
602 0,
603 0,
604 0,
605 0,
606 0,
607 0,
608 0,
609 0,
610 0,
611 0,
612 0,
613 0,
614 0,
615 0
616};
617
618static const uint32_t g4_9_rings[40] =
619{
620 1,
621 4,
622 10,
623 20,
624 35,
625 56,
626 84,
627 120,
628 165,
629 216,
630 270,
631 324,
632 375,
633 420,
634 456,
635 480,
636 489,
637 480,
638 456,
639 420,
640 375,
641 324,
642 270,
643 216,
644 165,
645 120,
646 84,
647 56,
648 35,
649 20,
650 10,
651 4,
652 1,
653 0,
654 0,
655 0,
656 0,
657 0,
658 0,
659 0
660};
661
662static const uint32_t z8_9_rings[40] =
663{
664 0x00000000,
665 0x00000001,
666 0x00000009,
667 0x0000002D,
668 0x000000A5,
669 0x000001EF,
670 0x00000507,
671 0x00000BBB,
672 0x00001923,
673 0x00003246,
674 0x00005EEE,
675 0x0000AAA6,
676 0x000125D6,
677 0x0001E6EA,
678 0x00030B6A,
679 0x0004B8E2,
680 0x00071D72,
681 0x000A6FD7,
682 0x000EEEB7,
683 0x0014DF0F,
684 0x001C89B7,
685 0x00263805,
686 0x00322FAD,
687 0x0040AE11,
688 0x0051E349,
689 0x0065ED40,
690 0x007CD358,
691 0x0096831C,
692 0x00B2CE64,
693 0x00D16B2C,
694 0x00F1F53C,
695 0x0113F19C,
696 0x0136D3AC,
697 0x015A0395,
698 0x017CE5A5,
699 0x019EE205,
700 0x01BF6C15,
701 0x01DE08DD,
702 0x01FA5425,
703 0x021403E9
704};
705
706/* 10 rings deals with up to 26 bits */
707static const uint32_t g2_10_rings[37] =
708{
709 1,
710 2,
711 3,
712 4,
713 5,
714 6,
715 7,
716 8,
717 9,
718 10,
719 9,
720 8,
721 7,
722 6,
723 5,
724 4,
725 3,
726 2,
727 1,
728 0,
729 0,
730 0,
731 0,
732 0,
733 0,
734 0,
735 0,
736 0,
737 0,
738 0,
739 0,
740 0,
741 0,
742 0,
743 0,
744 0,
745 0
746};
747
748static const uint32_t g4_10_rings[42] =
749{
750 1,
751 4,
752 10,
753 20,
754 35,
755 56,
756 84,
757 120,
758 165,
759 220,
760 282,
761 348,
762 415,
763 480,
764 540,
765 592,
766 633,
767 660,
768 670,
769 660,
770 633,
771 592,
772 540,
773 480,
774 415,
775 348,
776 282,
777 220,
778 165,
779 120,
780 84,
781 56,
782 35,
783 20,
784 10,
785 4,
786 1,
787 0,
788 0,
789 0,
790 0,
791 0
792};
793
794static const uint32_t z8_10_rings[42] =
795{
796 0x00000000,
797 0x00000001,
798 0x00000009,
799 0x0000002D,
800 0x000000A5,
801 0x000001EF,
802 0x00000507,
803 0x00000BBB,
804 0x00001923,
805 0x00003246,
806 0x00005EF6,
807 0x0000AAE6,
808 0x000126F6,
809 0x0001EAAA,
810 0x000315BA,
811 0x0004D1A2,
812 0x00075312,
813 0x000ADB17,
814 0x000FB7CF,
815 0x00164473,
816 0x001EE87B,
817 0x002A15B5,
818 0x0038453D,
819 0x0049F359,
820 0x005F9A51,
821 0x0079AC70,
822 0x00988D70,
823 0x00BC8BA8,
824 0x00E5D968,
825 0x01148704,
826 0x01487E24,
827 0x01817ECC,
828 0x01BF1E6C,
829 0x0200C925,
830 0x0245C54D,
831 0x028D3919,
832 0x02D63231,
833 0x031FAECF,
834 0x0368A7E7,
835 0x03B01BB3,
836 0x03F517DB,
837 0x0436C294
838};
839
840/* 11 rings deals with up to 27 bits */
841static const uint32_t g2_11_rings[41] =
842{
843 1,
844 2,
845 3,
846 4,
847 5,
848 6,
849 7,
850 8,
851 9,
852 10,
853 11,
854 10,
855 9,
856 8,
857 7,
858 6,
859 5,
860 4,
861 3,
862 2,
863 1,
864 0,
865 0,
866 0,
867 0,
868 0,
869 0,
870 0,
871 0,
872 0,
873 0,
874 0,
875 0,
876 0,
877 0,
878 0,
879 0,
880 0,
881 0,
882 0,
883 0
884};
885
886static const uint32_t g4_11_rings[45] =
887{
888 1,
889 4,
890 10,
891 20,
892 35,
893 56,
894 84,
895 120,
896 165,
897 220,
898 286,
899 360,
900 439,
901 520,
902 600,
903 676,
904 745,
905 804,
906 850,
907 880,
908 891,
909 880,
910 850,
911 804,
912 745,
913 676,
914 600,
915 520,
916 439,
917 360,
918 286,
919 220,
920 165,
921 120,
922 84,
923 56,
924 35,
925 20,
926 10,
927 4,
928 1,
929 0,
930 0,
931 0,
932 0
933};
934
935static const uint32_t z8_11_rings[45] =
936{
937 0x00000000,
938 0x00000001,
939 0x00000009,
940 0x0000002D,
941 0x000000A5,
942 0x000001EF,
943 0x00000507,
944 0x00000BBB,
945 0x00001923,
946 0x00003246,
947 0x00005EF6,
948 0x0000AAEE,
949 0x00012736,
950 0x0001EBCA,
951 0x0003197A,
952 0x0004DBF2,
953 0x00076BD2,
954 0x000B10B7,
955 0x0010230F,
956 0x00170D8B,
957 0x00204DFB,
958 0x002C7559,
959 0x003C26C1,
960 0x00501529,
961 0x0068FFC1,
962 0x0087ACF8,
963 0x00ACE438,
964 0x00D96680,
965 0x010DE618,
966 0x014AFDB0,
967 0x01912750,
968 0x01E0B394,
969 0x0239C1C4,
970 0x029C396D,
971 0x0307C5FD,
972 0x037BD4C1,
973 0x03F79581,
974 0x0479FDD3,
975 0x0501CF1B,
976 0x058D9F0B,
977 0x061BE253,
978 0x06AAF90E,
979 0x07393C56,
980 0x07C50C46,
981 0x084CDD8E
982};
983
984/* 12 rings deals with up to 28 bits */
985static const uint32_t g2_12_rings[45] =
986{
987 1,
988 2,
989 3,
990 4,
991 5,
992 6,
993 7,
994 8,
995 9,
996 10,
997 11,
998 12,
999 11,
1000 10,
1001 9,
1002 8,
1003 7,
1004 6,
1005 5,
1006 4,
1007 3,
1008 2,
1009 1,
1010 0,
1011 0,
1012 0,
1013 0,
1014 0,
1015 0,
1016 0,
1017 0,
1018 0,
1019 0,
1020 0,
1021 0,
1022 0,
1023 0,
1024 0,
1025 0,
1026 0,
1027 0,
1028 0,
1029 0,
1030 0,
1031 0
1032};
1033
1034static const uint32_t g4_12_rings[49] =
1035{
1036 1,
1037 4,
1038 10,
1039 20,
1040 35,
1041 56,
1042 84,
1043 120,
1044 165,
1045 220,
1046 286,
1047 364,
1048 451,
1049 544,
1050 640,
1051 736,
1052 829,
1053 916,
1054 994,
1055 1060,
1056 1111,
1057 1144,
1058 1156,
1059 1144,
1060 1111,
1061 1060,
1062 994,
1063 916,
1064 829,
1065 736,
1066 640,
1067 544,
1068 451,
1069 364,
1070 286,
1071 220,
1072 165,
1073 120,
1074 84,
1075 56,
1076 35,
1077 20,
1078 10,
1079 4,
1080 1,
1081 0,
1082 0,
1083 0,
1084 0
1085};
1086
1087static const uint32_t z8_12_rings[49] =
1088{
1089 0x00000000,
1090 0x00000001,
1091 0x00000009,
1092 0x0000002D,
1093 0x000000A5,
1094 0x000001EF,
1095 0x00000507,
1096 0x00000BBB,
1097 0x00001923,
1098 0x00003246,
1099 0x00005EF6,
1100 0x0000AAEE,
1101 0x0001273E,
1102 0x0001EC0A,
1103 0x00031A9A,
1104 0x0004DFB2,
1105 0x00077622,
1106 0x000B2977,
1107 0x001058AF,
1108 0x001778CB,
1109 0x00211713,
1110 0x002DDAD9,
1111 0x003E8681,
1112 0x0053F78D,
1113 0x006F2565,
1114 0x00911EA8,
1115 0x00BB04E8,
1116 0x00EE06C8,
1117 0x012B5888,
1118 0x01742B20,
1119 0x01C9A220,
1120 0x022CC8A0,
1121 0x029E85A0,
1122 0x031F904D,
1123 0x03B064B5,
1124 0x04513989,
1125 0x0501F7A1,
1126 0x05C233D3,
1127 0x06912B8B,
1128 0x076DC46F,
1129 0x08568F37,
1130 0x0949CDBE,
1131 0x0A457C2E,
1132 0x0B475D06,
1133 0x0C4D0796,
1134 0x0D53F86A,
1135 0x0E59A2FA,
1136 0x0F5B83D2,
1137 0x10573242
1138};
1139
1140/* 13 rings deals with up to 29 bits */
1141static const uint32_t g2_13_rings[49] =
1142{
1143 1,
1144 2,
1145 3,
1146 4,
1147 5,
1148 6,
1149 7,
1150 8,
1151 9,
1152 10,
1153 11,
1154 12,
1155 13,
1156 12,
1157 11,
1158 10,
1159 9,
1160 8,
1161 7,
1162 6,
1163 5,
1164 4,
1165 3,
1166 2,
1167 1,
1168 0,
1169 0,
1170 0,
1171 0,
1172 0,
1173 0,
1174 0,
1175 0,
1176 0,
1177 0,
1178 0,
1179 0,
1180 0,
1181 0,
1182 0,
1183 0,
1184 0,
1185 0,
1186 0,
1187 0,
1188 0,
1189 0,
1190 0,
1191 0
1192};
1193
1194static const uint32_t g4_13_rings[54] =
1195{
1196 1,
1197 4,
1198 10,
1199 20,
1200 35,
1201 56,
1202 84,
1203 120,
1204 165,
1205 220,
1206 286,
1207 364,
1208 455,
1209 556,
1210 664,
1211 776,
1212 889,
1213 1000,
1214 1106,
1215 1204,
1216 1291,
1217 1364,
1218 1420,
1219 1456,
1220 1469,
1221 1456,
1222 1420,
1223 1364,
1224 1291,
1225 1204,
1226 1106,
1227 1000,
1228 889,
1229 776,
1230 664,
1231 556,
1232 455,
1233 364,
1234 286,
1235 220,
1236 165,
1237 120,
1238 84,
1239 56,
1240 35,
1241 20,
1242 10,
1243 4,
1244 1,
1245 0,
1246 0,
1247 0,
1248 0,
1249 0
1250};
1251
1252static const uint32_t z8_13_rings[54] =
1253{
1254 0x00000000,
1255 0x00000001,
1256 0x00000009,
1257 0x0000002D,
1258 0x000000A5,
1259 0x000001EF,
1260 0x00000507,
1261 0x00000BBB,
1262 0x00001923,
1263 0x00003246,
1264 0x00005EF6,
1265 0x0000AAEE,
1266 0x0001273E,
1267 0x0001EC12,
1268 0x00031ADA,
1269 0x0004E0D2,
1270 0x000779E2,
1271 0x000B33C7,
1272 0x0010716F,
1273 0x0017AE6B,
1274 0x00218253,
1275 0x002EA3F1,
1276 0x003FEC01,
1277 0x0056574D,
1278 0x007307E5,
1279 0x0097452C,
1280 0x00C47A6C,
1281 0x00FC33B8,
1282 0x014018F8,
1283 0x0191E710,
1284 0x01F36728,
1285 0x02666430,
1286 0x02EC9ED0,
1287 0x0387C009,
1288 0x04394AE1,
1289 0x05028D89,
1290 0x05E49281,
1291 0x06E01253,
1292 0x07F56693,
1293 0x09247EE7,
1294 0x0A6CD8B7,
1295 0x0BCD7A02,
1296 0x0D44EFB2,
1297 0x0ED14FA6,
1298 0x10703E86,
1299 0x121EF952,
1300 0x13DA627A,
1301 0x159F122A,
1302 0x17696952,
1303 0x1935A6CF,
1304 0x1AFFFDF7,
1305 0x1CC4ADA7,
1306 0x1E8016CF,
1307 0x202ED19B
1308};
1309
1310/* 14 rings deals with up to 30 bits */
1311static const uint32_t g2_14_rings[53] =
1312{
1313 1,
1314 2,
1315 3,
1316 4,
1317 5,
1318 6,
1319 7,
1320 8,
1321 9,
1322 10,
1323 11,
1324 12,
1325 13,
1326 14,
1327 13,
1328 12,
1329 11,
1330 10,
1331 9,
1332 8,
1333 7,
1334 6,
1335 5,
1336 4,
1337 3,
1338 2,
1339 1,
1340 0,
1341 0,
1342 0,
1343 0,
1344 0,
1345 0,
1346 0,
1347 0,
1348 0,
1349 0,
1350 0,
1351 0,
1352 0,
1353 0,
1354 0,
1355 0,
1356 0,
1357 0,
1358 0,
1359 0,
1360 0,
1361 0,
1362 0,
1363 0,
1364 0,
1365 0
1366};
1367
1368static const uint32_t g4_14_rings[61] =
1369{
1370 1,
1371 4,
1372 10,
1373 20,
1374 35,
1375 56,
1376 84,
1377 120,
1378 165,
1379 220,
1380 286,
1381 364,
1382 455,
1383 560,
1384 676,
1385 800,
1386 929,
1387 1060,
1388 1190,
1389 1316,
1390 1435,
1391 1544,
1392 1640,
1393 1720,
1394 1781,
1395 1820,
1396 1834,
1397 1820,
1398 1781,
1399 1720,
1400 1640,
1401 1544,
1402 1435,
1403 1316,
1404 1190,
1405 1060,
1406 929,
1407 800,
1408 676,
1409 560,
1410 455,
1411 364,
1412 286,
1413 220,
1414 165,
1415 120,
1416 84,
1417 56,
1418 35,
1419 20,
1420 10,
1421 4,
1422 1,
1423 0,
1424 0,
1425 0,
1426 0,
1427 0,
1428 0,
1429 0,
1430 0
1431};
1432
1433static const uint32_t z8_14_rings[61] =
1434{
1435 0x00000000,
1436 0x00000001,
1437 0x00000009,
1438 0x0000002D,
1439 0x000000A5,
1440 0x000001EF,
1441 0x00000507,
1442 0x00000BBB,
1443 0x00001923,
1444 0x00003246,
1445 0x00005EF6,
1446 0x0000AAEE,
1447 0x0001273E,
1448 0x0001EC12,
1449 0x00031AE2,
1450 0x0004E112,
1451 0x00077B02,
1452 0x000B3787,
1453 0x00107BBF,
1454 0x0017C72B,
1455 0x0021B7F3,
1456 0x002F0F31,
1457 0x0040B519,
1458 0x0057BCCD,
1459 0x007567A5,
1460 0x009B27AC,
1461 0x00CAA10C,
1462 0x0105AA1C,
1463 0x014E49BC,
1464 0x01A6B3C0,
1465 0x02114340,
1466 0x029072B8,
1467 0x0326D1F8,
1468 0x03D6F9F9,
1469 0x04A37EC1,
1470 0x058EDF95,
1471 0x069B75CD,
1472 0x07CB62B3,
1473 0x09207CEB,
1474 0x0A9C3DF7,
1475 0x0C3FB07F,
1476 0x0E0B601A,
1477 0x0FFF4B6A,
1478 0x121AD93A,
1479 0x145CD12A,
1480 0x16C35852,
1481 0x194BF222,
1482 0x1BF385A2,
1483 0x1EB66712,
1484 0x219065C7,
1485 0x247CDDFF,
1486 0x2776CE43,
1487 0x2A78EFCB,
1488 0x2D7DD135,
1489 0x307FF2BD,
1490 0x3379E301,
1491 0x36665B39,
1492 0x394059EE,
1493 0x3C033B5E,
1494 0x3EAACEDE,
1495 0x413368AE
1496};
1497
1498/* 15 rings deals with up to 31 bits */
1499static const uint32_t g2_15_rings[57] =
1500{
1501 1,
1502 2,
1503 3,
1504 4,
1505 5,
1506 6,
1507 7,
1508 8,
1509 9,
1510 10,
1511 11,
1512 12,
1513 13,
1514 14,
1515 15,
1516 14,
1517 13,
1518 12,
1519 11,
1520 10,
1521 9,
1522 8,
1523 7,
1524 6,
1525 5,
1526 4,
1527 3,
1528 2,
1529 1,
1530 0,
1531 0,
1532 0,
1533 0,
1534 0,
1535 0,
1536 0,
1537 0,
1538 0,
1539 0,
1540 0,
1541 0,
1542 0,
1543 0,
1544 0,
1545 0,
1546 0,
1547 0,
1548 0,
1549 0,
1550 0,
1551 0,
1552 0,
1553 0,
1554 0,
1555 0,
1556 0,
1557 0
1558};
1559
1560static const uint32_t g4_15_rings[70] =
1561{
1562 1,
1563 4,
1564 10,
1565 20,
1566 35,
1567 56,
1568 84,
1569 120,
1570 165,
1571 220,
1572 286,
1573 364,
1574 455,
1575 560,
1576 680,
1577 812,
1578 953,
1579 1100,
1580 1250,
1581 1400,
1582 1547,
1583 1688,
1584 1820,
1585 1940,
1586 2045,
1587 2132,
1588 2198,
1589 2240,
1590 2255,
1591 2240,
1592 2198,
1593 2132,
1594 2045,
1595 1940,
1596 1820,
1597 1688,
1598 1547,
1599 1400,
1600 1250,
1601 1100,
1602 953,
1603 812,
1604 680,
1605 560,
1606 455,
1607 364,
1608 286,
1609 220,
1610 165,
1611 120,
1612 84,
1613 56,
1614 35,
1615 20,
1616 10,
1617 4,
1618 1,
1619 0,
1620 0,
1621 0,
1622 0,
1623 0,
1624 0,
1625 0,
1626 0,
1627 0,
1628 0,
1629 0,
1630 0,
1631 0
1632};
1633
1634static const uint32_t z8_15_rings[70] =
1635{
1636 0x00000000,
1637 0x00000001,
1638 0x00000009,
1639 0x0000002D,
1640 0x000000A5,
1641 0x000001EF,
1642 0x00000507,
1643 0x00000BBB,
1644 0x00001923,
1645 0x00003246,
1646 0x00005EF6,
1647 0x0000AAEE,
1648 0x0001273E,
1649 0x0001EC12,
1650 0x00031AE2,
1651 0x0004E11A,
1652 0x00077B42,
1653 0x000B38A7,
1654 0x00107F7F,
1655 0x0017D17B,
1656 0x0021D0B3,
1657 0x002F44D1,
1658 0x00412059,
1659 0x005885E5,
1660 0x0076CD25,
1661 0x009D876C,
1662 0x00CE838C,
1663 0x010BD0BC,
1664 0x0157C03C,
1665 0x01B4E564,
1666 0x022613C4,
1667 0x02AE5B10,
1668 0x035100A8,
1669 0x041176A1,
1670 0x04F35049,
1671 0x05FA3435,
1672 0x0729CBFD,
1673 0x0885B1DF,
1674 0x0A115C97,
1675 0x0BD009CF,
1676 0x0DC4A79F,
1677 0x0FF1BDAA,
1678 0x1259567A,
1679 0x14FCE9D2,
1680 0x17DD48C2,
1681 0x1AFA8C5E,
1682 0x1E5407D6,
1683 0x21E83E8A,
1684 0x25B4DE92,
1685 0x29B6C00F,
1686 0x2DE9E977,
1687 0x324998EB,
1688 0x36D05283,
1689 0x3B77F359,
1690 0x4039C8F9,
1691 0x450EACB9,
1692 0x49EF2259,
1693 0x4ED37928,
1694 0x53B3EEC8,
1695 0x5888D288,
1696 0x5D4AA828,
1697 0x61F248FE,
1698 0x66790296,
1699 0x6AD8B20A,
1700 0x6F0BDB72,
1701 0x730DBCEF,
1702 0x76DA5CF7,
1703 0x7A6E93AB,
1704 0x7DC80F23,
1705 0x80E552BF
1706};
1707
1708/* 17 rings deals with up to 30 bits */
1709static const uint32_t g2_17_rings[65] =
1710{
1711 1,
1712 2,
1713 3,
1714 4,
1715 5,
1716 6,
1717 7,
1718 8,
1719 9,
1720 10,
1721 11,
1722 12,
1723 13,
1724 14,
1725 15,
1726 16,
1727 17,
1728 16,
1729 15,
1730 14,
1731 13,
1732 12,
1733 11,
1734 10,
1735 9,
1736 8,
1737 7,
1738 6,
1739 5,
1740 4,
1741 3,
1742 2,
1743 1,
1744 0,
1745 0,
1746 0,
1747 0,
1748 0,
1749 0,
1750 0,
1751 0,
1752 0,
1753 0,
1754 0,
1755 0,
1756 0,
1757 0,
1758 0,
1759 0,
1760 0,
1761 0,
1762 0,
1763 0,
1764 0,
1765 0,
1766 0,
1767 0,
1768 0,
1769 0,
1770 0,
1771 0,
1772 0,
1773 0,
1774 0,
1775 0
1776};
1777
1778static const uint32_t g4_17_rings[52] =
1779{
1780 1,
1781 4,
1782 10,
1783 20,
1784 35,
1785 56,
1786 84,
1787 120,
1788 165,
1789 220,
1790 286,
1791 364,
1792 455,
1793 560,
1794 680,
1795 816,
1796 969,
1797 1136,
1798 1314,
1799 1500,
1800 1691,
1801 1884,
1802 2076,
1803 2264,
1804 2445,
1805 2616,
1806 2774,
1807 2916,
1808 3039,
1809 3140,
1810 3216,
1811 3264,
1812 3281,
1813 3264,
1814 3216,
1815 3140,
1816 3039,
1817 2916,
1818 2774,
1819 2616,
1820 2445,
1821 2264,
1822 2076,
1823 1884,
1824 1691,
1825 1500,
1826 1314,
1827 1136,
1828 969,
1829 816,
1830 680,
1831 560
1832};
1833
1834static const uint32_t z8_17_rings[52] =
1835{
1836 0x00000000,
1837 0x00000001,
1838 0x00000009,
1839 0x0000002D,
1840 0x000000A5,
1841 0x000001EF,
1842 0x00000507,
1843 0x00000BBB,
1844 0x00001923,
1845 0x00003246,
1846 0x00005EF6,
1847 0x0000AAEE,
1848 0x0001273E,
1849 0x0001EC12,
1850 0x00031AE2,
1851 0x0004E11A,
1852 0x00077B4A,
1853 0x000B38EF,
1854 0x001080DF,
1855 0x0017D65B,
1856 0x0021DEC3,
1857 0x002F67E1,
1858 0x00416EB9,
1859 0x005926C5,
1860 0x0078017D,
1861 0x009FB604,
1862 0x00D248CC,
1863 0x011212FC,
1864 0x0161C95C,
1865 0x01C48284,
1866 0x023DBC04,
1867 0x02D15E34,
1868 0x0383BE54,
1869 0x04599E9D,
1870 0x05582BDD,
1871 0x0684F84D,
1872 0x07E5F365,
1873 0x09815E87,
1874 0x0B5DBE6F,
1875 0x0D81C96B,
1876 0x0FF45273,
1877 0x12BC314E,
1878 0x15E02806,
1879 0x1966C602,
1880 0x1D564932,
1881 0x21B47DCE,
1882 0x26869D3E,
1883 0x2BD12CD6,
1884 0x3197DD26,
1885 0x37DD6AB3,
1886 0x3EA38103,
1887 0x45EAA0FB
1888};
1889
1890/* 18 rings deals with up to 31 bits */
1891static const uint32_t g2_18_rings[69] =
1892{
1893 1,
1894 2,
1895 3,
1896 4,
1897 5,
1898 6,
1899 7,
1900 8,
1901 9,
1902 10,
1903 11,
1904 12,
1905 13,
1906 14,
1907 15,
1908 16,
1909 17,
1910 18,
1911 17,
1912 16,
1913 15,
1914 14,
1915 13,
1916 12,
1917 11,
1918 10,
1919 9,
1920 8,
1921 7,
1922 6,
1923 5,
1924 4,
1925 3,
1926 2,
1927 1,
1928 0,
1929 0,
1930 0,
1931 0,
1932 0,
1933 0,
1934 0,
1935 0,
1936 0,
1937 0,
1938 0,
1939 0,
1940 0,
1941 0,
1942 0,
1943 0,
1944 0,
1945 0,
1946 0,
1947 0,
1948 0,
1949 0,
1950 0,
1951 0,
1952 0,
1953 0,
1954 0,
1955 0,
1956 0,
1957 0,
1958 0,
1959 0,
1960 0,
1961 0
1962};
1963
1964static const uint32_t g4_18_rings[57] =
1965{
1966 1,
1967 4,
1968 10,
1969 20,
1970 35,
1971 56,
1972 84,
1973 120,
1974 165,
1975 220,
1976 286,
1977 364,
1978 455,
1979 560,
1980 680,
1981 816,
1982 969,
1983 1140,
1984 1326,
1985 1524,
1986 1731,
1987 1944,
1988 2160,
1989 2376,
1990 2589,
1991 2796,
1992 2994,
1993 3180,
1994 3351,
1995 3504,
1996 3636,
1997 3744,
1998 3825,
1999 3876,
2000 3894,
2001 3876,
2002 3825,
2003 3744,
2004 3636,
2005 3504,
2006 3351,
2007 3180,
2008 2994,
2009 2796,
2010 2589,
2011 2376,
2012 2160,
2013 1944,
2014 1731,
2015 1524,
2016 1326,
2017 1140,
2018 969,
2019 816,
2020 680,
2021 560,
2022 455
2023};
2024
2025static const uint32_t z8_18_rings[57] =
2026{
2027 0x00000000,
2028 0x00000001,
2029 0x00000009,
2030 0x0000002D,
2031 0x000000A5,
2032 0x000001EF,
2033 0x00000507,
2034 0x00000BBB,
2035 0x00001923,
2036 0x00003246,
2037 0x00005EF6,
2038 0x0000AAEE,
2039 0x0001273E,
2040 0x0001EC12,
2041 0x00031AE2,
2042 0x0004E11A,
2043 0x00077B4A,
2044 0x000B38EF,
2045 0x001080E7,
2046 0x0017D69B,
2047 0x0021DFE3,
2048 0x002F6BA1,
2049 0x00417909,
2050 0x00593F85,
2051 0x0078371D,
2052 0x00A02144,
2053 0x00D311E4,
2054 0x0113787C,
2055 0x0164291C,
2056 0x01C86504,
2057 0x0243E2A4,
2058 0x02DAD4B4,
2059 0x0391F014,
2060 0x046E701D,
2061 0x05761905,
2062 0x06AF37F1,
2063 0x0820A049,
2064 0x09D1A5F7,
2065 0x0BCA144F,
2066 0x0E122173,
2067 0x10B25E1B,
2068 0x13B3A1BE,
2069 0x171EF32E,
2070 0x1AFD6DCE,
2071 0x1F58239E,
2072 0x2437FC6E,
2073 0x29A5929E,
2074 0x2FA90DE6,
2075 0x3649FCB6,
2076 0x3D8F2CD3,
2077 0x457E83EB,
2078 0x4E1CD8EF,
2079 0x576DCF17,
2080 0x6173B389,
2081 0x6C2F5EB1,
2082 0x77A01A35,
2083 0x83C38C4D
2084};
2085
2086static const uint32_t *g2s[19] =
2087{
2088 NULL,
2089 g2_1_rings,
2090 g2_2_rings,
2091 g2_3_rings,
2092 g2_4_rings,
2093 g2_5_rings,
2094 g2_6_rings,
2095 g2_7_rings,
2096 g2_8_rings,
2097 g2_9_rings,
2098 g2_10_rings,
2099 g2_11_rings,
2100 g2_12_rings,
2101 g2_13_rings,
2102 g2_14_rings,
2103 g2_15_rings,
2104 NULL,
2105 g2_17_rings,
2106 g2_18_rings
2107};
2108
2109static const uint32_t *g4s[19] =
2110{
2111 NULL,
2112 g4_1_rings,
2113 g4_2_rings,
2114 g4_3_rings,
2115 g4_4_rings,
2116 g4_5_rings,
2117 g4_6_rings,
2118 g4_7_rings,
2119 g4_8_rings,
2120 g4_9_rings,
2121 g4_10_rings,
2122 g4_11_rings,
2123 g4_12_rings,
2124 g4_13_rings,
2125 g4_14_rings,
2126 g4_15_rings,
2127 NULL,
2128 g4_17_rings,
2129 g4_18_rings
2130};
2131
2132static const uint32_t *z8s[19] =
2133{
2134 NULL,
2135 z8_1_rings,
2136 z8_2_rings,
2137 z8_3_rings,
2138 z8_4_rings,
2139 z8_5_rings,
2140 z8_6_rings,
2141 z8_7_rings,
2142 z8_8_rings,
2143 z8_9_rings,
2144 z8_10_rings,
2145 z8_11_rings,
2146 z8_12_rings,
2147 z8_13_rings,
2148 z8_14_rings,
2149 z8_15_rings,
2150 NULL,
2151 z8_17_rings,
2152 z8_18_rings
2153};
2154
2155/*- End of file ------------------------------------------------------------*/