Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Tetragramm
GitHub Repository: Tetragramm/opencv
Path: blob/master/modules/features2d/src/agast_score.cpp
16337 views
1
/* This is AGAST and OAST, an optimal and accelerated corner detector
2
based on the accelerated segment tests
3
Below is the original copyright and the references */
4
5
/*
6
Copyright (C) 2010 Elmar Mair
7
All rights reserved.
8
9
Redistribution and use in source and binary forms, with or without
10
modification, are permitted provided that the following conditions
11
are met:
12
13
*Redistributions of source code must retain the above copyright
14
notice, this list of conditions and the following disclaimer.
15
16
*Redistributions in binary form must reproduce the above copyright
17
notice, this list of conditions and the following disclaimer in the
18
documentation and/or other materials provided with the distribution.
19
20
*Neither the name of the University of Cambridge nor the names of
21
its contributors may be used to endorse or promote products derived
22
from this software without specific prior written permission.
23
24
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
25
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
27
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
28
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
30
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
31
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
32
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
33
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
34
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35
*/
36
37
/*
38
The references are:
39
* Adaptive and Generic Corner Detection Based on the Accelerated Segment Test,
40
Elmar Mair and Gregory D. Hager and Darius Burschka
41
and Michael Suppa and Gerhard Hirzinger ECCV 2010
42
URL: http://www6.in.tum.de/Main/ResearchAgast
43
*/
44
45
#include "agast_score.hpp"
46
47
namespace cv
48
{
49
50
void makeAgastOffsets(int pixel[16], int rowStride, AgastFeatureDetector::DetectorType type)
51
{
52
static const int offsets16[][2] =
53
{
54
{-3, 0}, {-3, -1}, {-2, -2}, {-1, -3}, {0, -3}, { 1, -3}, { 2, -2}, { 3, -1},
55
{ 3, 0}, { 3, 1}, { 2, 2}, { 1, 3}, {0, 3}, {-1, 3}, {-2, 2}, {-3, 1}
56
};
57
58
static const int offsets12d[][2] =
59
{
60
{-3, 0}, {-2, -1}, {-1, -2}, {0, -3}, { 1, -2}, { 2, -1},
61
{ 3, 0}, { 2, 1}, { 1, 2}, {0, 3}, {-1, 2}, {-2, 1}
62
};
63
64
static const int offsets12s[][2] =
65
{
66
{-2, 0}, {-2, -1}, {-1, -2}, {0, -2}, { 1, -2}, { 2, -1},
67
{ 2, 0}, { 2, 1}, { 1, 2}, {0, 2}, {-1, 2}, {-2, 1}
68
};
69
70
static const int offsets8[][2] =
71
{
72
{-1, 0}, {-1, -1}, {0, -1}, { 1, -1},
73
{ 1, 0}, { 1, 1}, {0, 1}, {-1, 1}
74
};
75
76
const int (*offsets)[2] = type == AgastFeatureDetector::OAST_9_16 ? offsets16 :
77
type == AgastFeatureDetector::AGAST_7_12d ? offsets12d :
78
type == AgastFeatureDetector::AGAST_7_12s ? offsets12s :
79
type == AgastFeatureDetector::AGAST_5_8 ? offsets8 : 0;
80
81
const int offsets_len = type == AgastFeatureDetector::OAST_9_16 ? 16 :
82
type == AgastFeatureDetector::AGAST_7_12d ? 12 :
83
type == AgastFeatureDetector::AGAST_7_12s ? 12 :
84
type == AgastFeatureDetector::AGAST_5_8 ? 8 : 0;
85
86
CV_Assert(pixel && offsets);
87
88
int k = 0;
89
for( ; k < offsets_len; k++ )
90
pixel[k] = offsets[k][0] + offsets[k][1] * rowStride;
91
}
92
93
#if (defined __i386__ || defined(_M_IX86) || defined __x86_64__ || defined(_M_X64))
94
// 16 pixel mask
95
template<>
96
int agast_cornerScore<AgastFeatureDetector::OAST_9_16>(const uchar* ptr, const int pixel[], int threshold)
97
{
98
int bmin = threshold;
99
int bmax = 255;
100
int b_test = (bmax + bmin) / 2;
101
102
short offset0 = (short) pixel[0];
103
short offset1 = (short) pixel[1];
104
short offset2 = (short) pixel[2];
105
short offset3 = (short) pixel[3];
106
short offset4 = (short) pixel[4];
107
short offset5 = (short) pixel[5];
108
short offset6 = (short) pixel[6];
109
short offset7 = (short) pixel[7];
110
short offset8 = (short) pixel[8];
111
short offset9 = (short) pixel[9];
112
short offset10 = (short) pixel[10];
113
short offset11 = (short) pixel[11];
114
short offset12 = (short) pixel[12];
115
short offset13 = (short) pixel[13];
116
short offset14 = (short) pixel[14];
117
short offset15 = (short) pixel[15];
118
119
while(true)
120
{
121
const int cb = *ptr + b_test;
122
const int c_b = *ptr - b_test;
123
if(ptr[offset0] > cb)
124
if(ptr[offset2] > cb)
125
if(ptr[offset4] > cb)
126
if(ptr[offset5] > cb)
127
if(ptr[offset7] > cb)
128
if(ptr[offset3] > cb)
129
if(ptr[offset1] > cb)
130
if(ptr[offset6] > cb)
131
if(ptr[offset8] > cb)
132
goto is_a_corner;
133
else
134
if(ptr[offset15] > cb)
135
goto is_a_corner;
136
else
137
goto is_not_a_corner;
138
else
139
if(ptr[offset13] > cb)
140
if(ptr[offset14] > cb)
141
if(ptr[offset15] > cb)
142
goto is_a_corner;
143
else
144
goto is_not_a_corner;
145
else
146
goto is_not_a_corner;
147
else
148
goto is_not_a_corner;
149
else
150
if(ptr[offset8] > cb)
151
if(ptr[offset9] > cb)
152
if(ptr[offset10] > cb)
153
if(ptr[offset6] > cb)
154
goto is_a_corner;
155
else
156
if(ptr[offset11] > cb)
157
if(ptr[offset12] > cb)
158
if(ptr[offset13] > cb)
159
if(ptr[offset14] > cb)
160
if(ptr[offset15] > cb)
161
goto is_a_corner;
162
else
163
goto is_not_a_corner;
164
else
165
goto is_not_a_corner;
166
else
167
goto is_not_a_corner;
168
else
169
goto is_not_a_corner;
170
else
171
goto is_not_a_corner;
172
else
173
goto is_not_a_corner;
174
else
175
goto is_not_a_corner;
176
else
177
goto is_not_a_corner;
178
else
179
if(ptr[offset10] > cb)
180
if(ptr[offset11] > cb)
181
if(ptr[offset12] > cb)
182
if(ptr[offset8] > cb)
183
if(ptr[offset9] > cb)
184
if(ptr[offset6] > cb)
185
goto is_a_corner;
186
else
187
if(ptr[offset13] > cb)
188
if(ptr[offset14] > cb)
189
if(ptr[offset15] > cb)
190
goto is_a_corner;
191
else
192
goto is_not_a_corner;
193
else
194
goto is_not_a_corner;
195
else
196
goto is_not_a_corner;
197
else
198
if(ptr[offset1] > cb)
199
if(ptr[offset13] > cb)
200
if(ptr[offset14] > cb)
201
if(ptr[offset15] > cb)
202
goto is_a_corner;
203
else
204
goto is_not_a_corner;
205
else
206
goto is_not_a_corner;
207
else
208
goto is_not_a_corner;
209
else
210
goto is_not_a_corner;
211
else
212
if(ptr[offset1] > cb)
213
if(ptr[offset13] > cb)
214
if(ptr[offset14] > cb)
215
if(ptr[offset15] > cb)
216
goto is_a_corner;
217
else
218
goto is_not_a_corner;
219
else
220
goto is_not_a_corner;
221
else
222
goto is_not_a_corner;
223
else
224
goto is_not_a_corner;
225
else
226
goto is_not_a_corner;
227
else
228
goto is_not_a_corner;
229
else
230
goto is_not_a_corner;
231
else if(ptr[offset7] < c_b)
232
if(ptr[offset14] > cb)
233
if(ptr[offset15] > cb)
234
if(ptr[offset1] > cb)
235
if(ptr[offset3] > cb)
236
if(ptr[offset6] > cb)
237
goto is_a_corner;
238
else
239
if(ptr[offset13] > cb)
240
goto is_a_corner;
241
else
242
goto is_not_a_corner;
243
else
244
if(ptr[offset10] > cb)
245
if(ptr[offset11] > cb)
246
if(ptr[offset12] > cb)
247
if(ptr[offset13] > cb)
248
goto is_a_corner;
249
else
250
goto is_not_a_corner;
251
else
252
goto is_not_a_corner;
253
else
254
goto is_not_a_corner;
255
else
256
goto is_not_a_corner;
257
else
258
if(ptr[offset8] > cb)
259
if(ptr[offset9] > cb)
260
if(ptr[offset10] > cb)
261
if(ptr[offset11] > cb)
262
if(ptr[offset12] > cb)
263
if(ptr[offset13] > cb)
264
goto is_a_corner;
265
else
266
goto is_not_a_corner;
267
else
268
goto is_not_a_corner;
269
else
270
goto is_not_a_corner;
271
else
272
goto is_not_a_corner;
273
else
274
goto is_not_a_corner;
275
else
276
goto is_not_a_corner;
277
else
278
goto is_not_a_corner;
279
else if(ptr[offset14] < c_b)
280
if(ptr[offset8] < c_b)
281
if(ptr[offset9] < c_b)
282
if(ptr[offset10] < c_b)
283
if(ptr[offset11] < c_b)
284
if(ptr[offset12] < c_b)
285
if(ptr[offset13] < c_b)
286
if(ptr[offset6] < c_b)
287
goto is_a_corner;
288
else
289
if(ptr[offset15] < c_b)
290
goto is_a_corner;
291
else
292
goto is_not_a_corner;
293
else
294
goto is_not_a_corner;
295
else
296
goto is_not_a_corner;
297
else
298
goto is_not_a_corner;
299
else
300
goto is_not_a_corner;
301
else
302
goto is_not_a_corner;
303
else
304
goto is_not_a_corner;
305
else
306
goto is_not_a_corner;
307
else
308
if(ptr[offset14] > cb)
309
if(ptr[offset15] > cb)
310
if(ptr[offset1] > cb)
311
if(ptr[offset3] > cb)
312
if(ptr[offset6] > cb)
313
goto is_a_corner;
314
else
315
if(ptr[offset13] > cb)
316
goto is_a_corner;
317
else
318
goto is_not_a_corner;
319
else
320
if(ptr[offset10] > cb)
321
if(ptr[offset11] > cb)
322
if(ptr[offset12] > cb)
323
if(ptr[offset13] > cb)
324
goto is_a_corner;
325
else
326
goto is_not_a_corner;
327
else
328
goto is_not_a_corner;
329
else
330
goto is_not_a_corner;
331
else
332
goto is_not_a_corner;
333
else
334
if(ptr[offset8] > cb)
335
if(ptr[offset9] > cb)
336
if(ptr[offset10] > cb)
337
if(ptr[offset11] > cb)
338
if(ptr[offset12] > cb)
339
if(ptr[offset13] > cb)
340
goto is_a_corner;
341
else
342
goto is_not_a_corner;
343
else
344
goto is_not_a_corner;
345
else
346
goto is_not_a_corner;
347
else
348
goto is_not_a_corner;
349
else
350
goto is_not_a_corner;
351
else
352
goto is_not_a_corner;
353
else
354
goto is_not_a_corner;
355
else
356
goto is_not_a_corner;
357
else if(ptr[offset5] < c_b)
358
if(ptr[offset12] > cb)
359
if(ptr[offset13] > cb)
360
if(ptr[offset14] > cb)
361
if(ptr[offset15] > cb)
362
if(ptr[offset1] > cb)
363
if(ptr[offset3] > cb)
364
goto is_a_corner;
365
else
366
if(ptr[offset10] > cb)
367
if(ptr[offset11] > cb)
368
goto is_a_corner;
369
else
370
goto is_not_a_corner;
371
else
372
goto is_not_a_corner;
373
else
374
if(ptr[offset8] > cb)
375
if(ptr[offset9] > cb)
376
if(ptr[offset10] > cb)
377
if(ptr[offset11] > cb)
378
goto is_a_corner;
379
else
380
goto is_not_a_corner;
381
else
382
goto is_not_a_corner;
383
else
384
goto is_not_a_corner;
385
else
386
goto is_not_a_corner;
387
else
388
if(ptr[offset6] > cb)
389
if(ptr[offset7] > cb)
390
if(ptr[offset8] > cb)
391
if(ptr[offset9] > cb)
392
if(ptr[offset10] > cb)
393
if(ptr[offset11] > cb)
394
goto is_a_corner;
395
else
396
goto is_not_a_corner;
397
else
398
goto is_not_a_corner;
399
else
400
goto is_not_a_corner;
401
else
402
goto is_not_a_corner;
403
else
404
goto is_not_a_corner;
405
else
406
goto is_not_a_corner;
407
else
408
goto is_not_a_corner;
409
else
410
goto is_not_a_corner;
411
else if(ptr[offset12] < c_b)
412
if(ptr[offset7] < c_b)
413
if(ptr[offset8] < c_b)
414
if(ptr[offset9] < c_b)
415
if(ptr[offset10] < c_b)
416
if(ptr[offset11] < c_b)
417
if(ptr[offset13] < c_b)
418
if(ptr[offset6] < c_b)
419
goto is_a_corner;
420
else
421
if(ptr[offset14] < c_b)
422
if(ptr[offset15] < c_b)
423
goto is_a_corner;
424
else
425
goto is_not_a_corner;
426
else
427
goto is_not_a_corner;
428
else
429
goto is_not_a_corner;
430
else
431
goto is_not_a_corner;
432
else
433
goto is_not_a_corner;
434
else
435
goto is_not_a_corner;
436
else
437
goto is_not_a_corner;
438
else
439
goto is_not_a_corner;
440
else
441
goto is_not_a_corner;
442
else
443
if(ptr[offset12] > cb)
444
if(ptr[offset13] > cb)
445
if(ptr[offset14] > cb)
446
if(ptr[offset15] > cb)
447
if(ptr[offset1] > cb)
448
if(ptr[offset3] > cb)
449
goto is_a_corner;
450
else
451
if(ptr[offset10] > cb)
452
if(ptr[offset11] > cb)
453
goto is_a_corner;
454
else
455
goto is_not_a_corner;
456
else
457
goto is_not_a_corner;
458
else
459
if(ptr[offset8] > cb)
460
if(ptr[offset9] > cb)
461
if(ptr[offset10] > cb)
462
if(ptr[offset11] > cb)
463
goto is_a_corner;
464
else
465
goto is_not_a_corner;
466
else
467
goto is_not_a_corner;
468
else
469
goto is_not_a_corner;
470
else
471
goto is_not_a_corner;
472
else
473
if(ptr[offset6] > cb)
474
if(ptr[offset7] > cb)
475
if(ptr[offset8] > cb)
476
if(ptr[offset9] > cb)
477
if(ptr[offset10] > cb)
478
if(ptr[offset11] > cb)
479
goto is_a_corner;
480
else
481
goto is_not_a_corner;
482
else
483
goto is_not_a_corner;
484
else
485
goto is_not_a_corner;
486
else
487
goto is_not_a_corner;
488
else
489
goto is_not_a_corner;
490
else
491
goto is_not_a_corner;
492
else
493
goto is_not_a_corner;
494
else
495
goto is_not_a_corner;
496
else if(ptr[offset12] < c_b)
497
if(ptr[offset7] < c_b)
498
if(ptr[offset8] < c_b)
499
if(ptr[offset9] < c_b)
500
if(ptr[offset10] < c_b)
501
if(ptr[offset11] < c_b)
502
if(ptr[offset13] < c_b)
503
if(ptr[offset14] < c_b)
504
if(ptr[offset6] < c_b)
505
goto is_a_corner;
506
else
507
if(ptr[offset15] < c_b)
508
goto is_a_corner;
509
else
510
goto is_not_a_corner;
511
else
512
goto is_not_a_corner;
513
else
514
goto is_not_a_corner;
515
else
516
goto is_not_a_corner;
517
else
518
goto is_not_a_corner;
519
else
520
goto is_not_a_corner;
521
else
522
goto is_not_a_corner;
523
else
524
goto is_not_a_corner;
525
else
526
goto is_not_a_corner;
527
else if(ptr[offset4] < c_b)
528
if(ptr[offset11] > cb)
529
if(ptr[offset12] > cb)
530
if(ptr[offset13] > cb)
531
if(ptr[offset10] > cb)
532
if(ptr[offset14] > cb)
533
if(ptr[offset15] > cb)
534
if(ptr[offset1] > cb)
535
goto is_a_corner;
536
else
537
if(ptr[offset8] > cb)
538
if(ptr[offset9] > cb)
539
goto is_a_corner;
540
else
541
goto is_not_a_corner;
542
else
543
goto is_not_a_corner;
544
else
545
if(ptr[offset6] > cb)
546
if(ptr[offset7] > cb)
547
if(ptr[offset8] > cb)
548
if(ptr[offset9] > cb)
549
goto is_a_corner;
550
else
551
goto is_not_a_corner;
552
else
553
goto is_not_a_corner;
554
else
555
goto is_not_a_corner;
556
else
557
goto is_not_a_corner;
558
else
559
if(ptr[offset5] > cb)
560
if(ptr[offset6] > cb)
561
if(ptr[offset7] > cb)
562
if(ptr[offset8] > cb)
563
if(ptr[offset9] > cb)
564
goto is_a_corner;
565
else
566
goto is_not_a_corner;
567
else
568
goto is_not_a_corner;
569
else
570
goto is_not_a_corner;
571
else
572
goto is_not_a_corner;
573
else
574
goto is_not_a_corner;
575
else
576
if(ptr[offset1] > cb)
577
if(ptr[offset3] > cb)
578
if(ptr[offset14] > cb)
579
if(ptr[offset15] > cb)
580
goto is_a_corner;
581
else
582
goto is_not_a_corner;
583
else
584
goto is_not_a_corner;
585
else
586
goto is_not_a_corner;
587
else
588
goto is_not_a_corner;
589
else
590
goto is_not_a_corner;
591
else
592
goto is_not_a_corner;
593
else if(ptr[offset11] < c_b)
594
if(ptr[offset7] < c_b)
595
if(ptr[offset8] < c_b)
596
if(ptr[offset9] < c_b)
597
if(ptr[offset10] < c_b)
598
if(ptr[offset6] < c_b)
599
if(ptr[offset5] < c_b)
600
if(ptr[offset3] < c_b)
601
goto is_a_corner;
602
else
603
if(ptr[offset12] < c_b)
604
goto is_a_corner;
605
else
606
goto is_not_a_corner;
607
else
608
if(ptr[offset12] < c_b)
609
if(ptr[offset13] < c_b)
610
if(ptr[offset14] < c_b)
611
goto is_a_corner;
612
else
613
goto is_not_a_corner;
614
else
615
goto is_not_a_corner;
616
else
617
goto is_not_a_corner;
618
else
619
if(ptr[offset12] < c_b)
620
if(ptr[offset13] < c_b)
621
if(ptr[offset14] < c_b)
622
if(ptr[offset15] < c_b)
623
goto is_a_corner;
624
else
625
goto is_not_a_corner;
626
else
627
goto is_not_a_corner;
628
else
629
goto is_not_a_corner;
630
else
631
goto is_not_a_corner;
632
else
633
goto is_not_a_corner;
634
else
635
goto is_not_a_corner;
636
else
637
goto is_not_a_corner;
638
else
639
goto is_not_a_corner;
640
else
641
goto is_not_a_corner;
642
else
643
if(ptr[offset11] > cb)
644
if(ptr[offset12] > cb)
645
if(ptr[offset13] > cb)
646
if(ptr[offset10] > cb)
647
if(ptr[offset14] > cb)
648
if(ptr[offset15] > cb)
649
if(ptr[offset1] > cb)
650
goto is_a_corner;
651
else
652
if(ptr[offset8] > cb)
653
if(ptr[offset9] > cb)
654
goto is_a_corner;
655
else
656
goto is_not_a_corner;
657
else
658
goto is_not_a_corner;
659
else
660
if(ptr[offset6] > cb)
661
if(ptr[offset7] > cb)
662
if(ptr[offset8] > cb)
663
if(ptr[offset9] > cb)
664
goto is_a_corner;
665
else
666
goto is_not_a_corner;
667
else
668
goto is_not_a_corner;
669
else
670
goto is_not_a_corner;
671
else
672
goto is_not_a_corner;
673
else
674
if(ptr[offset5] > cb)
675
if(ptr[offset6] > cb)
676
if(ptr[offset7] > cb)
677
if(ptr[offset8] > cb)
678
if(ptr[offset9] > cb)
679
goto is_a_corner;
680
else
681
goto is_not_a_corner;
682
else
683
goto is_not_a_corner;
684
else
685
goto is_not_a_corner;
686
else
687
goto is_not_a_corner;
688
else
689
goto is_not_a_corner;
690
else
691
if(ptr[offset1] > cb)
692
if(ptr[offset3] > cb)
693
if(ptr[offset14] > cb)
694
if(ptr[offset15] > cb)
695
goto is_a_corner;
696
else
697
goto is_not_a_corner;
698
else
699
goto is_not_a_corner;
700
else
701
goto is_not_a_corner;
702
else
703
goto is_not_a_corner;
704
else
705
goto is_not_a_corner;
706
else
707
goto is_not_a_corner;
708
else if(ptr[offset11] < c_b)
709
if(ptr[offset7] < c_b)
710
if(ptr[offset8] < c_b)
711
if(ptr[offset9] < c_b)
712
if(ptr[offset10] < c_b)
713
if(ptr[offset12] < c_b)
714
if(ptr[offset13] < c_b)
715
if(ptr[offset6] < c_b)
716
if(ptr[offset5] < c_b)
717
goto is_a_corner;
718
else
719
if(ptr[offset14] < c_b)
720
goto is_a_corner;
721
else
722
goto is_not_a_corner;
723
else
724
if(ptr[offset14] < c_b)
725
if(ptr[offset15] < c_b)
726
goto is_a_corner;
727
else
728
goto is_not_a_corner;
729
else
730
goto is_not_a_corner;
731
else
732
goto is_not_a_corner;
733
else
734
goto is_not_a_corner;
735
else
736
goto is_not_a_corner;
737
else
738
goto is_not_a_corner;
739
else
740
goto is_not_a_corner;
741
else
742
goto is_not_a_corner;
743
else
744
goto is_not_a_corner;
745
else if(ptr[offset2] < c_b)
746
if(ptr[offset9] > cb)
747
if(ptr[offset10] > cb)
748
if(ptr[offset11] > cb)
749
if(ptr[offset8] > cb)
750
if(ptr[offset12] > cb)
751
if(ptr[offset13] > cb)
752
if(ptr[offset14] > cb)
753
if(ptr[offset15] > cb)
754
goto is_a_corner;
755
else
756
if(ptr[offset6] > cb)
757
if(ptr[offset7] > cb)
758
goto is_a_corner;
759
else
760
goto is_not_a_corner;
761
else
762
goto is_not_a_corner;
763
else
764
if(ptr[offset5] > cb)
765
if(ptr[offset6] > cb)
766
if(ptr[offset7] > cb)
767
goto is_a_corner;
768
else
769
goto is_not_a_corner;
770
else
771
goto is_not_a_corner;
772
else
773
goto is_not_a_corner;
774
else
775
if(ptr[offset4] > cb)
776
if(ptr[offset5] > cb)
777
if(ptr[offset6] > cb)
778
if(ptr[offset7] > cb)
779
goto is_a_corner;
780
else
781
goto is_not_a_corner;
782
else
783
goto is_not_a_corner;
784
else
785
goto is_not_a_corner;
786
else
787
goto is_not_a_corner;
788
else
789
if(ptr[offset3] > cb)
790
if(ptr[offset4] > cb)
791
if(ptr[offset5] > cb)
792
if(ptr[offset6] > cb)
793
if(ptr[offset7] > cb)
794
goto is_a_corner;
795
else
796
goto is_not_a_corner;
797
else
798
goto is_not_a_corner;
799
else
800
goto is_not_a_corner;
801
else
802
goto is_not_a_corner;
803
else
804
goto is_not_a_corner;
805
else
806
if(ptr[offset1] > cb)
807
if(ptr[offset12] > cb)
808
if(ptr[offset13] > cb)
809
if(ptr[offset14] > cb)
810
if(ptr[offset15] > cb)
811
goto is_a_corner;
812
else
813
goto is_not_a_corner;
814
else
815
goto is_not_a_corner;
816
else
817
goto is_not_a_corner;
818
else
819
goto is_not_a_corner;
820
else
821
goto is_not_a_corner;
822
else
823
goto is_not_a_corner;
824
else
825
goto is_not_a_corner;
826
else if(ptr[offset9] < c_b)
827
if(ptr[offset7] < c_b)
828
if(ptr[offset8] < c_b)
829
if(ptr[offset6] < c_b)
830
if(ptr[offset5] < c_b)
831
if(ptr[offset4] < c_b)
832
if(ptr[offset3] < c_b)
833
if(ptr[offset1] < c_b)
834
goto is_a_corner;
835
else
836
if(ptr[offset10] < c_b)
837
goto is_a_corner;
838
else
839
goto is_not_a_corner;
840
else
841
if(ptr[offset10] < c_b)
842
if(ptr[offset11] < c_b)
843
if(ptr[offset12] < c_b)
844
goto is_a_corner;
845
else
846
goto is_not_a_corner;
847
else
848
goto is_not_a_corner;
849
else
850
goto is_not_a_corner;
851
else
852
if(ptr[offset10] < c_b)
853
if(ptr[offset11] < c_b)
854
if(ptr[offset12] < c_b)
855
if(ptr[offset13] < c_b)
856
goto is_a_corner;
857
else
858
goto is_not_a_corner;
859
else
860
goto is_not_a_corner;
861
else
862
goto is_not_a_corner;
863
else
864
goto is_not_a_corner;
865
else
866
if(ptr[offset10] < c_b)
867
if(ptr[offset11] < c_b)
868
if(ptr[offset12] < c_b)
869
if(ptr[offset13] < c_b)
870
if(ptr[offset14] < c_b)
871
goto is_a_corner;
872
else
873
goto is_not_a_corner;
874
else
875
goto is_not_a_corner;
876
else
877
goto is_not_a_corner;
878
else
879
goto is_not_a_corner;
880
else
881
goto is_not_a_corner;
882
else
883
if(ptr[offset10] < c_b)
884
if(ptr[offset11] < c_b)
885
if(ptr[offset12] < c_b)
886
if(ptr[offset13] < c_b)
887
if(ptr[offset14] < c_b)
888
if(ptr[offset15] < c_b)
889
goto is_a_corner;
890
else
891
goto is_not_a_corner;
892
else
893
goto is_not_a_corner;
894
else
895
goto is_not_a_corner;
896
else
897
goto is_not_a_corner;
898
else
899
goto is_not_a_corner;
900
else
901
goto is_not_a_corner;
902
else
903
goto is_not_a_corner;
904
else
905
goto is_not_a_corner;
906
else
907
goto is_not_a_corner;
908
else
909
if(ptr[offset9] > cb)
910
if(ptr[offset10] > cb)
911
if(ptr[offset11] > cb)
912
if(ptr[offset8] > cb)
913
if(ptr[offset12] > cb)
914
if(ptr[offset13] > cb)
915
if(ptr[offset14] > cb)
916
if(ptr[offset15] > cb)
917
goto is_a_corner;
918
else
919
if(ptr[offset6] > cb)
920
if(ptr[offset7] > cb)
921
goto is_a_corner;
922
else
923
goto is_not_a_corner;
924
else
925
goto is_not_a_corner;
926
else
927
if(ptr[offset5] > cb)
928
if(ptr[offset6] > cb)
929
if(ptr[offset7] > cb)
930
goto is_a_corner;
931
else
932
goto is_not_a_corner;
933
else
934
goto is_not_a_corner;
935
else
936
goto is_not_a_corner;
937
else
938
if(ptr[offset4] > cb)
939
if(ptr[offset5] > cb)
940
if(ptr[offset6] > cb)
941
if(ptr[offset7] > cb)
942
goto is_a_corner;
943
else
944
goto is_not_a_corner;
945
else
946
goto is_not_a_corner;
947
else
948
goto is_not_a_corner;
949
else
950
goto is_not_a_corner;
951
else
952
if(ptr[offset3] > cb)
953
if(ptr[offset4] > cb)
954
if(ptr[offset5] > cb)
955
if(ptr[offset6] > cb)
956
if(ptr[offset7] > cb)
957
goto is_a_corner;
958
else
959
goto is_not_a_corner;
960
else
961
goto is_not_a_corner;
962
else
963
goto is_not_a_corner;
964
else
965
goto is_not_a_corner;
966
else
967
goto is_not_a_corner;
968
else
969
if(ptr[offset1] > cb)
970
if(ptr[offset12] > cb)
971
if(ptr[offset13] > cb)
972
if(ptr[offset14] > cb)
973
if(ptr[offset15] > cb)
974
goto is_a_corner;
975
else
976
goto is_not_a_corner;
977
else
978
goto is_not_a_corner;
979
else
980
goto is_not_a_corner;
981
else
982
goto is_not_a_corner;
983
else
984
goto is_not_a_corner;
985
else
986
goto is_not_a_corner;
987
else
988
goto is_not_a_corner;
989
else if(ptr[offset9] < c_b)
990
if(ptr[offset7] < c_b)
991
if(ptr[offset8] < c_b)
992
if(ptr[offset10] < c_b)
993
if(ptr[offset11] < c_b)
994
if(ptr[offset6] < c_b)
995
if(ptr[offset5] < c_b)
996
if(ptr[offset4] < c_b)
997
if(ptr[offset3] < c_b)
998
goto is_a_corner;
999
else
1000
if(ptr[offset12] < c_b)
1001
goto is_a_corner;
1002
else
1003
goto is_not_a_corner;
1004
else
1005
if(ptr[offset12] < c_b)
1006
if(ptr[offset13] < c_b)
1007
goto is_a_corner;
1008
else
1009
goto is_not_a_corner;
1010
else
1011
goto is_not_a_corner;
1012
else
1013
if(ptr[offset12] < c_b)
1014
if(ptr[offset13] < c_b)
1015
if(ptr[offset14] < c_b)
1016
goto is_a_corner;
1017
else
1018
goto is_not_a_corner;
1019
else
1020
goto is_not_a_corner;
1021
else
1022
goto is_not_a_corner;
1023
else
1024
if(ptr[offset12] < c_b)
1025
if(ptr[offset13] < c_b)
1026
if(ptr[offset14] < c_b)
1027
if(ptr[offset15] < c_b)
1028
goto is_a_corner;
1029
else
1030
goto is_not_a_corner;
1031
else
1032
goto is_not_a_corner;
1033
else
1034
goto is_not_a_corner;
1035
else
1036
goto is_not_a_corner;
1037
else
1038
goto is_not_a_corner;
1039
else
1040
goto is_not_a_corner;
1041
else
1042
goto is_not_a_corner;
1043
else
1044
goto is_not_a_corner;
1045
else
1046
goto is_not_a_corner;
1047
else if(ptr[offset0] < c_b)
1048
if(ptr[offset2] > cb)
1049
if(ptr[offset9] > cb)
1050
if(ptr[offset7] > cb)
1051
if(ptr[offset8] > cb)
1052
if(ptr[offset6] > cb)
1053
if(ptr[offset5] > cb)
1054
if(ptr[offset4] > cb)
1055
if(ptr[offset3] > cb)
1056
if(ptr[offset1] > cb)
1057
goto is_a_corner;
1058
else
1059
if(ptr[offset10] > cb)
1060
goto is_a_corner;
1061
else
1062
goto is_not_a_corner;
1063
else
1064
if(ptr[offset10] > cb)
1065
if(ptr[offset11] > cb)
1066
if(ptr[offset12] > cb)
1067
goto is_a_corner;
1068
else
1069
goto is_not_a_corner;
1070
else
1071
goto is_not_a_corner;
1072
else
1073
goto is_not_a_corner;
1074
else
1075
if(ptr[offset10] > cb)
1076
if(ptr[offset11] > cb)
1077
if(ptr[offset12] > cb)
1078
if(ptr[offset13] > cb)
1079
goto is_a_corner;
1080
else
1081
goto is_not_a_corner;
1082
else
1083
goto is_not_a_corner;
1084
else
1085
goto is_not_a_corner;
1086
else
1087
goto is_not_a_corner;
1088
else
1089
if(ptr[offset10] > cb)
1090
if(ptr[offset11] > cb)
1091
if(ptr[offset12] > cb)
1092
if(ptr[offset13] > cb)
1093
if(ptr[offset14] > cb)
1094
goto is_a_corner;
1095
else
1096
goto is_not_a_corner;
1097
else
1098
goto is_not_a_corner;
1099
else
1100
goto is_not_a_corner;
1101
else
1102
goto is_not_a_corner;
1103
else
1104
goto is_not_a_corner;
1105
else
1106
if(ptr[offset10] > cb)
1107
if(ptr[offset11] > cb)
1108
if(ptr[offset12] > cb)
1109
if(ptr[offset13] > cb)
1110
if(ptr[offset14] > cb)
1111
if(ptr[offset15] > cb)
1112
goto is_a_corner;
1113
else
1114
goto is_not_a_corner;
1115
else
1116
goto is_not_a_corner;
1117
else
1118
goto is_not_a_corner;
1119
else
1120
goto is_not_a_corner;
1121
else
1122
goto is_not_a_corner;
1123
else
1124
goto is_not_a_corner;
1125
else
1126
goto is_not_a_corner;
1127
else
1128
goto is_not_a_corner;
1129
else if(ptr[offset9] < c_b)
1130
if(ptr[offset10] < c_b)
1131
if(ptr[offset11] < c_b)
1132
if(ptr[offset8] < c_b)
1133
if(ptr[offset12] < c_b)
1134
if(ptr[offset13] < c_b)
1135
if(ptr[offset14] < c_b)
1136
if(ptr[offset15] < c_b)
1137
goto is_a_corner;
1138
else
1139
if(ptr[offset6] < c_b)
1140
if(ptr[offset7] < c_b)
1141
goto is_a_corner;
1142
else
1143
goto is_not_a_corner;
1144
else
1145
goto is_not_a_corner;
1146
else
1147
if(ptr[offset5] < c_b)
1148
if(ptr[offset6] < c_b)
1149
if(ptr[offset7] < c_b)
1150
goto is_a_corner;
1151
else
1152
goto is_not_a_corner;
1153
else
1154
goto is_not_a_corner;
1155
else
1156
goto is_not_a_corner;
1157
else
1158
if(ptr[offset4] < c_b)
1159
if(ptr[offset5] < c_b)
1160
if(ptr[offset6] < c_b)
1161
if(ptr[offset7] < c_b)
1162
goto is_a_corner;
1163
else
1164
goto is_not_a_corner;
1165
else
1166
goto is_not_a_corner;
1167
else
1168
goto is_not_a_corner;
1169
else
1170
goto is_not_a_corner;
1171
else
1172
if(ptr[offset3] < c_b)
1173
if(ptr[offset4] < c_b)
1174
if(ptr[offset5] < c_b)
1175
if(ptr[offset6] < c_b)
1176
if(ptr[offset7] < c_b)
1177
goto is_a_corner;
1178
else
1179
goto is_not_a_corner;
1180
else
1181
goto is_not_a_corner;
1182
else
1183
goto is_not_a_corner;
1184
else
1185
goto is_not_a_corner;
1186
else
1187
goto is_not_a_corner;
1188
else
1189
if(ptr[offset1] < c_b)
1190
if(ptr[offset12] < c_b)
1191
if(ptr[offset13] < c_b)
1192
if(ptr[offset14] < c_b)
1193
if(ptr[offset15] < c_b)
1194
goto is_a_corner;
1195
else
1196
goto is_not_a_corner;
1197
else
1198
goto is_not_a_corner;
1199
else
1200
goto is_not_a_corner;
1201
else
1202
goto is_not_a_corner;
1203
else
1204
goto is_not_a_corner;
1205
else
1206
goto is_not_a_corner;
1207
else
1208
goto is_not_a_corner;
1209
else
1210
goto is_not_a_corner;
1211
else if(ptr[offset2] < c_b)
1212
if(ptr[offset4] > cb)
1213
if(ptr[offset11] > cb)
1214
if(ptr[offset7] > cb)
1215
if(ptr[offset8] > cb)
1216
if(ptr[offset9] > cb)
1217
if(ptr[offset10] > cb)
1218
if(ptr[offset6] > cb)
1219
if(ptr[offset5] > cb)
1220
if(ptr[offset3] > cb)
1221
goto is_a_corner;
1222
else
1223
if(ptr[offset12] > cb)
1224
goto is_a_corner;
1225
else
1226
goto is_not_a_corner;
1227
else
1228
if(ptr[offset12] > cb)
1229
if(ptr[offset13] > cb)
1230
if(ptr[offset14] > cb)
1231
goto is_a_corner;
1232
else
1233
goto is_not_a_corner;
1234
else
1235
goto is_not_a_corner;
1236
else
1237
goto is_not_a_corner;
1238
else
1239
if(ptr[offset12] > cb)
1240
if(ptr[offset13] > cb)
1241
if(ptr[offset14] > cb)
1242
if(ptr[offset15] > cb)
1243
goto is_a_corner;
1244
else
1245
goto is_not_a_corner;
1246
else
1247
goto is_not_a_corner;
1248
else
1249
goto is_not_a_corner;
1250
else
1251
goto is_not_a_corner;
1252
else
1253
goto is_not_a_corner;
1254
else
1255
goto is_not_a_corner;
1256
else
1257
goto is_not_a_corner;
1258
else
1259
goto is_not_a_corner;
1260
else if(ptr[offset11] < c_b)
1261
if(ptr[offset12] < c_b)
1262
if(ptr[offset13] < c_b)
1263
if(ptr[offset10] < c_b)
1264
if(ptr[offset14] < c_b)
1265
if(ptr[offset15] < c_b)
1266
if(ptr[offset1] < c_b)
1267
goto is_a_corner;
1268
else
1269
if(ptr[offset8] < c_b)
1270
if(ptr[offset9] < c_b)
1271
goto is_a_corner;
1272
else
1273
goto is_not_a_corner;
1274
else
1275
goto is_not_a_corner;
1276
else
1277
if(ptr[offset6] < c_b)
1278
if(ptr[offset7] < c_b)
1279
if(ptr[offset8] < c_b)
1280
if(ptr[offset9] < c_b)
1281
goto is_a_corner;
1282
else
1283
goto is_not_a_corner;
1284
else
1285
goto is_not_a_corner;
1286
else
1287
goto is_not_a_corner;
1288
else
1289
goto is_not_a_corner;
1290
else
1291
if(ptr[offset5] < c_b)
1292
if(ptr[offset6] < c_b)
1293
if(ptr[offset7] < c_b)
1294
if(ptr[offset8] < c_b)
1295
if(ptr[offset9] < c_b)
1296
goto is_a_corner;
1297
else
1298
goto is_not_a_corner;
1299
else
1300
goto is_not_a_corner;
1301
else
1302
goto is_not_a_corner;
1303
else
1304
goto is_not_a_corner;
1305
else
1306
goto is_not_a_corner;
1307
else
1308
if(ptr[offset1] < c_b)
1309
if(ptr[offset3] < c_b)
1310
if(ptr[offset14] < c_b)
1311
if(ptr[offset15] < c_b)
1312
goto is_a_corner;
1313
else
1314
goto is_not_a_corner;
1315
else
1316
goto is_not_a_corner;
1317
else
1318
goto is_not_a_corner;
1319
else
1320
goto is_not_a_corner;
1321
else
1322
goto is_not_a_corner;
1323
else
1324
goto is_not_a_corner;
1325
else
1326
goto is_not_a_corner;
1327
else if(ptr[offset4] < c_b)
1328
if(ptr[offset5] > cb)
1329
if(ptr[offset12] > cb)
1330
if(ptr[offset7] > cb)
1331
if(ptr[offset8] > cb)
1332
if(ptr[offset9] > cb)
1333
if(ptr[offset10] > cb)
1334
if(ptr[offset11] > cb)
1335
if(ptr[offset13] > cb)
1336
if(ptr[offset6] > cb)
1337
goto is_a_corner;
1338
else
1339
if(ptr[offset14] > cb)
1340
if(ptr[offset15] > cb)
1341
goto is_a_corner;
1342
else
1343
goto is_not_a_corner;
1344
else
1345
goto is_not_a_corner;
1346
else
1347
goto is_not_a_corner;
1348
else
1349
goto is_not_a_corner;
1350
else
1351
goto is_not_a_corner;
1352
else
1353
goto is_not_a_corner;
1354
else
1355
goto is_not_a_corner;
1356
else
1357
goto is_not_a_corner;
1358
else if(ptr[offset12] < c_b)
1359
if(ptr[offset13] < c_b)
1360
if(ptr[offset14] < c_b)
1361
if(ptr[offset15] < c_b)
1362
if(ptr[offset1] < c_b)
1363
if(ptr[offset3] < c_b)
1364
goto is_a_corner;
1365
else
1366
if(ptr[offset10] < c_b)
1367
if(ptr[offset11] < c_b)
1368
goto is_a_corner;
1369
else
1370
goto is_not_a_corner;
1371
else
1372
goto is_not_a_corner;
1373
else
1374
if(ptr[offset8] < c_b)
1375
if(ptr[offset9] < c_b)
1376
if(ptr[offset10] < c_b)
1377
if(ptr[offset11] < c_b)
1378
goto is_a_corner;
1379
else
1380
goto is_not_a_corner;
1381
else
1382
goto is_not_a_corner;
1383
else
1384
goto is_not_a_corner;
1385
else
1386
goto is_not_a_corner;
1387
else
1388
if(ptr[offset6] < c_b)
1389
if(ptr[offset7] < c_b)
1390
if(ptr[offset8] < c_b)
1391
if(ptr[offset9] < c_b)
1392
if(ptr[offset10] < c_b)
1393
if(ptr[offset11] < c_b)
1394
goto is_a_corner;
1395
else
1396
goto is_not_a_corner;
1397
else
1398
goto is_not_a_corner;
1399
else
1400
goto is_not_a_corner;
1401
else
1402
goto is_not_a_corner;
1403
else
1404
goto is_not_a_corner;
1405
else
1406
goto is_not_a_corner;
1407
else
1408
goto is_not_a_corner;
1409
else
1410
goto is_not_a_corner;
1411
else
1412
goto is_not_a_corner;
1413
else if(ptr[offset5] < c_b)
1414
if(ptr[offset7] > cb)
1415
if(ptr[offset14] > cb)
1416
if(ptr[offset8] > cb)
1417
if(ptr[offset9] > cb)
1418
if(ptr[offset10] > cb)
1419
if(ptr[offset11] > cb)
1420
if(ptr[offset12] > cb)
1421
if(ptr[offset13] > cb)
1422
if(ptr[offset6] > cb)
1423
goto is_a_corner;
1424
else
1425
if(ptr[offset15] > cb)
1426
goto is_a_corner;
1427
else
1428
goto is_not_a_corner;
1429
else
1430
goto is_not_a_corner;
1431
else
1432
goto is_not_a_corner;
1433
else
1434
goto is_not_a_corner;
1435
else
1436
goto is_not_a_corner;
1437
else
1438
goto is_not_a_corner;
1439
else
1440
goto is_not_a_corner;
1441
else if(ptr[offset14] < c_b)
1442
if(ptr[offset15] < c_b)
1443
if(ptr[offset1] < c_b)
1444
if(ptr[offset3] < c_b)
1445
if(ptr[offset6] < c_b)
1446
goto is_a_corner;
1447
else
1448
if(ptr[offset13] < c_b)
1449
goto is_a_corner;
1450
else
1451
goto is_not_a_corner;
1452
else
1453
if(ptr[offset10] < c_b)
1454
if(ptr[offset11] < c_b)
1455
if(ptr[offset12] < c_b)
1456
if(ptr[offset13] < c_b)
1457
goto is_a_corner;
1458
else
1459
goto is_not_a_corner;
1460
else
1461
goto is_not_a_corner;
1462
else
1463
goto is_not_a_corner;
1464
else
1465
goto is_not_a_corner;
1466
else
1467
if(ptr[offset8] < c_b)
1468
if(ptr[offset9] < c_b)
1469
if(ptr[offset10] < c_b)
1470
if(ptr[offset11] < c_b)
1471
if(ptr[offset12] < c_b)
1472
if(ptr[offset13] < c_b)
1473
goto is_a_corner;
1474
else
1475
goto is_not_a_corner;
1476
else
1477
goto is_not_a_corner;
1478
else
1479
goto is_not_a_corner;
1480
else
1481
goto is_not_a_corner;
1482
else
1483
goto is_not_a_corner;
1484
else
1485
goto is_not_a_corner;
1486
else
1487
goto is_not_a_corner;
1488
else
1489
goto is_not_a_corner;
1490
else if(ptr[offset7] < c_b)
1491
if(ptr[offset3] < c_b)
1492
if(ptr[offset1] < c_b)
1493
if(ptr[offset6] < c_b)
1494
if(ptr[offset8] < c_b)
1495
goto is_a_corner;
1496
else
1497
if(ptr[offset15] < c_b)
1498
goto is_a_corner;
1499
else
1500
goto is_not_a_corner;
1501
else
1502
if(ptr[offset13] < c_b)
1503
if(ptr[offset14] < c_b)
1504
if(ptr[offset15] < c_b)
1505
goto is_a_corner;
1506
else
1507
goto is_not_a_corner;
1508
else
1509
goto is_not_a_corner;
1510
else
1511
goto is_not_a_corner;
1512
else
1513
if(ptr[offset8] < c_b)
1514
if(ptr[offset9] < c_b)
1515
if(ptr[offset10] < c_b)
1516
if(ptr[offset6] < c_b)
1517
goto is_a_corner;
1518
else
1519
if(ptr[offset11] < c_b)
1520
if(ptr[offset12] < c_b)
1521
if(ptr[offset13] < c_b)
1522
if(ptr[offset14] < c_b)
1523
if(ptr[offset15] < c_b)
1524
goto is_a_corner;
1525
else
1526
goto is_not_a_corner;
1527
else
1528
goto is_not_a_corner;
1529
else
1530
goto is_not_a_corner;
1531
else
1532
goto is_not_a_corner;
1533
else
1534
goto is_not_a_corner;
1535
else
1536
goto is_not_a_corner;
1537
else
1538
goto is_not_a_corner;
1539
else
1540
goto is_not_a_corner;
1541
else
1542
if(ptr[offset10] < c_b)
1543
if(ptr[offset11] < c_b)
1544
if(ptr[offset12] < c_b)
1545
if(ptr[offset8] < c_b)
1546
if(ptr[offset9] < c_b)
1547
if(ptr[offset6] < c_b)
1548
goto is_a_corner;
1549
else
1550
if(ptr[offset13] < c_b)
1551
if(ptr[offset14] < c_b)
1552
if(ptr[offset15] < c_b)
1553
goto is_a_corner;
1554
else
1555
goto is_not_a_corner;
1556
else
1557
goto is_not_a_corner;
1558
else
1559
goto is_not_a_corner;
1560
else
1561
if(ptr[offset1] < c_b)
1562
if(ptr[offset13] < c_b)
1563
if(ptr[offset14] < c_b)
1564
if(ptr[offset15] < c_b)
1565
goto is_a_corner;
1566
else
1567
goto is_not_a_corner;
1568
else
1569
goto is_not_a_corner;
1570
else
1571
goto is_not_a_corner;
1572
else
1573
goto is_not_a_corner;
1574
else
1575
if(ptr[offset1] < c_b)
1576
if(ptr[offset13] < c_b)
1577
if(ptr[offset14] < c_b)
1578
if(ptr[offset15] < c_b)
1579
goto is_a_corner;
1580
else
1581
goto is_not_a_corner;
1582
else
1583
goto is_not_a_corner;
1584
else
1585
goto is_not_a_corner;
1586
else
1587
goto is_not_a_corner;
1588
else
1589
goto is_not_a_corner;
1590
else
1591
goto is_not_a_corner;
1592
else
1593
goto is_not_a_corner;
1594
else
1595
if(ptr[offset14] < c_b)
1596
if(ptr[offset15] < c_b)
1597
if(ptr[offset1] < c_b)
1598
if(ptr[offset3] < c_b)
1599
if(ptr[offset6] < c_b)
1600
goto is_a_corner;
1601
else
1602
if(ptr[offset13] < c_b)
1603
goto is_a_corner;
1604
else
1605
goto is_not_a_corner;
1606
else
1607
if(ptr[offset10] < c_b)
1608
if(ptr[offset11] < c_b)
1609
if(ptr[offset12] < c_b)
1610
if(ptr[offset13] < c_b)
1611
goto is_a_corner;
1612
else
1613
goto is_not_a_corner;
1614
else
1615
goto is_not_a_corner;
1616
else
1617
goto is_not_a_corner;
1618
else
1619
goto is_not_a_corner;
1620
else
1621
if(ptr[offset8] < c_b)
1622
if(ptr[offset9] < c_b)
1623
if(ptr[offset10] < c_b)
1624
if(ptr[offset11] < c_b)
1625
if(ptr[offset12] < c_b)
1626
if(ptr[offset13] < c_b)
1627
goto is_a_corner;
1628
else
1629
goto is_not_a_corner;
1630
else
1631
goto is_not_a_corner;
1632
else
1633
goto is_not_a_corner;
1634
else
1635
goto is_not_a_corner;
1636
else
1637
goto is_not_a_corner;
1638
else
1639
goto is_not_a_corner;
1640
else
1641
goto is_not_a_corner;
1642
else
1643
goto is_not_a_corner;
1644
else
1645
if(ptr[offset12] > cb)
1646
if(ptr[offset7] > cb)
1647
if(ptr[offset8] > cb)
1648
if(ptr[offset9] > cb)
1649
if(ptr[offset10] > cb)
1650
if(ptr[offset11] > cb)
1651
if(ptr[offset13] > cb)
1652
if(ptr[offset14] > cb)
1653
if(ptr[offset6] > cb)
1654
goto is_a_corner;
1655
else
1656
if(ptr[offset15] > cb)
1657
goto is_a_corner;
1658
else
1659
goto is_not_a_corner;
1660
else
1661
goto is_not_a_corner;
1662
else
1663
goto is_not_a_corner;
1664
else
1665
goto is_not_a_corner;
1666
else
1667
goto is_not_a_corner;
1668
else
1669
goto is_not_a_corner;
1670
else
1671
goto is_not_a_corner;
1672
else
1673
goto is_not_a_corner;
1674
else if(ptr[offset12] < c_b)
1675
if(ptr[offset13] < c_b)
1676
if(ptr[offset14] < c_b)
1677
if(ptr[offset15] < c_b)
1678
if(ptr[offset1] < c_b)
1679
if(ptr[offset3] < c_b)
1680
goto is_a_corner;
1681
else
1682
if(ptr[offset10] < c_b)
1683
if(ptr[offset11] < c_b)
1684
goto is_a_corner;
1685
else
1686
goto is_not_a_corner;
1687
else
1688
goto is_not_a_corner;
1689
else
1690
if(ptr[offset8] < c_b)
1691
if(ptr[offset9] < c_b)
1692
if(ptr[offset10] < c_b)
1693
if(ptr[offset11] < c_b)
1694
goto is_a_corner;
1695
else
1696
goto is_not_a_corner;
1697
else
1698
goto is_not_a_corner;
1699
else
1700
goto is_not_a_corner;
1701
else
1702
goto is_not_a_corner;
1703
else
1704
if(ptr[offset6] < c_b)
1705
if(ptr[offset7] < c_b)
1706
if(ptr[offset8] < c_b)
1707
if(ptr[offset9] < c_b)
1708
if(ptr[offset10] < c_b)
1709
if(ptr[offset11] < c_b)
1710
goto is_a_corner;
1711
else
1712
goto is_not_a_corner;
1713
else
1714
goto is_not_a_corner;
1715
else
1716
goto is_not_a_corner;
1717
else
1718
goto is_not_a_corner;
1719
else
1720
goto is_not_a_corner;
1721
else
1722
goto is_not_a_corner;
1723
else
1724
goto is_not_a_corner;
1725
else
1726
goto is_not_a_corner;
1727
else
1728
goto is_not_a_corner;
1729
else
1730
if(ptr[offset11] > cb)
1731
if(ptr[offset7] > cb)
1732
if(ptr[offset8] > cb)
1733
if(ptr[offset9] > cb)
1734
if(ptr[offset10] > cb)
1735
if(ptr[offset12] > cb)
1736
if(ptr[offset13] > cb)
1737
if(ptr[offset6] > cb)
1738
if(ptr[offset5] > cb)
1739
goto is_a_corner;
1740
else
1741
if(ptr[offset14] > cb)
1742
goto is_a_corner;
1743
else
1744
goto is_not_a_corner;
1745
else
1746
if(ptr[offset14] > cb)
1747
if(ptr[offset15] > cb)
1748
goto is_a_corner;
1749
else
1750
goto is_not_a_corner;
1751
else
1752
goto is_not_a_corner;
1753
else
1754
goto is_not_a_corner;
1755
else
1756
goto is_not_a_corner;
1757
else
1758
goto is_not_a_corner;
1759
else
1760
goto is_not_a_corner;
1761
else
1762
goto is_not_a_corner;
1763
else
1764
goto is_not_a_corner;
1765
else if(ptr[offset11] < c_b)
1766
if(ptr[offset12] < c_b)
1767
if(ptr[offset13] < c_b)
1768
if(ptr[offset10] < c_b)
1769
if(ptr[offset14] < c_b)
1770
if(ptr[offset15] < c_b)
1771
if(ptr[offset1] < c_b)
1772
goto is_a_corner;
1773
else
1774
if(ptr[offset8] < c_b)
1775
if(ptr[offset9] < c_b)
1776
goto is_a_corner;
1777
else
1778
goto is_not_a_corner;
1779
else
1780
goto is_not_a_corner;
1781
else
1782
if(ptr[offset6] < c_b)
1783
if(ptr[offset7] < c_b)
1784
if(ptr[offset8] < c_b)
1785
if(ptr[offset9] < c_b)
1786
goto is_a_corner;
1787
else
1788
goto is_not_a_corner;
1789
else
1790
goto is_not_a_corner;
1791
else
1792
goto is_not_a_corner;
1793
else
1794
goto is_not_a_corner;
1795
else
1796
if(ptr[offset5] < c_b)
1797
if(ptr[offset6] < c_b)
1798
if(ptr[offset7] < c_b)
1799
if(ptr[offset8] < c_b)
1800
if(ptr[offset9] < c_b)
1801
goto is_a_corner;
1802
else
1803
goto is_not_a_corner;
1804
else
1805
goto is_not_a_corner;
1806
else
1807
goto is_not_a_corner;
1808
else
1809
goto is_not_a_corner;
1810
else
1811
goto is_not_a_corner;
1812
else
1813
if(ptr[offset1] < c_b)
1814
if(ptr[offset3] < c_b)
1815
if(ptr[offset14] < c_b)
1816
if(ptr[offset15] < c_b)
1817
goto is_a_corner;
1818
else
1819
goto is_not_a_corner;
1820
else
1821
goto is_not_a_corner;
1822
else
1823
goto is_not_a_corner;
1824
else
1825
goto is_not_a_corner;
1826
else
1827
goto is_not_a_corner;
1828
else
1829
goto is_not_a_corner;
1830
else
1831
goto is_not_a_corner;
1832
else
1833
if(ptr[offset9] > cb)
1834
if(ptr[offset7] > cb)
1835
if(ptr[offset8] > cb)
1836
if(ptr[offset10] > cb)
1837
if(ptr[offset11] > cb)
1838
if(ptr[offset6] > cb)
1839
if(ptr[offset5] > cb)
1840
if(ptr[offset4] > cb)
1841
if(ptr[offset3] > cb)
1842
goto is_a_corner;
1843
else
1844
if(ptr[offset12] > cb)
1845
goto is_a_corner;
1846
else
1847
goto is_not_a_corner;
1848
else
1849
if(ptr[offset12] > cb)
1850
if(ptr[offset13] > cb)
1851
goto is_a_corner;
1852
else
1853
goto is_not_a_corner;
1854
else
1855
goto is_not_a_corner;
1856
else
1857
if(ptr[offset12] > cb)
1858
if(ptr[offset13] > cb)
1859
if(ptr[offset14] > cb)
1860
goto is_a_corner;
1861
else
1862
goto is_not_a_corner;
1863
else
1864
goto is_not_a_corner;
1865
else
1866
goto is_not_a_corner;
1867
else
1868
if(ptr[offset12] > cb)
1869
if(ptr[offset13] > cb)
1870
if(ptr[offset14] > cb)
1871
if(ptr[offset15] > cb)
1872
goto is_a_corner;
1873
else
1874
goto is_not_a_corner;
1875
else
1876
goto is_not_a_corner;
1877
else
1878
goto is_not_a_corner;
1879
else
1880
goto is_not_a_corner;
1881
else
1882
goto is_not_a_corner;
1883
else
1884
goto is_not_a_corner;
1885
else
1886
goto is_not_a_corner;
1887
else
1888
goto is_not_a_corner;
1889
else if(ptr[offset9] < c_b)
1890
if(ptr[offset10] < c_b)
1891
if(ptr[offset11] < c_b)
1892
if(ptr[offset8] < c_b)
1893
if(ptr[offset12] < c_b)
1894
if(ptr[offset13] < c_b)
1895
if(ptr[offset14] < c_b)
1896
if(ptr[offset15] < c_b)
1897
goto is_a_corner;
1898
else
1899
if(ptr[offset6] < c_b)
1900
if(ptr[offset7] < c_b)
1901
goto is_a_corner;
1902
else
1903
goto is_not_a_corner;
1904
else
1905
goto is_not_a_corner;
1906
else
1907
if(ptr[offset5] < c_b)
1908
if(ptr[offset6] < c_b)
1909
if(ptr[offset7] < c_b)
1910
goto is_a_corner;
1911
else
1912
goto is_not_a_corner;
1913
else
1914
goto is_not_a_corner;
1915
else
1916
goto is_not_a_corner;
1917
else
1918
if(ptr[offset4] < c_b)
1919
if(ptr[offset5] < c_b)
1920
if(ptr[offset6] < c_b)
1921
if(ptr[offset7] < c_b)
1922
goto is_a_corner;
1923
else
1924
goto is_not_a_corner;
1925
else
1926
goto is_not_a_corner;
1927
else
1928
goto is_not_a_corner;
1929
else
1930
goto is_not_a_corner;
1931
else
1932
if(ptr[offset3] < c_b)
1933
if(ptr[offset4] < c_b)
1934
if(ptr[offset5] < c_b)
1935
if(ptr[offset6] < c_b)
1936
if(ptr[offset7] < c_b)
1937
goto is_a_corner;
1938
else
1939
goto is_not_a_corner;
1940
else
1941
goto is_not_a_corner;
1942
else
1943
goto is_not_a_corner;
1944
else
1945
goto is_not_a_corner;
1946
else
1947
goto is_not_a_corner;
1948
else
1949
if(ptr[offset1] < c_b)
1950
if(ptr[offset12] < c_b)
1951
if(ptr[offset13] < c_b)
1952
if(ptr[offset14] < c_b)
1953
if(ptr[offset15] < c_b)
1954
goto is_a_corner;
1955
else
1956
goto is_not_a_corner;
1957
else
1958
goto is_not_a_corner;
1959
else
1960
goto is_not_a_corner;
1961
else
1962
goto is_not_a_corner;
1963
else
1964
goto is_not_a_corner;
1965
else
1966
goto is_not_a_corner;
1967
else
1968
goto is_not_a_corner;
1969
else
1970
goto is_not_a_corner;
1971
else
1972
if(ptr[offset7] > cb)
1973
if(ptr[offset8] > cb)
1974
if(ptr[offset9] > cb)
1975
if(ptr[offset6] > cb)
1976
if(ptr[offset5] > cb)
1977
if(ptr[offset4] > cb)
1978
if(ptr[offset3] > cb)
1979
if(ptr[offset2] > cb)
1980
if(ptr[offset1] > cb)
1981
goto is_a_corner;
1982
else
1983
if(ptr[offset10] > cb)
1984
goto is_a_corner;
1985
else
1986
goto is_not_a_corner;
1987
else
1988
if(ptr[offset10] > cb)
1989
if(ptr[offset11] > cb)
1990
goto is_a_corner;
1991
else
1992
goto is_not_a_corner;
1993
else
1994
goto is_not_a_corner;
1995
else
1996
if(ptr[offset10] > cb)
1997
if(ptr[offset11] > cb)
1998
if(ptr[offset12] > cb)
1999
goto is_a_corner;
2000
else
2001
goto is_not_a_corner;
2002
else
2003
goto is_not_a_corner;
2004
else
2005
goto is_not_a_corner;
2006
else
2007
if(ptr[offset10] > cb)
2008
if(ptr[offset11] > cb)
2009
if(ptr[offset12] > cb)
2010
if(ptr[offset13] > cb)
2011
goto is_a_corner;
2012
else
2013
goto is_not_a_corner;
2014
else
2015
goto is_not_a_corner;
2016
else
2017
goto is_not_a_corner;
2018
else
2019
goto is_not_a_corner;
2020
else
2021
if(ptr[offset10] > cb)
2022
if(ptr[offset11] > cb)
2023
if(ptr[offset12] > cb)
2024
if(ptr[offset13] > cb)
2025
if(ptr[offset14] > cb)
2026
goto is_a_corner;
2027
else
2028
goto is_not_a_corner;
2029
else
2030
goto is_not_a_corner;
2031
else
2032
goto is_not_a_corner;
2033
else
2034
goto is_not_a_corner;
2035
else
2036
goto is_not_a_corner;
2037
else
2038
if(ptr[offset10] > cb)
2039
if(ptr[offset11] > cb)
2040
if(ptr[offset12] > cb)
2041
if(ptr[offset13] > cb)
2042
if(ptr[offset14] > cb)
2043
if(ptr[offset15] > cb)
2044
goto is_a_corner;
2045
else
2046
goto is_not_a_corner;
2047
else
2048
goto is_not_a_corner;
2049
else
2050
goto is_not_a_corner;
2051
else
2052
goto is_not_a_corner;
2053
else
2054
goto is_not_a_corner;
2055
else
2056
goto is_not_a_corner;
2057
else
2058
goto is_not_a_corner;
2059
else
2060
goto is_not_a_corner;
2061
else if(ptr[offset7] < c_b)
2062
if(ptr[offset8] < c_b)
2063
if(ptr[offset9] < c_b)
2064
if(ptr[offset6] < c_b)
2065
if(ptr[offset5] < c_b)
2066
if(ptr[offset4] < c_b)
2067
if(ptr[offset3] < c_b)
2068
if(ptr[offset2] < c_b)
2069
if(ptr[offset1] < c_b)
2070
goto is_a_corner;
2071
else
2072
if(ptr[offset10] < c_b)
2073
goto is_a_corner;
2074
else
2075
goto is_not_a_corner;
2076
else
2077
if(ptr[offset10] < c_b)
2078
if(ptr[offset11] < c_b)
2079
goto is_a_corner;
2080
else
2081
goto is_not_a_corner;
2082
else
2083
goto is_not_a_corner;
2084
else
2085
if(ptr[offset10] < c_b)
2086
if(ptr[offset11] < c_b)
2087
if(ptr[offset12] < c_b)
2088
goto is_a_corner;
2089
else
2090
goto is_not_a_corner;
2091
else
2092
goto is_not_a_corner;
2093
else
2094
goto is_not_a_corner;
2095
else
2096
if(ptr[offset10] < c_b)
2097
if(ptr[offset11] < c_b)
2098
if(ptr[offset12] < c_b)
2099
if(ptr[offset13] < c_b)
2100
goto is_a_corner;
2101
else
2102
goto is_not_a_corner;
2103
else
2104
goto is_not_a_corner;
2105
else
2106
goto is_not_a_corner;
2107
else
2108
goto is_not_a_corner;
2109
else
2110
if(ptr[offset10] < c_b)
2111
if(ptr[offset11] < c_b)
2112
if(ptr[offset12] < c_b)
2113
if(ptr[offset13] < c_b)
2114
if(ptr[offset14] < c_b)
2115
goto is_a_corner;
2116
else
2117
goto is_not_a_corner;
2118
else
2119
goto is_not_a_corner;
2120
else
2121
goto is_not_a_corner;
2122
else
2123
goto is_not_a_corner;
2124
else
2125
goto is_not_a_corner;
2126
else
2127
if(ptr[offset10] < c_b)
2128
if(ptr[offset11] < c_b)
2129
if(ptr[offset12] < c_b)
2130
if(ptr[offset13] < c_b)
2131
if(ptr[offset14] < c_b)
2132
if(ptr[offset15] < c_b)
2133
goto is_a_corner;
2134
else
2135
goto is_not_a_corner;
2136
else
2137
goto is_not_a_corner;
2138
else
2139
goto is_not_a_corner;
2140
else
2141
goto is_not_a_corner;
2142
else
2143
goto is_not_a_corner;
2144
else
2145
goto is_not_a_corner;
2146
else
2147
goto is_not_a_corner;
2148
else
2149
goto is_not_a_corner;
2150
else
2151
goto is_not_a_corner;
2152
2153
is_a_corner:
2154
bmin = b_test;
2155
goto end;
2156
2157
is_not_a_corner:
2158
bmax = b_test;
2159
goto end;
2160
2161
end:
2162
2163
if(bmin == bmax - 1 || bmin == bmax)
2164
return bmin;
2165
b_test = (bmin + bmax) / 2;
2166
}
2167
}
2168
2169
// 12 pixel mask in diamond format
2170
template<>
2171
int agast_cornerScore<AgastFeatureDetector::AGAST_7_12d>(const uchar* ptr, const int pixel[], int threshold)
2172
{
2173
int bmin = threshold;
2174
int bmax = 255;
2175
int b_test = (bmax + bmin)/2;
2176
2177
short offset0 = (short) pixel[0];
2178
short offset1 = (short) pixel[1];
2179
short offset2 = (short) pixel[2];
2180
short offset3 = (short) pixel[3];
2181
short offset4 = (short) pixel[4];
2182
short offset5 = (short) pixel[5];
2183
short offset6 = (short) pixel[6];
2184
short offset7 = (short) pixel[7];
2185
short offset8 = (short) pixel[8];
2186
short offset9 = (short) pixel[9];
2187
short offset10 = (short) pixel[10];
2188
short offset11 = (short) pixel[11];
2189
2190
while(true)
2191
{
2192
const int cb = *ptr + b_test;
2193
const int c_b = *ptr - b_test;
2194
if(ptr[offset0] > cb)
2195
if(ptr[offset5] > cb)
2196
if(ptr[offset2] > cb)
2197
if(ptr[offset9] > cb)
2198
if(ptr[offset1] > cb)
2199
if(ptr[offset6] > cb)
2200
if(ptr[offset3] > cb)
2201
if(ptr[offset4] > cb)
2202
goto is_a_corner;
2203
else
2204
if(ptr[offset10] > cb)
2205
if(ptr[offset11] > cb)
2206
goto is_a_corner;
2207
else
2208
goto is_not_a_corner;
2209
else
2210
goto is_not_a_corner;
2211
else
2212
if(ptr[offset8] > cb)
2213
if(ptr[offset10] > cb)
2214
if(ptr[offset11] > cb)
2215
goto is_a_corner;
2216
else
2217
if(ptr[offset4] > cb)
2218
if(ptr[offset7] > cb)
2219
goto is_a_corner;
2220
else
2221
goto is_not_a_corner;
2222
else
2223
goto is_not_a_corner;
2224
else
2225
goto is_not_a_corner;
2226
else
2227
goto is_not_a_corner;
2228
else
2229
if(ptr[offset11] > cb)
2230
if(ptr[offset3] > cb)
2231
if(ptr[offset4] > cb)
2232
goto is_a_corner;
2233
else
2234
if(ptr[offset10] > cb)
2235
goto is_a_corner;
2236
else
2237
goto is_not_a_corner;
2238
else
2239
if(ptr[offset8] > cb)
2240
if(ptr[offset10] > cb)
2241
goto is_a_corner;
2242
else
2243
goto is_not_a_corner;
2244
else
2245
goto is_not_a_corner;
2246
else
2247
goto is_not_a_corner;
2248
else
2249
if(ptr[offset6] > cb)
2250
if(ptr[offset7] > cb)
2251
if(ptr[offset8] > cb)
2252
if(ptr[offset4] > cb)
2253
if(ptr[offset3] > cb)
2254
goto is_a_corner;
2255
else
2256
if(ptr[offset10] > cb)
2257
goto is_a_corner;
2258
else
2259
goto is_not_a_corner;
2260
else
2261
if(ptr[offset10] > cb)
2262
if(ptr[offset11] > cb)
2263
goto is_a_corner;
2264
else
2265
goto is_not_a_corner;
2266
else
2267
goto is_not_a_corner;
2268
else
2269
goto is_not_a_corner;
2270
else
2271
goto is_not_a_corner;
2272
else
2273
goto is_not_a_corner;
2274
else
2275
if(ptr[offset3] > cb)
2276
if(ptr[offset4] > cb)
2277
if(ptr[offset1] > cb)
2278
if(ptr[offset6] > cb)
2279
goto is_a_corner;
2280
else
2281
if(ptr[offset11] > cb)
2282
goto is_a_corner;
2283
else
2284
goto is_not_a_corner;
2285
else
2286
if(ptr[offset6] > cb)
2287
if(ptr[offset7] > cb)
2288
if(ptr[offset8] > cb)
2289
goto is_a_corner;
2290
else
2291
goto is_not_a_corner;
2292
else
2293
goto is_not_a_corner;
2294
else
2295
goto is_not_a_corner;
2296
else
2297
goto is_not_a_corner;
2298
else
2299
goto is_not_a_corner;
2300
else
2301
if(ptr[offset9] > cb)
2302
if(ptr[offset7] > cb)
2303
if(ptr[offset8] > cb)
2304
if(ptr[offset1] > cb)
2305
if(ptr[offset10] > cb)
2306
if(ptr[offset11] > cb)
2307
goto is_a_corner;
2308
else
2309
if(ptr[offset6] > cb)
2310
if(ptr[offset4] > cb)
2311
goto is_a_corner;
2312
else
2313
goto is_not_a_corner;
2314
else
2315
goto is_not_a_corner;
2316
else
2317
if(ptr[offset6] > cb)
2318
if(ptr[offset3] > cb)
2319
if(ptr[offset4] > cb)
2320
goto is_a_corner;
2321
else
2322
goto is_not_a_corner;
2323
else
2324
goto is_not_a_corner;
2325
else
2326
goto is_not_a_corner;
2327
else
2328
if(ptr[offset6] > cb)
2329
if(ptr[offset4] > cb)
2330
if(ptr[offset3] > cb)
2331
goto is_a_corner;
2332
else
2333
if(ptr[offset10] > cb)
2334
goto is_a_corner;
2335
else
2336
goto is_not_a_corner;
2337
else
2338
if(ptr[offset10] > cb)
2339
if(ptr[offset11] > cb)
2340
goto is_a_corner;
2341
else
2342
goto is_not_a_corner;
2343
else
2344
goto is_not_a_corner;
2345
else
2346
goto is_not_a_corner;
2347
else
2348
goto is_not_a_corner;
2349
else
2350
goto is_not_a_corner;
2351
else
2352
goto is_not_a_corner;
2353
else
2354
if(ptr[offset5] < c_b)
2355
if(ptr[offset9] > cb)
2356
if(ptr[offset3] < c_b)
2357
if(ptr[offset4] < c_b)
2358
if(ptr[offset11] > cb)
2359
if(ptr[offset1] > cb)
2360
if(ptr[offset8] > cb)
2361
if(ptr[offset10] > cb)
2362
if(ptr[offset2] > cb)
2363
goto is_a_corner;
2364
else
2365
if(ptr[offset7] > cb)
2366
goto is_a_corner;
2367
else
2368
goto is_not_a_corner;
2369
else
2370
goto is_not_a_corner;
2371
else
2372
if(ptr[offset6] < c_b)
2373
if(ptr[offset2] < c_b)
2374
if(ptr[offset7] < c_b)
2375
if(ptr[offset8] < c_b)
2376
goto is_a_corner;
2377
else
2378
goto is_not_a_corner;
2379
else
2380
goto is_not_a_corner;
2381
else
2382
goto is_not_a_corner;
2383
else
2384
goto is_not_a_corner;
2385
else
2386
if(ptr[offset6] > cb)
2387
if(ptr[offset7] > cb)
2388
if(ptr[offset8] > cb)
2389
if(ptr[offset10] > cb)
2390
goto is_a_corner;
2391
else
2392
goto is_not_a_corner;
2393
else
2394
goto is_not_a_corner;
2395
else
2396
goto is_not_a_corner;
2397
else
2398
if(ptr[offset6] < c_b)
2399
if(ptr[offset2] < c_b)
2400
if(ptr[offset7] < c_b)
2401
if(ptr[offset1] < c_b)
2402
goto is_a_corner;
2403
else
2404
if(ptr[offset8] < c_b)
2405
goto is_a_corner;
2406
else
2407
goto is_not_a_corner;
2408
else
2409
goto is_not_a_corner;
2410
else
2411
goto is_not_a_corner;
2412
else
2413
goto is_not_a_corner;
2414
else
2415
if(ptr[offset2] < c_b)
2416
if(ptr[offset7] < c_b)
2417
if(ptr[offset1] < c_b)
2418
if(ptr[offset6] < c_b)
2419
goto is_a_corner;
2420
else
2421
goto is_not_a_corner;
2422
else
2423
if(ptr[offset6] < c_b)
2424
if(ptr[offset8] < c_b)
2425
goto is_a_corner;
2426
else
2427
goto is_not_a_corner;
2428
else
2429
goto is_not_a_corner;
2430
else
2431
goto is_not_a_corner;
2432
else
2433
goto is_not_a_corner;
2434
else
2435
if(ptr[offset11] > cb)
2436
if(ptr[offset8] > cb)
2437
if(ptr[offset10] > cb)
2438
if(ptr[offset1] > cb)
2439
if(ptr[offset2] > cb)
2440
goto is_a_corner;
2441
else
2442
if(ptr[offset7] > cb)
2443
goto is_a_corner;
2444
else
2445
goto is_not_a_corner;
2446
else
2447
if(ptr[offset6] > cb)
2448
if(ptr[offset7] > cb)
2449
goto is_a_corner;
2450
else
2451
goto is_not_a_corner;
2452
else
2453
goto is_not_a_corner;
2454
else
2455
goto is_not_a_corner;
2456
else
2457
goto is_not_a_corner;
2458
else
2459
goto is_not_a_corner;
2460
else
2461
if(ptr[offset11] > cb)
2462
if(ptr[offset10] > cb)
2463
if(ptr[offset3] > cb)
2464
if(ptr[offset1] > cb)
2465
if(ptr[offset2] > cb)
2466
goto is_a_corner;
2467
else
2468
if(ptr[offset7] > cb)
2469
if(ptr[offset8] > cb)
2470
goto is_a_corner;
2471
else
2472
goto is_not_a_corner;
2473
else
2474
goto is_not_a_corner;
2475
else
2476
if(ptr[offset6] > cb)
2477
if(ptr[offset7] > cb)
2478
if(ptr[offset8] > cb)
2479
goto is_a_corner;
2480
else
2481
goto is_not_a_corner;
2482
else
2483
goto is_not_a_corner;
2484
else
2485
goto is_not_a_corner;
2486
else
2487
if(ptr[offset8] > cb)
2488
if(ptr[offset1] > cb)
2489
if(ptr[offset2] > cb)
2490
goto is_a_corner;
2491
else
2492
if(ptr[offset7] > cb)
2493
goto is_a_corner;
2494
else
2495
goto is_not_a_corner;
2496
else
2497
if(ptr[offset6] > cb)
2498
if(ptr[offset7] > cb)
2499
goto is_a_corner;
2500
else
2501
goto is_not_a_corner;
2502
else
2503
goto is_not_a_corner;
2504
else
2505
goto is_not_a_corner;
2506
else
2507
goto is_not_a_corner;
2508
else
2509
goto is_not_a_corner;
2510
else
2511
if(ptr[offset9] < c_b)
2512
if(ptr[offset2] > cb)
2513
if(ptr[offset1] > cb)
2514
if(ptr[offset4] > cb)
2515
if(ptr[offset10] > cb)
2516
if(ptr[offset3] > cb)
2517
if(ptr[offset11] > cb)
2518
goto is_a_corner;
2519
else
2520
goto is_not_a_corner;
2521
else
2522
goto is_not_a_corner;
2523
else
2524
if(ptr[offset6] < c_b)
2525
if(ptr[offset7] < c_b)
2526
if(ptr[offset8] < c_b)
2527
if(ptr[offset11] < c_b)
2528
if(ptr[offset10] < c_b)
2529
goto is_a_corner;
2530
else
2531
goto is_not_a_corner;
2532
else
2533
goto is_not_a_corner;
2534
else
2535
goto is_not_a_corner;
2536
else
2537
goto is_not_a_corner;
2538
else
2539
goto is_not_a_corner;
2540
else
2541
if(ptr[offset6] < c_b)
2542
if(ptr[offset7] < c_b)
2543
if(ptr[offset8] < c_b)
2544
if(ptr[offset10] < c_b)
2545
if(ptr[offset4] < c_b)
2546
goto is_a_corner;
2547
else
2548
if(ptr[offset11] < c_b)
2549
goto is_a_corner;
2550
else
2551
goto is_not_a_corner;
2552
else
2553
if(ptr[offset3] < c_b)
2554
if(ptr[offset4] < c_b)
2555
goto is_a_corner;
2556
else
2557
goto is_not_a_corner;
2558
else
2559
goto is_not_a_corner;
2560
else
2561
goto is_not_a_corner;
2562
else
2563
goto is_not_a_corner;
2564
else
2565
goto is_not_a_corner;
2566
else
2567
if(ptr[offset6] < c_b)
2568
if(ptr[offset7] < c_b)
2569
if(ptr[offset8] < c_b)
2570
if(ptr[offset4] < c_b)
2571
if(ptr[offset3] < c_b)
2572
goto is_a_corner;
2573
else
2574
if(ptr[offset10] < c_b)
2575
goto is_a_corner;
2576
else
2577
goto is_not_a_corner;
2578
else
2579
if(ptr[offset10] < c_b)
2580
if(ptr[offset11] < c_b)
2581
goto is_a_corner;
2582
else
2583
goto is_not_a_corner;
2584
else
2585
goto is_not_a_corner;
2586
else
2587
goto is_not_a_corner;
2588
else
2589
goto is_not_a_corner;
2590
else
2591
goto is_not_a_corner;
2592
else
2593
if(ptr[offset6] < c_b)
2594
if(ptr[offset7] < c_b)
2595
if(ptr[offset8] < c_b)
2596
if(ptr[offset4] < c_b)
2597
if(ptr[offset3] < c_b)
2598
goto is_a_corner;
2599
else
2600
if(ptr[offset10] < c_b)
2601
goto is_a_corner;
2602
else
2603
goto is_not_a_corner;
2604
else
2605
if(ptr[offset10] < c_b)
2606
if(ptr[offset11] < c_b)
2607
goto is_a_corner;
2608
else
2609
goto is_not_a_corner;
2610
else
2611
goto is_not_a_corner;
2612
else
2613
if(ptr[offset2] < c_b)
2614
if(ptr[offset1] < c_b)
2615
if(ptr[offset3] < c_b)
2616
if(ptr[offset4] < c_b)
2617
goto is_a_corner;
2618
else
2619
goto is_not_a_corner;
2620
else
2621
goto is_not_a_corner;
2622
else
2623
goto is_not_a_corner;
2624
else
2625
goto is_not_a_corner;
2626
else
2627
goto is_not_a_corner;
2628
else
2629
goto is_not_a_corner;
2630
else
2631
if(ptr[offset2] > cb)
2632
if(ptr[offset1] > cb)
2633
if(ptr[offset3] > cb)
2634
if(ptr[offset4] > cb)
2635
if(ptr[offset10] > cb)
2636
if(ptr[offset11] > cb)
2637
goto is_a_corner;
2638
else
2639
goto is_not_a_corner;
2640
else
2641
goto is_not_a_corner;
2642
else
2643
goto is_not_a_corner;
2644
else
2645
goto is_not_a_corner;
2646
else
2647
goto is_not_a_corner;
2648
else
2649
if(ptr[offset2] < c_b)
2650
if(ptr[offset3] < c_b)
2651
if(ptr[offset4] < c_b)
2652
if(ptr[offset7] < c_b)
2653
if(ptr[offset1] < c_b)
2654
if(ptr[offset6] < c_b)
2655
goto is_a_corner;
2656
else
2657
goto is_not_a_corner;
2658
else
2659
if(ptr[offset6] < c_b)
2660
if(ptr[offset8] < c_b)
2661
goto is_a_corner;
2662
else
2663
goto is_not_a_corner;
2664
else
2665
goto is_not_a_corner;
2666
else
2667
goto is_not_a_corner;
2668
else
2669
goto is_not_a_corner;
2670
else
2671
goto is_not_a_corner;
2672
else
2673
goto is_not_a_corner;
2674
else
2675
if(ptr[offset2] > cb)
2676
if(ptr[offset10] > cb)
2677
if(ptr[offset11] > cb)
2678
if(ptr[offset9] > cb)
2679
if(ptr[offset1] > cb)
2680
if(ptr[offset3] > cb)
2681
goto is_a_corner;
2682
else
2683
if(ptr[offset8] > cb)
2684
goto is_a_corner;
2685
else
2686
goto is_not_a_corner;
2687
else
2688
if(ptr[offset6] > cb)
2689
if(ptr[offset7] > cb)
2690
if(ptr[offset8] > cb)
2691
goto is_a_corner;
2692
else
2693
goto is_not_a_corner;
2694
else
2695
goto is_not_a_corner;
2696
else
2697
goto is_not_a_corner;
2698
else
2699
if(ptr[offset1] > cb)
2700
if(ptr[offset3] > cb)
2701
if(ptr[offset4] > cb)
2702
goto is_a_corner;
2703
else
2704
goto is_not_a_corner;
2705
else
2706
goto is_not_a_corner;
2707
else
2708
goto is_not_a_corner;
2709
else
2710
goto is_not_a_corner;
2711
else
2712
goto is_not_a_corner;
2713
else
2714
if(ptr[offset9] > cb)
2715
if(ptr[offset7] > cb)
2716
if(ptr[offset8] > cb)
2717
if(ptr[offset10] > cb)
2718
if(ptr[offset11] > cb)
2719
if(ptr[offset1] > cb)
2720
goto is_a_corner;
2721
else
2722
if(ptr[offset6] > cb)
2723
goto is_a_corner;
2724
else
2725
goto is_not_a_corner;
2726
else
2727
goto is_not_a_corner;
2728
else
2729
goto is_not_a_corner;
2730
else
2731
goto is_not_a_corner;
2732
else
2733
goto is_not_a_corner;
2734
else
2735
goto is_not_a_corner;
2736
else if(ptr[offset0] < c_b)
2737
if(ptr[offset2] > cb)
2738
if(ptr[offset5] > cb)
2739
if(ptr[offset7] > cb)
2740
if(ptr[offset6] > cb)
2741
if(ptr[offset4] > cb)
2742
if(ptr[offset3] > cb)
2743
if(ptr[offset1] > cb)
2744
goto is_a_corner;
2745
else
2746
if(ptr[offset8] > cb)
2747
goto is_a_corner;
2748
else
2749
goto is_not_a_corner;
2750
else
2751
if(ptr[offset9] > cb)
2752
if(ptr[offset8] > cb)
2753
if(ptr[offset10] > cb)
2754
goto is_a_corner;
2755
else
2756
goto is_not_a_corner;
2757
else
2758
goto is_not_a_corner;
2759
else
2760
goto is_not_a_corner;
2761
else
2762
if(ptr[offset9] > cb)
2763
if(ptr[offset8] > cb)
2764
if(ptr[offset10] > cb)
2765
if(ptr[offset11] > cb)
2766
goto is_a_corner;
2767
else
2768
goto is_not_a_corner;
2769
else
2770
goto is_not_a_corner;
2771
else
2772
goto is_not_a_corner;
2773
else
2774
goto is_not_a_corner;
2775
else
2776
goto is_not_a_corner;
2777
else
2778
if(ptr[offset9] < c_b)
2779
if(ptr[offset8] < c_b)
2780
if(ptr[offset10] < c_b)
2781
if(ptr[offset11] < c_b)
2782
if(ptr[offset7] < c_b)
2783
if(ptr[offset1] < c_b)
2784
goto is_a_corner;
2785
else
2786
if(ptr[offset6] < c_b)
2787
goto is_a_corner;
2788
else
2789
goto is_not_a_corner;
2790
else
2791
goto is_not_a_corner;
2792
else
2793
goto is_not_a_corner;
2794
else
2795
goto is_not_a_corner;
2796
else
2797
goto is_not_a_corner;
2798
else
2799
goto is_not_a_corner;
2800
else
2801
if(ptr[offset9] < c_b)
2802
if(ptr[offset7] < c_b)
2803
if(ptr[offset8] < c_b)
2804
if(ptr[offset5] < c_b)
2805
if(ptr[offset1] < c_b)
2806
if(ptr[offset10] < c_b)
2807
if(ptr[offset11] < c_b)
2808
goto is_a_corner;
2809
else
2810
if(ptr[offset6] < c_b)
2811
if(ptr[offset4] < c_b)
2812
goto is_a_corner;
2813
else
2814
goto is_not_a_corner;
2815
else
2816
goto is_not_a_corner;
2817
else
2818
if(ptr[offset6] < c_b)
2819
if(ptr[offset3] < c_b)
2820
if(ptr[offset4] < c_b)
2821
goto is_a_corner;
2822
else
2823
goto is_not_a_corner;
2824
else
2825
goto is_not_a_corner;
2826
else
2827
goto is_not_a_corner;
2828
else
2829
if(ptr[offset6] < c_b)
2830
if(ptr[offset4] < c_b)
2831
if(ptr[offset3] < c_b)
2832
goto is_a_corner;
2833
else
2834
if(ptr[offset10] < c_b)
2835
goto is_a_corner;
2836
else
2837
goto is_not_a_corner;
2838
else
2839
if(ptr[offset10] < c_b)
2840
if(ptr[offset11] < c_b)
2841
goto is_a_corner;
2842
else
2843
goto is_not_a_corner;
2844
else
2845
goto is_not_a_corner;
2846
else
2847
goto is_not_a_corner;
2848
else
2849
if(ptr[offset10] < c_b)
2850
if(ptr[offset11] < c_b)
2851
if(ptr[offset1] < c_b)
2852
goto is_a_corner;
2853
else
2854
if(ptr[offset6] < c_b)
2855
goto is_a_corner;
2856
else
2857
goto is_not_a_corner;
2858
else
2859
goto is_not_a_corner;
2860
else
2861
goto is_not_a_corner;
2862
else
2863
goto is_not_a_corner;
2864
else
2865
goto is_not_a_corner;
2866
else
2867
goto is_not_a_corner;
2868
else
2869
if(ptr[offset2] < c_b)
2870
if(ptr[offset9] > cb)
2871
if(ptr[offset5] > cb)
2872
if(ptr[offset1] < c_b)
2873
if(ptr[offset4] < c_b)
2874
if(ptr[offset10] < c_b)
2875
if(ptr[offset3] < c_b)
2876
if(ptr[offset11] < c_b)
2877
goto is_a_corner;
2878
else
2879
goto is_not_a_corner;
2880
else
2881
goto is_not_a_corner;
2882
else
2883
if(ptr[offset6] > cb)
2884
if(ptr[offset7] > cb)
2885
if(ptr[offset8] > cb)
2886
if(ptr[offset11] > cb)
2887
if(ptr[offset10] > cb)
2888
goto is_a_corner;
2889
else
2890
goto is_not_a_corner;
2891
else
2892
goto is_not_a_corner;
2893
else
2894
goto is_not_a_corner;
2895
else
2896
goto is_not_a_corner;
2897
else
2898
goto is_not_a_corner;
2899
else
2900
if(ptr[offset6] > cb)
2901
if(ptr[offset7] > cb)
2902
if(ptr[offset8] > cb)
2903
if(ptr[offset10] > cb)
2904
if(ptr[offset4] > cb)
2905
goto is_a_corner;
2906
else
2907
if(ptr[offset11] > cb)
2908
goto is_a_corner;
2909
else
2910
goto is_not_a_corner;
2911
else
2912
if(ptr[offset3] > cb)
2913
if(ptr[offset4] > cb)
2914
goto is_a_corner;
2915
else
2916
goto is_not_a_corner;
2917
else
2918
goto is_not_a_corner;
2919
else
2920
goto is_not_a_corner;
2921
else
2922
goto is_not_a_corner;
2923
else
2924
goto is_not_a_corner;
2925
else
2926
if(ptr[offset6] > cb)
2927
if(ptr[offset7] > cb)
2928
if(ptr[offset8] > cb)
2929
if(ptr[offset4] > cb)
2930
if(ptr[offset3] > cb)
2931
goto is_a_corner;
2932
else
2933
if(ptr[offset10] > cb)
2934
goto is_a_corner;
2935
else
2936
goto is_not_a_corner;
2937
else
2938
if(ptr[offset10] > cb)
2939
if(ptr[offset11] > cb)
2940
goto is_a_corner;
2941
else
2942
goto is_not_a_corner;
2943
else
2944
goto is_not_a_corner;
2945
else
2946
goto is_not_a_corner;
2947
else
2948
goto is_not_a_corner;
2949
else
2950
goto is_not_a_corner;
2951
else
2952
if(ptr[offset3] < c_b)
2953
if(ptr[offset4] < c_b)
2954
if(ptr[offset5] < c_b)
2955
if(ptr[offset1] < c_b)
2956
if(ptr[offset6] < c_b)
2957
goto is_a_corner;
2958
else
2959
if(ptr[offset11] < c_b)
2960
goto is_a_corner;
2961
else
2962
goto is_not_a_corner;
2963
else
2964
if(ptr[offset6] < c_b)
2965
if(ptr[offset7] < c_b)
2966
if(ptr[offset8] < c_b)
2967
goto is_a_corner;
2968
else
2969
goto is_not_a_corner;
2970
else
2971
goto is_not_a_corner;
2972
else
2973
goto is_not_a_corner;
2974
else
2975
if(ptr[offset1] < c_b)
2976
if(ptr[offset10] < c_b)
2977
if(ptr[offset11] < c_b)
2978
goto is_a_corner;
2979
else
2980
goto is_not_a_corner;
2981
else
2982
goto is_not_a_corner;
2983
else
2984
goto is_not_a_corner;
2985
else
2986
goto is_not_a_corner;
2987
else
2988
goto is_not_a_corner;
2989
else
2990
if(ptr[offset9] < c_b)
2991
if(ptr[offset5] < c_b)
2992
if(ptr[offset1] < c_b)
2993
if(ptr[offset6] < c_b)
2994
if(ptr[offset3] < c_b)
2995
if(ptr[offset4] < c_b)
2996
goto is_a_corner;
2997
else
2998
if(ptr[offset10] < c_b)
2999
if(ptr[offset11] < c_b)
3000
goto is_a_corner;
3001
else
3002
goto is_not_a_corner;
3003
else
3004
goto is_not_a_corner;
3005
else
3006
if(ptr[offset8] < c_b)
3007
if(ptr[offset10] < c_b)
3008
if(ptr[offset11] < c_b)
3009
goto is_a_corner;
3010
else
3011
if(ptr[offset4] < c_b)
3012
if(ptr[offset7] < c_b)
3013
goto is_a_corner;
3014
else
3015
goto is_not_a_corner;
3016
else
3017
goto is_not_a_corner;
3018
else
3019
goto is_not_a_corner;
3020
else
3021
goto is_not_a_corner;
3022
else
3023
if(ptr[offset11] < c_b)
3024
if(ptr[offset3] < c_b)
3025
if(ptr[offset4] < c_b)
3026
goto is_a_corner;
3027
else
3028
if(ptr[offset10] < c_b)
3029
goto is_a_corner;
3030
else
3031
goto is_not_a_corner;
3032
else
3033
if(ptr[offset8] < c_b)
3034
if(ptr[offset10] < c_b)
3035
goto is_a_corner;
3036
else
3037
goto is_not_a_corner;
3038
else
3039
goto is_not_a_corner;
3040
else
3041
goto is_not_a_corner;
3042
else
3043
if(ptr[offset6] < c_b)
3044
if(ptr[offset7] < c_b)
3045
if(ptr[offset8] < c_b)
3046
if(ptr[offset4] < c_b)
3047
if(ptr[offset3] < c_b)
3048
goto is_a_corner;
3049
else
3050
if(ptr[offset10] < c_b)
3051
goto is_a_corner;
3052
else
3053
goto is_not_a_corner;
3054
else
3055
if(ptr[offset10] < c_b)
3056
if(ptr[offset11] < c_b)
3057
goto is_a_corner;
3058
else
3059
goto is_not_a_corner;
3060
else
3061
goto is_not_a_corner;
3062
else
3063
goto is_not_a_corner;
3064
else
3065
goto is_not_a_corner;
3066
else
3067
goto is_not_a_corner;
3068
else
3069
if(ptr[offset10] < c_b)
3070
if(ptr[offset11] < c_b)
3071
if(ptr[offset1] < c_b)
3072
if(ptr[offset3] < c_b)
3073
goto is_a_corner;
3074
else
3075
if(ptr[offset8] < c_b)
3076
goto is_a_corner;
3077
else
3078
goto is_not_a_corner;
3079
else
3080
if(ptr[offset6] < c_b)
3081
if(ptr[offset7] < c_b)
3082
if(ptr[offset8] < c_b)
3083
goto is_a_corner;
3084
else
3085
goto is_not_a_corner;
3086
else
3087
goto is_not_a_corner;
3088
else
3089
goto is_not_a_corner;
3090
else
3091
goto is_not_a_corner;
3092
else
3093
goto is_not_a_corner;
3094
else
3095
if(ptr[offset3] < c_b)
3096
if(ptr[offset4] < c_b)
3097
if(ptr[offset5] < c_b)
3098
if(ptr[offset1] < c_b)
3099
if(ptr[offset6] < c_b)
3100
goto is_a_corner;
3101
else
3102
if(ptr[offset11] < c_b)
3103
goto is_a_corner;
3104
else
3105
goto is_not_a_corner;
3106
else
3107
if(ptr[offset6] < c_b)
3108
if(ptr[offset7] < c_b)
3109
if(ptr[offset8] < c_b)
3110
goto is_a_corner;
3111
else
3112
goto is_not_a_corner;
3113
else
3114
goto is_not_a_corner;
3115
else
3116
goto is_not_a_corner;
3117
else
3118
if(ptr[offset1] < c_b)
3119
if(ptr[offset10] < c_b)
3120
if(ptr[offset11] < c_b)
3121
goto is_a_corner;
3122
else
3123
goto is_not_a_corner;
3124
else
3125
goto is_not_a_corner;
3126
else
3127
goto is_not_a_corner;
3128
else
3129
goto is_not_a_corner;
3130
else
3131
goto is_not_a_corner;
3132
else
3133
if(ptr[offset9] < c_b)
3134
if(ptr[offset7] < c_b)
3135
if(ptr[offset8] < c_b)
3136
if(ptr[offset5] < c_b)
3137
if(ptr[offset1] < c_b)
3138
if(ptr[offset10] < c_b)
3139
if(ptr[offset11] < c_b)
3140
goto is_a_corner;
3141
else
3142
if(ptr[offset6] < c_b)
3143
if(ptr[offset4] < c_b)
3144
goto is_a_corner;
3145
else
3146
goto is_not_a_corner;
3147
else
3148
goto is_not_a_corner;
3149
else
3150
if(ptr[offset6] < c_b)
3151
if(ptr[offset3] < c_b)
3152
if(ptr[offset4] < c_b)
3153
goto is_a_corner;
3154
else
3155
goto is_not_a_corner;
3156
else
3157
goto is_not_a_corner;
3158
else
3159
goto is_not_a_corner;
3160
else
3161
if(ptr[offset6] < c_b)
3162
if(ptr[offset4] < c_b)
3163
if(ptr[offset3] < c_b)
3164
goto is_a_corner;
3165
else
3166
if(ptr[offset10] < c_b)
3167
goto is_a_corner;
3168
else
3169
goto is_not_a_corner;
3170
else
3171
if(ptr[offset10] < c_b)
3172
if(ptr[offset11] < c_b)
3173
goto is_a_corner;
3174
else
3175
goto is_not_a_corner;
3176
else
3177
goto is_not_a_corner;
3178
else
3179
goto is_not_a_corner;
3180
else
3181
if(ptr[offset10] < c_b)
3182
if(ptr[offset11] < c_b)
3183
if(ptr[offset1] < c_b)
3184
goto is_a_corner;
3185
else
3186
if(ptr[offset6] < c_b)
3187
goto is_a_corner;
3188
else
3189
goto is_not_a_corner;
3190
else
3191
goto is_not_a_corner;
3192
else
3193
goto is_not_a_corner;
3194
else
3195
goto is_not_a_corner;
3196
else
3197
goto is_not_a_corner;
3198
else
3199
if(ptr[offset5] > cb)
3200
if(ptr[offset9] > cb)
3201
if(ptr[offset6] > cb)
3202
if(ptr[offset7] > cb)
3203
if(ptr[offset8] > cb)
3204
if(ptr[offset4] > cb)
3205
if(ptr[offset3] > cb)
3206
goto is_a_corner;
3207
else
3208
if(ptr[offset10] > cb)
3209
goto is_a_corner;
3210
else
3211
goto is_not_a_corner;
3212
else
3213
if(ptr[offset10] > cb)
3214
if(ptr[offset11] > cb)
3215
goto is_a_corner;
3216
else
3217
goto is_not_a_corner;
3218
else
3219
goto is_not_a_corner;
3220
else
3221
goto is_not_a_corner;
3222
else
3223
goto is_not_a_corner;
3224
else
3225
goto is_not_a_corner;
3226
else
3227
goto is_not_a_corner;
3228
else
3229
goto is_not_a_corner;
3230
else
3231
if(ptr[offset5] > cb)
3232
if(ptr[offset9] > cb)
3233
if(ptr[offset6] > cb)
3234
if(ptr[offset7] > cb)
3235
if(ptr[offset4] > cb)
3236
if(ptr[offset3] > cb)
3237
if(ptr[offset8] > cb)
3238
goto is_a_corner;
3239
else
3240
if(ptr[offset1] > cb)
3241
if(ptr[offset2] > cb)
3242
goto is_a_corner;
3243
else
3244
goto is_not_a_corner;
3245
else
3246
goto is_not_a_corner;
3247
else
3248
if(ptr[offset8] > cb)
3249
if(ptr[offset10] > cb)
3250
goto is_a_corner;
3251
else
3252
goto is_not_a_corner;
3253
else
3254
goto is_not_a_corner;
3255
else
3256
if(ptr[offset11] > cb)
3257
if(ptr[offset8] > cb)
3258
if(ptr[offset10] > cb)
3259
goto is_a_corner;
3260
else
3261
goto is_not_a_corner;
3262
else
3263
goto is_not_a_corner;
3264
else
3265
goto is_not_a_corner;
3266
else
3267
goto is_not_a_corner;
3268
else
3269
goto is_not_a_corner;
3270
else
3271
if(ptr[offset2] > cb)
3272
if(ptr[offset3] > cb)
3273
if(ptr[offset4] > cb)
3274
if(ptr[offset7] > cb)
3275
if(ptr[offset1] > cb)
3276
if(ptr[offset6] > cb)
3277
goto is_a_corner;
3278
else
3279
goto is_not_a_corner;
3280
else
3281
if(ptr[offset6] > cb)
3282
if(ptr[offset8] > cb)
3283
goto is_a_corner;
3284
else
3285
goto is_not_a_corner;
3286
else
3287
goto is_not_a_corner;
3288
else
3289
goto is_not_a_corner;
3290
else
3291
goto is_not_a_corner;
3292
else
3293
goto is_not_a_corner;
3294
else
3295
goto is_not_a_corner;
3296
else
3297
if(ptr[offset5] < c_b)
3298
if(ptr[offset9] < c_b)
3299
if(ptr[offset6] < c_b)
3300
if(ptr[offset7] < c_b)
3301
if(ptr[offset4] < c_b)
3302
if(ptr[offset3] < c_b)
3303
if(ptr[offset8] < c_b)
3304
goto is_a_corner;
3305
else
3306
if(ptr[offset1] < c_b)
3307
if(ptr[offset2] < c_b)
3308
goto is_a_corner;
3309
else
3310
goto is_not_a_corner;
3311
else
3312
goto is_not_a_corner;
3313
else
3314
if(ptr[offset8] < c_b)
3315
if(ptr[offset10] < c_b)
3316
goto is_a_corner;
3317
else
3318
goto is_not_a_corner;
3319
else
3320
goto is_not_a_corner;
3321
else
3322
if(ptr[offset11] < c_b)
3323
if(ptr[offset8] < c_b)
3324
if(ptr[offset10] < c_b)
3325
goto is_a_corner;
3326
else
3327
goto is_not_a_corner;
3328
else
3329
goto is_not_a_corner;
3330
else
3331
goto is_not_a_corner;
3332
else
3333
goto is_not_a_corner;
3334
else
3335
goto is_not_a_corner;
3336
else
3337
if(ptr[offset2] < c_b)
3338
if(ptr[offset3] < c_b)
3339
if(ptr[offset4] < c_b)
3340
if(ptr[offset7] < c_b)
3341
if(ptr[offset1] < c_b)
3342
if(ptr[offset6] < c_b)
3343
goto is_a_corner;
3344
else
3345
goto is_not_a_corner;
3346
else
3347
if(ptr[offset6] < c_b)
3348
if(ptr[offset8] < c_b)
3349
goto is_a_corner;
3350
else
3351
goto is_not_a_corner;
3352
else
3353
goto is_not_a_corner;
3354
else
3355
goto is_not_a_corner;
3356
else
3357
goto is_not_a_corner;
3358
else
3359
goto is_not_a_corner;
3360
else
3361
goto is_not_a_corner;
3362
else
3363
goto is_not_a_corner;
3364
3365
is_a_corner:
3366
bmin = b_test;
3367
goto end;
3368
3369
is_not_a_corner:
3370
bmax = b_test;
3371
goto end;
3372
3373
end:
3374
3375
if(bmin == bmax - 1 || bmin == bmax)
3376
return bmin;
3377
b_test = (bmin + bmax) / 2;
3378
}
3379
}
3380
3381
//12 pixel mask in square format
3382
template<>
3383
int agast_cornerScore<AgastFeatureDetector::AGAST_7_12s>(const uchar* ptr, const int pixel[], int threshold)
3384
{
3385
int bmin = threshold;
3386
int bmax = 255;
3387
int b_test = (bmax + bmin)/2;
3388
3389
short offset0 = (short) pixel[0];
3390
short offset1 = (short) pixel[1];
3391
short offset2 = (short) pixel[2];
3392
short offset3 = (short) pixel[3];
3393
short offset4 = (short) pixel[4];
3394
short offset5 = (short) pixel[5];
3395
short offset6 = (short) pixel[6];
3396
short offset7 = (short) pixel[7];
3397
short offset8 = (short) pixel[8];
3398
short offset9 = (short) pixel[9];
3399
short offset10 = (short) pixel[10];
3400
short offset11 = (short) pixel[11];
3401
3402
while(true)
3403
{
3404
const int cb = *ptr + b_test;
3405
const int c_b = *ptr - b_test;
3406
if(ptr[offset0] > cb)
3407
if(ptr[offset5] > cb)
3408
if(ptr[offset2] < c_b)
3409
if(ptr[offset7] > cb)
3410
if(ptr[offset9] < c_b)
3411
goto is_not_a_corner;
3412
else
3413
if(ptr[offset9] > cb)
3414
if(ptr[offset1] < c_b)
3415
if(ptr[offset6] < c_b)
3416
goto is_not_a_corner;
3417
else
3418
if(ptr[offset6] > cb)
3419
if(ptr[offset8] > cb)
3420
if(ptr[offset4] > cb)
3421
if(ptr[offset3] > cb)
3422
goto is_a_corner;
3423
else
3424
if(ptr[offset10] > cb)
3425
goto is_a_corner;
3426
else
3427
goto is_not_a_corner;
3428
else
3429
if(ptr[offset10] > cb)
3430
if(ptr[offset11] > cb)
3431
goto is_a_corner;
3432
else
3433
goto is_not_a_corner;
3434
else
3435
goto is_not_a_corner;
3436
else
3437
goto is_not_a_corner;
3438
else
3439
goto is_not_a_corner;
3440
else
3441
if(ptr[offset1] > cb)
3442
if(ptr[offset6] < c_b)
3443
if(ptr[offset8] > cb)
3444
if(ptr[offset10] > cb)
3445
if(ptr[offset11] > cb)
3446
goto is_a_corner;
3447
else
3448
goto is_not_a_corner;
3449
else
3450
goto is_not_a_corner;
3451
else
3452
goto is_not_a_corner;
3453
else
3454
if(ptr[offset6] > cb)
3455
if(ptr[offset8] > cb)
3456
if(ptr[offset4] > cb)
3457
if(ptr[offset3] > cb)
3458
goto is_a_corner;
3459
else
3460
if(ptr[offset10] > cb)
3461
goto is_a_corner;
3462
else
3463
goto is_not_a_corner;
3464
else
3465
if(ptr[offset10] > cb)
3466
if(ptr[offset11] > cb)
3467
goto is_a_corner;
3468
else
3469
goto is_not_a_corner;
3470
else
3471
goto is_not_a_corner;
3472
else
3473
goto is_not_a_corner;
3474
else
3475
if(ptr[offset8] > cb)
3476
if(ptr[offset10] > cb)
3477
if(ptr[offset11] > cb)
3478
goto is_a_corner;
3479
else
3480
goto is_not_a_corner;
3481
else
3482
goto is_not_a_corner;
3483
else
3484
goto is_not_a_corner;
3485
else
3486
if(ptr[offset6] < c_b)
3487
goto is_not_a_corner;
3488
else
3489
if(ptr[offset6] > cb)
3490
if(ptr[offset8] > cb)
3491
if(ptr[offset4] > cb)
3492
if(ptr[offset3] > cb)
3493
goto is_a_corner;
3494
else
3495
if(ptr[offset10] > cb)
3496
goto is_a_corner;
3497
else
3498
goto is_not_a_corner;
3499
else
3500
if(ptr[offset10] > cb)
3501
if(ptr[offset11] > cb)
3502
goto is_a_corner;
3503
else
3504
goto is_not_a_corner;
3505
else
3506
goto is_not_a_corner;
3507
else
3508
goto is_not_a_corner;
3509
else
3510
goto is_not_a_corner;
3511
else
3512
goto is_not_a_corner;
3513
else
3514
goto is_not_a_corner;
3515
else
3516
if(ptr[offset2] > cb)
3517
if(ptr[offset7] < c_b)
3518
if(ptr[offset9] < c_b)
3519
if(ptr[offset1] < c_b)
3520
goto is_not_a_corner;
3521
else
3522
if(ptr[offset1] > cb)
3523
if(ptr[offset6] > cb)
3524
if(ptr[offset3] > cb)
3525
if(ptr[offset4] > cb)
3526
goto is_a_corner;
3527
else
3528
goto is_not_a_corner;
3529
else
3530
goto is_not_a_corner;
3531
else
3532
if(ptr[offset6] < c_b)
3533
if(ptr[offset3] > cb)
3534
if(ptr[offset4] > cb)
3535
if(ptr[offset11] > cb)
3536
goto is_a_corner;
3537
else
3538
goto is_not_a_corner;
3539
else
3540
goto is_not_a_corner;
3541
else
3542
goto is_not_a_corner;
3543
else
3544
if(ptr[offset3] > cb)
3545
if(ptr[offset4] > cb)
3546
if(ptr[offset11] > cb)
3547
goto is_a_corner;
3548
else
3549
goto is_not_a_corner;
3550
else
3551
goto is_not_a_corner;
3552
else
3553
goto is_not_a_corner;
3554
else
3555
goto is_not_a_corner;
3556
else
3557
if(ptr[offset9] > cb)
3558
if(ptr[offset1] < c_b)
3559
goto is_not_a_corner;
3560
else
3561
if(ptr[offset1] > cb)
3562
if(ptr[offset6] < c_b)
3563
if(ptr[offset11] > cb)
3564
if(ptr[offset3] > cb)
3565
if(ptr[offset4] > cb)
3566
goto is_a_corner;
3567
else
3568
if(ptr[offset10] > cb)
3569
goto is_a_corner;
3570
else
3571
goto is_not_a_corner;
3572
else
3573
if(ptr[offset8] > cb)
3574
if(ptr[offset10] > cb)
3575
goto is_a_corner;
3576
else
3577
goto is_not_a_corner;
3578
else
3579
goto is_not_a_corner;
3580
else
3581
goto is_not_a_corner;
3582
else
3583
if(ptr[offset6] > cb)
3584
if(ptr[offset3] > cb)
3585
if(ptr[offset4] > cb)
3586
goto is_a_corner;
3587
else
3588
if(ptr[offset10] > cb)
3589
if(ptr[offset11] > cb)
3590
goto is_a_corner;
3591
else
3592
goto is_not_a_corner;
3593
else
3594
goto is_not_a_corner;
3595
else
3596
if(ptr[offset8] > cb)
3597
if(ptr[offset10] > cb)
3598
if(ptr[offset11] > cb)
3599
goto is_a_corner;
3600
else
3601
goto is_not_a_corner;
3602
else
3603
goto is_not_a_corner;
3604
else
3605
goto is_not_a_corner;
3606
else
3607
if(ptr[offset11] > cb)
3608
if(ptr[offset3] > cb)
3609
if(ptr[offset4] > cb)
3610
goto is_a_corner;
3611
else
3612
if(ptr[offset10] > cb)
3613
goto is_a_corner;
3614
else
3615
goto is_not_a_corner;
3616
else
3617
if(ptr[offset8] > cb)
3618
if(ptr[offset10] > cb)
3619
goto is_a_corner;
3620
else
3621
goto is_not_a_corner;
3622
else
3623
goto is_not_a_corner;
3624
else
3625
goto is_not_a_corner;
3626
else
3627
goto is_not_a_corner;
3628
else
3629
if(ptr[offset1] < c_b)
3630
goto is_not_a_corner;
3631
else
3632
if(ptr[offset1] > cb)
3633
if(ptr[offset6] > cb)
3634
if(ptr[offset3] > cb)
3635
if(ptr[offset4] > cb)
3636
goto is_a_corner;
3637
else
3638
goto is_not_a_corner;
3639
else
3640
goto is_not_a_corner;
3641
else
3642
if(ptr[offset6] < c_b)
3643
if(ptr[offset3] > cb)
3644
if(ptr[offset4] > cb)
3645
if(ptr[offset11] > cb)
3646
goto is_a_corner;
3647
else
3648
goto is_not_a_corner;
3649
else
3650
goto is_not_a_corner;
3651
else
3652
goto is_not_a_corner;
3653
else
3654
if(ptr[offset3] > cb)
3655
if(ptr[offset4] > cb)
3656
if(ptr[offset11] > cb)
3657
goto is_a_corner;
3658
else
3659
goto is_not_a_corner;
3660
else
3661
goto is_not_a_corner;
3662
else
3663
goto is_not_a_corner;
3664
else
3665
goto is_not_a_corner;
3666
else
3667
if(ptr[offset9] < c_b)
3668
if(ptr[offset7] > cb)
3669
if(ptr[offset1] < c_b)
3670
if(ptr[offset6] < c_b)
3671
goto is_not_a_corner;
3672
else
3673
if(ptr[offset6] > cb)
3674
if(ptr[offset3] > cb)
3675
if(ptr[offset4] > cb)
3676
if(ptr[offset8] > cb)
3677
goto is_a_corner;
3678
else
3679
goto is_not_a_corner;
3680
else
3681
goto is_not_a_corner;
3682
else
3683
goto is_not_a_corner;
3684
else
3685
goto is_not_a_corner;
3686
else
3687
if(ptr[offset1] > cb)
3688
if(ptr[offset6] > cb)
3689
if(ptr[offset3] > cb)
3690
if(ptr[offset4] > cb)
3691
goto is_a_corner;
3692
else
3693
goto is_not_a_corner;
3694
else
3695
goto is_not_a_corner;
3696
else
3697
if(ptr[offset6] < c_b)
3698
if(ptr[offset3] > cb)
3699
if(ptr[offset4] > cb)
3700
if(ptr[offset11] > cb)
3701
goto is_a_corner;
3702
else
3703
goto is_not_a_corner;
3704
else
3705
goto is_not_a_corner;
3706
else
3707
goto is_not_a_corner;
3708
else
3709
if(ptr[offset3] > cb)
3710
if(ptr[offset4] > cb)
3711
if(ptr[offset11] > cb)
3712
goto is_a_corner;
3713
else
3714
goto is_not_a_corner;
3715
else
3716
goto is_not_a_corner;
3717
else
3718
goto is_not_a_corner;
3719
else
3720
if(ptr[offset6] < c_b)
3721
goto is_not_a_corner;
3722
else
3723
if(ptr[offset6] > cb)
3724
if(ptr[offset3] > cb)
3725
if(ptr[offset4] > cb)
3726
if(ptr[offset8] > cb)
3727
goto is_a_corner;
3728
else
3729
goto is_not_a_corner;
3730
else
3731
goto is_not_a_corner;
3732
else
3733
goto is_not_a_corner;
3734
else
3735
goto is_not_a_corner;
3736
else
3737
if(ptr[offset1] < c_b)
3738
goto is_not_a_corner;
3739
else
3740
if(ptr[offset1] > cb)
3741
if(ptr[offset6] > cb)
3742
if(ptr[offset3] > cb)
3743
if(ptr[offset4] > cb)
3744
goto is_a_corner;
3745
else
3746
goto is_not_a_corner;
3747
else
3748
goto is_not_a_corner;
3749
else
3750
if(ptr[offset6] < c_b)
3751
if(ptr[offset3] > cb)
3752
if(ptr[offset4] > cb)
3753
if(ptr[offset11] > cb)
3754
goto is_a_corner;
3755
else
3756
goto is_not_a_corner;
3757
else
3758
goto is_not_a_corner;
3759
else
3760
goto is_not_a_corner;
3761
else
3762
if(ptr[offset3] > cb)
3763
if(ptr[offset4] > cb)
3764
if(ptr[offset11] > cb)
3765
goto is_a_corner;
3766
else
3767
goto is_not_a_corner;
3768
else
3769
goto is_not_a_corner;
3770
else
3771
goto is_not_a_corner;
3772
else
3773
goto is_not_a_corner;
3774
else
3775
if(ptr[offset7] > cb)
3776
if(ptr[offset9] > cb)
3777
if(ptr[offset1] < c_b)
3778
if(ptr[offset6] < c_b)
3779
goto is_not_a_corner;
3780
else
3781
if(ptr[offset6] > cb)
3782
if(ptr[offset8] > cb)
3783
if(ptr[offset4] > cb)
3784
if(ptr[offset3] > cb)
3785
goto is_a_corner;
3786
else
3787
if(ptr[offset10] > cb)
3788
goto is_a_corner;
3789
else
3790
goto is_not_a_corner;
3791
else
3792
if(ptr[offset10] > cb)
3793
if(ptr[offset11] > cb)
3794
goto is_a_corner;
3795
else
3796
goto is_not_a_corner;
3797
else
3798
goto is_not_a_corner;
3799
else
3800
goto is_not_a_corner;
3801
else
3802
goto is_not_a_corner;
3803
else
3804
if(ptr[offset1] > cb)
3805
if(ptr[offset6] < c_b)
3806
if(ptr[offset11] > cb)
3807
if(ptr[offset3] > cb)
3808
if(ptr[offset4] > cb)
3809
goto is_a_corner;
3810
else
3811
if(ptr[offset10] > cb)
3812
goto is_a_corner;
3813
else
3814
goto is_not_a_corner;
3815
else
3816
if(ptr[offset8] > cb)
3817
if(ptr[offset10] > cb)
3818
goto is_a_corner;
3819
else
3820
goto is_not_a_corner;
3821
else
3822
goto is_not_a_corner;
3823
else
3824
goto is_not_a_corner;
3825
else
3826
if(ptr[offset6] > cb)
3827
if(ptr[offset3] > cb)
3828
if(ptr[offset4] > cb)
3829
goto is_a_corner;
3830
else
3831
if(ptr[offset10] > cb)
3832
if(ptr[offset11] > cb)
3833
goto is_a_corner;
3834
else
3835
goto is_not_a_corner;
3836
else
3837
goto is_not_a_corner;
3838
else
3839
if(ptr[offset8] > cb)
3840
if(ptr[offset10] > cb)
3841
if(ptr[offset4] > cb)
3842
goto is_a_corner;
3843
else
3844
if(ptr[offset11] > cb)
3845
goto is_a_corner;
3846
else
3847
goto is_not_a_corner;
3848
else
3849
goto is_not_a_corner;
3850
else
3851
goto is_not_a_corner;
3852
else
3853
if(ptr[offset11] > cb)
3854
if(ptr[offset3] > cb)
3855
if(ptr[offset4] > cb)
3856
goto is_a_corner;
3857
else
3858
if(ptr[offset10] > cb)
3859
goto is_a_corner;
3860
else
3861
goto is_not_a_corner;
3862
else
3863
if(ptr[offset8] > cb)
3864
if(ptr[offset10] > cb)
3865
goto is_a_corner;
3866
else
3867
goto is_not_a_corner;
3868
else
3869
goto is_not_a_corner;
3870
else
3871
goto is_not_a_corner;
3872
else
3873
if(ptr[offset6] < c_b)
3874
goto is_not_a_corner;
3875
else
3876
if(ptr[offset6] > cb)
3877
if(ptr[offset8] > cb)
3878
if(ptr[offset4] > cb)
3879
if(ptr[offset3] > cb)
3880
goto is_a_corner;
3881
else
3882
if(ptr[offset10] > cb)
3883
goto is_a_corner;
3884
else
3885
goto is_not_a_corner;
3886
else
3887
if(ptr[offset10] > cb)
3888
if(ptr[offset11] > cb)
3889
goto is_a_corner;
3890
else
3891
goto is_not_a_corner;
3892
else
3893
goto is_not_a_corner;
3894
else
3895
goto is_not_a_corner;
3896
else
3897
goto is_not_a_corner;
3898
else
3899
if(ptr[offset1] < c_b)
3900
if(ptr[offset6] < c_b)
3901
goto is_not_a_corner;
3902
else
3903
if(ptr[offset6] > cb)
3904
if(ptr[offset3] > cb)
3905
if(ptr[offset4] > cb)
3906
if(ptr[offset8] > cb)
3907
goto is_a_corner;
3908
else
3909
goto is_not_a_corner;
3910
else
3911
goto is_not_a_corner;
3912
else
3913
goto is_not_a_corner;
3914
else
3915
goto is_not_a_corner;
3916
else
3917
if(ptr[offset1] > cb)
3918
if(ptr[offset6] > cb)
3919
if(ptr[offset3] > cb)
3920
if(ptr[offset4] > cb)
3921
goto is_a_corner;
3922
else
3923
goto is_not_a_corner;
3924
else
3925
goto is_not_a_corner;
3926
else
3927
if(ptr[offset6] < c_b)
3928
if(ptr[offset3] > cb)
3929
if(ptr[offset4] > cb)
3930
if(ptr[offset11] > cb)
3931
goto is_a_corner;
3932
else
3933
goto is_not_a_corner;
3934
else
3935
goto is_not_a_corner;
3936
else
3937
goto is_not_a_corner;
3938
else
3939
if(ptr[offset3] > cb)
3940
if(ptr[offset4] > cb)
3941
if(ptr[offset11] > cb)
3942
goto is_a_corner;
3943
else
3944
goto is_not_a_corner;
3945
else
3946
goto is_not_a_corner;
3947
else
3948
goto is_not_a_corner;
3949
else
3950
if(ptr[offset6] < c_b)
3951
goto is_not_a_corner;
3952
else
3953
if(ptr[offset6] > cb)
3954
if(ptr[offset3] > cb)
3955
if(ptr[offset4] > cb)
3956
if(ptr[offset8] > cb)
3957
goto is_a_corner;
3958
else
3959
goto is_not_a_corner;
3960
else
3961
goto is_not_a_corner;
3962
else
3963
goto is_not_a_corner;
3964
else
3965
goto is_not_a_corner;
3966
else
3967
if(ptr[offset9] > cb)
3968
if(ptr[offset1] < c_b)
3969
goto is_not_a_corner;
3970
else
3971
if(ptr[offset1] > cb)
3972
if(ptr[offset6] < c_b)
3973
if(ptr[offset11] > cb)
3974
if(ptr[offset3] > cb)
3975
if(ptr[offset4] > cb)
3976
goto is_a_corner;
3977
else
3978
if(ptr[offset10] > cb)
3979
goto is_a_corner;
3980
else
3981
goto is_not_a_corner;
3982
else
3983
if(ptr[offset8] > cb)
3984
if(ptr[offset10] > cb)
3985
goto is_a_corner;
3986
else
3987
goto is_not_a_corner;
3988
else
3989
goto is_not_a_corner;
3990
else
3991
goto is_not_a_corner;
3992
else
3993
if(ptr[offset6] > cb)
3994
if(ptr[offset3] > cb)
3995
if(ptr[offset4] > cb)
3996
goto is_a_corner;
3997
else
3998
if(ptr[offset10] > cb)
3999
if(ptr[offset11] > cb)
4000
goto is_a_corner;
4001
else
4002
goto is_not_a_corner;
4003
else
4004
goto is_not_a_corner;
4005
else
4006
if(ptr[offset8] > cb)
4007
if(ptr[offset10] > cb)
4008
if(ptr[offset11] > cb)
4009
goto is_a_corner;
4010
else
4011
goto is_not_a_corner;
4012
else
4013
goto is_not_a_corner;
4014
else
4015
goto is_not_a_corner;
4016
else
4017
if(ptr[offset11] > cb)
4018
if(ptr[offset3] > cb)
4019
if(ptr[offset4] > cb)
4020
goto is_a_corner;
4021
else
4022
if(ptr[offset10] > cb)
4023
goto is_a_corner;
4024
else
4025
goto is_not_a_corner;
4026
else
4027
if(ptr[offset8] > cb)
4028
if(ptr[offset10] > cb)
4029
goto is_a_corner;
4030
else
4031
goto is_not_a_corner;
4032
else
4033
goto is_not_a_corner;
4034
else
4035
goto is_not_a_corner;
4036
else
4037
goto is_not_a_corner;
4038
else
4039
if(ptr[offset1] < c_b)
4040
goto is_not_a_corner;
4041
else
4042
if(ptr[offset1] > cb)
4043
if(ptr[offset6] > cb)
4044
if(ptr[offset3] > cb)
4045
if(ptr[offset4] > cb)
4046
goto is_a_corner;
4047
else
4048
goto is_not_a_corner;
4049
else
4050
goto is_not_a_corner;
4051
else
4052
if(ptr[offset6] < c_b)
4053
if(ptr[offset3] > cb)
4054
if(ptr[offset4] > cb)
4055
if(ptr[offset11] > cb)
4056
goto is_a_corner;
4057
else
4058
goto is_not_a_corner;
4059
else
4060
goto is_not_a_corner;
4061
else
4062
goto is_not_a_corner;
4063
else
4064
if(ptr[offset3] > cb)
4065
if(ptr[offset4] > cb)
4066
if(ptr[offset11] > cb)
4067
goto is_a_corner;
4068
else
4069
goto is_not_a_corner;
4070
else
4071
goto is_not_a_corner;
4072
else
4073
goto is_not_a_corner;
4074
else
4075
goto is_not_a_corner;
4076
else
4077
if(ptr[offset7] > cb)
4078
if(ptr[offset9] < c_b)
4079
goto is_not_a_corner;
4080
else
4081
if(ptr[offset9] > cb)
4082
if(ptr[offset1] < c_b)
4083
if(ptr[offset6] < c_b)
4084
goto is_not_a_corner;
4085
else
4086
if(ptr[offset6] > cb)
4087
if(ptr[offset8] > cb)
4088
if(ptr[offset4] > cb)
4089
if(ptr[offset3] > cb)
4090
goto is_a_corner;
4091
else
4092
if(ptr[offset10] > cb)
4093
goto is_a_corner;
4094
else
4095
goto is_not_a_corner;
4096
else
4097
if(ptr[offset10] > cb)
4098
if(ptr[offset11] > cb)
4099
goto is_a_corner;
4100
else
4101
goto is_not_a_corner;
4102
else
4103
goto is_not_a_corner;
4104
else
4105
goto is_not_a_corner;
4106
else
4107
goto is_not_a_corner;
4108
else
4109
if(ptr[offset1] > cb)
4110
if(ptr[offset6] < c_b)
4111
if(ptr[offset8] > cb)
4112
if(ptr[offset10] > cb)
4113
if(ptr[offset11] > cb)
4114
goto is_a_corner;
4115
else
4116
goto is_not_a_corner;
4117
else
4118
goto is_not_a_corner;
4119
else
4120
goto is_not_a_corner;
4121
else
4122
if(ptr[offset6] > cb)
4123
if(ptr[offset8] > cb)
4124
if(ptr[offset4] > cb)
4125
if(ptr[offset3] > cb)
4126
goto is_a_corner;
4127
else
4128
if(ptr[offset10] > cb)
4129
goto is_a_corner;
4130
else
4131
goto is_not_a_corner;
4132
else
4133
if(ptr[offset10] > cb)
4134
if(ptr[offset11] > cb)
4135
goto is_a_corner;
4136
else
4137
goto is_not_a_corner;
4138
else
4139
goto is_not_a_corner;
4140
else
4141
goto is_not_a_corner;
4142
else
4143
if(ptr[offset8] > cb)
4144
if(ptr[offset10] > cb)
4145
if(ptr[offset11] > cb)
4146
goto is_a_corner;
4147
else
4148
goto is_not_a_corner;
4149
else
4150
goto is_not_a_corner;
4151
else
4152
goto is_not_a_corner;
4153
else
4154
if(ptr[offset6] < c_b)
4155
goto is_not_a_corner;
4156
else
4157
if(ptr[offset6] > cb)
4158
if(ptr[offset8] > cb)
4159
if(ptr[offset4] > cb)
4160
if(ptr[offset3] > cb)
4161
goto is_a_corner;
4162
else
4163
if(ptr[offset10] > cb)
4164
goto is_a_corner;
4165
else
4166
goto is_not_a_corner;
4167
else
4168
if(ptr[offset10] > cb)
4169
if(ptr[offset11] > cb)
4170
goto is_a_corner;
4171
else
4172
goto is_not_a_corner;
4173
else
4174
goto is_not_a_corner;
4175
else
4176
goto is_not_a_corner;
4177
else
4178
goto is_not_a_corner;
4179
else
4180
goto is_not_a_corner;
4181
else
4182
goto is_not_a_corner;
4183
else
4184
if(ptr[offset5] < c_b)
4185
if(ptr[offset9] < c_b)
4186
if(ptr[offset7] > cb)
4187
if(ptr[offset2] < c_b)
4188
goto is_not_a_corner;
4189
else
4190
if(ptr[offset2] > cb)
4191
if(ptr[offset1] < c_b)
4192
goto is_not_a_corner;
4193
else
4194
if(ptr[offset1] > cb)
4195
if(ptr[offset6] > cb)
4196
if(ptr[offset3] > cb)
4197
if(ptr[offset4] > cb)
4198
if(ptr[offset10] > cb)
4199
if(ptr[offset11] > cb)
4200
goto is_a_corner;
4201
else
4202
goto is_not_a_corner;
4203
else
4204
goto is_not_a_corner;
4205
else
4206
goto is_not_a_corner;
4207
else
4208
goto is_not_a_corner;
4209
else
4210
if(ptr[offset6] < c_b)
4211
if(ptr[offset3] > cb)
4212
if(ptr[offset4] > cb)
4213
if(ptr[offset10] > cb)
4214
if(ptr[offset11] > cb)
4215
goto is_a_corner;
4216
else
4217
goto is_not_a_corner;
4218
else
4219
goto is_not_a_corner;
4220
else
4221
goto is_not_a_corner;
4222
else
4223
goto is_not_a_corner;
4224
else
4225
if(ptr[offset3] > cb)
4226
if(ptr[offset4] > cb)
4227
if(ptr[offset10] > cb)
4228
if(ptr[offset11] > cb)
4229
goto is_a_corner;
4230
else
4231
goto is_not_a_corner;
4232
else
4233
goto is_not_a_corner;
4234
else
4235
goto is_not_a_corner;
4236
else
4237
goto is_not_a_corner;
4238
else
4239
goto is_not_a_corner;
4240
else
4241
goto is_not_a_corner;
4242
else
4243
if(ptr[offset7] < c_b)
4244
if(ptr[offset2] < c_b)
4245
if(ptr[offset1] > cb)
4246
if(ptr[offset6] > cb)
4247
goto is_not_a_corner;
4248
else
4249
if(ptr[offset6] < c_b)
4250
if(ptr[offset8] < c_b)
4251
if(ptr[offset4] < c_b)
4252
if(ptr[offset3] < c_b)
4253
goto is_a_corner;
4254
else
4255
if(ptr[offset10] < c_b)
4256
goto is_a_corner;
4257
else
4258
goto is_not_a_corner;
4259
else
4260
if(ptr[offset10] < c_b)
4261
if(ptr[offset11] < c_b)
4262
goto is_a_corner;
4263
else
4264
goto is_not_a_corner;
4265
else
4266
goto is_not_a_corner;
4267
else
4268
goto is_not_a_corner;
4269
else
4270
goto is_not_a_corner;
4271
else
4272
if(ptr[offset1] < c_b)
4273
if(ptr[offset6] > cb)
4274
goto is_not_a_corner;
4275
else
4276
if(ptr[offset6] < c_b)
4277
if(ptr[offset4] < c_b)
4278
if(ptr[offset3] < c_b)
4279
goto is_a_corner;
4280
else
4281
if(ptr[offset8] < c_b)
4282
if(ptr[offset10] < c_b)
4283
goto is_a_corner;
4284
else
4285
goto is_not_a_corner;
4286
else
4287
goto is_not_a_corner;
4288
else
4289
if(ptr[offset8] < c_b)
4290
if(ptr[offset10] < c_b)
4291
if(ptr[offset11] < c_b)
4292
goto is_a_corner;
4293
else
4294
goto is_not_a_corner;
4295
else
4296
goto is_not_a_corner;
4297
else
4298
goto is_not_a_corner;
4299
else
4300
goto is_not_a_corner;
4301
else
4302
if(ptr[offset6] > cb)
4303
goto is_not_a_corner;
4304
else
4305
if(ptr[offset6] < c_b)
4306
if(ptr[offset8] < c_b)
4307
if(ptr[offset4] < c_b)
4308
if(ptr[offset3] < c_b)
4309
goto is_a_corner;
4310
else
4311
if(ptr[offset10] < c_b)
4312
goto is_a_corner;
4313
else
4314
goto is_not_a_corner;
4315
else
4316
if(ptr[offset10] < c_b)
4317
if(ptr[offset11] < c_b)
4318
goto is_a_corner;
4319
else
4320
goto is_not_a_corner;
4321
else
4322
goto is_not_a_corner;
4323
else
4324
goto is_not_a_corner;
4325
else
4326
goto is_not_a_corner;
4327
else
4328
if(ptr[offset2] > cb)
4329
if(ptr[offset1] < c_b)
4330
if(ptr[offset6] > cb)
4331
goto is_not_a_corner;
4332
else
4333
if(ptr[offset6] < c_b)
4334
if(ptr[offset8] < c_b)
4335
if(ptr[offset4] < c_b)
4336
if(ptr[offset3] < c_b)
4337
goto is_a_corner;
4338
else
4339
if(ptr[offset10] < c_b)
4340
goto is_a_corner;
4341
else
4342
goto is_not_a_corner;
4343
else
4344
if(ptr[offset10] < c_b)
4345
if(ptr[offset11] < c_b)
4346
goto is_a_corner;
4347
else
4348
goto is_not_a_corner;
4349
else
4350
goto is_not_a_corner;
4351
else
4352
goto is_not_a_corner;
4353
else
4354
goto is_not_a_corner;
4355
else
4356
if(ptr[offset1] > cb)
4357
if(ptr[offset6] > cb)
4358
if(ptr[offset3] > cb)
4359
if(ptr[offset4] > cb)
4360
if(ptr[offset10] > cb)
4361
if(ptr[offset11] > cb)
4362
goto is_a_corner;
4363
else
4364
goto is_not_a_corner;
4365
else
4366
goto is_not_a_corner;
4367
else
4368
goto is_not_a_corner;
4369
else
4370
goto is_not_a_corner;
4371
else
4372
if(ptr[offset6] < c_b)
4373
if(ptr[offset4] > cb)
4374
if(ptr[offset10] > cb)
4375
if(ptr[offset3] > cb)
4376
if(ptr[offset11] > cb)
4377
goto is_a_corner;
4378
else
4379
goto is_not_a_corner;
4380
else
4381
goto is_not_a_corner;
4382
else
4383
if(ptr[offset8] < c_b)
4384
if(ptr[offset11] < c_b)
4385
if(ptr[offset10] < c_b)
4386
goto is_a_corner;
4387
else
4388
goto is_not_a_corner;
4389
else
4390
goto is_not_a_corner;
4391
else
4392
goto is_not_a_corner;
4393
else
4394
if(ptr[offset8] < c_b)
4395
if(ptr[offset10] < c_b)
4396
if(ptr[offset4] < c_b)
4397
goto is_a_corner;
4398
else
4399
if(ptr[offset11] < c_b)
4400
goto is_a_corner;
4401
else
4402
goto is_not_a_corner;
4403
else
4404
if(ptr[offset3] < c_b)
4405
if(ptr[offset4] < c_b)
4406
goto is_a_corner;
4407
else
4408
goto is_not_a_corner;
4409
else
4410
goto is_not_a_corner;
4411
else
4412
goto is_not_a_corner;
4413
else
4414
if(ptr[offset3] > cb)
4415
if(ptr[offset4] > cb)
4416
if(ptr[offset10] > cb)
4417
if(ptr[offset11] > cb)
4418
goto is_a_corner;
4419
else
4420
goto is_not_a_corner;
4421
else
4422
goto is_not_a_corner;
4423
else
4424
goto is_not_a_corner;
4425
else
4426
goto is_not_a_corner;
4427
else
4428
if(ptr[offset6] > cb)
4429
goto is_not_a_corner;
4430
else
4431
if(ptr[offset6] < c_b)
4432
if(ptr[offset8] < c_b)
4433
if(ptr[offset4] < c_b)
4434
if(ptr[offset3] < c_b)
4435
goto is_a_corner;
4436
else
4437
if(ptr[offset10] < c_b)
4438
goto is_a_corner;
4439
else
4440
goto is_not_a_corner;
4441
else
4442
if(ptr[offset10] < c_b)
4443
if(ptr[offset11] < c_b)
4444
goto is_a_corner;
4445
else
4446
goto is_not_a_corner;
4447
else
4448
goto is_not_a_corner;
4449
else
4450
goto is_not_a_corner;
4451
else
4452
goto is_not_a_corner;
4453
else
4454
if(ptr[offset1] > cb)
4455
if(ptr[offset6] > cb)
4456
goto is_not_a_corner;
4457
else
4458
if(ptr[offset6] < c_b)
4459
if(ptr[offset8] < c_b)
4460
if(ptr[offset4] < c_b)
4461
if(ptr[offset3] < c_b)
4462
goto is_a_corner;
4463
else
4464
if(ptr[offset10] < c_b)
4465
goto is_a_corner;
4466
else
4467
goto is_not_a_corner;
4468
else
4469
if(ptr[offset10] < c_b)
4470
if(ptr[offset11] < c_b)
4471
goto is_a_corner;
4472
else
4473
goto is_not_a_corner;
4474
else
4475
goto is_not_a_corner;
4476
else
4477
goto is_not_a_corner;
4478
else
4479
goto is_not_a_corner;
4480
else
4481
if(ptr[offset1] < c_b)
4482
if(ptr[offset6] > cb)
4483
goto is_not_a_corner;
4484
else
4485
if(ptr[offset6] < c_b)
4486
if(ptr[offset8] < c_b)
4487
if(ptr[offset4] < c_b)
4488
if(ptr[offset3] < c_b)
4489
goto is_a_corner;
4490
else
4491
if(ptr[offset10] < c_b)
4492
goto is_a_corner;
4493
else
4494
goto is_not_a_corner;
4495
else
4496
if(ptr[offset10] < c_b)
4497
if(ptr[offset11] < c_b)
4498
goto is_a_corner;
4499
else
4500
goto is_not_a_corner;
4501
else
4502
goto is_not_a_corner;
4503
else
4504
goto is_not_a_corner;
4505
else
4506
goto is_not_a_corner;
4507
else
4508
if(ptr[offset6] > cb)
4509
goto is_not_a_corner;
4510
else
4511
if(ptr[offset6] < c_b)
4512
if(ptr[offset8] < c_b)
4513
if(ptr[offset4] < c_b)
4514
if(ptr[offset3] < c_b)
4515
goto is_a_corner;
4516
else
4517
if(ptr[offset10] < c_b)
4518
goto is_a_corner;
4519
else
4520
goto is_not_a_corner;
4521
else
4522
if(ptr[offset10] < c_b)
4523
if(ptr[offset11] < c_b)
4524
goto is_a_corner;
4525
else
4526
goto is_not_a_corner;
4527
else
4528
goto is_not_a_corner;
4529
else
4530
goto is_not_a_corner;
4531
else
4532
goto is_not_a_corner;
4533
else
4534
if(ptr[offset2] < c_b)
4535
goto is_not_a_corner;
4536
else
4537
if(ptr[offset2] > cb)
4538
if(ptr[offset1] < c_b)
4539
goto is_not_a_corner;
4540
else
4541
if(ptr[offset1] > cb)
4542
if(ptr[offset6] > cb)
4543
if(ptr[offset3] > cb)
4544
if(ptr[offset4] > cb)
4545
if(ptr[offset10] > cb)
4546
if(ptr[offset11] > cb)
4547
goto is_a_corner;
4548
else
4549
goto is_not_a_corner;
4550
else
4551
goto is_not_a_corner;
4552
else
4553
goto is_not_a_corner;
4554
else
4555
goto is_not_a_corner;
4556
else
4557
if(ptr[offset6] < c_b)
4558
if(ptr[offset3] > cb)
4559
if(ptr[offset4] > cb)
4560
if(ptr[offset10] > cb)
4561
if(ptr[offset11] > cb)
4562
goto is_a_corner;
4563
else
4564
goto is_not_a_corner;
4565
else
4566
goto is_not_a_corner;
4567
else
4568
goto is_not_a_corner;
4569
else
4570
goto is_not_a_corner;
4571
else
4572
if(ptr[offset3] > cb)
4573
if(ptr[offset4] > cb)
4574
if(ptr[offset10] > cb)
4575
if(ptr[offset11] > cb)
4576
goto is_a_corner;
4577
else
4578
goto is_not_a_corner;
4579
else
4580
goto is_not_a_corner;
4581
else
4582
goto is_not_a_corner;
4583
else
4584
goto is_not_a_corner;
4585
else
4586
goto is_not_a_corner;
4587
else
4588
goto is_not_a_corner;
4589
else
4590
if(ptr[offset9] > cb)
4591
if(ptr[offset7] < c_b)
4592
if(ptr[offset2] > cb)
4593
if(ptr[offset1] < c_b)
4594
goto is_not_a_corner;
4595
else
4596
if(ptr[offset1] > cb)
4597
if(ptr[offset6] > cb)
4598
if(ptr[offset10] > cb)
4599
if(ptr[offset11] > cb)
4600
if(ptr[offset3] > cb)
4601
goto is_a_corner;
4602
else
4603
if(ptr[offset8] > cb)
4604
goto is_a_corner;
4605
else
4606
goto is_not_a_corner;
4607
else
4608
goto is_not_a_corner;
4609
else
4610
goto is_not_a_corner;
4611
else
4612
if(ptr[offset6] < c_b)
4613
if(ptr[offset10] > cb)
4614
if(ptr[offset11] > cb)
4615
if(ptr[offset3] > cb)
4616
goto is_a_corner;
4617
else
4618
if(ptr[offset8] > cb)
4619
goto is_a_corner;
4620
else
4621
goto is_not_a_corner;
4622
else
4623
goto is_not_a_corner;
4624
else
4625
goto is_not_a_corner;
4626
else
4627
if(ptr[offset10] > cb)
4628
if(ptr[offset11] > cb)
4629
if(ptr[offset3] > cb)
4630
goto is_a_corner;
4631
else
4632
if(ptr[offset8] > cb)
4633
goto is_a_corner;
4634
else
4635
goto is_not_a_corner;
4636
else
4637
goto is_not_a_corner;
4638
else
4639
goto is_not_a_corner;
4640
else
4641
goto is_not_a_corner;
4642
else
4643
if(ptr[offset2] < c_b)
4644
if(ptr[offset1] < c_b)
4645
if(ptr[offset6] > cb)
4646
goto is_not_a_corner;
4647
else
4648
if(ptr[offset6] < c_b)
4649
if(ptr[offset3] < c_b)
4650
if(ptr[offset4] < c_b)
4651
goto is_a_corner;
4652
else
4653
goto is_not_a_corner;
4654
else
4655
goto is_not_a_corner;
4656
else
4657
goto is_not_a_corner;
4658
else
4659
if(ptr[offset1] > cb)
4660
if(ptr[offset6] > cb)
4661
goto is_not_a_corner;
4662
else
4663
if(ptr[offset6] < c_b)
4664
if(ptr[offset3] < c_b)
4665
if(ptr[offset4] < c_b)
4666
if(ptr[offset8] < c_b)
4667
goto is_a_corner;
4668
else
4669
goto is_not_a_corner;
4670
else
4671
goto is_not_a_corner;
4672
else
4673
goto is_not_a_corner;
4674
else
4675
goto is_not_a_corner;
4676
else
4677
if(ptr[offset6] > cb)
4678
goto is_not_a_corner;
4679
else
4680
if(ptr[offset6] < c_b)
4681
if(ptr[offset3] < c_b)
4682
if(ptr[offset4] < c_b)
4683
if(ptr[offset8] < c_b)
4684
goto is_a_corner;
4685
else
4686
goto is_not_a_corner;
4687
else
4688
goto is_not_a_corner;
4689
else
4690
goto is_not_a_corner;
4691
else
4692
goto is_not_a_corner;
4693
else
4694
goto is_not_a_corner;
4695
else
4696
if(ptr[offset7] > cb)
4697
if(ptr[offset2] < c_b)
4698
if(ptr[offset1] < c_b)
4699
if(ptr[offset6] < c_b)
4700
goto is_not_a_corner;
4701
else
4702
if(ptr[offset6] > cb)
4703
if(ptr[offset8] > cb)
4704
if(ptr[offset10] > cb)
4705
if(ptr[offset11] > cb)
4706
goto is_a_corner;
4707
else
4708
goto is_not_a_corner;
4709
else
4710
goto is_not_a_corner;
4711
else
4712
goto is_not_a_corner;
4713
else
4714
goto is_not_a_corner;
4715
else
4716
if(ptr[offset1] > cb)
4717
if(ptr[offset6] > cb)
4718
if(ptr[offset8] > cb)
4719
if(ptr[offset10] > cb)
4720
if(ptr[offset11] > cb)
4721
goto is_a_corner;
4722
else
4723
goto is_not_a_corner;
4724
else
4725
goto is_not_a_corner;
4726
else
4727
goto is_not_a_corner;
4728
else
4729
if(ptr[offset6] < c_b)
4730
if(ptr[offset8] > cb)
4731
if(ptr[offset10] > cb)
4732
if(ptr[offset11] > cb)
4733
goto is_a_corner;
4734
else
4735
goto is_not_a_corner;
4736
else
4737
goto is_not_a_corner;
4738
else
4739
goto is_not_a_corner;
4740
else
4741
if(ptr[offset8] > cb)
4742
if(ptr[offset10] > cb)
4743
if(ptr[offset11] > cb)
4744
goto is_a_corner;
4745
else
4746
goto is_not_a_corner;
4747
else
4748
goto is_not_a_corner;
4749
else
4750
goto is_not_a_corner;
4751
else
4752
if(ptr[offset6] < c_b)
4753
goto is_not_a_corner;
4754
else
4755
if(ptr[offset6] > cb)
4756
if(ptr[offset8] > cb)
4757
if(ptr[offset10] > cb)
4758
if(ptr[offset11] > cb)
4759
goto is_a_corner;
4760
else
4761
goto is_not_a_corner;
4762
else
4763
goto is_not_a_corner;
4764
else
4765
goto is_not_a_corner;
4766
else
4767
goto is_not_a_corner;
4768
else
4769
if(ptr[offset2] > cb)
4770
if(ptr[offset1] < c_b)
4771
if(ptr[offset6] < c_b)
4772
goto is_not_a_corner;
4773
else
4774
if(ptr[offset6] > cb)
4775
if(ptr[offset8] > cb)
4776
if(ptr[offset10] > cb)
4777
if(ptr[offset11] > cb)
4778
goto is_a_corner;
4779
else
4780
goto is_not_a_corner;
4781
else
4782
goto is_not_a_corner;
4783
else
4784
goto is_not_a_corner;
4785
else
4786
goto is_not_a_corner;
4787
else
4788
if(ptr[offset1] > cb)
4789
if(ptr[offset6] > cb)
4790
if(ptr[offset10] > cb)
4791
if(ptr[offset11] > cb)
4792
if(ptr[offset3] > cb)
4793
goto is_a_corner;
4794
else
4795
if(ptr[offset8] > cb)
4796
goto is_a_corner;
4797
else
4798
goto is_not_a_corner;
4799
else
4800
goto is_not_a_corner;
4801
else
4802
goto is_not_a_corner;
4803
else
4804
if(ptr[offset6] < c_b)
4805
if(ptr[offset10] > cb)
4806
if(ptr[offset11] > cb)
4807
if(ptr[offset3] > cb)
4808
goto is_a_corner;
4809
else
4810
if(ptr[offset8] > cb)
4811
goto is_a_corner;
4812
else
4813
goto is_not_a_corner;
4814
else
4815
goto is_not_a_corner;
4816
else
4817
goto is_not_a_corner;
4818
else
4819
if(ptr[offset10] > cb)
4820
if(ptr[offset11] > cb)
4821
if(ptr[offset3] > cb)
4822
goto is_a_corner;
4823
else
4824
if(ptr[offset8] > cb)
4825
goto is_a_corner;
4826
else
4827
goto is_not_a_corner;
4828
else
4829
goto is_not_a_corner;
4830
else
4831
goto is_not_a_corner;
4832
else
4833
if(ptr[offset6] < c_b)
4834
goto is_not_a_corner;
4835
else
4836
if(ptr[offset6] > cb)
4837
if(ptr[offset8] > cb)
4838
if(ptr[offset10] > cb)
4839
if(ptr[offset11] > cb)
4840
goto is_a_corner;
4841
else
4842
goto is_not_a_corner;
4843
else
4844
goto is_not_a_corner;
4845
else
4846
goto is_not_a_corner;
4847
else
4848
goto is_not_a_corner;
4849
else
4850
if(ptr[offset1] < c_b)
4851
if(ptr[offset6] < c_b)
4852
goto is_not_a_corner;
4853
else
4854
if(ptr[offset6] > cb)
4855
if(ptr[offset8] > cb)
4856
if(ptr[offset10] > cb)
4857
if(ptr[offset11] > cb)
4858
goto is_a_corner;
4859
else
4860
goto is_not_a_corner;
4861
else
4862
goto is_not_a_corner;
4863
else
4864
goto is_not_a_corner;
4865
else
4866
goto is_not_a_corner;
4867
else
4868
if(ptr[offset1] > cb)
4869
if(ptr[offset6] > cb)
4870
if(ptr[offset8] > cb)
4871
if(ptr[offset10] > cb)
4872
if(ptr[offset11] > cb)
4873
goto is_a_corner;
4874
else
4875
goto is_not_a_corner;
4876
else
4877
goto is_not_a_corner;
4878
else
4879
goto is_not_a_corner;
4880
else
4881
if(ptr[offset6] < c_b)
4882
if(ptr[offset8] > cb)
4883
if(ptr[offset10] > cb)
4884
if(ptr[offset11] > cb)
4885
goto is_a_corner;
4886
else
4887
goto is_not_a_corner;
4888
else
4889
goto is_not_a_corner;
4890
else
4891
goto is_not_a_corner;
4892
else
4893
if(ptr[offset8] > cb)
4894
if(ptr[offset10] > cb)
4895
if(ptr[offset11] > cb)
4896
goto is_a_corner;
4897
else
4898
goto is_not_a_corner;
4899
else
4900
goto is_not_a_corner;
4901
else
4902
goto is_not_a_corner;
4903
else
4904
if(ptr[offset6] < c_b)
4905
goto is_not_a_corner;
4906
else
4907
if(ptr[offset6] > cb)
4908
if(ptr[offset8] > cb)
4909
if(ptr[offset10] > cb)
4910
if(ptr[offset11] > cb)
4911
goto is_a_corner;
4912
else
4913
goto is_not_a_corner;
4914
else
4915
goto is_not_a_corner;
4916
else
4917
goto is_not_a_corner;
4918
else
4919
goto is_not_a_corner;
4920
else
4921
if(ptr[offset2] < c_b)
4922
goto is_not_a_corner;
4923
else
4924
if(ptr[offset2] > cb)
4925
if(ptr[offset1] < c_b)
4926
goto is_not_a_corner;
4927
else
4928
if(ptr[offset1] > cb)
4929
if(ptr[offset6] > cb)
4930
if(ptr[offset10] > cb)
4931
if(ptr[offset11] > cb)
4932
if(ptr[offset3] > cb)
4933
goto is_a_corner;
4934
else
4935
if(ptr[offset8] > cb)
4936
goto is_a_corner;
4937
else
4938
goto is_not_a_corner;
4939
else
4940
goto is_not_a_corner;
4941
else
4942
goto is_not_a_corner;
4943
else
4944
if(ptr[offset6] < c_b)
4945
if(ptr[offset10] > cb)
4946
if(ptr[offset11] > cb)
4947
if(ptr[offset3] > cb)
4948
goto is_a_corner;
4949
else
4950
if(ptr[offset8] > cb)
4951
goto is_a_corner;
4952
else
4953
goto is_not_a_corner;
4954
else
4955
goto is_not_a_corner;
4956
else
4957
goto is_not_a_corner;
4958
else
4959
if(ptr[offset10] > cb)
4960
if(ptr[offset11] > cb)
4961
if(ptr[offset3] > cb)
4962
goto is_a_corner;
4963
else
4964
if(ptr[offset8] > cb)
4965
goto is_a_corner;
4966
else
4967
goto is_not_a_corner;
4968
else
4969
goto is_not_a_corner;
4970
else
4971
goto is_not_a_corner;
4972
else
4973
goto is_not_a_corner;
4974
else
4975
goto is_not_a_corner;
4976
else
4977
if(ptr[offset2] < c_b)
4978
if(ptr[offset7] > cb)
4979
goto is_not_a_corner;
4980
else
4981
if(ptr[offset7] < c_b)
4982
if(ptr[offset1] < c_b)
4983
if(ptr[offset6] > cb)
4984
goto is_not_a_corner;
4985
else
4986
if(ptr[offset6] < c_b)
4987
if(ptr[offset3] < c_b)
4988
if(ptr[offset4] < c_b)
4989
goto is_a_corner;
4990
else
4991
goto is_not_a_corner;
4992
else
4993
goto is_not_a_corner;
4994
else
4995
goto is_not_a_corner;
4996
else
4997
if(ptr[offset1] > cb)
4998
if(ptr[offset6] > cb)
4999
goto is_not_a_corner;
5000
else
5001
if(ptr[offset6] < c_b)
5002
if(ptr[offset3] < c_b)
5003
if(ptr[offset4] < c_b)
5004
if(ptr[offset8] < c_b)
5005
goto is_a_corner;
5006
else
5007
goto is_not_a_corner;
5008
else
5009
goto is_not_a_corner;
5010
else
5011
goto is_not_a_corner;
5012
else
5013
goto is_not_a_corner;
5014
else
5015
if(ptr[offset6] > cb)
5016
goto is_not_a_corner;
5017
else
5018
if(ptr[offset6] < c_b)
5019
if(ptr[offset3] < c_b)
5020
if(ptr[offset4] < c_b)
5021
if(ptr[offset8] < c_b)
5022
goto is_a_corner;
5023
else
5024
goto is_not_a_corner;
5025
else
5026
goto is_not_a_corner;
5027
else
5028
goto is_not_a_corner;
5029
else
5030
goto is_not_a_corner;
5031
else
5032
goto is_not_a_corner;
5033
else
5034
if(ptr[offset2] > cb)
5035
if(ptr[offset7] > cb)
5036
if(ptr[offset1] < c_b)
5037
goto is_not_a_corner;
5038
else
5039
if(ptr[offset1] > cb)
5040
if(ptr[offset6] > cb)
5041
if(ptr[offset3] > cb)
5042
if(ptr[offset4] > cb)
5043
if(ptr[offset10] > cb)
5044
if(ptr[offset11] > cb)
5045
goto is_a_corner;
5046
else
5047
goto is_not_a_corner;
5048
else
5049
goto is_not_a_corner;
5050
else
5051
goto is_not_a_corner;
5052
else
5053
goto is_not_a_corner;
5054
else
5055
if(ptr[offset6] < c_b)
5056
if(ptr[offset3] > cb)
5057
if(ptr[offset4] > cb)
5058
if(ptr[offset10] > cb)
5059
if(ptr[offset11] > cb)
5060
goto is_a_corner;
5061
else
5062
goto is_not_a_corner;
5063
else
5064
goto is_not_a_corner;
5065
else
5066
goto is_not_a_corner;
5067
else
5068
goto is_not_a_corner;
5069
else
5070
if(ptr[offset3] > cb)
5071
if(ptr[offset4] > cb)
5072
if(ptr[offset10] > cb)
5073
if(ptr[offset11] > cb)
5074
goto is_a_corner;
5075
else
5076
goto is_not_a_corner;
5077
else
5078
goto is_not_a_corner;
5079
else
5080
goto is_not_a_corner;
5081
else
5082
goto is_not_a_corner;
5083
else
5084
goto is_not_a_corner;
5085
else
5086
if(ptr[offset7] < c_b)
5087
if(ptr[offset1] < c_b)
5088
goto is_not_a_corner;
5089
else
5090
if(ptr[offset1] > cb)
5091
if(ptr[offset6] > cb)
5092
if(ptr[offset3] > cb)
5093
if(ptr[offset4] > cb)
5094
if(ptr[offset10] > cb)
5095
if(ptr[offset11] > cb)
5096
goto is_a_corner;
5097
else
5098
goto is_not_a_corner;
5099
else
5100
goto is_not_a_corner;
5101
else
5102
goto is_not_a_corner;
5103
else
5104
goto is_not_a_corner;
5105
else
5106
if(ptr[offset6] < c_b)
5107
if(ptr[offset3] > cb)
5108
if(ptr[offset4] > cb)
5109
if(ptr[offset10] > cb)
5110
if(ptr[offset11] > cb)
5111
goto is_a_corner;
5112
else
5113
goto is_not_a_corner;
5114
else
5115
goto is_not_a_corner;
5116
else
5117
goto is_not_a_corner;
5118
else
5119
goto is_not_a_corner;
5120
else
5121
if(ptr[offset3] > cb)
5122
if(ptr[offset4] > cb)
5123
if(ptr[offset10] > cb)
5124
if(ptr[offset11] > cb)
5125
goto is_a_corner;
5126
else
5127
goto is_not_a_corner;
5128
else
5129
goto is_not_a_corner;
5130
else
5131
goto is_not_a_corner;
5132
else
5133
goto is_not_a_corner;
5134
else
5135
goto is_not_a_corner;
5136
else
5137
if(ptr[offset1] < c_b)
5138
goto is_not_a_corner;
5139
else
5140
if(ptr[offset1] > cb)
5141
if(ptr[offset6] > cb)
5142
if(ptr[offset3] > cb)
5143
if(ptr[offset4] > cb)
5144
if(ptr[offset10] > cb)
5145
if(ptr[offset11] > cb)
5146
goto is_a_corner;
5147
else
5148
goto is_not_a_corner;
5149
else
5150
goto is_not_a_corner;
5151
else
5152
goto is_not_a_corner;
5153
else
5154
goto is_not_a_corner;
5155
else
5156
if(ptr[offset6] < c_b)
5157
if(ptr[offset3] > cb)
5158
if(ptr[offset4] > cb)
5159
if(ptr[offset10] > cb)
5160
if(ptr[offset11] > cb)
5161
goto is_a_corner;
5162
else
5163
goto is_not_a_corner;
5164
else
5165
goto is_not_a_corner;
5166
else
5167
goto is_not_a_corner;
5168
else
5169
goto is_not_a_corner;
5170
else
5171
if(ptr[offset3] > cb)
5172
if(ptr[offset4] > cb)
5173
if(ptr[offset10] > cb)
5174
if(ptr[offset11] > cb)
5175
goto is_a_corner;
5176
else
5177
goto is_not_a_corner;
5178
else
5179
goto is_not_a_corner;
5180
else
5181
goto is_not_a_corner;
5182
else
5183
goto is_not_a_corner;
5184
else
5185
goto is_not_a_corner;
5186
else
5187
goto is_not_a_corner;
5188
else
5189
if(ptr[offset2] < c_b)
5190
if(ptr[offset7] > cb)
5191
if(ptr[offset9] < c_b)
5192
goto is_not_a_corner;
5193
else
5194
if(ptr[offset9] > cb)
5195
if(ptr[offset1] < c_b)
5196
if(ptr[offset6] < c_b)
5197
goto is_not_a_corner;
5198
else
5199
if(ptr[offset6] > cb)
5200
if(ptr[offset8] > cb)
5201
if(ptr[offset10] > cb)
5202
if(ptr[offset11] > cb)
5203
goto is_a_corner;
5204
else
5205
goto is_not_a_corner;
5206
else
5207
goto is_not_a_corner;
5208
else
5209
goto is_not_a_corner;
5210
else
5211
goto is_not_a_corner;
5212
else
5213
if(ptr[offset1] > cb)
5214
if(ptr[offset6] > cb)
5215
if(ptr[offset8] > cb)
5216
if(ptr[offset10] > cb)
5217
if(ptr[offset11] > cb)
5218
goto is_a_corner;
5219
else
5220
goto is_not_a_corner;
5221
else
5222
goto is_not_a_corner;
5223
else
5224
goto is_not_a_corner;
5225
else
5226
if(ptr[offset6] < c_b)
5227
if(ptr[offset8] > cb)
5228
if(ptr[offset10] > cb)
5229
if(ptr[offset11] > cb)
5230
goto is_a_corner;
5231
else
5232
goto is_not_a_corner;
5233
else
5234
goto is_not_a_corner;
5235
else
5236
goto is_not_a_corner;
5237
else
5238
if(ptr[offset8] > cb)
5239
if(ptr[offset10] > cb)
5240
if(ptr[offset11] > cb)
5241
goto is_a_corner;
5242
else
5243
goto is_not_a_corner;
5244
else
5245
goto is_not_a_corner;
5246
else
5247
goto is_not_a_corner;
5248
else
5249
if(ptr[offset6] < c_b)
5250
goto is_not_a_corner;
5251
else
5252
if(ptr[offset6] > cb)
5253
if(ptr[offset8] > cb)
5254
if(ptr[offset10] > cb)
5255
if(ptr[offset11] > cb)
5256
goto is_a_corner;
5257
else
5258
goto is_not_a_corner;
5259
else
5260
goto is_not_a_corner;
5261
else
5262
goto is_not_a_corner;
5263
else
5264
goto is_not_a_corner;
5265
else
5266
goto is_not_a_corner;
5267
else
5268
goto is_not_a_corner;
5269
else
5270
if(ptr[offset2] > cb)
5271
if(ptr[offset7] < c_b)
5272
if(ptr[offset9] < c_b)
5273
if(ptr[offset1] < c_b)
5274
goto is_not_a_corner;
5275
else
5276
if(ptr[offset1] > cb)
5277
if(ptr[offset6] > cb)
5278
if(ptr[offset3] > cb)
5279
if(ptr[offset4] > cb)
5280
if(ptr[offset10] > cb)
5281
if(ptr[offset11] > cb)
5282
goto is_a_corner;
5283
else
5284
goto is_not_a_corner;
5285
else
5286
goto is_not_a_corner;
5287
else
5288
goto is_not_a_corner;
5289
else
5290
goto is_not_a_corner;
5291
else
5292
if(ptr[offset6] < c_b)
5293
if(ptr[offset3] > cb)
5294
if(ptr[offset4] > cb)
5295
if(ptr[offset10] > cb)
5296
if(ptr[offset11] > cb)
5297
goto is_a_corner;
5298
else
5299
goto is_not_a_corner;
5300
else
5301
goto is_not_a_corner;
5302
else
5303
goto is_not_a_corner;
5304
else
5305
goto is_not_a_corner;
5306
else
5307
if(ptr[offset3] > cb)
5308
if(ptr[offset4] > cb)
5309
if(ptr[offset10] > cb)
5310
if(ptr[offset11] > cb)
5311
goto is_a_corner;
5312
else
5313
goto is_not_a_corner;
5314
else
5315
goto is_not_a_corner;
5316
else
5317
goto is_not_a_corner;
5318
else
5319
goto is_not_a_corner;
5320
else
5321
goto is_not_a_corner;
5322
else
5323
if(ptr[offset9] > cb)
5324
if(ptr[offset1] < c_b)
5325
goto is_not_a_corner;
5326
else
5327
if(ptr[offset1] > cb)
5328
if(ptr[offset6] > cb)
5329
if(ptr[offset10] > cb)
5330
if(ptr[offset11] > cb)
5331
if(ptr[offset3] > cb)
5332
goto is_a_corner;
5333
else
5334
if(ptr[offset8] > cb)
5335
goto is_a_corner;
5336
else
5337
goto is_not_a_corner;
5338
else
5339
goto is_not_a_corner;
5340
else
5341
goto is_not_a_corner;
5342
else
5343
if(ptr[offset6] < c_b)
5344
if(ptr[offset10] > cb)
5345
if(ptr[offset11] > cb)
5346
if(ptr[offset3] > cb)
5347
goto is_a_corner;
5348
else
5349
if(ptr[offset8] > cb)
5350
goto is_a_corner;
5351
else
5352
goto is_not_a_corner;
5353
else
5354
goto is_not_a_corner;
5355
else
5356
goto is_not_a_corner;
5357
else
5358
if(ptr[offset10] > cb)
5359
if(ptr[offset11] > cb)
5360
if(ptr[offset3] > cb)
5361
goto is_a_corner;
5362
else
5363
if(ptr[offset8] > cb)
5364
goto is_a_corner;
5365
else
5366
goto is_not_a_corner;
5367
else
5368
goto is_not_a_corner;
5369
else
5370
goto is_not_a_corner;
5371
else
5372
goto is_not_a_corner;
5373
else
5374
if(ptr[offset1] < c_b)
5375
goto is_not_a_corner;
5376
else
5377
if(ptr[offset1] > cb)
5378
if(ptr[offset6] > cb)
5379
if(ptr[offset3] > cb)
5380
if(ptr[offset4] > cb)
5381
if(ptr[offset10] > cb)
5382
if(ptr[offset11] > cb)
5383
goto is_a_corner;
5384
else
5385
goto is_not_a_corner;
5386
else
5387
goto is_not_a_corner;
5388
else
5389
goto is_not_a_corner;
5390
else
5391
goto is_not_a_corner;
5392
else
5393
if(ptr[offset6] < c_b)
5394
if(ptr[offset3] > cb)
5395
if(ptr[offset4] > cb)
5396
if(ptr[offset10] > cb)
5397
if(ptr[offset11] > cb)
5398
goto is_a_corner;
5399
else
5400
goto is_not_a_corner;
5401
else
5402
goto is_not_a_corner;
5403
else
5404
goto is_not_a_corner;
5405
else
5406
goto is_not_a_corner;
5407
else
5408
if(ptr[offset3] > cb)
5409
if(ptr[offset4] > cb)
5410
if(ptr[offset10] > cb)
5411
if(ptr[offset11] > cb)
5412
goto is_a_corner;
5413
else
5414
goto is_not_a_corner;
5415
else
5416
goto is_not_a_corner;
5417
else
5418
goto is_not_a_corner;
5419
else
5420
goto is_not_a_corner;
5421
else
5422
goto is_not_a_corner;
5423
else
5424
if(ptr[offset9] < c_b)
5425
if(ptr[offset7] > cb)
5426
if(ptr[offset1] < c_b)
5427
goto is_not_a_corner;
5428
else
5429
if(ptr[offset1] > cb)
5430
if(ptr[offset6] > cb)
5431
if(ptr[offset3] > cb)
5432
if(ptr[offset4] > cb)
5433
if(ptr[offset10] > cb)
5434
if(ptr[offset11] > cb)
5435
goto is_a_corner;
5436
else
5437
goto is_not_a_corner;
5438
else
5439
goto is_not_a_corner;
5440
else
5441
goto is_not_a_corner;
5442
else
5443
goto is_not_a_corner;
5444
else
5445
if(ptr[offset6] < c_b)
5446
if(ptr[offset3] > cb)
5447
if(ptr[offset4] > cb)
5448
if(ptr[offset10] > cb)
5449
if(ptr[offset11] > cb)
5450
goto is_a_corner;
5451
else
5452
goto is_not_a_corner;
5453
else
5454
goto is_not_a_corner;
5455
else
5456
goto is_not_a_corner;
5457
else
5458
goto is_not_a_corner;
5459
else
5460
if(ptr[offset3] > cb)
5461
if(ptr[offset4] > cb)
5462
if(ptr[offset10] > cb)
5463
if(ptr[offset11] > cb)
5464
goto is_a_corner;
5465
else
5466
goto is_not_a_corner;
5467
else
5468
goto is_not_a_corner;
5469
else
5470
goto is_not_a_corner;
5471
else
5472
goto is_not_a_corner;
5473
else
5474
goto is_not_a_corner;
5475
else
5476
if(ptr[offset1] < c_b)
5477
goto is_not_a_corner;
5478
else
5479
if(ptr[offset1] > cb)
5480
if(ptr[offset6] > cb)
5481
if(ptr[offset3] > cb)
5482
if(ptr[offset4] > cb)
5483
if(ptr[offset10] > cb)
5484
if(ptr[offset11] > cb)
5485
goto is_a_corner;
5486
else
5487
goto is_not_a_corner;
5488
else
5489
goto is_not_a_corner;
5490
else
5491
goto is_not_a_corner;
5492
else
5493
goto is_not_a_corner;
5494
else
5495
if(ptr[offset6] < c_b)
5496
if(ptr[offset3] > cb)
5497
if(ptr[offset4] > cb)
5498
if(ptr[offset10] > cb)
5499
if(ptr[offset11] > cb)
5500
goto is_a_corner;
5501
else
5502
goto is_not_a_corner;
5503
else
5504
goto is_not_a_corner;
5505
else
5506
goto is_not_a_corner;
5507
else
5508
goto is_not_a_corner;
5509
else
5510
if(ptr[offset3] > cb)
5511
if(ptr[offset4] > cb)
5512
if(ptr[offset10] > cb)
5513
if(ptr[offset11] > cb)
5514
goto is_a_corner;
5515
else
5516
goto is_not_a_corner;
5517
else
5518
goto is_not_a_corner;
5519
else
5520
goto is_not_a_corner;
5521
else
5522
goto is_not_a_corner;
5523
else
5524
goto is_not_a_corner;
5525
else
5526
if(ptr[offset7] > cb)
5527
if(ptr[offset9] > cb)
5528
if(ptr[offset1] < c_b)
5529
if(ptr[offset6] < c_b)
5530
goto is_not_a_corner;
5531
else
5532
if(ptr[offset6] > cb)
5533
if(ptr[offset8] > cb)
5534
if(ptr[offset10] > cb)
5535
if(ptr[offset11] > cb)
5536
goto is_a_corner;
5537
else
5538
goto is_not_a_corner;
5539
else
5540
goto is_not_a_corner;
5541
else
5542
goto is_not_a_corner;
5543
else
5544
goto is_not_a_corner;
5545
else
5546
if(ptr[offset1] > cb)
5547
if(ptr[offset6] > cb)
5548
if(ptr[offset10] > cb)
5549
if(ptr[offset11] > cb)
5550
if(ptr[offset3] > cb)
5551
goto is_a_corner;
5552
else
5553
if(ptr[offset8] > cb)
5554
goto is_a_corner;
5555
else
5556
goto is_not_a_corner;
5557
else
5558
goto is_not_a_corner;
5559
else
5560
goto is_not_a_corner;
5561
else
5562
if(ptr[offset6] < c_b)
5563
if(ptr[offset10] > cb)
5564
if(ptr[offset11] > cb)
5565
if(ptr[offset3] > cb)
5566
goto is_a_corner;
5567
else
5568
if(ptr[offset8] > cb)
5569
goto is_a_corner;
5570
else
5571
goto is_not_a_corner;
5572
else
5573
goto is_not_a_corner;
5574
else
5575
goto is_not_a_corner;
5576
else
5577
if(ptr[offset10] > cb)
5578
if(ptr[offset11] > cb)
5579
if(ptr[offset3] > cb)
5580
goto is_a_corner;
5581
else
5582
if(ptr[offset8] > cb)
5583
goto is_a_corner;
5584
else
5585
goto is_not_a_corner;
5586
else
5587
goto is_not_a_corner;
5588
else
5589
goto is_not_a_corner;
5590
else
5591
if(ptr[offset6] < c_b)
5592
goto is_not_a_corner;
5593
else
5594
if(ptr[offset6] > cb)
5595
if(ptr[offset8] > cb)
5596
if(ptr[offset10] > cb)
5597
if(ptr[offset11] > cb)
5598
goto is_a_corner;
5599
else
5600
goto is_not_a_corner;
5601
else
5602
goto is_not_a_corner;
5603
else
5604
goto is_not_a_corner;
5605
else
5606
goto is_not_a_corner;
5607
else
5608
if(ptr[offset1] < c_b)
5609
goto is_not_a_corner;
5610
else
5611
if(ptr[offset1] > cb)
5612
if(ptr[offset6] > cb)
5613
if(ptr[offset3] > cb)
5614
if(ptr[offset4] > cb)
5615
if(ptr[offset10] > cb)
5616
if(ptr[offset11] > cb)
5617
goto is_a_corner;
5618
else
5619
goto is_not_a_corner;
5620
else
5621
goto is_not_a_corner;
5622
else
5623
goto is_not_a_corner;
5624
else
5625
goto is_not_a_corner;
5626
else
5627
if(ptr[offset6] < c_b)
5628
if(ptr[offset3] > cb)
5629
if(ptr[offset4] > cb)
5630
if(ptr[offset10] > cb)
5631
if(ptr[offset11] > cb)
5632
goto is_a_corner;
5633
else
5634
goto is_not_a_corner;
5635
else
5636
goto is_not_a_corner;
5637
else
5638
goto is_not_a_corner;
5639
else
5640
goto is_not_a_corner;
5641
else
5642
if(ptr[offset3] > cb)
5643
if(ptr[offset4] > cb)
5644
if(ptr[offset10] > cb)
5645
if(ptr[offset11] > cb)
5646
goto is_a_corner;
5647
else
5648
goto is_not_a_corner;
5649
else
5650
goto is_not_a_corner;
5651
else
5652
goto is_not_a_corner;
5653
else
5654
goto is_not_a_corner;
5655
else
5656
goto is_not_a_corner;
5657
else
5658
if(ptr[offset9] > cb)
5659
if(ptr[offset1] < c_b)
5660
goto is_not_a_corner;
5661
else
5662
if(ptr[offset1] > cb)
5663
if(ptr[offset6] > cb)
5664
if(ptr[offset10] > cb)
5665
if(ptr[offset11] > cb)
5666
if(ptr[offset3] > cb)
5667
goto is_a_corner;
5668
else
5669
if(ptr[offset8] > cb)
5670
goto is_a_corner;
5671
else
5672
goto is_not_a_corner;
5673
else
5674
goto is_not_a_corner;
5675
else
5676
goto is_not_a_corner;
5677
else
5678
if(ptr[offset6] < c_b)
5679
if(ptr[offset10] > cb)
5680
if(ptr[offset11] > cb)
5681
if(ptr[offset3] > cb)
5682
goto is_a_corner;
5683
else
5684
if(ptr[offset8] > cb)
5685
goto is_a_corner;
5686
else
5687
goto is_not_a_corner;
5688
else
5689
goto is_not_a_corner;
5690
else
5691
goto is_not_a_corner;
5692
else
5693
if(ptr[offset10] > cb)
5694
if(ptr[offset11] > cb)
5695
if(ptr[offset3] > cb)
5696
goto is_a_corner;
5697
else
5698
if(ptr[offset8] > cb)
5699
goto is_a_corner;
5700
else
5701
goto is_not_a_corner;
5702
else
5703
goto is_not_a_corner;
5704
else
5705
goto is_not_a_corner;
5706
else
5707
goto is_not_a_corner;
5708
else
5709
if(ptr[offset1] < c_b)
5710
goto is_not_a_corner;
5711
else
5712
if(ptr[offset1] > cb)
5713
if(ptr[offset6] > cb)
5714
if(ptr[offset3] > cb)
5715
if(ptr[offset4] > cb)
5716
if(ptr[offset10] > cb)
5717
if(ptr[offset11] > cb)
5718
goto is_a_corner;
5719
else
5720
goto is_not_a_corner;
5721
else
5722
goto is_not_a_corner;
5723
else
5724
goto is_not_a_corner;
5725
else
5726
goto is_not_a_corner;
5727
else
5728
if(ptr[offset6] < c_b)
5729
if(ptr[offset3] > cb)
5730
if(ptr[offset4] > cb)
5731
if(ptr[offset10] > cb)
5732
if(ptr[offset11] > cb)
5733
goto is_a_corner;
5734
else
5735
goto is_not_a_corner;
5736
else
5737
goto is_not_a_corner;
5738
else
5739
goto is_not_a_corner;
5740
else
5741
goto is_not_a_corner;
5742
else
5743
if(ptr[offset3] > cb)
5744
if(ptr[offset4] > cb)
5745
if(ptr[offset10] > cb)
5746
if(ptr[offset11] > cb)
5747
goto is_a_corner;
5748
else
5749
goto is_not_a_corner;
5750
else
5751
goto is_not_a_corner;
5752
else
5753
goto is_not_a_corner;
5754
else
5755
goto is_not_a_corner;
5756
else
5757
goto is_not_a_corner;
5758
else
5759
if(ptr[offset7] > cb)
5760
if(ptr[offset9] < c_b)
5761
goto is_not_a_corner;
5762
else
5763
if(ptr[offset9] > cb)
5764
if(ptr[offset1] < c_b)
5765
if(ptr[offset6] < c_b)
5766
goto is_not_a_corner;
5767
else
5768
if(ptr[offset6] > cb)
5769
if(ptr[offset8] > cb)
5770
if(ptr[offset10] > cb)
5771
if(ptr[offset11] > cb)
5772
goto is_a_corner;
5773
else
5774
goto is_not_a_corner;
5775
else
5776
goto is_not_a_corner;
5777
else
5778
goto is_not_a_corner;
5779
else
5780
goto is_not_a_corner;
5781
else
5782
if(ptr[offset1] > cb)
5783
if(ptr[offset6] > cb)
5784
if(ptr[offset8] > cb)
5785
if(ptr[offset10] > cb)
5786
if(ptr[offset11] > cb)
5787
goto is_a_corner;
5788
else
5789
goto is_not_a_corner;
5790
else
5791
goto is_not_a_corner;
5792
else
5793
goto is_not_a_corner;
5794
else
5795
if(ptr[offset6] < c_b)
5796
if(ptr[offset8] > cb)
5797
if(ptr[offset10] > cb)
5798
if(ptr[offset11] > cb)
5799
goto is_a_corner;
5800
else
5801
goto is_not_a_corner;
5802
else
5803
goto is_not_a_corner;
5804
else
5805
goto is_not_a_corner;
5806
else
5807
if(ptr[offset8] > cb)
5808
if(ptr[offset10] > cb)
5809
if(ptr[offset11] > cb)
5810
goto is_a_corner;
5811
else
5812
goto is_not_a_corner;
5813
else
5814
goto is_not_a_corner;
5815
else
5816
goto is_not_a_corner;
5817
else
5818
if(ptr[offset6] < c_b)
5819
goto is_not_a_corner;
5820
else
5821
if(ptr[offset6] > cb)
5822
if(ptr[offset8] > cb)
5823
if(ptr[offset10] > cb)
5824
if(ptr[offset11] > cb)
5825
goto is_a_corner;
5826
else
5827
goto is_not_a_corner;
5828
else
5829
goto is_not_a_corner;
5830
else
5831
goto is_not_a_corner;
5832
else
5833
goto is_not_a_corner;
5834
else
5835
goto is_not_a_corner;
5836
else
5837
goto is_not_a_corner;
5838
else if(ptr[offset0] < c_b)
5839
if(ptr[offset5] < c_b)
5840
if(ptr[offset9] > cb)
5841
if(ptr[offset2] > cb)
5842
goto is_not_a_corner;
5843
else
5844
if(ptr[offset2] < c_b)
5845
if(ptr[offset7] > cb)
5846
if(ptr[offset1] > cb)
5847
goto is_not_a_corner;
5848
else
5849
if(ptr[offset1] < c_b)
5850
if(ptr[offset6] < c_b)
5851
if(ptr[offset3] < c_b)
5852
if(ptr[offset4] < c_b)
5853
goto is_a_corner;
5854
else
5855
goto is_not_a_corner;
5856
else
5857
goto is_not_a_corner;
5858
else
5859
if(ptr[offset6] > cb)
5860
if(ptr[offset3] < c_b)
5861
if(ptr[offset4] < c_b)
5862
if(ptr[offset11] < c_b)
5863
goto is_a_corner;
5864
else
5865
goto is_not_a_corner;
5866
else
5867
goto is_not_a_corner;
5868
else
5869
goto is_not_a_corner;
5870
else
5871
if(ptr[offset3] < c_b)
5872
if(ptr[offset4] < c_b)
5873
if(ptr[offset11] < c_b)
5874
goto is_a_corner;
5875
else
5876
goto is_not_a_corner;
5877
else
5878
goto is_not_a_corner;
5879
else
5880
goto is_not_a_corner;
5881
else
5882
goto is_not_a_corner;
5883
else
5884
if(ptr[offset7] < c_b)
5885
if(ptr[offset1] > cb)
5886
if(ptr[offset6] > cb)
5887
goto is_not_a_corner;
5888
else
5889
if(ptr[offset6] < c_b)
5890
if(ptr[offset3] < c_b)
5891
if(ptr[offset4] < c_b)
5892
if(ptr[offset8] < c_b)
5893
goto is_a_corner;
5894
else
5895
goto is_not_a_corner;
5896
else
5897
goto is_not_a_corner;
5898
else
5899
goto is_not_a_corner;
5900
else
5901
goto is_not_a_corner;
5902
else
5903
if(ptr[offset1] < c_b)
5904
if(ptr[offset6] < c_b)
5905
if(ptr[offset3] < c_b)
5906
if(ptr[offset4] < c_b)
5907
goto is_a_corner;
5908
else
5909
goto is_not_a_corner;
5910
else
5911
goto is_not_a_corner;
5912
else
5913
if(ptr[offset6] > cb)
5914
if(ptr[offset3] < c_b)
5915
if(ptr[offset4] < c_b)
5916
if(ptr[offset11] < c_b)
5917
goto is_a_corner;
5918
else
5919
goto is_not_a_corner;
5920
else
5921
goto is_not_a_corner;
5922
else
5923
goto is_not_a_corner;
5924
else
5925
if(ptr[offset3] < c_b)
5926
if(ptr[offset4] < c_b)
5927
if(ptr[offset11] < c_b)
5928
goto is_a_corner;
5929
else
5930
goto is_not_a_corner;
5931
else
5932
goto is_not_a_corner;
5933
else
5934
goto is_not_a_corner;
5935
else
5936
if(ptr[offset6] > cb)
5937
goto is_not_a_corner;
5938
else
5939
if(ptr[offset6] < c_b)
5940
if(ptr[offset3] < c_b)
5941
if(ptr[offset4] < c_b)
5942
if(ptr[offset8] < c_b)
5943
goto is_a_corner;
5944
else
5945
goto is_not_a_corner;
5946
else
5947
goto is_not_a_corner;
5948
else
5949
goto is_not_a_corner;
5950
else
5951
goto is_not_a_corner;
5952
else
5953
if(ptr[offset1] > cb)
5954
goto is_not_a_corner;
5955
else
5956
if(ptr[offset1] < c_b)
5957
if(ptr[offset6] < c_b)
5958
if(ptr[offset3] < c_b)
5959
if(ptr[offset4] < c_b)
5960
goto is_a_corner;
5961
else
5962
goto is_not_a_corner;
5963
else
5964
goto is_not_a_corner;
5965
else
5966
if(ptr[offset6] > cb)
5967
if(ptr[offset3] < c_b)
5968
if(ptr[offset4] < c_b)
5969
if(ptr[offset11] < c_b)
5970
goto is_a_corner;
5971
else
5972
goto is_not_a_corner;
5973
else
5974
goto is_not_a_corner;
5975
else
5976
goto is_not_a_corner;
5977
else
5978
if(ptr[offset3] < c_b)
5979
if(ptr[offset4] < c_b)
5980
if(ptr[offset11] < c_b)
5981
goto is_a_corner;
5982
else
5983
goto is_not_a_corner;
5984
else
5985
goto is_not_a_corner;
5986
else
5987
goto is_not_a_corner;
5988
else
5989
goto is_not_a_corner;
5990
else
5991
goto is_not_a_corner;
5992
else
5993
if(ptr[offset9] < c_b)
5994
if(ptr[offset7] > cb)
5995
if(ptr[offset2] > cb)
5996
goto is_not_a_corner;
5997
else
5998
if(ptr[offset2] < c_b)
5999
if(ptr[offset1] > cb)
6000
goto is_not_a_corner;
6001
else
6002
if(ptr[offset1] < c_b)
6003
if(ptr[offset6] > cb)
6004
if(ptr[offset11] < c_b)
6005
if(ptr[offset3] < c_b)
6006
if(ptr[offset4] < c_b)
6007
goto is_a_corner;
6008
else
6009
if(ptr[offset10] < c_b)
6010
goto is_a_corner;
6011
else
6012
goto is_not_a_corner;
6013
else
6014
if(ptr[offset8] < c_b)
6015
if(ptr[offset10] < c_b)
6016
goto is_a_corner;
6017
else
6018
goto is_not_a_corner;
6019
else
6020
goto is_not_a_corner;
6021
else
6022
goto is_not_a_corner;
6023
else
6024
if(ptr[offset6] < c_b)
6025
if(ptr[offset3] < c_b)
6026
if(ptr[offset4] < c_b)
6027
goto is_a_corner;
6028
else
6029
if(ptr[offset10] < c_b)
6030
if(ptr[offset11] < c_b)
6031
goto is_a_corner;
6032
else
6033
goto is_not_a_corner;
6034
else
6035
goto is_not_a_corner;
6036
else
6037
if(ptr[offset8] < c_b)
6038
if(ptr[offset10] < c_b)
6039
if(ptr[offset11] < c_b)
6040
goto is_a_corner;
6041
else
6042
goto is_not_a_corner;
6043
else
6044
goto is_not_a_corner;
6045
else
6046
goto is_not_a_corner;
6047
else
6048
if(ptr[offset11] < c_b)
6049
if(ptr[offset3] < c_b)
6050
if(ptr[offset4] < c_b)
6051
goto is_a_corner;
6052
else
6053
if(ptr[offset10] < c_b)
6054
goto is_a_corner;
6055
else
6056
goto is_not_a_corner;
6057
else
6058
if(ptr[offset8] < c_b)
6059
if(ptr[offset10] < c_b)
6060
goto is_a_corner;
6061
else
6062
goto is_not_a_corner;
6063
else
6064
goto is_not_a_corner;
6065
else
6066
goto is_not_a_corner;
6067
else
6068
goto is_not_a_corner;
6069
else
6070
goto is_not_a_corner;
6071
else
6072
if(ptr[offset7] < c_b)
6073
if(ptr[offset2] > cb)
6074
if(ptr[offset1] > cb)
6075
if(ptr[offset6] > cb)
6076
goto is_not_a_corner;
6077
else
6078
if(ptr[offset6] < c_b)
6079
if(ptr[offset8] < c_b)
6080
if(ptr[offset4] < c_b)
6081
if(ptr[offset3] < c_b)
6082
goto is_a_corner;
6083
else
6084
if(ptr[offset10] < c_b)
6085
goto is_a_corner;
6086
else
6087
goto is_not_a_corner;
6088
else
6089
if(ptr[offset10] < c_b)
6090
if(ptr[offset11] < c_b)
6091
goto is_a_corner;
6092
else
6093
goto is_not_a_corner;
6094
else
6095
goto is_not_a_corner;
6096
else
6097
goto is_not_a_corner;
6098
else
6099
goto is_not_a_corner;
6100
else
6101
if(ptr[offset1] < c_b)
6102
if(ptr[offset6] > cb)
6103
if(ptr[offset8] < c_b)
6104
if(ptr[offset10] < c_b)
6105
if(ptr[offset11] < c_b)
6106
goto is_a_corner;
6107
else
6108
goto is_not_a_corner;
6109
else
6110
goto is_not_a_corner;
6111
else
6112
goto is_not_a_corner;
6113
else
6114
if(ptr[offset6] < c_b)
6115
if(ptr[offset8] < c_b)
6116
if(ptr[offset4] < c_b)
6117
if(ptr[offset3] < c_b)
6118
goto is_a_corner;
6119
else
6120
if(ptr[offset10] < c_b)
6121
goto is_a_corner;
6122
else
6123
goto is_not_a_corner;
6124
else
6125
if(ptr[offset10] < c_b)
6126
if(ptr[offset11] < c_b)
6127
goto is_a_corner;
6128
else
6129
goto is_not_a_corner;
6130
else
6131
goto is_not_a_corner;
6132
else
6133
goto is_not_a_corner;
6134
else
6135
if(ptr[offset8] < c_b)
6136
if(ptr[offset10] < c_b)
6137
if(ptr[offset11] < c_b)
6138
goto is_a_corner;
6139
else
6140
goto is_not_a_corner;
6141
else
6142
goto is_not_a_corner;
6143
else
6144
goto is_not_a_corner;
6145
else
6146
if(ptr[offset6] > cb)
6147
goto is_not_a_corner;
6148
else
6149
if(ptr[offset6] < c_b)
6150
if(ptr[offset8] < c_b)
6151
if(ptr[offset4] < c_b)
6152
if(ptr[offset3] < c_b)
6153
goto is_a_corner;
6154
else
6155
if(ptr[offset10] < c_b)
6156
goto is_a_corner;
6157
else
6158
goto is_not_a_corner;
6159
else
6160
if(ptr[offset10] < c_b)
6161
if(ptr[offset11] < c_b)
6162
goto is_a_corner;
6163
else
6164
goto is_not_a_corner;
6165
else
6166
goto is_not_a_corner;
6167
else
6168
goto is_not_a_corner;
6169
else
6170
goto is_not_a_corner;
6171
else
6172
if(ptr[offset2] < c_b)
6173
if(ptr[offset1] > cb)
6174
if(ptr[offset6] > cb)
6175
goto is_not_a_corner;
6176
else
6177
if(ptr[offset6] < c_b)
6178
if(ptr[offset8] < c_b)
6179
if(ptr[offset4] < c_b)
6180
if(ptr[offset3] < c_b)
6181
goto is_a_corner;
6182
else
6183
if(ptr[offset10] < c_b)
6184
goto is_a_corner;
6185
else
6186
goto is_not_a_corner;
6187
else
6188
if(ptr[offset10] < c_b)
6189
if(ptr[offset11] < c_b)
6190
goto is_a_corner;
6191
else
6192
goto is_not_a_corner;
6193
else
6194
goto is_not_a_corner;
6195
else
6196
goto is_not_a_corner;
6197
else
6198
goto is_not_a_corner;
6199
else
6200
if(ptr[offset1] < c_b)
6201
if(ptr[offset6] > cb)
6202
if(ptr[offset11] < c_b)
6203
if(ptr[offset3] < c_b)
6204
if(ptr[offset4] < c_b)
6205
goto is_a_corner;
6206
else
6207
if(ptr[offset10] < c_b)
6208
goto is_a_corner;
6209
else
6210
goto is_not_a_corner;
6211
else
6212
if(ptr[offset8] < c_b)
6213
if(ptr[offset10] < c_b)
6214
goto is_a_corner;
6215
else
6216
goto is_not_a_corner;
6217
else
6218
goto is_not_a_corner;
6219
else
6220
goto is_not_a_corner;
6221
else
6222
if(ptr[offset6] < c_b)
6223
if(ptr[offset3] < c_b)
6224
if(ptr[offset4] < c_b)
6225
goto is_a_corner;
6226
else
6227
if(ptr[offset10] < c_b)
6228
if(ptr[offset11] < c_b)
6229
goto is_a_corner;
6230
else
6231
goto is_not_a_corner;
6232
else
6233
goto is_not_a_corner;
6234
else
6235
if(ptr[offset8] < c_b)
6236
if(ptr[offset10] < c_b)
6237
if(ptr[offset4] < c_b)
6238
goto is_a_corner;
6239
else
6240
if(ptr[offset11] < c_b)
6241
goto is_a_corner;
6242
else
6243
goto is_not_a_corner;
6244
else
6245
goto is_not_a_corner;
6246
else
6247
goto is_not_a_corner;
6248
else
6249
if(ptr[offset11] < c_b)
6250
if(ptr[offset3] < c_b)
6251
if(ptr[offset4] < c_b)
6252
goto is_a_corner;
6253
else
6254
if(ptr[offset10] < c_b)
6255
goto is_a_corner;
6256
else
6257
goto is_not_a_corner;
6258
else
6259
if(ptr[offset8] < c_b)
6260
if(ptr[offset10] < c_b)
6261
goto is_a_corner;
6262
else
6263
goto is_not_a_corner;
6264
else
6265
goto is_not_a_corner;
6266
else
6267
goto is_not_a_corner;
6268
else
6269
if(ptr[offset6] > cb)
6270
goto is_not_a_corner;
6271
else
6272
if(ptr[offset6] < c_b)
6273
if(ptr[offset8] < c_b)
6274
if(ptr[offset4] < c_b)
6275
if(ptr[offset3] < c_b)
6276
goto is_a_corner;
6277
else
6278
if(ptr[offset10] < c_b)
6279
goto is_a_corner;
6280
else
6281
goto is_not_a_corner;
6282
else
6283
if(ptr[offset10] < c_b)
6284
if(ptr[offset11] < c_b)
6285
goto is_a_corner;
6286
else
6287
goto is_not_a_corner;
6288
else
6289
goto is_not_a_corner;
6290
else
6291
goto is_not_a_corner;
6292
else
6293
goto is_not_a_corner;
6294
else
6295
if(ptr[offset1] > cb)
6296
if(ptr[offset6] > cb)
6297
goto is_not_a_corner;
6298
else
6299
if(ptr[offset6] < c_b)
6300
if(ptr[offset8] < c_b)
6301
if(ptr[offset4] < c_b)
6302
if(ptr[offset3] < c_b)
6303
goto is_a_corner;
6304
else
6305
if(ptr[offset10] < c_b)
6306
goto is_a_corner;
6307
else
6308
goto is_not_a_corner;
6309
else
6310
if(ptr[offset10] < c_b)
6311
if(ptr[offset11] < c_b)
6312
goto is_a_corner;
6313
else
6314
goto is_not_a_corner;
6315
else
6316
goto is_not_a_corner;
6317
else
6318
goto is_not_a_corner;
6319
else
6320
goto is_not_a_corner;
6321
else
6322
if(ptr[offset1] < c_b)
6323
if(ptr[offset6] > cb)
6324
if(ptr[offset8] < c_b)
6325
if(ptr[offset10] < c_b)
6326
if(ptr[offset11] < c_b)
6327
goto is_a_corner;
6328
else
6329
goto is_not_a_corner;
6330
else
6331
goto is_not_a_corner;
6332
else
6333
goto is_not_a_corner;
6334
else
6335
if(ptr[offset6] < c_b)
6336
if(ptr[offset8] < c_b)
6337
if(ptr[offset4] < c_b)
6338
if(ptr[offset3] < c_b)
6339
goto is_a_corner;
6340
else
6341
if(ptr[offset10] < c_b)
6342
goto is_a_corner;
6343
else
6344
goto is_not_a_corner;
6345
else
6346
if(ptr[offset10] < c_b)
6347
if(ptr[offset11] < c_b)
6348
goto is_a_corner;
6349
else
6350
goto is_not_a_corner;
6351
else
6352
goto is_not_a_corner;
6353
else
6354
goto is_not_a_corner;
6355
else
6356
if(ptr[offset8] < c_b)
6357
if(ptr[offset10] < c_b)
6358
if(ptr[offset11] < c_b)
6359
goto is_a_corner;
6360
else
6361
goto is_not_a_corner;
6362
else
6363
goto is_not_a_corner;
6364
else
6365
goto is_not_a_corner;
6366
else
6367
if(ptr[offset6] > cb)
6368
goto is_not_a_corner;
6369
else
6370
if(ptr[offset6] < c_b)
6371
if(ptr[offset8] < c_b)
6372
if(ptr[offset4] < c_b)
6373
if(ptr[offset3] < c_b)
6374
goto is_a_corner;
6375
else
6376
if(ptr[offset10] < c_b)
6377
goto is_a_corner;
6378
else
6379
goto is_not_a_corner;
6380
else
6381
if(ptr[offset10] < c_b)
6382
if(ptr[offset11] < c_b)
6383
goto is_a_corner;
6384
else
6385
goto is_not_a_corner;
6386
else
6387
goto is_not_a_corner;
6388
else
6389
goto is_not_a_corner;
6390
else
6391
goto is_not_a_corner;
6392
else
6393
if(ptr[offset2] > cb)
6394
goto is_not_a_corner;
6395
else
6396
if(ptr[offset2] < c_b)
6397
if(ptr[offset1] > cb)
6398
goto is_not_a_corner;
6399
else
6400
if(ptr[offset1] < c_b)
6401
if(ptr[offset6] > cb)
6402
if(ptr[offset11] < c_b)
6403
if(ptr[offset3] < c_b)
6404
if(ptr[offset4] < c_b)
6405
goto is_a_corner;
6406
else
6407
if(ptr[offset10] < c_b)
6408
goto is_a_corner;
6409
else
6410
goto is_not_a_corner;
6411
else
6412
if(ptr[offset8] < c_b)
6413
if(ptr[offset10] < c_b)
6414
goto is_a_corner;
6415
else
6416
goto is_not_a_corner;
6417
else
6418
goto is_not_a_corner;
6419
else
6420
goto is_not_a_corner;
6421
else
6422
if(ptr[offset6] < c_b)
6423
if(ptr[offset3] < c_b)
6424
if(ptr[offset4] < c_b)
6425
goto is_a_corner;
6426
else
6427
if(ptr[offset10] < c_b)
6428
if(ptr[offset11] < c_b)
6429
goto is_a_corner;
6430
else
6431
goto is_not_a_corner;
6432
else
6433
goto is_not_a_corner;
6434
else
6435
if(ptr[offset8] < c_b)
6436
if(ptr[offset10] < c_b)
6437
if(ptr[offset11] < c_b)
6438
goto is_a_corner;
6439
else
6440
goto is_not_a_corner;
6441
else
6442
goto is_not_a_corner;
6443
else
6444
goto is_not_a_corner;
6445
else
6446
if(ptr[offset11] < c_b)
6447
if(ptr[offset3] < c_b)
6448
if(ptr[offset4] < c_b)
6449
goto is_a_corner;
6450
else
6451
if(ptr[offset10] < c_b)
6452
goto is_a_corner;
6453
else
6454
goto is_not_a_corner;
6455
else
6456
if(ptr[offset8] < c_b)
6457
if(ptr[offset10] < c_b)
6458
goto is_a_corner;
6459
else
6460
goto is_not_a_corner;
6461
else
6462
goto is_not_a_corner;
6463
else
6464
goto is_not_a_corner;
6465
else
6466
goto is_not_a_corner;
6467
else
6468
goto is_not_a_corner;
6469
else
6470
if(ptr[offset2] > cb)
6471
goto is_not_a_corner;
6472
else
6473
if(ptr[offset2] < c_b)
6474
if(ptr[offset7] > cb)
6475
if(ptr[offset1] > cb)
6476
goto is_not_a_corner;
6477
else
6478
if(ptr[offset1] < c_b)
6479
if(ptr[offset6] < c_b)
6480
if(ptr[offset3] < c_b)
6481
if(ptr[offset4] < c_b)
6482
goto is_a_corner;
6483
else
6484
goto is_not_a_corner;
6485
else
6486
goto is_not_a_corner;
6487
else
6488
if(ptr[offset6] > cb)
6489
if(ptr[offset3] < c_b)
6490
if(ptr[offset4] < c_b)
6491
if(ptr[offset11] < c_b)
6492
goto is_a_corner;
6493
else
6494
goto is_not_a_corner;
6495
else
6496
goto is_not_a_corner;
6497
else
6498
goto is_not_a_corner;
6499
else
6500
if(ptr[offset3] < c_b)
6501
if(ptr[offset4] < c_b)
6502
if(ptr[offset11] < c_b)
6503
goto is_a_corner;
6504
else
6505
goto is_not_a_corner;
6506
else
6507
goto is_not_a_corner;
6508
else
6509
goto is_not_a_corner;
6510
else
6511
goto is_not_a_corner;
6512
else
6513
if(ptr[offset7] < c_b)
6514
if(ptr[offset1] > cb)
6515
if(ptr[offset6] > cb)
6516
goto is_not_a_corner;
6517
else
6518
if(ptr[offset6] < c_b)
6519
if(ptr[offset3] < c_b)
6520
if(ptr[offset4] < c_b)
6521
if(ptr[offset8] < c_b)
6522
goto is_a_corner;
6523
else
6524
goto is_not_a_corner;
6525
else
6526
goto is_not_a_corner;
6527
else
6528
goto is_not_a_corner;
6529
else
6530
goto is_not_a_corner;
6531
else
6532
if(ptr[offset1] < c_b)
6533
if(ptr[offset6] < c_b)
6534
if(ptr[offset3] < c_b)
6535
if(ptr[offset4] < c_b)
6536
goto is_a_corner;
6537
else
6538
goto is_not_a_corner;
6539
else
6540
goto is_not_a_corner;
6541
else
6542
if(ptr[offset6] > cb)
6543
if(ptr[offset3] < c_b)
6544
if(ptr[offset4] < c_b)
6545
if(ptr[offset11] < c_b)
6546
goto is_a_corner;
6547
else
6548
goto is_not_a_corner;
6549
else
6550
goto is_not_a_corner;
6551
else
6552
goto is_not_a_corner;
6553
else
6554
if(ptr[offset3] < c_b)
6555
if(ptr[offset4] < c_b)
6556
if(ptr[offset11] < c_b)
6557
goto is_a_corner;
6558
else
6559
goto is_not_a_corner;
6560
else
6561
goto is_not_a_corner;
6562
else
6563
goto is_not_a_corner;
6564
else
6565
if(ptr[offset6] > cb)
6566
goto is_not_a_corner;
6567
else
6568
if(ptr[offset6] < c_b)
6569
if(ptr[offset3] < c_b)
6570
if(ptr[offset4] < c_b)
6571
if(ptr[offset8] < c_b)
6572
goto is_a_corner;
6573
else
6574
goto is_not_a_corner;
6575
else
6576
goto is_not_a_corner;
6577
else
6578
goto is_not_a_corner;
6579
else
6580
goto is_not_a_corner;
6581
else
6582
if(ptr[offset1] > cb)
6583
goto is_not_a_corner;
6584
else
6585
if(ptr[offset1] < c_b)
6586
if(ptr[offset6] < c_b)
6587
if(ptr[offset3] < c_b)
6588
if(ptr[offset4] < c_b)
6589
goto is_a_corner;
6590
else
6591
goto is_not_a_corner;
6592
else
6593
goto is_not_a_corner;
6594
else
6595
if(ptr[offset6] > cb)
6596
if(ptr[offset3] < c_b)
6597
if(ptr[offset4] < c_b)
6598
if(ptr[offset11] < c_b)
6599
goto is_a_corner;
6600
else
6601
goto is_not_a_corner;
6602
else
6603
goto is_not_a_corner;
6604
else
6605
goto is_not_a_corner;
6606
else
6607
if(ptr[offset3] < c_b)
6608
if(ptr[offset4] < c_b)
6609
if(ptr[offset11] < c_b)
6610
goto is_a_corner;
6611
else
6612
goto is_not_a_corner;
6613
else
6614
goto is_not_a_corner;
6615
else
6616
goto is_not_a_corner;
6617
else
6618
goto is_not_a_corner;
6619
else
6620
goto is_not_a_corner;
6621
else
6622
if(ptr[offset5] > cb)
6623
if(ptr[offset2] > cb)
6624
if(ptr[offset7] < c_b)
6625
if(ptr[offset9] > cb)
6626
goto is_not_a_corner;
6627
else
6628
if(ptr[offset9] < c_b)
6629
if(ptr[offset1] > cb)
6630
if(ptr[offset6] > cb)
6631
goto is_not_a_corner;
6632
else
6633
if(ptr[offset6] < c_b)
6634
if(ptr[offset8] < c_b)
6635
if(ptr[offset10] < c_b)
6636
if(ptr[offset11] < c_b)
6637
goto is_a_corner;
6638
else
6639
goto is_not_a_corner;
6640
else
6641
goto is_not_a_corner;
6642
else
6643
goto is_not_a_corner;
6644
else
6645
goto is_not_a_corner;
6646
else
6647
if(ptr[offset1] < c_b)
6648
if(ptr[offset6] > cb)
6649
if(ptr[offset8] < c_b)
6650
if(ptr[offset10] < c_b)
6651
if(ptr[offset11] < c_b)
6652
goto is_a_corner;
6653
else
6654
goto is_not_a_corner;
6655
else
6656
goto is_not_a_corner;
6657
else
6658
goto is_not_a_corner;
6659
else
6660
if(ptr[offset6] < c_b)
6661
if(ptr[offset8] < c_b)
6662
if(ptr[offset10] < c_b)
6663
if(ptr[offset11] < c_b)
6664
goto is_a_corner;
6665
else
6666
goto is_not_a_corner;
6667
else
6668
goto is_not_a_corner;
6669
else
6670
goto is_not_a_corner;
6671
else
6672
if(ptr[offset8] < c_b)
6673
if(ptr[offset10] < c_b)
6674
if(ptr[offset11] < c_b)
6675
goto is_a_corner;
6676
else
6677
goto is_not_a_corner;
6678
else
6679
goto is_not_a_corner;
6680
else
6681
goto is_not_a_corner;
6682
else
6683
if(ptr[offset6] > cb)
6684
goto is_not_a_corner;
6685
else
6686
if(ptr[offset6] < c_b)
6687
if(ptr[offset8] < c_b)
6688
if(ptr[offset10] < c_b)
6689
if(ptr[offset11] < c_b)
6690
goto is_a_corner;
6691
else
6692
goto is_not_a_corner;
6693
else
6694
goto is_not_a_corner;
6695
else
6696
goto is_not_a_corner;
6697
else
6698
goto is_not_a_corner;
6699
else
6700
goto is_not_a_corner;
6701
else
6702
if(ptr[offset7] > cb)
6703
if(ptr[offset9] < c_b)
6704
if(ptr[offset1] > cb)
6705
if(ptr[offset6] < c_b)
6706
goto is_not_a_corner;
6707
else
6708
if(ptr[offset6] > cb)
6709
if(ptr[offset3] > cb)
6710
if(ptr[offset4] > cb)
6711
goto is_a_corner;
6712
else
6713
goto is_not_a_corner;
6714
else
6715
goto is_not_a_corner;
6716
else
6717
goto is_not_a_corner;
6718
else
6719
if(ptr[offset1] < c_b)
6720
if(ptr[offset6] < c_b)
6721
goto is_not_a_corner;
6722
else
6723
if(ptr[offset6] > cb)
6724
if(ptr[offset3] > cb)
6725
if(ptr[offset4] > cb)
6726
if(ptr[offset8] > cb)
6727
goto is_a_corner;
6728
else
6729
goto is_not_a_corner;
6730
else
6731
goto is_not_a_corner;
6732
else
6733
goto is_not_a_corner;
6734
else
6735
goto is_not_a_corner;
6736
else
6737
if(ptr[offset6] < c_b)
6738
goto is_not_a_corner;
6739
else
6740
if(ptr[offset6] > cb)
6741
if(ptr[offset3] > cb)
6742
if(ptr[offset4] > cb)
6743
if(ptr[offset8] > cb)
6744
goto is_a_corner;
6745
else
6746
goto is_not_a_corner;
6747
else
6748
goto is_not_a_corner;
6749
else
6750
goto is_not_a_corner;
6751
else
6752
goto is_not_a_corner;
6753
else
6754
if(ptr[offset9] > cb)
6755
if(ptr[offset1] < c_b)
6756
if(ptr[offset6] < c_b)
6757
goto is_not_a_corner;
6758
else
6759
if(ptr[offset6] > cb)
6760
if(ptr[offset8] > cb)
6761
if(ptr[offset4] > cb)
6762
if(ptr[offset3] > cb)
6763
goto is_a_corner;
6764
else
6765
if(ptr[offset10] > cb)
6766
goto is_a_corner;
6767
else
6768
goto is_not_a_corner;
6769
else
6770
if(ptr[offset10] > cb)
6771
if(ptr[offset11] > cb)
6772
goto is_a_corner;
6773
else
6774
goto is_not_a_corner;
6775
else
6776
goto is_not_a_corner;
6777
else
6778
goto is_not_a_corner;
6779
else
6780
goto is_not_a_corner;
6781
else
6782
if(ptr[offset1] > cb)
6783
if(ptr[offset6] < c_b)
6784
goto is_not_a_corner;
6785
else
6786
if(ptr[offset6] > cb)
6787
if(ptr[offset4] > cb)
6788
if(ptr[offset3] > cb)
6789
goto is_a_corner;
6790
else
6791
if(ptr[offset8] > cb)
6792
if(ptr[offset10] > cb)
6793
goto is_a_corner;
6794
else
6795
goto is_not_a_corner;
6796
else
6797
goto is_not_a_corner;
6798
else
6799
if(ptr[offset8] > cb)
6800
if(ptr[offset10] > cb)
6801
if(ptr[offset11] > cb)
6802
goto is_a_corner;
6803
else
6804
goto is_not_a_corner;
6805
else
6806
goto is_not_a_corner;
6807
else
6808
goto is_not_a_corner;
6809
else
6810
goto is_not_a_corner;
6811
else
6812
if(ptr[offset6] < c_b)
6813
goto is_not_a_corner;
6814
else
6815
if(ptr[offset6] > cb)
6816
if(ptr[offset8] > cb)
6817
if(ptr[offset4] > cb)
6818
if(ptr[offset3] > cb)
6819
goto is_a_corner;
6820
else
6821
if(ptr[offset10] > cb)
6822
goto is_a_corner;
6823
else
6824
goto is_not_a_corner;
6825
else
6826
if(ptr[offset10] > cb)
6827
if(ptr[offset11] > cb)
6828
goto is_a_corner;
6829
else
6830
goto is_not_a_corner;
6831
else
6832
goto is_not_a_corner;
6833
else
6834
goto is_not_a_corner;
6835
else
6836
goto is_not_a_corner;
6837
else
6838
if(ptr[offset1] > cb)
6839
if(ptr[offset6] < c_b)
6840
goto is_not_a_corner;
6841
else
6842
if(ptr[offset6] > cb)
6843
if(ptr[offset3] > cb)
6844
if(ptr[offset4] > cb)
6845
goto is_a_corner;
6846
else
6847
goto is_not_a_corner;
6848
else
6849
goto is_not_a_corner;
6850
else
6851
goto is_not_a_corner;
6852
else
6853
if(ptr[offset1] < c_b)
6854
if(ptr[offset6] < c_b)
6855
goto is_not_a_corner;
6856
else
6857
if(ptr[offset6] > cb)
6858
if(ptr[offset3] > cb)
6859
if(ptr[offset4] > cb)
6860
if(ptr[offset8] > cb)
6861
goto is_a_corner;
6862
else
6863
goto is_not_a_corner;
6864
else
6865
goto is_not_a_corner;
6866
else
6867
goto is_not_a_corner;
6868
else
6869
goto is_not_a_corner;
6870
else
6871
if(ptr[offset6] < c_b)
6872
goto is_not_a_corner;
6873
else
6874
if(ptr[offset6] > cb)
6875
if(ptr[offset3] > cb)
6876
if(ptr[offset4] > cb)
6877
if(ptr[offset8] > cb)
6878
goto is_a_corner;
6879
else
6880
goto is_not_a_corner;
6881
else
6882
goto is_not_a_corner;
6883
else
6884
goto is_not_a_corner;
6885
else
6886
goto is_not_a_corner;
6887
else
6888
goto is_not_a_corner;
6889
else
6890
if(ptr[offset2] < c_b)
6891
if(ptr[offset7] < c_b)
6892
if(ptr[offset9] > cb)
6893
if(ptr[offset1] > cb)
6894
goto is_not_a_corner;
6895
else
6896
if(ptr[offset1] < c_b)
6897
if(ptr[offset6] > cb)
6898
if(ptr[offset3] < c_b)
6899
if(ptr[offset4] < c_b)
6900
if(ptr[offset10] < c_b)
6901
if(ptr[offset11] < c_b)
6902
goto is_a_corner;
6903
else
6904
goto is_not_a_corner;
6905
else
6906
goto is_not_a_corner;
6907
else
6908
goto is_not_a_corner;
6909
else
6910
goto is_not_a_corner;
6911
else
6912
if(ptr[offset6] < c_b)
6913
if(ptr[offset3] < c_b)
6914
if(ptr[offset4] < c_b)
6915
if(ptr[offset10] < c_b)
6916
if(ptr[offset11] < c_b)
6917
goto is_a_corner;
6918
else
6919
goto is_not_a_corner;
6920
else
6921
goto is_not_a_corner;
6922
else
6923
goto is_not_a_corner;
6924
else
6925
goto is_not_a_corner;
6926
else
6927
if(ptr[offset3] < c_b)
6928
if(ptr[offset4] < c_b)
6929
if(ptr[offset10] < c_b)
6930
if(ptr[offset11] < c_b)
6931
goto is_a_corner;
6932
else
6933
goto is_not_a_corner;
6934
else
6935
goto is_not_a_corner;
6936
else
6937
goto is_not_a_corner;
6938
else
6939
goto is_not_a_corner;
6940
else
6941
goto is_not_a_corner;
6942
else
6943
if(ptr[offset9] < c_b)
6944
if(ptr[offset1] > cb)
6945
if(ptr[offset6] > cb)
6946
goto is_not_a_corner;
6947
else
6948
if(ptr[offset6] < c_b)
6949
if(ptr[offset8] < c_b)
6950
if(ptr[offset10] < c_b)
6951
if(ptr[offset11] < c_b)
6952
goto is_a_corner;
6953
else
6954
goto is_not_a_corner;
6955
else
6956
goto is_not_a_corner;
6957
else
6958
goto is_not_a_corner;
6959
else
6960
goto is_not_a_corner;
6961
else
6962
if(ptr[offset1] < c_b)
6963
if(ptr[offset6] > cb)
6964
if(ptr[offset10] < c_b)
6965
if(ptr[offset11] < c_b)
6966
if(ptr[offset3] < c_b)
6967
goto is_a_corner;
6968
else
6969
if(ptr[offset8] < c_b)
6970
goto is_a_corner;
6971
else
6972
goto is_not_a_corner;
6973
else
6974
goto is_not_a_corner;
6975
else
6976
goto is_not_a_corner;
6977
else
6978
if(ptr[offset6] < c_b)
6979
if(ptr[offset10] < c_b)
6980
if(ptr[offset11] < c_b)
6981
if(ptr[offset3] < c_b)
6982
goto is_a_corner;
6983
else
6984
if(ptr[offset8] < c_b)
6985
goto is_a_corner;
6986
else
6987
goto is_not_a_corner;
6988
else
6989
goto is_not_a_corner;
6990
else
6991
goto is_not_a_corner;
6992
else
6993
if(ptr[offset10] < c_b)
6994
if(ptr[offset11] < c_b)
6995
if(ptr[offset3] < c_b)
6996
goto is_a_corner;
6997
else
6998
if(ptr[offset8] < c_b)
6999
goto is_a_corner;
7000
else
7001
goto is_not_a_corner;
7002
else
7003
goto is_not_a_corner;
7004
else
7005
goto is_not_a_corner;
7006
else
7007
if(ptr[offset6] > cb)
7008
goto is_not_a_corner;
7009
else
7010
if(ptr[offset6] < c_b)
7011
if(ptr[offset8] < c_b)
7012
if(ptr[offset10] < c_b)
7013
if(ptr[offset11] < c_b)
7014
goto is_a_corner;
7015
else
7016
goto is_not_a_corner;
7017
else
7018
goto is_not_a_corner;
7019
else
7020
goto is_not_a_corner;
7021
else
7022
goto is_not_a_corner;
7023
else
7024
if(ptr[offset1] > cb)
7025
goto is_not_a_corner;
7026
else
7027
if(ptr[offset1] < c_b)
7028
if(ptr[offset6] > cb)
7029
if(ptr[offset3] < c_b)
7030
if(ptr[offset4] < c_b)
7031
if(ptr[offset10] < c_b)
7032
if(ptr[offset11] < c_b)
7033
goto is_a_corner;
7034
else
7035
goto is_not_a_corner;
7036
else
7037
goto is_not_a_corner;
7038
else
7039
goto is_not_a_corner;
7040
else
7041
goto is_not_a_corner;
7042
else
7043
if(ptr[offset6] < c_b)
7044
if(ptr[offset3] < c_b)
7045
if(ptr[offset4] < c_b)
7046
if(ptr[offset10] < c_b)
7047
if(ptr[offset11] < c_b)
7048
goto is_a_corner;
7049
else
7050
goto is_not_a_corner;
7051
else
7052
goto is_not_a_corner;
7053
else
7054
goto is_not_a_corner;
7055
else
7056
goto is_not_a_corner;
7057
else
7058
if(ptr[offset3] < c_b)
7059
if(ptr[offset4] < c_b)
7060
if(ptr[offset10] < c_b)
7061
if(ptr[offset11] < c_b)
7062
goto is_a_corner;
7063
else
7064
goto is_not_a_corner;
7065
else
7066
goto is_not_a_corner;
7067
else
7068
goto is_not_a_corner;
7069
else
7070
goto is_not_a_corner;
7071
else
7072
goto is_not_a_corner;
7073
else
7074
if(ptr[offset7] > cb)
7075
if(ptr[offset9] < c_b)
7076
if(ptr[offset1] > cb)
7077
goto is_not_a_corner;
7078
else
7079
if(ptr[offset1] < c_b)
7080
if(ptr[offset6] > cb)
7081
if(ptr[offset10] < c_b)
7082
if(ptr[offset11] < c_b)
7083
if(ptr[offset3] < c_b)
7084
goto is_a_corner;
7085
else
7086
if(ptr[offset8] < c_b)
7087
goto is_a_corner;
7088
else
7089
goto is_not_a_corner;
7090
else
7091
goto is_not_a_corner;
7092
else
7093
goto is_not_a_corner;
7094
else
7095
if(ptr[offset6] < c_b)
7096
if(ptr[offset10] < c_b)
7097
if(ptr[offset11] < c_b)
7098
if(ptr[offset3] < c_b)
7099
goto is_a_corner;
7100
else
7101
if(ptr[offset8] < c_b)
7102
goto is_a_corner;
7103
else
7104
goto is_not_a_corner;
7105
else
7106
goto is_not_a_corner;
7107
else
7108
goto is_not_a_corner;
7109
else
7110
if(ptr[offset10] < c_b)
7111
if(ptr[offset11] < c_b)
7112
if(ptr[offset3] < c_b)
7113
goto is_a_corner;
7114
else
7115
if(ptr[offset8] < c_b)
7116
goto is_a_corner;
7117
else
7118
goto is_not_a_corner;
7119
else
7120
goto is_not_a_corner;
7121
else
7122
goto is_not_a_corner;
7123
else
7124
goto is_not_a_corner;
7125
else
7126
if(ptr[offset9] > cb)
7127
if(ptr[offset1] > cb)
7128
if(ptr[offset6] < c_b)
7129
goto is_not_a_corner;
7130
else
7131
if(ptr[offset6] > cb)
7132
if(ptr[offset8] > cb)
7133
if(ptr[offset4] > cb)
7134
if(ptr[offset3] > cb)
7135
goto is_a_corner;
7136
else
7137
if(ptr[offset10] > cb)
7138
goto is_a_corner;
7139
else
7140
goto is_not_a_corner;
7141
else
7142
if(ptr[offset10] > cb)
7143
if(ptr[offset11] > cb)
7144
goto is_a_corner;
7145
else
7146
goto is_not_a_corner;
7147
else
7148
goto is_not_a_corner;
7149
else
7150
goto is_not_a_corner;
7151
else
7152
goto is_not_a_corner;
7153
else
7154
if(ptr[offset1] < c_b)
7155
if(ptr[offset6] < c_b)
7156
if(ptr[offset3] < c_b)
7157
if(ptr[offset4] < c_b)
7158
if(ptr[offset10] < c_b)
7159
if(ptr[offset11] < c_b)
7160
goto is_a_corner;
7161
else
7162
goto is_not_a_corner;
7163
else
7164
goto is_not_a_corner;
7165
else
7166
goto is_not_a_corner;
7167
else
7168
goto is_not_a_corner;
7169
else
7170
if(ptr[offset6] > cb)
7171
if(ptr[offset4] < c_b)
7172
if(ptr[offset10] > cb)
7173
if(ptr[offset8] > cb)
7174
if(ptr[offset11] > cb)
7175
goto is_a_corner;
7176
else
7177
goto is_not_a_corner;
7178
else
7179
goto is_not_a_corner;
7180
else
7181
if(ptr[offset3] < c_b)
7182
if(ptr[offset11] < c_b)
7183
if(ptr[offset10] < c_b)
7184
goto is_a_corner;
7185
else
7186
goto is_not_a_corner;
7187
else
7188
goto is_not_a_corner;
7189
else
7190
goto is_not_a_corner;
7191
else
7192
if(ptr[offset8] > cb)
7193
if(ptr[offset10] > cb)
7194
if(ptr[offset4] > cb)
7195
goto is_a_corner;
7196
else
7197
if(ptr[offset11] > cb)
7198
goto is_a_corner;
7199
else
7200
goto is_not_a_corner;
7201
else
7202
if(ptr[offset3] > cb)
7203
if(ptr[offset4] > cb)
7204
goto is_a_corner;
7205
else
7206
goto is_not_a_corner;
7207
else
7208
goto is_not_a_corner;
7209
else
7210
goto is_not_a_corner;
7211
else
7212
if(ptr[offset3] < c_b)
7213
if(ptr[offset4] < c_b)
7214
if(ptr[offset10] < c_b)
7215
if(ptr[offset11] < c_b)
7216
goto is_a_corner;
7217
else
7218
goto is_not_a_corner;
7219
else
7220
goto is_not_a_corner;
7221
else
7222
goto is_not_a_corner;
7223
else
7224
goto is_not_a_corner;
7225
else
7226
if(ptr[offset6] < c_b)
7227
goto is_not_a_corner;
7228
else
7229
if(ptr[offset6] > cb)
7230
if(ptr[offset8] > cb)
7231
if(ptr[offset4] > cb)
7232
if(ptr[offset3] > cb)
7233
goto is_a_corner;
7234
else
7235
if(ptr[offset10] > cb)
7236
goto is_a_corner;
7237
else
7238
goto is_not_a_corner;
7239
else
7240
if(ptr[offset10] > cb)
7241
if(ptr[offset11] > cb)
7242
goto is_a_corner;
7243
else
7244
goto is_not_a_corner;
7245
else
7246
goto is_not_a_corner;
7247
else
7248
goto is_not_a_corner;
7249
else
7250
goto is_not_a_corner;
7251
else
7252
if(ptr[offset1] > cb)
7253
goto is_not_a_corner;
7254
else
7255
if(ptr[offset1] < c_b)
7256
if(ptr[offset6] > cb)
7257
if(ptr[offset3] < c_b)
7258
if(ptr[offset4] < c_b)
7259
if(ptr[offset10] < c_b)
7260
if(ptr[offset11] < c_b)
7261
goto is_a_corner;
7262
else
7263
goto is_not_a_corner;
7264
else
7265
goto is_not_a_corner;
7266
else
7267
goto is_not_a_corner;
7268
else
7269
goto is_not_a_corner;
7270
else
7271
if(ptr[offset6] < c_b)
7272
if(ptr[offset3] < c_b)
7273
if(ptr[offset4] < c_b)
7274
if(ptr[offset10] < c_b)
7275
if(ptr[offset11] < c_b)
7276
goto is_a_corner;
7277
else
7278
goto is_not_a_corner;
7279
else
7280
goto is_not_a_corner;
7281
else
7282
goto is_not_a_corner;
7283
else
7284
goto is_not_a_corner;
7285
else
7286
if(ptr[offset3] < c_b)
7287
if(ptr[offset4] < c_b)
7288
if(ptr[offset10] < c_b)
7289
if(ptr[offset11] < c_b)
7290
goto is_a_corner;
7291
else
7292
goto is_not_a_corner;
7293
else
7294
goto is_not_a_corner;
7295
else
7296
goto is_not_a_corner;
7297
else
7298
goto is_not_a_corner;
7299
else
7300
goto is_not_a_corner;
7301
else
7302
if(ptr[offset9] > cb)
7303
if(ptr[offset1] > cb)
7304
goto is_not_a_corner;
7305
else
7306
if(ptr[offset1] < c_b)
7307
if(ptr[offset6] > cb)
7308
if(ptr[offset3] < c_b)
7309
if(ptr[offset4] < c_b)
7310
if(ptr[offset10] < c_b)
7311
if(ptr[offset11] < c_b)
7312
goto is_a_corner;
7313
else
7314
goto is_not_a_corner;
7315
else
7316
goto is_not_a_corner;
7317
else
7318
goto is_not_a_corner;
7319
else
7320
goto is_not_a_corner;
7321
else
7322
if(ptr[offset6] < c_b)
7323
if(ptr[offset3] < c_b)
7324
if(ptr[offset4] < c_b)
7325
if(ptr[offset10] < c_b)
7326
if(ptr[offset11] < c_b)
7327
goto is_a_corner;
7328
else
7329
goto is_not_a_corner;
7330
else
7331
goto is_not_a_corner;
7332
else
7333
goto is_not_a_corner;
7334
else
7335
goto is_not_a_corner;
7336
else
7337
if(ptr[offset3] < c_b)
7338
if(ptr[offset4] < c_b)
7339
if(ptr[offset10] < c_b)
7340
if(ptr[offset11] < c_b)
7341
goto is_a_corner;
7342
else
7343
goto is_not_a_corner;
7344
else
7345
goto is_not_a_corner;
7346
else
7347
goto is_not_a_corner;
7348
else
7349
goto is_not_a_corner;
7350
else
7351
goto is_not_a_corner;
7352
else
7353
if(ptr[offset9] < c_b)
7354
if(ptr[offset1] > cb)
7355
goto is_not_a_corner;
7356
else
7357
if(ptr[offset1] < c_b)
7358
if(ptr[offset6] > cb)
7359
if(ptr[offset10] < c_b)
7360
if(ptr[offset11] < c_b)
7361
if(ptr[offset3] < c_b)
7362
goto is_a_corner;
7363
else
7364
if(ptr[offset8] < c_b)
7365
goto is_a_corner;
7366
else
7367
goto is_not_a_corner;
7368
else
7369
goto is_not_a_corner;
7370
else
7371
goto is_not_a_corner;
7372
else
7373
if(ptr[offset6] < c_b)
7374
if(ptr[offset10] < c_b)
7375
if(ptr[offset11] < c_b)
7376
if(ptr[offset3] < c_b)
7377
goto is_a_corner;
7378
else
7379
if(ptr[offset8] < c_b)
7380
goto is_a_corner;
7381
else
7382
goto is_not_a_corner;
7383
else
7384
goto is_not_a_corner;
7385
else
7386
goto is_not_a_corner;
7387
else
7388
if(ptr[offset10] < c_b)
7389
if(ptr[offset11] < c_b)
7390
if(ptr[offset3] < c_b)
7391
goto is_a_corner;
7392
else
7393
if(ptr[offset8] < c_b)
7394
goto is_a_corner;
7395
else
7396
goto is_not_a_corner;
7397
else
7398
goto is_not_a_corner;
7399
else
7400
goto is_not_a_corner;
7401
else
7402
goto is_not_a_corner;
7403
else
7404
if(ptr[offset1] > cb)
7405
goto is_not_a_corner;
7406
else
7407
if(ptr[offset1] < c_b)
7408
if(ptr[offset6] > cb)
7409
if(ptr[offset3] < c_b)
7410
if(ptr[offset4] < c_b)
7411
if(ptr[offset10] < c_b)
7412
if(ptr[offset11] < c_b)
7413
goto is_a_corner;
7414
else
7415
goto is_not_a_corner;
7416
else
7417
goto is_not_a_corner;
7418
else
7419
goto is_not_a_corner;
7420
else
7421
goto is_not_a_corner;
7422
else
7423
if(ptr[offset6] < c_b)
7424
if(ptr[offset3] < c_b)
7425
if(ptr[offset4] < c_b)
7426
if(ptr[offset10] < c_b)
7427
if(ptr[offset11] < c_b)
7428
goto is_a_corner;
7429
else
7430
goto is_not_a_corner;
7431
else
7432
goto is_not_a_corner;
7433
else
7434
goto is_not_a_corner;
7435
else
7436
goto is_not_a_corner;
7437
else
7438
if(ptr[offset3] < c_b)
7439
if(ptr[offset4] < c_b)
7440
if(ptr[offset10] < c_b)
7441
if(ptr[offset11] < c_b)
7442
goto is_a_corner;
7443
else
7444
goto is_not_a_corner;
7445
else
7446
goto is_not_a_corner;
7447
else
7448
goto is_not_a_corner;
7449
else
7450
goto is_not_a_corner;
7451
else
7452
goto is_not_a_corner;
7453
else
7454
if(ptr[offset7] > cb)
7455
if(ptr[offset9] < c_b)
7456
goto is_not_a_corner;
7457
else
7458
if(ptr[offset9] > cb)
7459
if(ptr[offset1] > cb)
7460
if(ptr[offset6] < c_b)
7461
goto is_not_a_corner;
7462
else
7463
if(ptr[offset6] > cb)
7464
if(ptr[offset8] > cb)
7465
if(ptr[offset4] > cb)
7466
if(ptr[offset3] > cb)
7467
goto is_a_corner;
7468
else
7469
if(ptr[offset10] > cb)
7470
goto is_a_corner;
7471
else
7472
goto is_not_a_corner;
7473
else
7474
if(ptr[offset10] > cb)
7475
if(ptr[offset11] > cb)
7476
goto is_a_corner;
7477
else
7478
goto is_not_a_corner;
7479
else
7480
goto is_not_a_corner;
7481
else
7482
goto is_not_a_corner;
7483
else
7484
goto is_not_a_corner;
7485
else
7486
if(ptr[offset1] < c_b)
7487
if(ptr[offset6] < c_b)
7488
goto is_not_a_corner;
7489
else
7490
if(ptr[offset6] > cb)
7491
if(ptr[offset8] > cb)
7492
if(ptr[offset4] > cb)
7493
if(ptr[offset3] > cb)
7494
goto is_a_corner;
7495
else
7496
if(ptr[offset10] > cb)
7497
goto is_a_corner;
7498
else
7499
goto is_not_a_corner;
7500
else
7501
if(ptr[offset10] > cb)
7502
if(ptr[offset11] > cb)
7503
goto is_a_corner;
7504
else
7505
goto is_not_a_corner;
7506
else
7507
goto is_not_a_corner;
7508
else
7509
goto is_not_a_corner;
7510
else
7511
goto is_not_a_corner;
7512
else
7513
if(ptr[offset6] < c_b)
7514
goto is_not_a_corner;
7515
else
7516
if(ptr[offset6] > cb)
7517
if(ptr[offset8] > cb)
7518
if(ptr[offset4] > cb)
7519
if(ptr[offset3] > cb)
7520
goto is_a_corner;
7521
else
7522
if(ptr[offset10] > cb)
7523
goto is_a_corner;
7524
else
7525
goto is_not_a_corner;
7526
else
7527
if(ptr[offset10] > cb)
7528
if(ptr[offset11] > cb)
7529
goto is_a_corner;
7530
else
7531
goto is_not_a_corner;
7532
else
7533
goto is_not_a_corner;
7534
else
7535
goto is_not_a_corner;
7536
else
7537
goto is_not_a_corner;
7538
else
7539
goto is_not_a_corner;
7540
else
7541
if(ptr[offset9] < c_b)
7542
if(ptr[offset7] < c_b)
7543
if(ptr[offset1] > cb)
7544
if(ptr[offset6] > cb)
7545
goto is_not_a_corner;
7546
else
7547
if(ptr[offset6] < c_b)
7548
if(ptr[offset8] < c_b)
7549
if(ptr[offset10] < c_b)
7550
if(ptr[offset11] < c_b)
7551
goto is_a_corner;
7552
else
7553
goto is_not_a_corner;
7554
else
7555
goto is_not_a_corner;
7556
else
7557
goto is_not_a_corner;
7558
else
7559
goto is_not_a_corner;
7560
else
7561
if(ptr[offset1] < c_b)
7562
if(ptr[offset6] > cb)
7563
if(ptr[offset8] < c_b)
7564
if(ptr[offset10] < c_b)
7565
if(ptr[offset11] < c_b)
7566
goto is_a_corner;
7567
else
7568
goto is_not_a_corner;
7569
else
7570
goto is_not_a_corner;
7571
else
7572
goto is_not_a_corner;
7573
else
7574
if(ptr[offset6] < c_b)
7575
if(ptr[offset8] < c_b)
7576
if(ptr[offset10] < c_b)
7577
if(ptr[offset11] < c_b)
7578
goto is_a_corner;
7579
else
7580
goto is_not_a_corner;
7581
else
7582
goto is_not_a_corner;
7583
else
7584
goto is_not_a_corner;
7585
else
7586
if(ptr[offset8] < c_b)
7587
if(ptr[offset10] < c_b)
7588
if(ptr[offset11] < c_b)
7589
goto is_a_corner;
7590
else
7591
goto is_not_a_corner;
7592
else
7593
goto is_not_a_corner;
7594
else
7595
goto is_not_a_corner;
7596
else
7597
if(ptr[offset6] > cb)
7598
goto is_not_a_corner;
7599
else
7600
if(ptr[offset6] < c_b)
7601
if(ptr[offset8] < c_b)
7602
if(ptr[offset10] < c_b)
7603
if(ptr[offset11] < c_b)
7604
goto is_a_corner;
7605
else
7606
goto is_not_a_corner;
7607
else
7608
goto is_not_a_corner;
7609
else
7610
goto is_not_a_corner;
7611
else
7612
goto is_not_a_corner;
7613
else
7614
goto is_not_a_corner;
7615
else
7616
goto is_not_a_corner;
7617
else
7618
if(ptr[offset2] > cb)
7619
if(ptr[offset7] < c_b)
7620
if(ptr[offset9] > cb)
7621
goto is_not_a_corner;
7622
else
7623
if(ptr[offset9] < c_b)
7624
if(ptr[offset1] > cb)
7625
if(ptr[offset6] > cb)
7626
goto is_not_a_corner;
7627
else
7628
if(ptr[offset6] < c_b)
7629
if(ptr[offset8] < c_b)
7630
if(ptr[offset10] < c_b)
7631
if(ptr[offset11] < c_b)
7632
goto is_a_corner;
7633
else
7634
goto is_not_a_corner;
7635
else
7636
goto is_not_a_corner;
7637
else
7638
goto is_not_a_corner;
7639
else
7640
goto is_not_a_corner;
7641
else
7642
if(ptr[offset1] < c_b)
7643
if(ptr[offset6] > cb)
7644
if(ptr[offset8] < c_b)
7645
if(ptr[offset10] < c_b)
7646
if(ptr[offset11] < c_b)
7647
goto is_a_corner;
7648
else
7649
goto is_not_a_corner;
7650
else
7651
goto is_not_a_corner;
7652
else
7653
goto is_not_a_corner;
7654
else
7655
if(ptr[offset6] < c_b)
7656
if(ptr[offset8] < c_b)
7657
if(ptr[offset10] < c_b)
7658
if(ptr[offset11] < c_b)
7659
goto is_a_corner;
7660
else
7661
goto is_not_a_corner;
7662
else
7663
goto is_not_a_corner;
7664
else
7665
goto is_not_a_corner;
7666
else
7667
if(ptr[offset8] < c_b)
7668
if(ptr[offset10] < c_b)
7669
if(ptr[offset11] < c_b)
7670
goto is_a_corner;
7671
else
7672
goto is_not_a_corner;
7673
else
7674
goto is_not_a_corner;
7675
else
7676
goto is_not_a_corner;
7677
else
7678
if(ptr[offset6] > cb)
7679
goto is_not_a_corner;
7680
else
7681
if(ptr[offset6] < c_b)
7682
if(ptr[offset8] < c_b)
7683
if(ptr[offset10] < c_b)
7684
if(ptr[offset11] < c_b)
7685
goto is_a_corner;
7686
else
7687
goto is_not_a_corner;
7688
else
7689
goto is_not_a_corner;
7690
else
7691
goto is_not_a_corner;
7692
else
7693
goto is_not_a_corner;
7694
else
7695
goto is_not_a_corner;
7696
else
7697
goto is_not_a_corner;
7698
else
7699
if(ptr[offset2] < c_b)
7700
if(ptr[offset7] > cb)
7701
if(ptr[offset9] > cb)
7702
if(ptr[offset1] > cb)
7703
goto is_not_a_corner;
7704
else
7705
if(ptr[offset1] < c_b)
7706
if(ptr[offset6] > cb)
7707
if(ptr[offset3] < c_b)
7708
if(ptr[offset4] < c_b)
7709
if(ptr[offset10] < c_b)
7710
if(ptr[offset11] < c_b)
7711
goto is_a_corner;
7712
else
7713
goto is_not_a_corner;
7714
else
7715
goto is_not_a_corner;
7716
else
7717
goto is_not_a_corner;
7718
else
7719
goto is_not_a_corner;
7720
else
7721
if(ptr[offset6] < c_b)
7722
if(ptr[offset3] < c_b)
7723
if(ptr[offset4] < c_b)
7724
if(ptr[offset10] < c_b)
7725
if(ptr[offset11] < c_b)
7726
goto is_a_corner;
7727
else
7728
goto is_not_a_corner;
7729
else
7730
goto is_not_a_corner;
7731
else
7732
goto is_not_a_corner;
7733
else
7734
goto is_not_a_corner;
7735
else
7736
if(ptr[offset3] < c_b)
7737
if(ptr[offset4] < c_b)
7738
if(ptr[offset10] < c_b)
7739
if(ptr[offset11] < c_b)
7740
goto is_a_corner;
7741
else
7742
goto is_not_a_corner;
7743
else
7744
goto is_not_a_corner;
7745
else
7746
goto is_not_a_corner;
7747
else
7748
goto is_not_a_corner;
7749
else
7750
goto is_not_a_corner;
7751
else
7752
if(ptr[offset9] < c_b)
7753
if(ptr[offset1] > cb)
7754
goto is_not_a_corner;
7755
else
7756
if(ptr[offset1] < c_b)
7757
if(ptr[offset6] > cb)
7758
if(ptr[offset10] < c_b)
7759
if(ptr[offset11] < c_b)
7760
if(ptr[offset3] < c_b)
7761
goto is_a_corner;
7762
else
7763
if(ptr[offset8] < c_b)
7764
goto is_a_corner;
7765
else
7766
goto is_not_a_corner;
7767
else
7768
goto is_not_a_corner;
7769
else
7770
goto is_not_a_corner;
7771
else
7772
if(ptr[offset6] < c_b)
7773
if(ptr[offset10] < c_b)
7774
if(ptr[offset11] < c_b)
7775
if(ptr[offset3] < c_b)
7776
goto is_a_corner;
7777
else
7778
if(ptr[offset8] < c_b)
7779
goto is_a_corner;
7780
else
7781
goto is_not_a_corner;
7782
else
7783
goto is_not_a_corner;
7784
else
7785
goto is_not_a_corner;
7786
else
7787
if(ptr[offset10] < c_b)
7788
if(ptr[offset11] < c_b)
7789
if(ptr[offset3] < c_b)
7790
goto is_a_corner;
7791
else
7792
if(ptr[offset8] < c_b)
7793
goto is_a_corner;
7794
else
7795
goto is_not_a_corner;
7796
else
7797
goto is_not_a_corner;
7798
else
7799
goto is_not_a_corner;
7800
else
7801
goto is_not_a_corner;
7802
else
7803
if(ptr[offset1] > cb)
7804
goto is_not_a_corner;
7805
else
7806
if(ptr[offset1] < c_b)
7807
if(ptr[offset6] > cb)
7808
if(ptr[offset3] < c_b)
7809
if(ptr[offset4] < c_b)
7810
if(ptr[offset10] < c_b)
7811
if(ptr[offset11] < c_b)
7812
goto is_a_corner;
7813
else
7814
goto is_not_a_corner;
7815
else
7816
goto is_not_a_corner;
7817
else
7818
goto is_not_a_corner;
7819
else
7820
goto is_not_a_corner;
7821
else
7822
if(ptr[offset6] < c_b)
7823
if(ptr[offset3] < c_b)
7824
if(ptr[offset4] < c_b)
7825
if(ptr[offset10] < c_b)
7826
if(ptr[offset11] < c_b)
7827
goto is_a_corner;
7828
else
7829
goto is_not_a_corner;
7830
else
7831
goto is_not_a_corner;
7832
else
7833
goto is_not_a_corner;
7834
else
7835
goto is_not_a_corner;
7836
else
7837
if(ptr[offset3] < c_b)
7838
if(ptr[offset4] < c_b)
7839
if(ptr[offset10] < c_b)
7840
if(ptr[offset11] < c_b)
7841
goto is_a_corner;
7842
else
7843
goto is_not_a_corner;
7844
else
7845
goto is_not_a_corner;
7846
else
7847
goto is_not_a_corner;
7848
else
7849
goto is_not_a_corner;
7850
else
7851
goto is_not_a_corner;
7852
else
7853
if(ptr[offset9] > cb)
7854
if(ptr[offset7] < c_b)
7855
if(ptr[offset1] > cb)
7856
goto is_not_a_corner;
7857
else
7858
if(ptr[offset1] < c_b)
7859
if(ptr[offset6] > cb)
7860
if(ptr[offset3] < c_b)
7861
if(ptr[offset4] < c_b)
7862
if(ptr[offset10] < c_b)
7863
if(ptr[offset11] < c_b)
7864
goto is_a_corner;
7865
else
7866
goto is_not_a_corner;
7867
else
7868
goto is_not_a_corner;
7869
else
7870
goto is_not_a_corner;
7871
else
7872
goto is_not_a_corner;
7873
else
7874
if(ptr[offset6] < c_b)
7875
if(ptr[offset3] < c_b)
7876
if(ptr[offset4] < c_b)
7877
if(ptr[offset10] < c_b)
7878
if(ptr[offset11] < c_b)
7879
goto is_a_corner;
7880
else
7881
goto is_not_a_corner;
7882
else
7883
goto is_not_a_corner;
7884
else
7885
goto is_not_a_corner;
7886
else
7887
goto is_not_a_corner;
7888
else
7889
if(ptr[offset3] < c_b)
7890
if(ptr[offset4] < c_b)
7891
if(ptr[offset10] < c_b)
7892
if(ptr[offset11] < c_b)
7893
goto is_a_corner;
7894
else
7895
goto is_not_a_corner;
7896
else
7897
goto is_not_a_corner;
7898
else
7899
goto is_not_a_corner;
7900
else
7901
goto is_not_a_corner;
7902
else
7903
goto is_not_a_corner;
7904
else
7905
if(ptr[offset1] > cb)
7906
goto is_not_a_corner;
7907
else
7908
if(ptr[offset1] < c_b)
7909
if(ptr[offset6] > cb)
7910
if(ptr[offset3] < c_b)
7911
if(ptr[offset4] < c_b)
7912
if(ptr[offset10] < c_b)
7913
if(ptr[offset11] < c_b)
7914
goto is_a_corner;
7915
else
7916
goto is_not_a_corner;
7917
else
7918
goto is_not_a_corner;
7919
else
7920
goto is_not_a_corner;
7921
else
7922
goto is_not_a_corner;
7923
else
7924
if(ptr[offset6] < c_b)
7925
if(ptr[offset3] < c_b)
7926
if(ptr[offset4] < c_b)
7927
if(ptr[offset10] < c_b)
7928
if(ptr[offset11] < c_b)
7929
goto is_a_corner;
7930
else
7931
goto is_not_a_corner;
7932
else
7933
goto is_not_a_corner;
7934
else
7935
goto is_not_a_corner;
7936
else
7937
goto is_not_a_corner;
7938
else
7939
if(ptr[offset3] < c_b)
7940
if(ptr[offset4] < c_b)
7941
if(ptr[offset10] < c_b)
7942
if(ptr[offset11] < c_b)
7943
goto is_a_corner;
7944
else
7945
goto is_not_a_corner;
7946
else
7947
goto is_not_a_corner;
7948
else
7949
goto is_not_a_corner;
7950
else
7951
goto is_not_a_corner;
7952
else
7953
goto is_not_a_corner;
7954
else
7955
if(ptr[offset7] < c_b)
7956
if(ptr[offset9] < c_b)
7957
if(ptr[offset1] > cb)
7958
if(ptr[offset6] > cb)
7959
goto is_not_a_corner;
7960
else
7961
if(ptr[offset6] < c_b)
7962
if(ptr[offset8] < c_b)
7963
if(ptr[offset10] < c_b)
7964
if(ptr[offset11] < c_b)
7965
goto is_a_corner;
7966
else
7967
goto is_not_a_corner;
7968
else
7969
goto is_not_a_corner;
7970
else
7971
goto is_not_a_corner;
7972
else
7973
goto is_not_a_corner;
7974
else
7975
if(ptr[offset1] < c_b)
7976
if(ptr[offset6] > cb)
7977
if(ptr[offset10] < c_b)
7978
if(ptr[offset11] < c_b)
7979
if(ptr[offset3] < c_b)
7980
goto is_a_corner;
7981
else
7982
if(ptr[offset8] < c_b)
7983
goto is_a_corner;
7984
else
7985
goto is_not_a_corner;
7986
else
7987
goto is_not_a_corner;
7988
else
7989
goto is_not_a_corner;
7990
else
7991
if(ptr[offset6] < c_b)
7992
if(ptr[offset10] < c_b)
7993
if(ptr[offset11] < c_b)
7994
if(ptr[offset3] < c_b)
7995
goto is_a_corner;
7996
else
7997
if(ptr[offset8] < c_b)
7998
goto is_a_corner;
7999
else
8000
goto is_not_a_corner;
8001
else
8002
goto is_not_a_corner;
8003
else
8004
goto is_not_a_corner;
8005
else
8006
if(ptr[offset10] < c_b)
8007
if(ptr[offset11] < c_b)
8008
if(ptr[offset3] < c_b)
8009
goto is_a_corner;
8010
else
8011
if(ptr[offset8] < c_b)
8012
goto is_a_corner;
8013
else
8014
goto is_not_a_corner;
8015
else
8016
goto is_not_a_corner;
8017
else
8018
goto is_not_a_corner;
8019
else
8020
if(ptr[offset6] > cb)
8021
goto is_not_a_corner;
8022
else
8023
if(ptr[offset6] < c_b)
8024
if(ptr[offset8] < c_b)
8025
if(ptr[offset10] < c_b)
8026
if(ptr[offset11] < c_b)
8027
goto is_a_corner;
8028
else
8029
goto is_not_a_corner;
8030
else
8031
goto is_not_a_corner;
8032
else
8033
goto is_not_a_corner;
8034
else
8035
goto is_not_a_corner;
8036
else
8037
if(ptr[offset1] > cb)
8038
goto is_not_a_corner;
8039
else
8040
if(ptr[offset1] < c_b)
8041
if(ptr[offset6] > cb)
8042
if(ptr[offset3] < c_b)
8043
if(ptr[offset4] < c_b)
8044
if(ptr[offset10] < c_b)
8045
if(ptr[offset11] < c_b)
8046
goto is_a_corner;
8047
else
8048
goto is_not_a_corner;
8049
else
8050
goto is_not_a_corner;
8051
else
8052
goto is_not_a_corner;
8053
else
8054
goto is_not_a_corner;
8055
else
8056
if(ptr[offset6] < c_b)
8057
if(ptr[offset3] < c_b)
8058
if(ptr[offset4] < c_b)
8059
if(ptr[offset10] < c_b)
8060
if(ptr[offset11] < c_b)
8061
goto is_a_corner;
8062
else
8063
goto is_not_a_corner;
8064
else
8065
goto is_not_a_corner;
8066
else
8067
goto is_not_a_corner;
8068
else
8069
goto is_not_a_corner;
8070
else
8071
if(ptr[offset3] < c_b)
8072
if(ptr[offset4] < c_b)
8073
if(ptr[offset10] < c_b)
8074
if(ptr[offset11] < c_b)
8075
goto is_a_corner;
8076
else
8077
goto is_not_a_corner;
8078
else
8079
goto is_not_a_corner;
8080
else
8081
goto is_not_a_corner;
8082
else
8083
goto is_not_a_corner;
8084
else
8085
goto is_not_a_corner;
8086
else
8087
if(ptr[offset9] < c_b)
8088
if(ptr[offset1] > cb)
8089
goto is_not_a_corner;
8090
else
8091
if(ptr[offset1] < c_b)
8092
if(ptr[offset6] > cb)
8093
if(ptr[offset10] < c_b)
8094
if(ptr[offset11] < c_b)
8095
if(ptr[offset3] < c_b)
8096
goto is_a_corner;
8097
else
8098
if(ptr[offset8] < c_b)
8099
goto is_a_corner;
8100
else
8101
goto is_not_a_corner;
8102
else
8103
goto is_not_a_corner;
8104
else
8105
goto is_not_a_corner;
8106
else
8107
if(ptr[offset6] < c_b)
8108
if(ptr[offset10] < c_b)
8109
if(ptr[offset11] < c_b)
8110
if(ptr[offset3] < c_b)
8111
goto is_a_corner;
8112
else
8113
if(ptr[offset8] < c_b)
8114
goto is_a_corner;
8115
else
8116
goto is_not_a_corner;
8117
else
8118
goto is_not_a_corner;
8119
else
8120
goto is_not_a_corner;
8121
else
8122
if(ptr[offset10] < c_b)
8123
if(ptr[offset11] < c_b)
8124
if(ptr[offset3] < c_b)
8125
goto is_a_corner;
8126
else
8127
if(ptr[offset8] < c_b)
8128
goto is_a_corner;
8129
else
8130
goto is_not_a_corner;
8131
else
8132
goto is_not_a_corner;
8133
else
8134
goto is_not_a_corner;
8135
else
8136
goto is_not_a_corner;
8137
else
8138
if(ptr[offset1] > cb)
8139
goto is_not_a_corner;
8140
else
8141
if(ptr[offset1] < c_b)
8142
if(ptr[offset6] > cb)
8143
if(ptr[offset3] < c_b)
8144
if(ptr[offset4] < c_b)
8145
if(ptr[offset10] < c_b)
8146
if(ptr[offset11] < c_b)
8147
goto is_a_corner;
8148
else
8149
goto is_not_a_corner;
8150
else
8151
goto is_not_a_corner;
8152
else
8153
goto is_not_a_corner;
8154
else
8155
goto is_not_a_corner;
8156
else
8157
if(ptr[offset6] < c_b)
8158
if(ptr[offset3] < c_b)
8159
if(ptr[offset4] < c_b)
8160
if(ptr[offset10] < c_b)
8161
if(ptr[offset11] < c_b)
8162
goto is_a_corner;
8163
else
8164
goto is_not_a_corner;
8165
else
8166
goto is_not_a_corner;
8167
else
8168
goto is_not_a_corner;
8169
else
8170
goto is_not_a_corner;
8171
else
8172
if(ptr[offset3] < c_b)
8173
if(ptr[offset4] < c_b)
8174
if(ptr[offset10] < c_b)
8175
if(ptr[offset11] < c_b)
8176
goto is_a_corner;
8177
else
8178
goto is_not_a_corner;
8179
else
8180
goto is_not_a_corner;
8181
else
8182
goto is_not_a_corner;
8183
else
8184
goto is_not_a_corner;
8185
else
8186
goto is_not_a_corner;
8187
else
8188
if(ptr[offset7] < c_b)
8189
if(ptr[offset9] > cb)
8190
goto is_not_a_corner;
8191
else
8192
if(ptr[offset9] < c_b)
8193
if(ptr[offset1] > cb)
8194
if(ptr[offset6] > cb)
8195
goto is_not_a_corner;
8196
else
8197
if(ptr[offset6] < c_b)
8198
if(ptr[offset8] < c_b)
8199
if(ptr[offset10] < c_b)
8200
if(ptr[offset11] < c_b)
8201
goto is_a_corner;
8202
else
8203
goto is_not_a_corner;
8204
else
8205
goto is_not_a_corner;
8206
else
8207
goto is_not_a_corner;
8208
else
8209
goto is_not_a_corner;
8210
else
8211
if(ptr[offset1] < c_b)
8212
if(ptr[offset6] > cb)
8213
if(ptr[offset8] < c_b)
8214
if(ptr[offset10] < c_b)
8215
if(ptr[offset11] < c_b)
8216
goto is_a_corner;
8217
else
8218
goto is_not_a_corner;
8219
else
8220
goto is_not_a_corner;
8221
else
8222
goto is_not_a_corner;
8223
else
8224
if(ptr[offset6] < c_b)
8225
if(ptr[offset8] < c_b)
8226
if(ptr[offset10] < c_b)
8227
if(ptr[offset11] < c_b)
8228
goto is_a_corner;
8229
else
8230
goto is_not_a_corner;
8231
else
8232
goto is_not_a_corner;
8233
else
8234
goto is_not_a_corner;
8235
else
8236
if(ptr[offset8] < c_b)
8237
if(ptr[offset10] < c_b)
8238
if(ptr[offset11] < c_b)
8239
goto is_a_corner;
8240
else
8241
goto is_not_a_corner;
8242
else
8243
goto is_not_a_corner;
8244
else
8245
goto is_not_a_corner;
8246
else
8247
if(ptr[offset6] > cb)
8248
goto is_not_a_corner;
8249
else
8250
if(ptr[offset6] < c_b)
8251
if(ptr[offset8] < c_b)
8252
if(ptr[offset10] < c_b)
8253
if(ptr[offset11] < c_b)
8254
goto is_a_corner;
8255
else
8256
goto is_not_a_corner;
8257
else
8258
goto is_not_a_corner;
8259
else
8260
goto is_not_a_corner;
8261
else
8262
goto is_not_a_corner;
8263
else
8264
goto is_not_a_corner;
8265
else
8266
goto is_not_a_corner;
8267
else
8268
if(ptr[offset5] < c_b)
8269
if(ptr[offset7] > cb)
8270
goto is_not_a_corner;
8271
else
8272
if(ptr[offset7] < c_b)
8273
if(ptr[offset2] > cb)
8274
if(ptr[offset9] > cb)
8275
goto is_not_a_corner;
8276
else
8277
if(ptr[offset9] < c_b)
8278
if(ptr[offset1] > cb)
8279
if(ptr[offset6] > cb)
8280
goto is_not_a_corner;
8281
else
8282
if(ptr[offset6] < c_b)
8283
if(ptr[offset8] < c_b)
8284
if(ptr[offset4] < c_b)
8285
if(ptr[offset3] < c_b)
8286
goto is_a_corner;
8287
else
8288
if(ptr[offset10] < c_b)
8289
goto is_a_corner;
8290
else
8291
goto is_not_a_corner;
8292
else
8293
if(ptr[offset10] < c_b)
8294
if(ptr[offset11] < c_b)
8295
goto is_a_corner;
8296
else
8297
goto is_not_a_corner;
8298
else
8299
goto is_not_a_corner;
8300
else
8301
goto is_not_a_corner;
8302
else
8303
goto is_not_a_corner;
8304
else
8305
if(ptr[offset1] < c_b)
8306
if(ptr[offset6] > cb)
8307
goto is_not_a_corner;
8308
else
8309
if(ptr[offset6] < c_b)
8310
if(ptr[offset8] < c_b)
8311
if(ptr[offset4] < c_b)
8312
if(ptr[offset3] < c_b)
8313
goto is_a_corner;
8314
else
8315
if(ptr[offset10] < c_b)
8316
goto is_a_corner;
8317
else
8318
goto is_not_a_corner;
8319
else
8320
if(ptr[offset10] < c_b)
8321
if(ptr[offset11] < c_b)
8322
goto is_a_corner;
8323
else
8324
goto is_not_a_corner;
8325
else
8326
goto is_not_a_corner;
8327
else
8328
goto is_not_a_corner;
8329
else
8330
goto is_not_a_corner;
8331
else
8332
if(ptr[offset6] > cb)
8333
goto is_not_a_corner;
8334
else
8335
if(ptr[offset6] < c_b)
8336
if(ptr[offset8] < c_b)
8337
if(ptr[offset4] < c_b)
8338
if(ptr[offset3] < c_b)
8339
goto is_a_corner;
8340
else
8341
if(ptr[offset10] < c_b)
8342
goto is_a_corner;
8343
else
8344
goto is_not_a_corner;
8345
else
8346
if(ptr[offset10] < c_b)
8347
if(ptr[offset11] < c_b)
8348
goto is_a_corner;
8349
else
8350
goto is_not_a_corner;
8351
else
8352
goto is_not_a_corner;
8353
else
8354
goto is_not_a_corner;
8355
else
8356
goto is_not_a_corner;
8357
else
8358
goto is_not_a_corner;
8359
else
8360
if(ptr[offset2] < c_b)
8361
if(ptr[offset9] > cb)
8362
if(ptr[offset1] < c_b)
8363
if(ptr[offset6] > cb)
8364
goto is_not_a_corner;
8365
else
8366
if(ptr[offset6] < c_b)
8367
if(ptr[offset3] < c_b)
8368
if(ptr[offset4] < c_b)
8369
goto is_a_corner;
8370
else
8371
goto is_not_a_corner;
8372
else
8373
goto is_not_a_corner;
8374
else
8375
goto is_not_a_corner;
8376
else
8377
if(ptr[offset1] > cb)
8378
if(ptr[offset6] > cb)
8379
goto is_not_a_corner;
8380
else
8381
if(ptr[offset6] < c_b)
8382
if(ptr[offset3] < c_b)
8383
if(ptr[offset4] < c_b)
8384
if(ptr[offset8] < c_b)
8385
goto is_a_corner;
8386
else
8387
goto is_not_a_corner;
8388
else
8389
goto is_not_a_corner;
8390
else
8391
goto is_not_a_corner;
8392
else
8393
goto is_not_a_corner;
8394
else
8395
if(ptr[offset6] > cb)
8396
goto is_not_a_corner;
8397
else
8398
if(ptr[offset6] < c_b)
8399
if(ptr[offset3] < c_b)
8400
if(ptr[offset4] < c_b)
8401
if(ptr[offset8] < c_b)
8402
goto is_a_corner;
8403
else
8404
goto is_not_a_corner;
8405
else
8406
goto is_not_a_corner;
8407
else
8408
goto is_not_a_corner;
8409
else
8410
goto is_not_a_corner;
8411
else
8412
if(ptr[offset9] < c_b)
8413
if(ptr[offset1] > cb)
8414
if(ptr[offset6] > cb)
8415
goto is_not_a_corner;
8416
else
8417
if(ptr[offset6] < c_b)
8418
if(ptr[offset8] < c_b)
8419
if(ptr[offset4] < c_b)
8420
if(ptr[offset3] < c_b)
8421
goto is_a_corner;
8422
else
8423
if(ptr[offset10] < c_b)
8424
goto is_a_corner;
8425
else
8426
goto is_not_a_corner;
8427
else
8428
if(ptr[offset10] < c_b)
8429
if(ptr[offset11] < c_b)
8430
goto is_a_corner;
8431
else
8432
goto is_not_a_corner;
8433
else
8434
goto is_not_a_corner;
8435
else
8436
goto is_not_a_corner;
8437
else
8438
goto is_not_a_corner;
8439
else
8440
if(ptr[offset1] < c_b)
8441
if(ptr[offset6] > cb)
8442
goto is_not_a_corner;
8443
else
8444
if(ptr[offset6] < c_b)
8445
if(ptr[offset4] < c_b)
8446
if(ptr[offset3] < c_b)
8447
goto is_a_corner;
8448
else
8449
if(ptr[offset8] < c_b)
8450
if(ptr[offset10] < c_b)
8451
goto is_a_corner;
8452
else
8453
goto is_not_a_corner;
8454
else
8455
goto is_not_a_corner;
8456
else
8457
if(ptr[offset8] < c_b)
8458
if(ptr[offset10] < c_b)
8459
if(ptr[offset11] < c_b)
8460
goto is_a_corner;
8461
else
8462
goto is_not_a_corner;
8463
else
8464
goto is_not_a_corner;
8465
else
8466
goto is_not_a_corner;
8467
else
8468
goto is_not_a_corner;
8469
else
8470
if(ptr[offset6] > cb)
8471
goto is_not_a_corner;
8472
else
8473
if(ptr[offset6] < c_b)
8474
if(ptr[offset8] < c_b)
8475
if(ptr[offset4] < c_b)
8476
if(ptr[offset3] < c_b)
8477
goto is_a_corner;
8478
else
8479
if(ptr[offset10] < c_b)
8480
goto is_a_corner;
8481
else
8482
goto is_not_a_corner;
8483
else
8484
if(ptr[offset10] < c_b)
8485
if(ptr[offset11] < c_b)
8486
goto is_a_corner;
8487
else
8488
goto is_not_a_corner;
8489
else
8490
goto is_not_a_corner;
8491
else
8492
goto is_not_a_corner;
8493
else
8494
goto is_not_a_corner;
8495
else
8496
if(ptr[offset1] < c_b)
8497
if(ptr[offset6] > cb)
8498
goto is_not_a_corner;
8499
else
8500
if(ptr[offset6] < c_b)
8501
if(ptr[offset3] < c_b)
8502
if(ptr[offset4] < c_b)
8503
goto is_a_corner;
8504
else
8505
goto is_not_a_corner;
8506
else
8507
goto is_not_a_corner;
8508
else
8509
goto is_not_a_corner;
8510
else
8511
if(ptr[offset1] > cb)
8512
if(ptr[offset6] > cb)
8513
goto is_not_a_corner;
8514
else
8515
if(ptr[offset6] < c_b)
8516
if(ptr[offset3] < c_b)
8517
if(ptr[offset4] < c_b)
8518
if(ptr[offset8] < c_b)
8519
goto is_a_corner;
8520
else
8521
goto is_not_a_corner;
8522
else
8523
goto is_not_a_corner;
8524
else
8525
goto is_not_a_corner;
8526
else
8527
goto is_not_a_corner;
8528
else
8529
if(ptr[offset6] > cb)
8530
goto is_not_a_corner;
8531
else
8532
if(ptr[offset6] < c_b)
8533
if(ptr[offset3] < c_b)
8534
if(ptr[offset4] < c_b)
8535
if(ptr[offset8] < c_b)
8536
goto is_a_corner;
8537
else
8538
goto is_not_a_corner;
8539
else
8540
goto is_not_a_corner;
8541
else
8542
goto is_not_a_corner;
8543
else
8544
goto is_not_a_corner;
8545
else
8546
if(ptr[offset9] > cb)
8547
goto is_not_a_corner;
8548
else
8549
if(ptr[offset9] < c_b)
8550
if(ptr[offset1] > cb)
8551
if(ptr[offset6] > cb)
8552
goto is_not_a_corner;
8553
else
8554
if(ptr[offset6] < c_b)
8555
if(ptr[offset8] < c_b)
8556
if(ptr[offset4] < c_b)
8557
if(ptr[offset3] < c_b)
8558
goto is_a_corner;
8559
else
8560
if(ptr[offset10] < c_b)
8561
goto is_a_corner;
8562
else
8563
goto is_not_a_corner;
8564
else
8565
if(ptr[offset10] < c_b)
8566
if(ptr[offset11] < c_b)
8567
goto is_a_corner;
8568
else
8569
goto is_not_a_corner;
8570
else
8571
goto is_not_a_corner;
8572
else
8573
goto is_not_a_corner;
8574
else
8575
goto is_not_a_corner;
8576
else
8577
if(ptr[offset1] < c_b)
8578
if(ptr[offset6] > cb)
8579
goto is_not_a_corner;
8580
else
8581
if(ptr[offset6] < c_b)
8582
if(ptr[offset8] < c_b)
8583
if(ptr[offset4] < c_b)
8584
if(ptr[offset3] < c_b)
8585
goto is_a_corner;
8586
else
8587
if(ptr[offset10] < c_b)
8588
goto is_a_corner;
8589
else
8590
goto is_not_a_corner;
8591
else
8592
if(ptr[offset10] < c_b)
8593
if(ptr[offset11] < c_b)
8594
goto is_a_corner;
8595
else
8596
goto is_not_a_corner;
8597
else
8598
goto is_not_a_corner;
8599
else
8600
goto is_not_a_corner;
8601
else
8602
goto is_not_a_corner;
8603
else
8604
if(ptr[offset6] > cb)
8605
goto is_not_a_corner;
8606
else
8607
if(ptr[offset6] < c_b)
8608
if(ptr[offset8] < c_b)
8609
if(ptr[offset4] < c_b)
8610
if(ptr[offset3] < c_b)
8611
goto is_a_corner;
8612
else
8613
if(ptr[offset10] < c_b)
8614
goto is_a_corner;
8615
else
8616
goto is_not_a_corner;
8617
else
8618
if(ptr[offset10] < c_b)
8619
if(ptr[offset11] < c_b)
8620
goto is_a_corner;
8621
else
8622
goto is_not_a_corner;
8623
else
8624
goto is_not_a_corner;
8625
else
8626
goto is_not_a_corner;
8627
else
8628
goto is_not_a_corner;
8629
else
8630
goto is_not_a_corner;
8631
else
8632
goto is_not_a_corner;
8633
else
8634
if(ptr[offset5] > cb)
8635
if(ptr[offset7] > cb)
8636
if(ptr[offset2] < c_b)
8637
if(ptr[offset9] < c_b)
8638
goto is_not_a_corner;
8639
else
8640
if(ptr[offset9] > cb)
8641
if(ptr[offset1] > cb)
8642
if(ptr[offset6] < c_b)
8643
goto is_not_a_corner;
8644
else
8645
if(ptr[offset6] > cb)
8646
if(ptr[offset8] > cb)
8647
if(ptr[offset4] > cb)
8648
if(ptr[offset3] > cb)
8649
goto is_a_corner;
8650
else
8651
if(ptr[offset10] > cb)
8652
goto is_a_corner;
8653
else
8654
goto is_not_a_corner;
8655
else
8656
if(ptr[offset10] > cb)
8657
if(ptr[offset11] > cb)
8658
goto is_a_corner;
8659
else
8660
goto is_not_a_corner;
8661
else
8662
goto is_not_a_corner;
8663
else
8664
goto is_not_a_corner;
8665
else
8666
goto is_not_a_corner;
8667
else
8668
if(ptr[offset1] < c_b)
8669
if(ptr[offset6] < c_b)
8670
goto is_not_a_corner;
8671
else
8672
if(ptr[offset6] > cb)
8673
if(ptr[offset8] > cb)
8674
if(ptr[offset4] > cb)
8675
if(ptr[offset3] > cb)
8676
goto is_a_corner;
8677
else
8678
if(ptr[offset10] > cb)
8679
goto is_a_corner;
8680
else
8681
goto is_not_a_corner;
8682
else
8683
if(ptr[offset10] > cb)
8684
if(ptr[offset11] > cb)
8685
goto is_a_corner;
8686
else
8687
goto is_not_a_corner;
8688
else
8689
goto is_not_a_corner;
8690
else
8691
goto is_not_a_corner;
8692
else
8693
goto is_not_a_corner;
8694
else
8695
if(ptr[offset6] < c_b)
8696
goto is_not_a_corner;
8697
else
8698
if(ptr[offset6] > cb)
8699
if(ptr[offset8] > cb)
8700
if(ptr[offset4] > cb)
8701
if(ptr[offset3] > cb)
8702
goto is_a_corner;
8703
else
8704
if(ptr[offset10] > cb)
8705
goto is_a_corner;
8706
else
8707
goto is_not_a_corner;
8708
else
8709
if(ptr[offset10] > cb)
8710
if(ptr[offset11] > cb)
8711
goto is_a_corner;
8712
else
8713
goto is_not_a_corner;
8714
else
8715
goto is_not_a_corner;
8716
else
8717
goto is_not_a_corner;
8718
else
8719
goto is_not_a_corner;
8720
else
8721
goto is_not_a_corner;
8722
else
8723
if(ptr[offset2] > cb)
8724
if(ptr[offset9] < c_b)
8725
if(ptr[offset1] > cb)
8726
if(ptr[offset6] < c_b)
8727
goto is_not_a_corner;
8728
else
8729
if(ptr[offset6] > cb)
8730
if(ptr[offset3] > cb)
8731
if(ptr[offset4] > cb)
8732
goto is_a_corner;
8733
else
8734
goto is_not_a_corner;
8735
else
8736
goto is_not_a_corner;
8737
else
8738
goto is_not_a_corner;
8739
else
8740
if(ptr[offset1] < c_b)
8741
if(ptr[offset6] < c_b)
8742
goto is_not_a_corner;
8743
else
8744
if(ptr[offset6] > cb)
8745
if(ptr[offset3] > cb)
8746
if(ptr[offset4] > cb)
8747
if(ptr[offset8] > cb)
8748
goto is_a_corner;
8749
else
8750
goto is_not_a_corner;
8751
else
8752
goto is_not_a_corner;
8753
else
8754
goto is_not_a_corner;
8755
else
8756
goto is_not_a_corner;
8757
else
8758
if(ptr[offset6] < c_b)
8759
goto is_not_a_corner;
8760
else
8761
if(ptr[offset6] > cb)
8762
if(ptr[offset3] > cb)
8763
if(ptr[offset4] > cb)
8764
if(ptr[offset8] > cb)
8765
goto is_a_corner;
8766
else
8767
goto is_not_a_corner;
8768
else
8769
goto is_not_a_corner;
8770
else
8771
goto is_not_a_corner;
8772
else
8773
goto is_not_a_corner;
8774
else
8775
if(ptr[offset9] > cb)
8776
if(ptr[offset1] < c_b)
8777
if(ptr[offset6] < c_b)
8778
goto is_not_a_corner;
8779
else
8780
if(ptr[offset6] > cb)
8781
if(ptr[offset8] > cb)
8782
if(ptr[offset4] > cb)
8783
if(ptr[offset3] > cb)
8784
goto is_a_corner;
8785
else
8786
if(ptr[offset10] > cb)
8787
goto is_a_corner;
8788
else
8789
goto is_not_a_corner;
8790
else
8791
if(ptr[offset10] > cb)
8792
if(ptr[offset11] > cb)
8793
goto is_a_corner;
8794
else
8795
goto is_not_a_corner;
8796
else
8797
goto is_not_a_corner;
8798
else
8799
goto is_not_a_corner;
8800
else
8801
goto is_not_a_corner;
8802
else
8803
if(ptr[offset1] > cb)
8804
if(ptr[offset6] < c_b)
8805
goto is_not_a_corner;
8806
else
8807
if(ptr[offset6] > cb)
8808
if(ptr[offset4] > cb)
8809
if(ptr[offset3] > cb)
8810
goto is_a_corner;
8811
else
8812
if(ptr[offset8] > cb)
8813
if(ptr[offset10] > cb)
8814
goto is_a_corner;
8815
else
8816
goto is_not_a_corner;
8817
else
8818
goto is_not_a_corner;
8819
else
8820
if(ptr[offset8] > cb)
8821
if(ptr[offset10] > cb)
8822
if(ptr[offset11] > cb)
8823
goto is_a_corner;
8824
else
8825
goto is_not_a_corner;
8826
else
8827
goto is_not_a_corner;
8828
else
8829
goto is_not_a_corner;
8830
else
8831
goto is_not_a_corner;
8832
else
8833
if(ptr[offset6] < c_b)
8834
goto is_not_a_corner;
8835
else
8836
if(ptr[offset6] > cb)
8837
if(ptr[offset8] > cb)
8838
if(ptr[offset4] > cb)
8839
if(ptr[offset3] > cb)
8840
goto is_a_corner;
8841
else
8842
if(ptr[offset10] > cb)
8843
goto is_a_corner;
8844
else
8845
goto is_not_a_corner;
8846
else
8847
if(ptr[offset10] > cb)
8848
if(ptr[offset11] > cb)
8849
goto is_a_corner;
8850
else
8851
goto is_not_a_corner;
8852
else
8853
goto is_not_a_corner;
8854
else
8855
goto is_not_a_corner;
8856
else
8857
goto is_not_a_corner;
8858
else
8859
if(ptr[offset1] > cb)
8860
if(ptr[offset6] < c_b)
8861
goto is_not_a_corner;
8862
else
8863
if(ptr[offset6] > cb)
8864
if(ptr[offset3] > cb)
8865
if(ptr[offset4] > cb)
8866
goto is_a_corner;
8867
else
8868
goto is_not_a_corner;
8869
else
8870
goto is_not_a_corner;
8871
else
8872
goto is_not_a_corner;
8873
else
8874
if(ptr[offset1] < c_b)
8875
if(ptr[offset6] < c_b)
8876
goto is_not_a_corner;
8877
else
8878
if(ptr[offset6] > cb)
8879
if(ptr[offset3] > cb)
8880
if(ptr[offset4] > cb)
8881
if(ptr[offset8] > cb)
8882
goto is_a_corner;
8883
else
8884
goto is_not_a_corner;
8885
else
8886
goto is_not_a_corner;
8887
else
8888
goto is_not_a_corner;
8889
else
8890
goto is_not_a_corner;
8891
else
8892
if(ptr[offset6] < c_b)
8893
goto is_not_a_corner;
8894
else
8895
if(ptr[offset6] > cb)
8896
if(ptr[offset3] > cb)
8897
if(ptr[offset4] > cb)
8898
if(ptr[offset8] > cb)
8899
goto is_a_corner;
8900
else
8901
goto is_not_a_corner;
8902
else
8903
goto is_not_a_corner;
8904
else
8905
goto is_not_a_corner;
8906
else
8907
goto is_not_a_corner;
8908
else
8909
if(ptr[offset9] < c_b)
8910
goto is_not_a_corner;
8911
else
8912
if(ptr[offset9] > cb)
8913
if(ptr[offset1] > cb)
8914
if(ptr[offset6] < c_b)
8915
goto is_not_a_corner;
8916
else
8917
if(ptr[offset6] > cb)
8918
if(ptr[offset8] > cb)
8919
if(ptr[offset4] > cb)
8920
if(ptr[offset3] > cb)
8921
goto is_a_corner;
8922
else
8923
if(ptr[offset10] > cb)
8924
goto is_a_corner;
8925
else
8926
goto is_not_a_corner;
8927
else
8928
if(ptr[offset10] > cb)
8929
if(ptr[offset11] > cb)
8930
goto is_a_corner;
8931
else
8932
goto is_not_a_corner;
8933
else
8934
goto is_not_a_corner;
8935
else
8936
goto is_not_a_corner;
8937
else
8938
goto is_not_a_corner;
8939
else
8940
if(ptr[offset1] < c_b)
8941
if(ptr[offset6] < c_b)
8942
goto is_not_a_corner;
8943
else
8944
if(ptr[offset6] > cb)
8945
if(ptr[offset8] > cb)
8946
if(ptr[offset4] > cb)
8947
if(ptr[offset3] > cb)
8948
goto is_a_corner;
8949
else
8950
if(ptr[offset10] > cb)
8951
goto is_a_corner;
8952
else
8953
goto is_not_a_corner;
8954
else
8955
if(ptr[offset10] > cb)
8956
if(ptr[offset11] > cb)
8957
goto is_a_corner;
8958
else
8959
goto is_not_a_corner;
8960
else
8961
goto is_not_a_corner;
8962
else
8963
goto is_not_a_corner;
8964
else
8965
goto is_not_a_corner;
8966
else
8967
if(ptr[offset6] < c_b)
8968
goto is_not_a_corner;
8969
else
8970
if(ptr[offset6] > cb)
8971
if(ptr[offset8] > cb)
8972
if(ptr[offset4] > cb)
8973
if(ptr[offset3] > cb)
8974
goto is_a_corner;
8975
else
8976
if(ptr[offset10] > cb)
8977
goto is_a_corner;
8978
else
8979
goto is_not_a_corner;
8980
else
8981
if(ptr[offset10] > cb)
8982
if(ptr[offset11] > cb)
8983
goto is_a_corner;
8984
else
8985
goto is_not_a_corner;
8986
else
8987
goto is_not_a_corner;
8988
else
8989
goto is_not_a_corner;
8990
else
8991
goto is_not_a_corner;
8992
else
8993
goto is_not_a_corner;
8994
else
8995
goto is_not_a_corner;
8996
else
8997
goto is_not_a_corner;
8998
8999
is_a_corner:
9000
bmin = b_test;
9001
goto end;
9002
9003
is_not_a_corner:
9004
bmax = b_test;
9005
goto end;
9006
9007
end:
9008
9009
if(bmin == bmax - 1 || bmin == bmax)
9010
return bmin;
9011
b_test = (bmin + bmax) / 2;
9012
}
9013
}
9014
9015
// 8 pixel mask
9016
template<>
9017
int agast_cornerScore<AgastFeatureDetector::AGAST_5_8>(const uchar* ptr, const int pixel[], int threshold)
9018
{
9019
int bmin = threshold;
9020
int bmax = 255;
9021
int b_test = (bmax + bmin)/2;
9022
9023
short offset0 = (short) pixel[0];
9024
short offset1 = (short) pixel[1];
9025
short offset2 = (short) pixel[2];
9026
short offset3 = (short) pixel[3];
9027
short offset4 = (short) pixel[4];
9028
short offset5 = (short) pixel[5];
9029
short offset6 = (short) pixel[6];
9030
short offset7 = (short) pixel[7];
9031
9032
while(true)
9033
{
9034
const int cb = *ptr + b_test;
9035
const int c_b = *ptr - b_test;
9036
if(ptr[offset0] > cb)
9037
if(ptr[offset2] > cb)
9038
if(ptr[offset3] > cb)
9039
if(ptr[offset5] > cb)
9040
if(ptr[offset1] > cb)
9041
if(ptr[offset4] > cb)
9042
goto is_a_corner;
9043
else
9044
if(ptr[offset7] > cb)
9045
goto is_a_corner;
9046
else
9047
goto is_not_a_corner;
9048
else
9049
if(ptr[offset4] > cb)
9050
if(ptr[offset6] > cb)
9051
goto is_a_corner;
9052
else
9053
goto is_not_a_corner;
9054
else
9055
goto is_not_a_corner;
9056
else
9057
if(ptr[offset1] > cb)
9058
if(ptr[offset4] > cb)
9059
goto is_a_corner;
9060
else
9061
if(ptr[offset7] > cb)
9062
goto is_a_corner;
9063
else
9064
goto is_not_a_corner;
9065
else
9066
goto is_not_a_corner;
9067
else
9068
if(ptr[offset7] > cb)
9069
if(ptr[offset6] > cb)
9070
if(ptr[offset5] > cb)
9071
if(ptr[offset1] > cb)
9072
goto is_a_corner;
9073
else
9074
if(ptr[offset4] > cb)
9075
goto is_a_corner;
9076
else
9077
goto is_not_a_corner;
9078
else
9079
if(ptr[offset1] > cb)
9080
goto is_a_corner;
9081
else
9082
goto is_not_a_corner;
9083
else
9084
goto is_not_a_corner;
9085
else
9086
if(ptr[offset5] < c_b)
9087
if(ptr[offset3] < c_b)
9088
if(ptr[offset7] < c_b)
9089
if(ptr[offset4] < c_b)
9090
if(ptr[offset6] < c_b)
9091
goto is_a_corner;
9092
else
9093
goto is_not_a_corner;
9094
else
9095
goto is_not_a_corner;
9096
else
9097
goto is_not_a_corner;
9098
else
9099
goto is_not_a_corner;
9100
else
9101
goto is_not_a_corner;
9102
else
9103
if(ptr[offset5] > cb)
9104
if(ptr[offset7] > cb)
9105
if(ptr[offset6] > cb)
9106
if(ptr[offset1] > cb)
9107
goto is_a_corner;
9108
else
9109
if(ptr[offset4] > cb)
9110
goto is_a_corner;
9111
else
9112
goto is_not_a_corner;
9113
else
9114
goto is_not_a_corner;
9115
else
9116
goto is_not_a_corner;
9117
else
9118
if(ptr[offset5] < c_b)
9119
if(ptr[offset3] < c_b)
9120
if(ptr[offset2] < c_b)
9121
if(ptr[offset1] < c_b)
9122
if(ptr[offset4] < c_b)
9123
goto is_a_corner;
9124
else
9125
goto is_not_a_corner;
9126
else
9127
if(ptr[offset4] < c_b)
9128
if(ptr[offset6] < c_b)
9129
goto is_a_corner;
9130
else
9131
goto is_not_a_corner;
9132
else
9133
goto is_not_a_corner;
9134
else
9135
if(ptr[offset7] < c_b)
9136
if(ptr[offset4] < c_b)
9137
if(ptr[offset6] < c_b)
9138
goto is_a_corner;
9139
else
9140
goto is_not_a_corner;
9141
else
9142
goto is_not_a_corner;
9143
else
9144
goto is_not_a_corner;
9145
else
9146
goto is_not_a_corner;
9147
else
9148
goto is_not_a_corner;
9149
else if(ptr[offset0] < c_b)
9150
if(ptr[offset2] < c_b)
9151
if(ptr[offset7] > cb)
9152
if(ptr[offset3] < c_b)
9153
if(ptr[offset5] < c_b)
9154
if(ptr[offset1] < c_b)
9155
if(ptr[offset4] < c_b)
9156
goto is_a_corner;
9157
else
9158
goto is_not_a_corner;
9159
else
9160
if(ptr[offset4] < c_b)
9161
if(ptr[offset6] < c_b)
9162
goto is_a_corner;
9163
else
9164
goto is_not_a_corner;
9165
else
9166
goto is_not_a_corner;
9167
else
9168
if(ptr[offset1] < c_b)
9169
if(ptr[offset4] < c_b)
9170
goto is_a_corner;
9171
else
9172
goto is_not_a_corner;
9173
else
9174
goto is_not_a_corner;
9175
else
9176
if(ptr[offset5] > cb)
9177
if(ptr[offset3] > cb)
9178
if(ptr[offset4] > cb)
9179
if(ptr[offset6] > cb)
9180
goto is_a_corner;
9181
else
9182
goto is_not_a_corner;
9183
else
9184
goto is_not_a_corner;
9185
else
9186
goto is_not_a_corner;
9187
else
9188
goto is_not_a_corner;
9189
else
9190
if(ptr[offset7] < c_b)
9191
if(ptr[offset3] < c_b)
9192
if(ptr[offset5] < c_b)
9193
if(ptr[offset1] < c_b)
9194
goto is_a_corner;
9195
else
9196
if(ptr[offset4] < c_b)
9197
if(ptr[offset6] < c_b)
9198
goto is_a_corner;
9199
else
9200
goto is_not_a_corner;
9201
else
9202
goto is_not_a_corner;
9203
else
9204
if(ptr[offset1] < c_b)
9205
goto is_a_corner;
9206
else
9207
goto is_not_a_corner;
9208
else
9209
if(ptr[offset6] < c_b)
9210
if(ptr[offset5] < c_b)
9211
if(ptr[offset1] < c_b)
9212
goto is_a_corner;
9213
else
9214
if(ptr[offset4] < c_b)
9215
goto is_a_corner;
9216
else
9217
goto is_not_a_corner;
9218
else
9219
if(ptr[offset1] < c_b)
9220
goto is_a_corner;
9221
else
9222
goto is_not_a_corner;
9223
else
9224
goto is_not_a_corner;
9225
else
9226
if(ptr[offset3] < c_b)
9227
if(ptr[offset5] < c_b)
9228
if(ptr[offset1] < c_b)
9229
if(ptr[offset4] < c_b)
9230
goto is_a_corner;
9231
else
9232
goto is_not_a_corner;
9233
else
9234
if(ptr[offset4] < c_b)
9235
if(ptr[offset6] < c_b)
9236
goto is_a_corner;
9237
else
9238
goto is_not_a_corner;
9239
else
9240
goto is_not_a_corner;
9241
else
9242
if(ptr[offset1] < c_b)
9243
if(ptr[offset4] < c_b)
9244
goto is_a_corner;
9245
else
9246
goto is_not_a_corner;
9247
else
9248
goto is_not_a_corner;
9249
else
9250
goto is_not_a_corner;
9251
else
9252
if(ptr[offset5] > cb)
9253
if(ptr[offset3] > cb)
9254
if(ptr[offset2] > cb)
9255
if(ptr[offset1] > cb)
9256
if(ptr[offset4] > cb)
9257
goto is_a_corner;
9258
else
9259
goto is_not_a_corner;
9260
else
9261
if(ptr[offset4] > cb)
9262
if(ptr[offset6] > cb)
9263
goto is_a_corner;
9264
else
9265
goto is_not_a_corner;
9266
else
9267
goto is_not_a_corner;
9268
else
9269
if(ptr[offset7] > cb)
9270
if(ptr[offset4] > cb)
9271
if(ptr[offset6] > cb)
9272
goto is_a_corner;
9273
else
9274
goto is_not_a_corner;
9275
else
9276
goto is_not_a_corner;
9277
else
9278
goto is_not_a_corner;
9279
else
9280
goto is_not_a_corner;
9281
else
9282
if(ptr[offset5] < c_b)
9283
if(ptr[offset7] < c_b)
9284
if(ptr[offset6] < c_b)
9285
if(ptr[offset1] < c_b)
9286
goto is_a_corner;
9287
else
9288
if(ptr[offset4] < c_b)
9289
goto is_a_corner;
9290
else
9291
goto is_not_a_corner;
9292
else
9293
goto is_not_a_corner;
9294
else
9295
goto is_not_a_corner;
9296
else
9297
goto is_not_a_corner;
9298
else
9299
if(ptr[offset3] > cb)
9300
if(ptr[offset5] > cb)
9301
if(ptr[offset2] > cb)
9302
if(ptr[offset1] > cb)
9303
if(ptr[offset4] > cb)
9304
goto is_a_corner;
9305
else
9306
goto is_not_a_corner;
9307
else
9308
if(ptr[offset4] > cb)
9309
if(ptr[offset6] > cb)
9310
goto is_a_corner;
9311
else
9312
goto is_not_a_corner;
9313
else
9314
goto is_not_a_corner;
9315
else
9316
if(ptr[offset7] > cb)
9317
if(ptr[offset4] > cb)
9318
if(ptr[offset6] > cb)
9319
goto is_a_corner;
9320
else
9321
goto is_not_a_corner;
9322
else
9323
goto is_not_a_corner;
9324
else
9325
goto is_not_a_corner;
9326
else
9327
goto is_not_a_corner;
9328
else
9329
if(ptr[offset3] < c_b)
9330
if(ptr[offset5] < c_b)
9331
if(ptr[offset2] < c_b)
9332
if(ptr[offset1] < c_b)
9333
if(ptr[offset4] < c_b)
9334
goto is_a_corner;
9335
else
9336
goto is_not_a_corner;
9337
else
9338
if(ptr[offset4] < c_b)
9339
if(ptr[offset6] < c_b)
9340
goto is_a_corner;
9341
else
9342
goto is_not_a_corner;
9343
else
9344
goto is_not_a_corner;
9345
else
9346
if(ptr[offset7] < c_b)
9347
if(ptr[offset4] < c_b)
9348
if(ptr[offset6] < c_b)
9349
goto is_a_corner;
9350
else
9351
goto is_not_a_corner;
9352
else
9353
goto is_not_a_corner;
9354
else
9355
goto is_not_a_corner;
9356
else
9357
goto is_not_a_corner;
9358
else
9359
goto is_not_a_corner;
9360
9361
is_a_corner:
9362
bmin=b_test;
9363
goto end;
9364
9365
is_not_a_corner:
9366
bmax=b_test;
9367
goto end;
9368
9369
end:
9370
9371
if(bmin == bmax - 1 || bmin == bmax)
9372
return bmin;
9373
b_test = (bmin + bmax) / 2;
9374
}
9375
}
9376
#else // !(defined __i386__ || defined(_M_IX86) || defined __x86_64__ || defined(_M_X64))
9377
9378
9379
int agast_tree_search(const uint32_t table_struct32[], int pixel_[], const unsigned char* const ptr, int threshold)
9380
{
9381
const int cb = *ptr + threshold;
9382
const int c_b = *ptr - threshold;
9383
int index;
9384
int offset;
9385
int cmpresult;
9386
index = 0;
9387
while ((table_struct32[index]>>16)!=0)
9388
{
9389
offset=(int) pixel_[table_struct32[index]>>28];
9390
if ((table_struct32[index]&(1<<12))!=0)
9391
cmpresult=(ptr[offset] < c_b);
9392
else
9393
cmpresult=(ptr[offset] > cb);
9394
if (cmpresult)
9395
index =(table_struct32[index]>>16)&0xfff;
9396
else
9397
index =table_struct32[index]&0xfff;
9398
}
9399
return (int)(table_struct32[index]&0xff);
9400
}
9401
9402
// universal pixel mask
9403
int AGAST_ALL_SCORE(const uchar* ptr, const int pixel[], int threshold, AgastFeatureDetector::DetectorType agasttype)
9404
{
9405
int bmin = threshold;
9406
int bmax = 255;
9407
int b_test = (bmax + bmin)/2;
9408
uint32_t *table_struct;
9409
9410
int result;
9411
static const uint32_t table_5_8_corner_struct[] =
9412
{ 0x00010026,0x20020017,0x3003000c,0x50040009,0x10050007,0x406d0006,0x706d006c,0x4008006c,
9413
0x606d006c,0x100a006c,0x406d000b,0x706d006c,0x700d0012,0x600e006c,0x500f0011,0x106d0010,
9414
0x406d006c,0x106d006c,0x5013106c,0x3014106c,0x7015106c,0x4016106c,0x606d106c,0x5018001c,
9415
0x7019006c,0x601a006c,0x106d001b,0x406d006c,0x501d106c,0x301e106c,0x201f1023,0x10201021,
9416
0x406d106c,0x4022106c,0x606d106c,0x7024106c,0x4025106c,0x606d106c,0x00271058,0x20281049,
9417
0x70290035,0x302a1031,0x502b102f,0x102c102d,0x406d106c,0x402e106c,0x606d106c,0x1030106c,
9418
0x406d106c,0x5032006c,0x3033006c,0x4034006c,0x606d006c,0x70361041,0x3037103c,0x5038103b,
9419
0x106d1039,0x403a106c,0x606d106c,0x106d106c,0x603d106c,0x503e1040,0x106d103f,0x406d106c,
9420
0x106d106c,0x3042106c,0x50431047,0x10441045,0x406d106c,0x4046106c,0x606d106c,0x1048106c,
9421
0x406d106c,0x504a0053,0x304b006c,0x204c0050,0x104d004e,0x406d006c,0x404f006c,0x606d006c,
9422
0x7051006c,0x4052006c,0x606d006c,0x5054106c,0x7055106c,0x6056106c,0x106d1057,0x406d106c,
9423
0x30590062,0x505a006c,0x205b005f,0x105c005d,0x406d006c,0x405e006c,0x606d006c,0x7060006c,
9424
0x4061006c,0x606d006c,0x3063106c,0x5064106c,0x20651069,0x10661067,0x406d106c,0x4068106c,
9425
0x606d106c,0x706a106c,0x406b106c,0x606d106c,0x000000fe,0x000000ff};
9426
9427
static const uint32_t table_7_12d_corner_struct[] =
9428
{ 0x000100b5,0x50020036,0x20030025,0x9004001d,0x10050015,0x6006000f,0x3007000a,0x41870008,
9429
0xa0090186,0xb1870186,0x800b0186,0xa00c0186,0xb187000d,0x400e0186,0x71870186,0xb0100186,
9430
0x30110013,0x41870012,0xa1870186,0x80140186,0xa1870186,0x60160186,0x70170186,0x80180186,
9431
0x4019001b,0x3187001a,0xa1870186,0xa01c0186,0xb1870186,0x301e0186,0x401f0186,0x10200022,
9432
0x61870021,0xb1870186,0x60230186,0x70240186,0x81870186,0x90260186,0x70270186,0x80280186,
9433
0x10290030,0xa02a002d,0xb187002b,0x602c0186,0x41870186,0x602e0186,0x302f0186,0x41870186,
9434
0x60310186,0x40320034,0x31870033,0xa1870186,0xa0350186,0xb1870186,0x503710a1,0x9038006b,
9435
0x3039105b,0x403a1053,0xb03b004d,0x103c0044,0x803d0040,0xa03e0186,0x2187003f,0x71870186,
9436
0x60411186,0x20421186,0x70431186,0x81871186,0x60450048,0x70460186,0x80470186,0xa1870186,
9437
0x60491186,0x204a1186,0x704b1186,0x1187104c,0x81871186,0x204e1186,0x704f1186,0x10501051,
9438
0x61871186,0x60521186,0x81871186,0xb0540186,0x80550186,0xa0560186,0x10570059,0x21870058,
9439
0x71870186,0x605a0186,0x71870186,0xb05c0186,0xa05d0186,0x305e0065,0x105f0062,0x21870060,
9440
0x70610186,0x81870186,0x60630186,0x70640186,0x81870186,0x80660186,0x10670069,0x21870068,
9441
0x71870186,0x606a0186,0x71870186,0x906c1093,0x206d0087,0x106e007f,0x406f0077,0xa0700072,
9442
0x30710186,0xb1870186,0x60731186,0x70741186,0x80751186,0xb0761186,0xa1871186,0x60781186,
9443
0x70791186,0x807a1186,0xa07b107d,0x4187107c,0xb1871186,0x307e1186,0x41871186,0x60801186,
9444
0x70811186,0x80821186,0x40831085,0x31871084,0xa1871186,0xa0861186,0xb1871186,0x60881186,
9445
0x70891186,0x808a108f,0x408b108d,0x3187108c,0xa1871186,0xa08e1186,0xb1871186,0x20901186,
9446
0x10911186,0x30921186,0x41871186,0x20940099,0x10950186,0x30960186,0x40970186,0xa0980186,
9447
0xb1870186,0x209a1186,0x309b1186,0x409c1186,0x709d1186,0x109e109f,0x61871186,0x60a01186,
9448
0x81871186,0x20a200ae,0xa0a30186,0xb0a40186,0x90a500ab,0x10a600a8,0x318700a7,0x81870186,
9449
0x60a90186,0x70aa0186,0x81870186,0x10ac0186,0x30ad0186,0x41870186,0x90af0186,0x70b00186,
9450
0x80b10186,0xa0b20186,0xb0b30186,0x118700b4,0x61870186,0x00b6115a,0x20b700e2,0x50b800cc,
9451
0x70b900c5,0x60ba0186,0x40bb00c1,0x30bc00be,0x118700bd,0x81870186,0x90bf0186,0x80c00186,
9452
0xa1870186,0x90c20186,0x80c30186,0xa0c40186,0xb1870186,0x90c61186,0x80c71186,0xa0c81186,
9453
0xb0c91186,0x70ca1186,0x118710cb,0x61871186,0x90cd1186,0x70ce1186,0x80cf1186,0x50d010de,
9454
0x10d110d8,0xa0d210d5,0xb18710d3,0x60d41186,0x41871186,0x60d61186,0x30d71186,0x41871186,
9455
0x60d91186,0x40da10dc,0x318710db,0xa1871186,0xa0dd1186,0xb1871186,0xa0df1186,0xb0e01186,
9456
0x118710e1,0x61871186,0x20e3113a,0x90e4010b,0x50e500ff,0x10e610f7,0x40e710ef,0xa0e810ea,
9457
0x30e91186,0xb1871186,0x60eb0186,0x70ec0186,0x80ed0186,0xb0ee0186,0xa1870186,0x60f00186,
9458
0x70f10186,0x80f20186,0xa0f300f5,0x418700f4,0xb1870186,0x30f60186,0x41870186,0x60f80186,
9459
0x70f90186,0x80fa0186,0x40fb00fd,0x318700fc,0xa1870186,0xa0fe0186,0xb1870186,0x31001186,
9460
0x41011186,0x51021108,0x11031105,0x61871104,0xb1871186,0x61061186,0x71071186,0x81871186,
9461
0x11091186,0xa10a1186,0xb1871186,0x910c112e,0x510d1126,0x110e111e,0x610f1118,0x31101113,
9462
0x41871111,0xa1121186,0xb1871186,0x81141186,0xa1151186,0xb1871116,0x41171186,0x71871186,
9463
0xb1191186,0x311a111c,0x4187111b,0xa1871186,0x811d1186,0xa1871186,0x611f1186,0x71201186,
9464
0x81211186,0x41221124,0x31871123,0xa1871186,0xa1251186,0xb1871186,0xa1271186,0xb1281186,
9465
0x1129112b,0x3187112a,0x81871186,0x612c1186,0x712d1186,0x81871186,0x312f1186,0x41301186,
9466
0x51311137,0x11321134,0x61871133,0xb1871186,0x61351186,0x71361186,0x81871186,0x11381186,
9467
0xa1391186,0xb1871186,0x913b1150,0x713c1186,0x813d1186,0x513e114c,0x113f1146,0xa1401143,
9468
0xb1871141,0x61421186,0x41871186,0x61441186,0x31451186,0x41871186,0x61471186,0x4148114a,
9469
0x31871149,0xa1871186,0xa14b1186,0xb1871186,0xa14d1186,0xb14e1186,0x1187114f,0x61871186,
9470
0x51510186,0x91520186,0x61530186,0x71540186,0x81550186,0x41560158,0x31870157,0xa1870186,
9471
0xa1590186,0xb1870186,0x515b0170,0x915c0168,0x615d0186,0x715e0186,0x415f0165,0x31600163,
9472
0x81870161,0x11620186,0x21870186,0x81640186,0xa1870186,0xb1660186,0x81670186,0xa1870186,
9473
0x21690186,0x316a0186,0x416b0186,0x716c0186,0x116d016e,0x61870186,0x616f0186,0x81870186,
9474
0x51711186,0x9172117e,0x61731186,0x71741186,0x4175117b,0x31761179,0x81871177,0x11781186,
9475
0x21871186,0x817a1186,0xa1871186,0xb17c1186,0x817d1186,0xa1871186,0x217f1186,0x31801186,
9476
0x41811186,0x71821186,0x11831184,0x61871186,0x61851186,0x81871186,0x000000fe,0x000000ff};
9477
9478
static const uint32_t table_7_12s_corner_struct[] =
9479
{ 0x0001032b,0x50020104,0x20031026,0x70040748,0x97481005,0x90060748,0x1007100f,0x67481008,
9480
0x60090748,0x800a0748,0x400b000d,0x3749000c,0xa7490748,0xa00e0748,0xb7490748,0x1010001e,
9481
0x60111014,0x80120748,0xa0130748,0xb7490748,0x6015001b,0x80160748,0x40170019,0x37490018,
9482
0xa7490748,0xa01a0748,0xb7490748,0x801c0748,0xa01d0748,0xb7490748,0x6748101f,0x60200748,
9483
0x80210748,0x40220024,0x37490023,0xa7490748,0xa0250748,0xb7490748,0x202700e1,0x70281059,
9484
0x90291035,0x1748102a,0x102b0748,0x602c002e,0x302d0748,0x47490748,0x602f1032,0x30300748,
9485
0x40310748,0xb7490748,0x30330748,0x40340748,0xb7490748,0x9036004d,0x17481037,0x10380748,
9486
0x6039103f,0xb03a0748,0x303b003d,0x4749003c,0xa7490748,0x803e0748,0xa7490748,0x60400047,
9487
0x30410044,0x47490042,0xa0430748,0xb7490748,0x80450748,0xa0460748,0xb7490748,0xb0480748,
9488
0x3049004b,0x4749004a,0xa7490748,0x804c0748,0xa7490748,0x1748104e,0x104f0748,0x60500052,
9489
0x30510748,0x47490748,0x60531056,0x30540748,0x40550748,0xb7490748,0x30570748,0x40580748,
9490
0xb7490748,0x905a107d,0x705b0071,0x105c1061,0x6748105d,0x605e0748,0x305f0748,0x40600748,
9491
0x87490748,0x1062006c,0x60630065,0x30640748,0x47490748,0x60661069,0x30670748,0x40680748,
9492
0xb7490748,0x306a0748,0x406b0748,0xb7490748,0x6748106d,0x606e0748,0x306f0748,0x40700748,
9493
0x87490748,0x17481072,0x10730748,0x60740076,0x30750748,0x47490748,0x6077107a,0x30780748,
9494
0x40790748,0xb7490748,0x307b0748,0x407c0748,0xb7490748,0x707e00bd,0x907f00a7,0x10801088,
9495
0x67481081,0x60820748,0x80830748,0x40840086,0x37490085,0xa7490748,0xa0870748,0xb7490748,
9496
0x1089009f,0x608a1090,0xb08b0748,0x308c008e,0x4749008d,0xa7490748,0x808f0748,0xa7490748,
9497
0x60910099,0x30920095,0x47490093,0xa0940748,0xb7490748,0x80960748,0xa0970748,0x47490098,
9498
0xb7490748,0xb09a0748,0x309b009d,0x4749009c,0xa7490748,0x809e0748,0xa7490748,0x674810a0,
9499
0x60a10748,0x80a20748,0x40a300a5,0x374900a4,0xa7490748,0xa0a60748,0xb7490748,0x10a810ad,
9500
0x674810a9,0x60aa0748,0x30ab0748,0x40ac0748,0x87490748,0x10ae00b8,0x60af00b1,0x30b00748,
9501
0x47490748,0x60b210b5,0x30b30748,0x40b40748,0xb7490748,0x30b60748,0x40b70748,0xb7490748,
9502
0x674810b9,0x60ba0748,0x30bb0748,0x40bc0748,0x87490748,0x90be00d5,0x174810bf,0x10c00748,
9503
0x60c110c7,0xb0c20748,0x30c300c5,0x474900c4,0xa7490748,0x80c60748,0xa7490748,0x60c800cf,
9504
0x30c900cc,0x474900ca,0xa0cb0748,0xb7490748,0x80cd0748,0xa0ce0748,0xb7490748,0xb0d00748,
9505
0x30d100d3,0x474900d2,0xa7490748,0x80d40748,0xa7490748,0x174810d6,0x10d70748,0x60d800da,
9506
0x30d90748,0x47490748,0x60db10de,0x30dc0748,0x40dd0748,0xb7490748,0x30df0748,0x40e00748,
9507
0xb7490748,0x70e20748,0x974810e3,0x90e40748,0x10e510ed,0x674810e6,0x60e70748,0x80e80748,
9508
0x40e900eb,0x374900ea,0xa7490748,0xa0ec0748,0xb7490748,0x10ee00fc,0x60ef10f2,0x80f00748,
9509
0xa0f10748,0xb7490748,0x60f300f9,0x80f40748,0x40f500f7,0x374900f6,0xa7490748,0xa0f80748,
9510
0xb7490748,0x80fa0748,0xa0fb0748,0xb7490748,0x674810fd,0x60fe0748,0x80ff0748,0x41000102,
9511
0x37490101,0xa7490748,0xa1030748,0xb7490748,0x51051253,0x9106118c,0x71070119,0x27481108,
9512
0x21090748,0x1748110a,0x110b0748,0x610c0110,0x310d0748,0x410e0748,0xa10f0748,0xb7490748,
9513
0x61111115,0x31120748,0x41130748,0xa1140748,0xb7490748,0x31160748,0x41170748,0xa1180748,
9514
0xb7490748,0x711a117a,0x211b1136,0x111c0124,0x6748011d,0x611e1748,0x811f1748,0x41201122,
9515
0x37491121,0xa7491748,0xa1231748,0xb7491748,0x1125112e,0x67480126,0x61271748,0x4128112b,
9516
0x37491129,0x812a1748,0xa7491748,0x812c1748,0xa12d1748,0xb7491748,0x6748012f,0x61301748,
9517
0x81311748,0x41321134,0x37491133,0xa7491748,0xa1351748,0xb7491748,0x21370160,0x11381140,
9518
0x67480139,0x613a1748,0x813b1748,0x413c113e,0x3749113d,0xa7491748,0xa13f1748,0xb7491748,
9519
0x11410158,0x61420146,0x31430748,0x41440748,0xa1450748,0xb7490748,0x61471154,0x4148014e,
9520
0xa149014b,0x314a0748,0xb7490748,0x814c1748,0xb14d1748,0xa7491748,0x814f1748,0xa1501152,
9521
0x47491151,0xb7491748,0x31531748,0x47491748,0x31550748,0x41560748,0xa1570748,0xb7490748,
9522
0x67480159,0x615a1748,0x815b1748,0x415c115e,0x3749115d,0xa7491748,0xa15f1748,0xb7491748,
9523
0x11610169,0x67480162,0x61631748,0x81641748,0x41651167,0x37491166,0xa7491748,0xa1681748,
9524
0xb7491748,0x116a1172,0x6748016b,0x616c1748,0x816d1748,0x416e1170,0x3749116f,0xa7491748,
9525
0xa1711748,0xb7491748,0x67480173,0x61741748,0x81751748,0x41761178,0x37491177,0xa7491748,
9526
0xa1791748,0xb7491748,0x2748117b,0x217c0748,0x1748117d,0x117e0748,0x617f0183,0x31800748,
9527
0x41810748,0xa1820748,0xb7490748,0x61841188,0x31850748,0x41860748,0xa1870748,0xb7490748,
9528
0x31890748,0x418a0748,0xa18b0748,0xb7490748,0x918d020d,0x718e11b0,0x218f019f,0x17481190,
9529
0x11910748,0x61920196,0xa1930748,0xb1940748,0x37490195,0x87490748,0x6197119b,0xa1980748,
9530
0xb1990748,0x3749019a,0x87490748,0xa19c0748,0xb19d0748,0x3749019e,0x87490748,0x21a01748,
9531
0x11a111a5,0x674801a2,0x61a31748,0x31a41748,0x47491748,0x11a601ab,0x674801a7,0x61a81748,
9532
0x31a91748,0x41aa1748,0x87491748,0x674801ac,0x61ad1748,0x31ae1748,0x41af1748,0x87491748,
9533
0x71b101fb,0x21b211c9,0x11b311b8,0x674811b4,0x61b50748,0x81b60748,0xa1b70748,0xb7490748,
9534
0x11b901c4,0x61ba01bd,0x81bb0748,0xa1bc0748,0xb7490748,0x61be11c1,0x81bf0748,0xa1c00748,
9535
0xb7490748,0x81c20748,0xa1c30748,0xb7490748,0x674811c5,0x61c60748,0x81c70748,0xa1c80748,
9536
0xb7490748,0x21ca01e4,0x11cb11d0,0x674811cc,0x61cd0748,0x81ce0748,0xa1cf0748,0xb7490748,
9537
0x11d101df,0x61d201d6,0xa1d30748,0xb1d40748,0x374901d5,0x87490748,0x61d711db,0xa1d80748,
9538
0xb1d90748,0x374901da,0x87490748,0xa1dc0748,0xb1dd0748,0x374901de,0x87490748,0x674811e0,
9539
0x61e10748,0x81e20748,0xa1e30748,0xb7490748,0x11e511ea,0x674811e6,0x61e70748,0x81e80748,
9540
0xa1e90748,0xb7490748,0x11eb01f6,0x61ec01ef,0x81ed0748,0xa1ee0748,0xb7490748,0x61f011f3,
9541
0x81f10748,0xa1f20748,0xb7490748,0x81f40748,0xa1f50748,0xb7490748,0x674811f7,0x61f80748,
9542
0x81f90748,0xa1fa0748,0xb7490748,0x274811fc,0x21fd0748,0x174811fe,0x11ff0748,0x62000204,
9543
0xa2010748,0xb2020748,0x37490203,0x87490748,0x62051209,0xa2060748,0xb2070748,0x37490208,
9544
0x87490748,0xa20a0748,0xb20b0748,0x3749020c,0x87490748,0x220e1220,0x7748020f,0x72101748,
9545
0x12111215,0x67480212,0x62131748,0x32141748,0x47491748,0x1216021b,0x67480217,0x62181748,
9546
0x32191748,0x421a1748,0x87491748,0x6748021c,0x621d1748,0x321e1748,0x421f1748,0x87491748,
9547
0x22210748,0x72220232,0x17481223,0x12240748,0x62250229,0x32260748,0x42270748,0xa2280748,
9548
0xb7490748,0x622a122e,0x322b0748,0x422c0748,0xa22d0748,0xb7490748,0x322f0748,0x42300748,
9549
0xa2310748,0xb7490748,0x72331243,0x17481234,0x12350748,0x6236023a,0x32370748,0x42380748,
9550
0xa2390748,0xb7490748,0x623b123f,0x323c0748,0x423d0748,0xa23e0748,0xb7490748,0x32400748,
9551
0x42410748,0xa2420748,0xb7490748,0x17481244,0x12450748,0x6246024a,0x32470748,0x42480748,
9552
0xa2490748,0xb7490748,0x624b124f,0x324c0748,0x424d0748,0xa24e0748,0xb7490748,0x32500748,
9553
0x42510748,0xa2520748,0xb7490748,0x2254126e,0x72550748,0x97481256,0x92570748,0x1258125d,
9554
0x67481259,0x625a0748,0x825b0748,0xa25c0748,0xb7490748,0x125e0269,0x625f0262,0x82600748,
9555
0xa2610748,0xb7490748,0x62631266,0x82640748,0xa2650748,0xb7490748,0x82670748,0xa2680748,
9556
0xb7490748,0x6748126a,0x626b0748,0x826c0748,0xa26d0748,0xb7490748,0x226f0311,0x727012a2,
9557
0x92711281,0x17481272,0x12730748,0x62740278,0x32750748,0x42760748,0xa2770748,0xb7490748,
9558
0x6279127d,0x327a0748,0x427b0748,0xa27c0748,0xb7490748,0x327e0748,0x427f0748,0xa2800748,
9559
0xb7490748,0x92820292,0x17481283,0x12840748,0x62850289,0xa2860748,0xb2870748,0x37490288,
9560
0x87490748,0x628a128e,0xa28b0748,0xb28c0748,0x3749028d,0x87490748,0xa28f0748,0xb2900748,
9561
0x37490291,0x87490748,0x17481293,0x12940748,0x62950299,0x32960748,0x42970748,0xa2980748,
9562
0xb7490748,0x629a129e,0x329b0748,0x429c0748,0xa29d0748,0xb7490748,0x329f0748,0x42a00748,
9563
0xa2a10748,0xb7490748,0x92a312c4,0x72a402b4,0x174812a5,0x12a60748,0x62a702ab,0x32a80748,
9564
0x42a90748,0xa2aa0748,0xb7490748,0x62ac12b0,0x32ad0748,0x42ae0748,0xa2af0748,0xb7490748,
9565
0x32b10748,0x42b20748,0xa2b30748,0xb7490748,0x174812b5,0x12b60748,0x62b702bb,0x32b80748,
9566
0x42b90748,0xa2ba0748,0xb7490748,0x62bc12c0,0x32bd0748,0x42be0748,0xa2bf0748,0xb7490748,
9567
0x32c10748,0x42c20748,0xa2c30748,0xb7490748,0x72c502f0,0x92c602e0,0x12c712cc,0x674812c8,
9568
0x62c90748,0x82ca0748,0xa2cb0748,0xb7490748,0x12cd02db,0x62ce02d2,0xa2cf0748,0xb2d00748,
9569
0x374902d1,0x87490748,0x62d312d7,0xa2d40748,0xb2d50748,0x374902d6,0x87490748,0xa2d80748,
9570
0xb2d90748,0x374902da,0x87490748,0x674812dc,0x62dd0748,0x82de0748,0xa2df0748,0xb7490748,
9571
0x174812e1,0x12e20748,0x62e302e7,0x32e40748,0x42e50748,0xa2e60748,0xb7490748,0x62e812ec,
9572
0x32e90748,0x42ea0748,0xa2eb0748,0xb7490748,0x32ed0748,0x42ee0748,0xa2ef0748,0xb7490748,
9573
0x92f10301,0x174812f2,0x12f30748,0x62f402f8,0xa2f50748,0xb2f60748,0x374902f7,0x87490748,
9574
0x62f912fd,0xa2fa0748,0xb2fb0748,0x374902fc,0x87490748,0xa2fe0748,0xb2ff0748,0x37490300,
9575
0x87490748,0x17481302,0x13030748,0x63040308,0x33050748,0x43060748,0xa3070748,0xb7490748,
9576
0x6309130d,0x330a0748,0x430b0748,0xa30c0748,0xb7490748,0x330e0748,0x430f0748,0xa3100748,
9577
0xb7490748,0x73120748,0x97481313,0x93140748,0x1315131a,0x67481316,0x63170748,0x83180748,
9578
0xa3190748,0xb7490748,0x131b0326,0x631c031f,0x831d0748,0xa31e0748,0xb7490748,0x63201323,
9579
0x83210748,0xa3220748,0xb7490748,0x83240748,0xa3250748,0xb7490748,0x67481327,0x63280748,
9580
0x83290748,0xa32a0748,0xb7490748,0x032c1655,0x532d1431,0x932e0360,0x2748032f,0x23301748,
9581
0x7331033d,0x17480332,0x13331748,0x63341336,0x33351748,0x47491748,0x6337033a,0x33381748,
9582
0x43391748,0xb7491748,0x333b1748,0x433c1748,0xb7491748,0x733e1354,0x133f0344,0x67480340,
9583
0x63411748,0x33421748,0x43431748,0x87491748,0x1345134f,0x63461348,0x33471748,0x47491748,
9584
0x6349034c,0x334a1748,0x434b1748,0xb7491748,0x334d1748,0x434e1748,0xb7491748,0x67480350,
9585
0x63511748,0x33521748,0x43531748,0x87491748,0x17480355,0x13561748,0x63571359,0x33581748,
9586
0x47491748,0x635a035d,0x335b1748,0x435c1748,0xb7491748,0x335e1748,0x435f1748,0xb7491748,
9587
0x936113ff,0x7362037b,0x27480363,0x23641748,0x17480365,0x13661748,0x6367036d,0xb3681748,
9588
0x3369136b,0x4749136a,0xa7491748,0x836c1748,0xa7491748,0x636e1375,0x336f1372,0x47491370,
9589
0xa3711748,0xb7491748,0x83731748,0xa3741748,0xb7491748,0xb3761748,0x33771379,0x47491378,
9590
0xa7491748,0x837a1748,0xa7491748,0x737c13e6,0x237d039d,0x137e0386,0x6748037f,0x63801748,
9591
0x83811748,0x43821384,0x37491383,0xa7491748,0xa3851748,0xb7491748,0x13871395,0x6388038b,
9592
0x83891748,0xa38a1748,0xb7491748,0x638c1392,0x838d1748,0x438e1390,0x3749138f,0xa7491748,
9593
0xa3911748,0xb7491748,0x83931748,0xa3941748,0xb7491748,0x67480396,0x63971748,0x83981748,
9594
0x4399139b,0x3749139a,0xa7491748,0xa39c1748,0xb7491748,0x239e13c6,0x139f03a7,0x674803a0,
9595
0x63a11748,0x83a21748,0x43a313a5,0x374913a4,0xa7491748,0xa3a61748,0xb7491748,0x13a813be,
9596
0x63a903af,0xb3aa1748,0x33ab13ad,0x474913ac,0xa7491748,0x83ae1748,0xa7491748,0x63b013b8,
9597
0x33b113b4,0x474913b2,0xa3b31748,0xb7491748,0x83b51748,0xa3b61748,0x474913b7,0xb7491748,
9598
0xb3b91748,0x33ba13bc,0x474913bb,0xa7491748,0x83bd1748,0xa7491748,0x674803bf,0x63c01748,
9599
0x83c11748,0x43c213c4,0x374913c3,0xa7491748,0xa3c51748,0xb7491748,0x13c703cf,0x674803c8,
9600
0x63c91748,0x83ca1748,0x43cb13cd,0x374913cc,0xa7491748,0xa3ce1748,0xb7491748,0x13d013de,
9601
0x63d103d4,0x83d21748,0xa3d31748,0xb7491748,0x63d513db,0x83d61748,0x43d713d9,0x374913d8,
9602
0xa7491748,0xa3da1748,0xb7491748,0x83dc1748,0xa3dd1748,0xb7491748,0x674803df,0x63e01748,
9603
0x83e11748,0x43e213e4,0x374913e3,0xa7491748,0xa3e51748,0xb7491748,0x274803e7,0x23e81748,
9604
0x174803e9,0x13ea1748,0x63eb03f1,0xb3ec1748,0x33ed13ef,0x474913ee,0xa7491748,0x83f01748,
9605
0xa7491748,0x63f213f9,0x33f313f6,0x474913f4,0xa3f51748,0xb7491748,0x83f71748,0xa3f81748,
9606
0xb7491748,0xb3fa1748,0x33fb13fd,0x474913fc,0xa7491748,0x83fe1748,0xa7491748,0x27480400,
9607
0x24011748,0x7402040e,0x17480403,0x14041748,0x64051407,0x34061748,0x47491748,0x6408040b,
9608
0x34091748,0x440a1748,0xb7491748,0x340c1748,0x440d1748,0xb7491748,0x740f1425,0x14100415,
9609
0x67480411,0x64121748,0x34131748,0x44141748,0x87491748,0x14161420,0x64171419,0x34181748,
9610
0x47491748,0x641a041d,0x341b1748,0x441c1748,0xb7491748,0x341e1748,0x441f1748,0xb7491748,
9611
0x67480421,0x64221748,0x34231748,0x44241748,0x87491748,0x17480426,0x14271748,0x6428142a,
9612
0x34291748,0x47491748,0x642b042e,0x342c1748,0x442d1748,0xb7491748,0x342f1748,0x44301748,
9613
0xb7491748,0x5432057d,0x2433048b,0x7434144d,0x97480435,0x94361748,0x1437043c,0x67480438,
9614
0x64391748,0x843a1748,0xa43b1748,0xb7491748,0x143d1448,0x643e0441,0x843f1748,0xa4401748,
9615
0xb7491748,0x64421445,0x84431748,0xa4441748,0xb7491748,0x84461748,0xa4471748,0xb7491748,
9616
0x67480449,0x644a1748,0x844b1748,0xa44c1748,0xb7491748,0x744e0748,0x944f145f,0x14500454,
9617
0x67481451,0x64520748,0x34530748,0x47490748,0x1455145a,0x67481456,0x64570748,0x34580748,
9618
0x44590748,0x87490748,0x6748145b,0x645c0748,0x345d0748,0x445e0748,0x87490748,0x9460047b,
9619
0x14611469,0x67481462,0x64630748,0x84640748,0x44650467,0x37490466,0xa7490748,0xa4680748,
9620
0xb7490748,0x146a0473,0x6748146b,0x646c0748,0x446d0470,0x3749046e,0x846f0748,0xa7490748,
9621
0x84710748,0xa4720748,0xb7490748,0x67481474,0x64750748,0x84760748,0x44770479,0x37490478,
9622
0xa7490748,0xa47a0748,0xb7490748,0x147c0480,0x6748147d,0x647e0748,0x347f0748,0x47490748,
9623
0x14811486,0x67481482,0x64830748,0x34840748,0x44850748,0x87490748,0x67481487,0x64880748,
9624
0x34890748,0x448a0748,0x87490748,0x248c1547,0x748d14c9,0x948e049e,0x1748048f,0x14901748,
9625
0x64910495,0x34921748,0x44931748,0xa4941748,0xb7491748,0x6496149a,0x34971748,0x44981748,
9626
0xa4991748,0xb7491748,0x349b1748,0x449c1748,0xa49d1748,0xb7491748,0x949f14b9,0x14a004a5,
9627
0x674804a1,0x64a21748,0x84a31748,0xa4a41748,0xb7491748,0x14a614b4,0x64a704ab,0xa4a81748,
9628
0xb4a91748,0x374914aa,0x87491748,0x64ac14b0,0xa4ad1748,0xb4ae1748,0x374914af,0x87491748,
9629
0xa4b11748,0xb4b21748,0x374914b3,0x87491748,0x674804b5,0x64b61748,0x84b71748,0xa4b81748,
9630
0xb7491748,0x174804ba,0x14bb1748,0x64bc04c0,0x34bd1748,0x44be1748,0xa4bf1748,0xb7491748,
9631
0x64c114c5,0x34c21748,0x44c31748,0xa4c41748,0xb7491748,0x34c61748,0x44c71748,0xa4c81748,
9632
0xb7491748,0x74ca0515,0x94cb14db,0x174804cc,0x14cd1748,0x64ce04d2,0xa4cf1748,0xb4d01748,
9633
0x374914d1,0x87491748,0x64d314d7,0xa4d41748,0xb4d51748,0x374914d6,0x87491748,0xa4d81748,
9634
0xb4d91748,0x374914da,0x87491748,0x94dc0505,0x14dd04e5,0x674814de,0x64df0748,0x84e00748,
9635
0x44e104e3,0x374904e2,0xa7490748,0xa4e40748,0xb7490748,0x14e614fd,0x64e714eb,0x34e81748,
9636
0x44e91748,0xa4ea1748,0xb7491748,0x64ec04f9,0x44ed14f3,0xa4ee04f0,0x84ef0748,0xb7490748,
9637
0x34f11748,0xb4f21748,0xa7491748,0x84f40748,0xa4f504f7,0x474904f6,0xb7490748,0x34f80748,
9638
0x47490748,0x34fa1748,0x44fb1748,0xa4fc1748,0xb7491748,0x674814fe,0x64ff0748,0x85000748,
9639
0x45010503,0x37490502,0xa7490748,0xa5040748,0xb7490748,0x17480506,0x15071748,0x6508050c,
9640
0x35091748,0x450a1748,0xa50b1748,0xb7491748,0x650d1511,0x350e1748,0x450f1748,0xa5101748,
9641
0xb7491748,0x35121748,0x45131748,0xa5141748,0xb7491748,0x95160526,0x17480517,0x15181748,
9642
0x6519051d,0x351a1748,0x451b1748,0xa51c1748,0xb7491748,0x651e1522,0x351f1748,0x45201748,
9643
0xa5211748,0xb7491748,0x35231748,0x45241748,0xa5251748,0xb7491748,0x95271537,0x17480528,
9644
0x15291748,0x652a052e,0xa52b1748,0xb52c1748,0x3749152d,0x87491748,0x652f1533,0xa5301748,
9645
0xb5311748,0x37491532,0x87491748,0xa5341748,0xb5351748,0x37491536,0x87491748,0x17480538,
9646
0x15391748,0x653a053e,0x353b1748,0x453c1748,0xa53d1748,0xb7491748,0x653f1543,0x35401748,
9647
0x45411748,0xa5421748,0xb7491748,0x35441748,0x45451748,0xa5461748,0xb7491748,0x75480564,
9648
0x97481549,0x954a0748,0x154b0553,0x6748154c,0x654d0748,0x854e0748,0x454f0551,0x37490550,
9649
0xa7490748,0xa5520748,0xb7490748,0x1554155c,0x67481555,0x65560748,0x85570748,0x4558055a,
9650
0x37490559,0xa7490748,0xa55b0748,0xb7490748,0x6748155d,0x655e0748,0x855f0748,0x45600562,
9651
0x37490561,0xa7490748,0xa5630748,0xb7490748,0x95651748,0x75661748,0x1567056c,0x67480568,
9652
0x65691748,0x856a1748,0xa56b1748,0xb7491748,0x156d1578,0x656e0571,0x856f1748,0xa5701748,
9653
0xb7491748,0x65721575,0x85731748,0xa5741748,0xb7491748,0x85761748,0xa5771748,0xb7491748,
9654
0x67480579,0x657a1748,0x857b1748,0xa57c1748,0xb7491748,0x257e0598,0x757f1748,0x97480580,
9655
0x95811748,0x15820587,0x67480583,0x65841748,0x85851748,0xa5861748,0xb7491748,0x15881593,
9656
0x6589058c,0x858a1748,0xa58b1748,0xb7491748,0x658d1590,0x858e1748,0xa58f1748,0xb7491748,
9657
0x85911748,0xa5921748,0xb7491748,0x67480594,0x65951748,0x85961748,0xa5971748,0xb7491748,
9658
0x2599163b,0x759a05cc,0x959b05ab,0x1748059c,0x159d1748,0x659e05a2,0x359f1748,0x45a01748,
9659
0xa5a11748,0xb7491748,0x65a315a7,0x35a41748,0x45a51748,0xa5a61748,0xb7491748,0x35a81748,
9660
0x45a91748,0xa5aa1748,0xb7491748,0x95ac15bc,0x174805ad,0x15ae1748,0x65af05b3,0xa5b01748,
9661
0xb5b11748,0x374915b2,0x87491748,0x65b415b8,0xa5b51748,0xb5b61748,0x374915b7,0x87491748,
9662
0xa5b91748,0xb5ba1748,0x374915bb,0x87491748,0x174805bd,0x15be1748,0x65bf05c3,0x35c01748,
9663
0x45c11748,0xa5c21748,0xb7491748,0x65c415c8,0x35c51748,0x45c61748,0xa5c71748,0xb7491748,
9664
0x35c91748,0x45ca1748,0xa5cb1748,0xb7491748,0x95cd05ee,0x75ce15de,0x174805cf,0x15d01748,
9665
0x65d105d5,0x35d21748,0x45d31748,0xa5d41748,0xb7491748,0x65d615da,0x35d71748,0x45d81748,
9666
0xa5d91748,0xb7491748,0x35db1748,0x45dc1748,0xa5dd1748,0xb7491748,0x174805df,0x15e01748,
9667
0x65e105e5,0x35e21748,0x45e31748,0xa5e41748,0xb7491748,0x65e615ea,0x35e71748,0x45e81748,
9668
0xa5e91748,0xb7491748,0x35eb1748,0x45ec1748,0xa5ed1748,0xb7491748,0x75ef161a,0x95f0160a,
9669
0x15f105f6,0x674805f2,0x65f31748,0x85f41748,0xa5f51748,0xb7491748,0x15f71605,0x65f805fc,
9670
0xa5f91748,0xb5fa1748,0x374915fb,0x87491748,0x65fd1601,0xa5fe1748,0xb5ff1748,0x37491600,
9671
0x87491748,0xa6021748,0xb6031748,0x37491604,0x87491748,0x67480606,0x66071748,0x86081748,
9672
0xa6091748,0xb7491748,0x1748060b,0x160c1748,0x660d0611,0x360e1748,0x460f1748,0xa6101748,
9673
0xb7491748,0x66121616,0x36131748,0x46141748,0xa6151748,0xb7491748,0x36171748,0x46181748,
9674
0xa6191748,0xb7491748,0x961b162b,0x1748061c,0x161d1748,0x661e0622,0xa61f1748,0xb6201748,
9675
0x37491621,0x87491748,0x66231627,0xa6241748,0xb6251748,0x37491626,0x87491748,0xa6281748,
9676
0xb6291748,0x3749162a,0x87491748,0x1748062c,0x162d1748,0x662e0632,0x362f1748,0x46301748,
9677
0xa6311748,0xb7491748,0x66331637,0x36341748,0x46351748,0xa6361748,0xb7491748,0x36381748,
9678
0x46391748,0xa63a1748,0xb7491748,0x763c1748,0x9748063d,0x963e1748,0x163f0644,0x67480640,
9679
0x66411748,0x86421748,0xa6431748,0xb7491748,0x16451650,0x66460649,0x86471748,0xa6481748,
9680
0xb7491748,0x664a164d,0x864b1748,0xa64c1748,0xb7491748,0x864e1748,0xa64f1748,0xb7491748,
9681
0x67480651,0x66521748,0x86531748,0xa6541748,0xb7491748,0x565616cf,0x77480657,0x76581748,
9682
0x26590675,0x9748065a,0x965b1748,0x165c0664,0x6748065d,0x665e1748,0x865f1748,0x46601662,
9683
0x37491661,0xa7491748,0xa6631748,0xb7491748,0x1665166d,0x67480666,0x66671748,0x86681748,
9684
0x4669166b,0x3749166a,0xa7491748,0xa66c1748,0xb7491748,0x6748066e,0x666f1748,0x86701748,
9685
0x46711673,0x37491672,0xa7491748,0xa6741748,0xb7491748,0x267616b3,0x96770687,0x1678167c,
9686
0x67480679,0x667a1748,0x367b1748,0x47491748,0x167d0682,0x6748067e,0x667f1748,0x36801748,
9687
0x46811748,0x87491748,0x67480683,0x66841748,0x36851748,0x46861748,0x87491748,0x968816a3,
9688
0x16890691,0x6748068a,0x668b1748,0x868c1748,0x468d168f,0x3749168e,0xa7491748,0xa6901748,
9689
0xb7491748,0x1692169b,0x67480693,0x66941748,0x46951698,0x37491696,0x86971748,0xa7491748,
9690
0x86991748,0xa69a1748,0xb7491748,0x6748069c,0x669d1748,0x869e1748,0x469f16a1,0x374916a0,
9691
0xa7491748,0xa6a21748,0xb7491748,0x16a416a8,0x674806a5,0x66a61748,0x36a71748,0x47491748,
9692
0x16a906ae,0x674806aa,0x66ab1748,0x36ac1748,0x46ad1748,0x87491748,0x674806af,0x66b01748,
9693
0x36b11748,0x46b21748,0x87491748,0x974806b4,0x96b51748,0x16b606be,0x674806b7,0x66b81748,
9694
0x86b91748,0x46ba16bc,0x374916bb,0xa7491748,0xa6bd1748,0xb7491748,0x16bf16c7,0x674806c0,
9695
0x66c11748,0x86c21748,0x46c316c5,0x374916c4,0xa7491748,0xa6c61748,0xb7491748,0x674806c8,
9696
0x66c91748,0x86ca1748,0x46cb16cd,0x374916cc,0xa7491748,0xa6ce1748,0xb7491748,0x56d00748,
9697
0x76d10748,0x26d216ee,0x974816d3,0x96d40748,0x16d506dd,0x674816d6,0x66d70748,0x86d80748,
9698
0x46d906db,0x374906da,0xa7490748,0xa6dc0748,0xb7490748,0x16de16e6,0x674816df,0x66e00748,
9699
0x86e10748,0x46e206e4,0x374906e3,0xa7490748,0xa6e50748,0xb7490748,0x674816e7,0x66e80748,
9700
0x86e90748,0x46ea06ec,0x374906eb,0xa7490748,0xa6ed0748,0xb7490748,0x26ef072c,0x96f01700,
9701
0x16f106f5,0x674816f2,0x66f30748,0x36f40748,0x47490748,0x16f616fb,0x674816f7,0x66f80748,
9702
0x36f90748,0x46fa0748,0x87490748,0x674816fc,0x66fd0748,0x36fe0748,0x46ff0748,0x87490748,
9703
0x9701071c,0x1702170a,0x67481703,0x67040748,0x87050748,0x47060708,0x37490707,0xa7490748,
9704
0xa7090748,0xb7490748,0x170b0714,0x6748170c,0x670d0748,0x470e0711,0x3749070f,0x87100748,
9705
0xa7490748,0x87120748,0xa7130748,0xb7490748,0x67481715,0x67160748,0x87170748,0x4718071a,
9706
0x37490719,0xa7490748,0xa71b0748,0xb7490748,0x171d0721,0x6748171e,0x671f0748,0x37200748,
9707
0x47490748,0x17221727,0x67481723,0x67240748,0x37250748,0x47260748,0x87490748,0x67481728,
9708
0x67290748,0x372a0748,0x472b0748,0x87490748,0x9748172d,0x972e0748,0x172f0737,0x67481730,
9709
0x67310748,0x87320748,0x47330735,0x37490734,0xa7490748,0xa7360748,0xb7490748,0x17381740,
9710
0x67481739,0x673a0748,0x873b0748,0x473c073e,0x3749073d,0xa7490748,0xa73f0748,0xb7490748,
9711
0x67481741,0x67420748,0x87430748,0x47440746,0x37490745,0xa7490748,0xa7470748,0xb7490748,
9712
0x000000fe,0x000000ff};
9713
9714
static const uint32_t table_9_16_corner_struct[] =
9715
{ 0x00010138,0x200200d3,0x4003008a,0x50040051,0x70050027,0x30060016,0x1007000d,0x6008000a,
9716
0x82ad0009,0xf2ad02ac,0xd00b02ac,0xe00c02ac,0xf2ad02ac,0x800e02ac,0x900f02ac,0xa01002ac,
9717
0x62ad0011,0xb01202ac,0xc01302ac,0xd01402ac,0xe01502ac,0xf2ad02ac,0xa01702ac,0xb01802ac,
9718
0xc01902ac,0x801a0023,0x901b001f,0x62ad001c,0xd01d02ac,0xe01e02ac,0xf2ad02ac,0x102002ac,
9719
0xd02102ac,0xe02202ac,0xf2ad02ac,0x102402ac,0xd02502ac,0xe02602ac,0xf2ad02ac,0x70281041,
9720
0xe0290038,0xf02a02ac,0x102b0032,0x302c002e,0x62ad002d,0xd2ad02ac,0xa02f02ac,0xb03002ac,
9721
0xc03102ac,0xd2ad02ac,0x803302ac,0x903402ac,0xa03502ac,0xb03602ac,0xc03702ac,0xd2ad02ac,
9722
0xe03912ac,0x803a12ac,0x903b12ac,0xa03c12ac,0xb03d12ac,0xc03e12ac,0xd03f12ac,0x62ad1040,
9723
0xf2ad12ac,0xe04202ac,0xf04302ac,0x1044004b,0x30450047,0x62ad0046,0xd2ad02ac,0xa04802ac,
9724
0xb04902ac,0xc04a02ac,0xd2ad02ac,0x804c02ac,0x904d02ac,0xa04e02ac,0xb04f02ac,0xc05002ac,
9725
0xd2ad02ac,0x5052106e,0xc0530064,0xd05402ac,0xe05502ac,0xf056005e,0x1057005a,0x32ad0058,
9726
0xa05902ac,0xb2ad02ac,0x805b02ac,0x905c02ac,0xa05d02ac,0xb2ad02ac,0x605f02ac,0x706002ac,
9727
0x806102ac,0x906202ac,0xa06302ac,0xb2ad02ac,0xc06512ac,0x706612ac,0x806712ac,0x906812ac,
9728
0xa06912ac,0xb06a12ac,0xd06b12ac,0x62ad106c,0xe06d12ac,0xf2ad12ac,0xc06f0080,0xd07002ac,
9729
0xe07102ac,0xf072007a,0x10730076,0x32ad0074,0xa07502ac,0xb2ad02ac,0x807702ac,0x907802ac,
9730
0xa07902ac,0xb2ad02ac,0x607b02ac,0x707c02ac,0x807d02ac,0x907e02ac,0xa07f02ac,0xb2ad02ac,
9731
0xc08112ac,0x708212ac,0x808312ac,0x908412ac,0xa08512ac,0xb08612ac,0xd08712ac,0xe08812ac,
9732
0x62ad1089,0xf2ad12ac,0x408b10b1,0xb08c00a1,0xc08d02ac,0xd08e02ac,0xa08f009d,0xe0900098,
9733
0xf0910094,0x12ad0092,0x809302ac,0x92ad02ac,0x609502ac,0x709602ac,0x809702ac,0x92ad02ac,
9734
0x509902ac,0x609a02ac,0x709b02ac,0x809c02ac,0x92ad02ac,0x109e02ac,0x309f02ac,0xe0a002ac,
9735
0xf2ad02ac,0xb0a212ac,0x70a312ac,0x80a412ac,0x90a512ac,0xa0a612ac,0x60a710ad,0x50a810aa,
9736
0x32ad10a9,0xc2ad12ac,0xc0ab12ac,0xd0ac12ac,0xe2ad12ac,0xc0ae12ac,0xd0af12ac,0xe0b012ac,
9737
0xf2ad12ac,0xb0b200c7,0xc0b302ac,0xd0b402ac,0xa0b500c3,0xe0b600be,0xf0b700ba,0x12ad00b8,
9738
0x80b902ac,0x92ad02ac,0x60bb02ac,0x70bc02ac,0x80bd02ac,0x92ad02ac,0x50bf02ac,0x60c002ac,
9739
0x70c102ac,0x80c202ac,0x92ad02ac,0x10c402ac,0x30c502ac,0xe0c602ac,0xf2ad02ac,0xb0c812ac,
9740
0x70c912ac,0x80ca12ac,0x90cb12ac,0xa0cc12ac,0xc0cd12ac,0xd0ce12ac,0x60cf10d1,0x52ad10d0,
9741
0xe2ad12ac,0xe0d212ac,0xf2ad12ac,0x20d4110a,0x90d500ef,0xa0d602ac,0xb0d702ac,0x80d800ea,
9742
0xc0d900e5,0xd0da00e1,0xe0db00de,0xf2ad00dc,0x60dd02ac,0x72ad02ac,0x50df02ac,0x60e002ac,
9743
0x72ad02ac,0x40e202ac,0x50e302ac,0x60e402ac,0x72ad02ac,0x30e602ac,0x40e702ac,0x50e802ac,
9744
0x60e902ac,0x72ad02ac,0x10eb02ac,0xc0ec02ac,0xd0ed02ac,0xe0ee02ac,0xf2ad02ac,0x90f012ac,
9745
0x70f112ac,0x80f212ac,0x60f31104,0x50f410ff,0x40f510fb,0x30f610f8,0x12ad10f7,0xa2ad12ac,
9746
0xa0f912ac,0xb0fa12ac,0xc2ad12ac,0xa0fc12ac,0xb0fd12ac,0xc0fe12ac,0xd2ad12ac,0xa10012ac,
9747
0xb10112ac,0xc10212ac,0xd10312ac,0xe2ad12ac,0xa10512ac,0xb10612ac,0xc10712ac,0xd10812ac,
9748
0xe10912ac,0xf2ad12ac,0x910b0125,0xa10c02ac,0xb10d02ac,0x810e0120,0xc10f011b,0xd1100117,
9749
0xe1110114,0xf2ad0112,0x611302ac,0x72ad02ac,0x511502ac,0x611602ac,0x72ad02ac,0x411802ac,
9750
0x511902ac,0x611a02ac,0x72ad02ac,0x311c02ac,0x411d02ac,0x511e02ac,0x611f02ac,0x72ad02ac,
9751
0x112102ac,0xc12202ac,0xd12302ac,0xe12402ac,0xf2ad02ac,0x912612ac,0x712712ac,0x812812ac,
9752
0xa12912ac,0xb12a12ac,0x612b1134,0x512c1131,0x412d112f,0x32ad112e,0xc2ad12ac,0xc13012ac,
9753
0xd2ad12ac,0xc13212ac,0xd13312ac,0xe2ad12ac,0xc13512ac,0xd13612ac,0xe13712ac,0xf2ad12ac,
9754
0x01391270,0x213a0170,0x913b0155,0x713c02ac,0x813d02ac,0x613e014f,0x513f014a,0x41400146,
9755
0x31410143,0x12ad0142,0xa2ad02ac,0xa14402ac,0xb14502ac,0xc2ad02ac,0xa14702ac,0xb14802ac,
9756
0xc14902ac,0xd2ad02ac,0xa14b02ac,0xb14c02ac,0xc14d02ac,0xd14e02ac,0xe2ad02ac,0xa15002ac,
9757
0xb15102ac,0xc15202ac,0xd15302ac,0xe15402ac,0xf2ad02ac,0x915612ac,0xa15712ac,0xb15812ac,
9758
0x8159116b,0xc15a1166,0xd15b1162,0xe15c115f,0xf2ad115d,0x615e12ac,0x72ad12ac,0x516012ac,
9759
0x616112ac,0x72ad12ac,0x416312ac,0x516412ac,0x616512ac,0x72ad12ac,0x316712ac,0x416812ac,
9760
0x516912ac,0x616a12ac,0x72ad12ac,0x116c12ac,0xc16d12ac,0xd16e12ac,0xe16f12ac,0xf2ad12ac,
9761
0x21711242,0x41720198,0xb1730182,0x717402ac,0x817502ac,0x917602ac,0xa17702ac,0x6178017e,
9762
0x5179017b,0x32ad017a,0xc2ad02ac,0xc17c02ac,0xd17d02ac,0xe2ad02ac,0xc17f02ac,0xd18002ac,
9763
0xe18102ac,0xf2ad02ac,0xb18312ac,0xc18412ac,0xd18512ac,0xa1861194,0xe187118f,0xf188118b,
9764
0x12ad1189,0x818a12ac,0x92ad12ac,0x618c12ac,0x718d12ac,0x818e12ac,0x92ad12ac,0x519012ac,
9765
0x619112ac,0x719212ac,0x819312ac,0x92ad12ac,0x119512ac,0x319612ac,0xe19712ac,0xf2ad12ac,
9766
0x41991220,0x519a01b6,0xc19b01a4,0x719c02ac,0x819d02ac,0x919e02ac,0xa19f02ac,0xb1a002ac,
9767
0xd1a102ac,0x62ad01a2,0xe1a302ac,0xf2ad02ac,0xc1a512ac,0xd1a612ac,0xe1a712ac,0xf1a811b0,
9768
0x11a911ac,0x32ad11aa,0xa1ab12ac,0xb2ad12ac,0x81ad12ac,0x91ae12ac,0xa1af12ac,0xb2ad12ac,
9769
0x61b112ac,0x71b212ac,0x81b312ac,0x91b412ac,0xa1b512ac,0xb2ad12ac,0x51b71204,0x71b801d1,
9770
0xe1b901c1,0x81ba02ac,0x91bb02ac,0xa1bc02ac,0xb1bd02ac,0xc1be02ac,0xd1bf02ac,0x62ad01c0,
9771
0xf2ad02ac,0xe1c212ac,0xf1c312ac,0x11c411cb,0x31c511c7,0x62ad11c6,0xd2ad12ac,0xa1c812ac,
9772
0xb1c912ac,0xc1ca12ac,0xd2ad12ac,0x81cc12ac,0x91cd12ac,0xa1ce12ac,0xb1cf12ac,0xc1d012ac,
9773
0xd2ad12ac,0x71d211f4,0x31d311e3,0x11d411da,0x61d511d7,0x82ad11d6,0xf2ad12ac,0xd1d812ac,
9774
0xe1d912ac,0xf2ad12ac,0x81db12ac,0x91dc12ac,0xa1dd12ac,0x62ad11de,0xb1df12ac,0xc1e012ac,
9775
0xd1e112ac,0xe1e212ac,0xf2ad12ac,0xa1e412ac,0xb1e512ac,0xc1e612ac,0x81e711f0,0x91e811ec,
9776
0x62ad11e9,0xd1ea12ac,0xe1eb12ac,0xf2ad12ac,0x11ed12ac,0xd1ee12ac,0xe1ef12ac,0xf2ad12ac,
9777
0x11f112ac,0xd1f212ac,0xe1f312ac,0xf2ad12ac,0xe1f512ac,0xf1f612ac,0x11f711fe,0x31f811fa,
9778
0x62ad11f9,0xd2ad12ac,0xa1fb12ac,0xb1fc12ac,0xc1fd12ac,0xd2ad12ac,0x81ff12ac,0x920012ac,
9779
0xa20112ac,0xb20212ac,0xc20312ac,0xd2ad12ac,0xc205020e,0x720602ac,0x820702ac,0x920802ac,
9780
0xa20902ac,0xb20a02ac,0xd20b02ac,0xe20c02ac,0x62ad020d,0xf2ad02ac,0xc20f12ac,0xd21012ac,
9781
0xe21112ac,0xf212121a,0x12131216,0x32ad1214,0xa21512ac,0xb2ad12ac,0x821712ac,0x921812ac,
9782
0xa21912ac,0xb2ad12ac,0x621b12ac,0x721c12ac,0x821d12ac,0x921e12ac,0xa21f12ac,0xb2ad12ac,
9783
0xb221022c,0x722202ac,0x822302ac,0x922402ac,0xa22502ac,0xc22602ac,0xd22702ac,0x6228022a,
9784
0x52ad0229,0xe2ad02ac,0xe22b02ac,0xf2ad02ac,0xb22d12ac,0xc22e12ac,0xd22f12ac,0xa230123e,
9785
0xe2311239,0xf2321235,0x12ad1233,0x823412ac,0x92ad12ac,0x623612ac,0x723712ac,0x823812ac,
9786
0x92ad12ac,0x523a12ac,0x623b12ac,0x723c12ac,0x823d12ac,0x92ad12ac,0x123f12ac,0x324012ac,
9787
0xe24112ac,0xf2ad12ac,0x92430255,0x724402ac,0x824502ac,0xa24602ac,0xb24702ac,0x62480251,
9788
0x5249024e,0x424a024c,0x32ad024b,0xc2ad02ac,0xc24d02ac,0xd2ad02ac,0xc24f02ac,0xd25002ac,
9789
0xe2ad02ac,0xc25202ac,0xd25302ac,0xe25402ac,0xf2ad02ac,0x925612ac,0xa25712ac,0xb25812ac,
9790
0x8259126b,0xc25a1266,0xd25b1262,0xe25c125f,0xf2ad125d,0x625e12ac,0x72ad12ac,0x526012ac,
9791
0x626112ac,0x72ad12ac,0x426312ac,0x526412ac,0x626512ac,0x72ad12ac,0x326712ac,0x426812ac,
9792
0x526912ac,0x626a12ac,0x72ad12ac,0x126c12ac,0xc26d12ac,0xd26e12ac,0xe26f12ac,0xf2ad12ac,
9793
0x7271028e,0x827202ac,0x927302ac,0x62740288,0x52750283,0x4276027f,0x3277027c,0x2278027a,
9794
0x12ad0279,0xa2ad02ac,0xa27b02ac,0xb2ad02ac,0xa27d02ac,0xb27e02ac,0xc2ad02ac,0xa28002ac,
9795
0xb28102ac,0xc28202ac,0xd2ad02ac,0xa28402ac,0xb28502ac,0xc28602ac,0xd28702ac,0xe2ad02ac,
9796
0xa28902ac,0xb28a02ac,0xc28b02ac,0xd28c02ac,0xe28d02ac,0xf2ad02ac,0x728f12ac,0x829012ac,
9797
0x929112ac,0x629212a6,0x529312a1,0x4294129d,0x3295129a,0x22961298,0x12ad1297,0xa2ad12ac,
9798
0xa29912ac,0xb2ad12ac,0xa29b12ac,0xb29c12ac,0xc2ad12ac,0xa29e12ac,0xb29f12ac,0xc2a012ac,
9799
0xd2ad12ac,0xa2a212ac,0xb2a312ac,0xc2a412ac,0xd2a512ac,0xe2ad12ac,0xa2a712ac,0xb2a812ac,
9800
0xc2a912ac,0xd2aa12ac,0xe2ab12ac,0xf2ad12ac,0x000000fe,0x000000ff};
9801
9802
9803
switch(agasttype) {
9804
case AgastFeatureDetector::AGAST_5_8:
9805
table_struct=(uint32_t *)(table_5_8_corner_struct);
9806
break;
9807
case AgastFeatureDetector::AGAST_7_12d:
9808
table_struct=(uint32_t *)(table_7_12d_corner_struct);
9809
break;
9810
case AgastFeatureDetector::AGAST_7_12s:
9811
table_struct=(uint32_t *)(table_7_12s_corner_struct);
9812
break;
9813
case AgastFeatureDetector::OAST_9_16:
9814
default:
9815
table_struct=(uint32_t *)(table_9_16_corner_struct);
9816
break;
9817
}
9818
9819
while(true)
9820
{
9821
result = agast_tree_search(table_struct, (int *)pixel, ptr, b_test);
9822
if (result == 254)
9823
bmax = b_test;
9824
else
9825
bmin = b_test;
9826
9827
if(bmin == bmax - 1 || bmin == bmax)
9828
return bmin;
9829
b_test = (bmin + bmax) / 2;
9830
}
9831
}
9832
9833
// 8 pixel mask
9834
template<>
9835
int agast_cornerScore<AgastFeatureDetector::AGAST_5_8>(const uchar* ptr, const int pixel[], int threshold)
9836
{
9837
return AGAST_ALL_SCORE(ptr, pixel, threshold, AgastFeatureDetector::AGAST_5_8);
9838
}
9839
9840
// 12 pixel mask in square format
9841
template<>
9842
int agast_cornerScore<AgastFeatureDetector::AGAST_7_12d>(const uchar* ptr, const int pixel[], int threshold)
9843
{
9844
return AGAST_ALL_SCORE(ptr, pixel, threshold, AgastFeatureDetector::AGAST_7_12d);
9845
}
9846
9847
// 12 pixel mask in diamond format
9848
template<>
9849
int agast_cornerScore<AgastFeatureDetector::AGAST_7_12s>(const uchar* ptr, const int pixel[], int threshold)
9850
{
9851
return AGAST_ALL_SCORE(ptr, pixel, threshold, AgastFeatureDetector::AGAST_7_12s);
9852
}
9853
9854
// 16 pixel mask
9855
template<>
9856
int agast_cornerScore<AgastFeatureDetector::OAST_9_16>(const uchar* ptr, const int pixel[], int threshold)
9857
{
9858
return AGAST_ALL_SCORE(ptr, pixel, threshold, AgastFeatureDetector::OAST_9_16);
9859
}
9860
9861
#endif // !(defined __i386__ || defined(_M_IX86) || defined __x86_64__ || defined(_M_X64))
9862
9863
} // namespace cv
9864
9865