-
Notifications
You must be signed in to change notification settings - Fork 0
/
temp.c
19724 lines (19724 loc) · 364 KB
/
temp.c
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
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#include "frames.c"
char * getFrame(int numb) { // There's definitely a much more efficient way for this, but I'm rusty with C
switch (numb) {
case 1:
return frame001_bits;
break;
case 2:
return frame002_bits;
break;
case 3:
return frame003_bits;
break;
case 4:
return frame004_bits;
break;
case 5:
return frame005_bits;
break;
case 6:
return frame006_bits;
break;
case 7:
return frame007_bits;
break;
case 8:
return frame008_bits;
break;
case 9:
return frame009_bits;
break;
case 10:
return frame010_bits;
break;
case 11:
return frame011_bits;
break;
case 12:
return frame012_bits;
break;
case 13:
return frame013_bits;
break;
case 14:
return frame014_bits;
break;
case 15:
return frame015_bits;
break;
case 16:
return frame016_bits;
break;
case 17:
return frame017_bits;
break;
case 18:
return frame018_bits;
break;
case 19:
return frame019_bits;
break;
case 20:
return frame020_bits;
break;
case 21:
return frame021_bits;
break;
case 22:
return frame022_bits;
break;
case 23:
return frame023_bits;
break;
case 24:
return frame024_bits;
break;
case 25:
return frame025_bits;
break;
case 26:
return frame026_bits;
break;
case 27:
return frame027_bits;
break;
case 28:
return frame028_bits;
break;
case 29:
return frame029_bits;
break;
case 30:
return frame030_bits;
break;
case 31:
return frame031_bits;
break;
case 32:
return frame032_bits;
break;
case 33:
return frame033_bits;
break;
case 34:
return frame034_bits;
break;
case 35:
return frame035_bits;
break;
case 36:
return frame036_bits;
break;
case 37:
return frame037_bits;
break;
case 38:
return frame038_bits;
break;
case 39:
return frame039_bits;
break;
case 40:
return frame040_bits;
break;
case 41:
return frame041_bits;
break;
case 42:
return frame042_bits;
break;
case 43:
return frame043_bits;
break;
case 44:
return frame044_bits;
break;
case 45:
return frame045_bits;
break;
case 46:
return frame046_bits;
break;
case 47:
return frame047_bits;
break;
case 48:
return frame048_bits;
break;
case 49:
return frame049_bits;
break;
case 50:
return frame050_bits;
break;
case 51:
return frame051_bits;
break;
case 52:
return frame052_bits;
break;
case 53:
return frame053_bits;
break;
case 54:
return frame054_bits;
break;
case 55:
return frame055_bits;
break;
case 56:
return frame056_bits;
break;
case 57:
return frame057_bits;
break;
case 58:
return frame058_bits;
break;
case 59:
return frame059_bits;
break;
case 60:
return frame060_bits;
break;
case 61:
return frame061_bits;
break;
case 62:
return frame062_bits;
break;
case 63:
return frame063_bits;
break;
case 64:
return frame064_bits;
break;
case 65:
return frame065_bits;
break;
case 66:
return frame066_bits;
break;
case 67:
return frame067_bits;
break;
case 68:
return frame068_bits;
break;
case 69:
return frame069_bits;
break;
case 70:
return frame070_bits;
break;
case 71:
return frame071_bits;
break;
case 72:
return frame072_bits;
break;
case 73:
return frame073_bits;
break;
case 74:
return frame074_bits;
break;
case 75:
return frame075_bits;
break;
case 76:
return frame076_bits;
break;
case 77:
return frame077_bits;
break;
case 78:
return frame078_bits;
break;
case 79:
return frame079_bits;
break;
case 80:
return frame080_bits;
break;
case 81:
return frame081_bits;
break;
case 82:
return frame082_bits;
break;
case 83:
return frame083_bits;
break;
case 84:
return frame084_bits;
break;
case 85:
return frame085_bits;
break;
case 86:
return frame086_bits;
break;
case 87:
return frame087_bits;
break;
case 88:
return frame088_bits;
break;
case 89:
return frame089_bits;
break;
case 90:
return frame090_bits;
break;
case 91:
return frame091_bits;
break;
case 92:
return frame092_bits;
break;
case 93:
return frame093_bits;
break;
case 94:
return frame094_bits;
break;
case 95:
return frame095_bits;
break;
case 96:
return frame096_bits;
break;
case 97:
return frame097_bits;
break;
case 98:
return frame098_bits;
break;
case 99:
return frame099_bits;
break;
case 100:
return frame100_bits;
break;
case 101:
return frame101_bits;
break;
case 102:
return frame102_bits;
break;
case 103:
return frame103_bits;
break;
case 104:
return frame104_bits;
break;
case 105:
return frame105_bits;
break;
case 106:
return frame106_bits;
break;
case 107:
return frame107_bits;
break;
case 108:
return frame108_bits;
break;
case 109:
return frame109_bits;
break;
case 110:
return frame110_bits;
break;
case 111:
return frame111_bits;
break;
case 112:
return frame112_bits;
break;
case 113:
return frame113_bits;
break;
case 114:
return frame114_bits;
break;
case 115:
return frame115_bits;
break;
case 116:
return frame116_bits;
break;
case 117:
return frame117_bits;
break;
case 118:
return frame118_bits;
break;
case 119:
return frame119_bits;
break;
case 120:
return frame120_bits;
break;
case 121:
return frame121_bits;
break;
case 122:
return frame122_bits;
break;
case 123:
return frame123_bits;
break;
case 124:
return frame124_bits;
break;
case 125:
return frame125_bits;
break;
case 126:
return frame126_bits;
break;
case 127:
return frame127_bits;
break;
case 128:
return frame128_bits;
break;
case 129:
return frame129_bits;
break;
case 130:
return frame130_bits;
break;
case 131:
return frame131_bits;
break;
case 132:
return frame132_bits;
break;
case 133:
return frame133_bits;
break;
case 134:
return frame134_bits;
break;
case 135:
return frame135_bits;
break;
case 136:
return frame136_bits;
break;
case 137:
return frame137_bits;
break;
case 138:
return frame138_bits;
break;
case 139:
return frame139_bits;
break;
case 140:
return frame140_bits;
break;
case 141:
return frame141_bits;
break;
case 142:
return frame142_bits;
break;
case 143:
return frame143_bits;
break;
case 144:
return frame144_bits;
break;
case 145:
return frame145_bits;
break;
case 146:
return frame146_bits;
break;
case 147:
return frame147_bits;
break;
case 148:
return frame148_bits;
break;
case 149:
return frame149_bits;
break;
case 150:
return frame150_bits;
break;
case 151:
return frame151_bits;
break;
case 152:
return frame152_bits;
break;
case 153:
return frame153_bits;
break;
case 154:
return frame154_bits;
break;
case 155:
return frame155_bits;
break;
case 156:
return frame156_bits;
break;
case 157:
return frame157_bits;
break;
case 158:
return frame158_bits;
break;
case 159:
return frame159_bits;
break;
case 160:
return frame160_bits;
break;
case 161:
return frame161_bits;
break;
case 162:
return frame162_bits;
break;
case 163:
return frame163_bits;
break;
case 164:
return frame164_bits;
break;
case 165:
return frame165_bits;
break;
case 166:
return frame166_bits;
break;
case 167:
return frame167_bits;
break;
case 168:
return frame168_bits;
break;
case 169:
return frame169_bits;
break;
case 170:
return frame170_bits;
break;
case 171:
return frame171_bits;
break;
case 172:
return frame172_bits;
break;
case 173:
return frame173_bits;
break;
case 174:
return frame174_bits;
break;
case 175:
return frame175_bits;
break;
case 176:
return frame176_bits;
break;
case 177:
return frame177_bits;
break;
case 178:
return frame178_bits;
break;
case 179:
return frame179_bits;
break;
case 180:
return frame180_bits;
break;
case 181:
return frame181_bits;
break;
case 182:
return frame182_bits;
break;
case 183:
return frame183_bits;
break;
case 184:
return frame184_bits;
break;
case 185:
return frame185_bits;
break;
case 186:
return frame186_bits;
break;
case 187:
return frame187_bits;
break;
case 188:
return frame188_bits;
break;
case 189:
return frame189_bits;
break;
case 190:
return frame190_bits;
break;
case 191:
return frame191_bits;
break;
case 192:
return frame192_bits;
break;
case 193:
return frame193_bits;
break;
case 194:
return frame194_bits;
break;
case 195:
return frame195_bits;
break;
case 196:
return frame196_bits;
break;
case 197:
return frame197_bits;
break;
case 198:
return frame198_bits;
break;
case 199:
return frame199_bits;
break;
case 200:
return frame200_bits;
break;
case 201:
return frame201_bits;
break;
case 202:
return frame202_bits;
break;
case 203:
return frame203_bits;
break;
case 204:
return frame204_bits;
break;
case 205:
return frame205_bits;
break;
case 206:
return frame206_bits;
break;
case 207:
return frame207_bits;
break;
case 208:
return frame208_bits;
break;
case 209:
return frame209_bits;
break;
case 210:
return frame210_bits;
break;
case 211:
return frame211_bits;
break;
case 212:
return frame212_bits;
break;
case 213:
return frame213_bits;
break;
case 214:
return frame214_bits;
break;
case 215:
return frame215_bits;
break;
case 216:
return frame216_bits;
break;
case 217:
return frame217_bits;
break;
case 218:
return frame218_bits;
break;
case 219:
return frame219_bits;
break;
case 220:
return frame220_bits;
break;
case 221:
return frame221_bits;
break;
case 222:
return frame222_bits;
break;
case 223:
return frame223_bits;
break;
case 224:
return frame224_bits;
break;
case 225:
return frame225_bits;
break;
case 226:
return frame226_bits;
break;
case 227:
return frame227_bits;
break;
case 228:
return frame228_bits;
break;
case 229:
return frame229_bits;
break;
case 230:
return frame230_bits;
break;
case 231:
return frame231_bits;
break;
case 232:
return frame232_bits;
break;
case 233:
return frame233_bits;
break;
case 234:
return frame234_bits;
break;
case 235:
return frame235_bits;
break;
case 236:
return frame236_bits;
break;
case 237:
return frame237_bits;
break;
case 238:
return frame238_bits;
break;
case 239:
return frame239_bits;
break;
case 240:
return frame240_bits;
break;
case 241:
return frame241_bits;
break;
case 242:
return frame242_bits;
break;
case 243:
return frame243_bits;
break;
case 244:
return frame244_bits;
break;
case 245:
return frame245_bits;
break;
case 246:
return frame246_bits;
break;
case 247:
return frame247_bits;
break;
case 248:
return frame248_bits;
break;
case 249:
return frame249_bits;
break;
case 250:
return frame250_bits;
break;
case 251:
return frame251_bits;
break;
case 252:
return frame252_bits;
break;
case 253:
return frame253_bits;
break;
case 254:
return frame254_bits;
break;
case 255:
return frame255_bits;
break;
case 256:
return frame256_bits;
break;
case 257:
return frame257_bits;
break;
case 258:
return frame258_bits;
break;
case 259:
return frame259_bits;
break;
case 260:
return frame260_bits;
break;
case 261:
return frame261_bits;
break;
case 262:
return frame262_bits;
break;
case 263:
return frame263_bits;
break;
case 264:
return frame264_bits;
break;
case 265:
return frame265_bits;
break;
case 266:
return frame266_bits;
break;
case 267:
return frame267_bits;
break;
case 268:
return frame268_bits;
break;
case 269:
return frame269_bits;
break;
case 270:
return frame270_bits;
break;
case 271:
return frame271_bits;
break;
case 272:
return frame272_bits;
break;
case 273:
return frame273_bits;
break;
case 274:
return frame274_bits;
break;
case 275:
return frame275_bits;
break;
case 276:
return frame276_bits;
break;
case 277:
return frame277_bits;
break;
case 278:
return frame278_bits;
break;
case 279:
return frame279_bits;
break;
case 280:
return frame280_bits;
break;
case 281:
return frame281_bits;
break;
case 282:
return frame282_bits;
break;
case 283:
return frame283_bits;
break;
case 284:
return frame284_bits;
break;
case 285:
return frame285_bits;
break;
case 286:
return frame286_bits;
break;
case 287:
return frame287_bits;
break;
case 288:
return frame288_bits;
break;
case 289:
return frame289_bits;
break;
case 290:
return frame290_bits;
break;
case 291:
return frame291_bits;
break;
case 292:
return frame292_bits;
break;
case 293:
return frame293_bits;
break;
case 294:
return frame294_bits;
break;
case 295:
return frame295_bits;
break;
case 296:
return frame296_bits;
break;
case 297:
return frame297_bits;
break;
case 298:
return frame298_bits;
break;
case 299:
return frame299_bits;
break;
case 300:
return frame300_bits;
break;
case 301:
return frame301_bits;
break;
case 302:
return frame302_bits;
break;
case 303:
return frame303_bits;
break;
case 304:
return frame304_bits;
break;
case 305:
return frame305_bits;
break;
case 306:
return frame306_bits;
break;
case 307:
return frame307_bits;
break;
case 308:
return frame308_bits;
break;
case 309:
return frame309_bits;
break;
case 310:
return frame310_bits;
break;
case 311:
return frame311_bits;
break;
case 312:
return frame312_bits;
break;
case 313:
return frame313_bits;
break;
case 314:
return frame314_bits;
break;
case 315:
return frame315_bits;
break;
case 316:
return frame316_bits;
break;
case 317:
return frame317_bits;
break;
case 318:
return frame318_bits;
break;
case 319:
return frame319_bits;
break;
case 320:
return frame320_bits;
break;
case 321:
return frame321_bits;
break;
case 322:
return frame322_bits;
break;
case 323:
return frame323_bits;
break;
case 324:
return frame324_bits;
break;
case 325:
return frame325_bits;
break;
case 326:
return frame326_bits;
break;
case 327:
return frame327_bits;
break;
case 328:
return frame328_bits;
break;
case 329:
return frame329_bits;
break;
case 330:
return frame330_bits;
break;
case 331:
return frame331_bits;
break;
case 332:
return frame332_bits;
break;
case 333: