Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Tetragramm
GitHub Repository: Tetragramm/opencv
Path: blob/master/modules/features2d/doc/agast_score.txt
16356 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
#ifdef _MSC_VER
48
#pragma warning( disable : 4127 )
49
#endif
50
51
namespace cv
52
{
53
54
void makeAgastOffsets(int pixel[16], int rowStride, int type)
55
{
56
static const int offsets16[][2] =
57
{
58
{-3, 0}, {-3, -1}, {-2, -2}, {-1, -3}, {0, -3}, { 1, -3}, { 2, -2}, { 3, -1},
59
{ 3, 0}, { 3, 1}, { 2, 2}, { 1, 3}, {0, 3}, {-1, 3}, {-2, 2}, {-3, 1}
60
};
61
62
static const int offsets12d[][2] =
63
{
64
{-3, 0}, {-2, -1}, {-1, -2}, {0, -3}, { 1, -2}, { 2, -1},
65
{ 3, 0}, { 2, 1}, { 1, 2}, {0, 3}, {-1, 2}, {-2, 1}
66
};
67
68
static const int offsets12s[][2] =
69
{
70
{-2, 0}, {-2, -1}, {-1, -2}, {0, -2}, { 1, -2}, { 2, -1},
71
{ 2, 0}, { 2, 1}, { 1, 2}, {0, 2}, {-1, 2}, {-2, 1}
72
};
73
74
static const int offsets8[][2] =
75
{
76
{-1, 0}, {-1, -1}, {0, -1}, { 1, -1},
77
{ 1, 0}, { 1, 1}, {0, 1}, {-1, 1}
78
};
79
80
const int (*offsets)[2] = type == AgastFeatureDetector::OAST_9_16 ? offsets16 :
81
type == AgastFeatureDetector::AGAST_7_12d ? offsets12d :
82
type == AgastFeatureDetector::AGAST_7_12s ? offsets12s :
83
type == AgastFeatureDetector::AGAST_5_8 ? offsets8 : 0;
84
85
CV_Assert(pixel && offsets);
86
87
int k = 0;
88
for( ; k < 16; k++ )
89
pixel[k] = offsets[k][0] + offsets[k][1] * rowStride;
90
}
91
92
// 16 pixel mask
93
template<>
94
int agast_cornerScore<AgastFeatureDetector::OAST_9_16>(const uchar* ptr, const int pixel[], int threshold)
95
{
96
int bmin = threshold;
97
int bmax = 255;
98
int b_test = (bmax + bmin) / 2;
99
100
short offset0 = (short) pixel[0];
101
short offset1 = (short) pixel[1];
102
short offset2 = (short) pixel[2];
103
short offset3 = (short) pixel[3];
104
short offset4 = (short) pixel[4];
105
short offset5 = (short) pixel[5];
106
short offset6 = (short) pixel[6];
107
short offset7 = (short) pixel[7];
108
short offset8 = (short) pixel[8];
109
short offset9 = (short) pixel[9];
110
short offset10 = (short) pixel[10];
111
short offset11 = (short) pixel[11];
112
short offset12 = (short) pixel[12];
113
short offset13 = (short) pixel[13];
114
short offset14 = (short) pixel[14];
115
short offset15 = (short) pixel[15];
116
117
while(true)
118
{
119
const int cb = *ptr + b_test;
120
const int c_b = *ptr - b_test;
121
if(ptr[offset0] > cb)
122
if(ptr[offset2] > cb)
123
if(ptr[offset4] > cb)
124
if(ptr[offset5] > cb)
125
if(ptr[offset7] > cb)
126
if(ptr[offset3] > cb)
127
if(ptr[offset1] > cb)
128
if(ptr[offset6] > cb)
129
if(ptr[offset8] > cb)
130
goto is_a_corner;
131
else
132
if(ptr[offset15] > cb)
133
goto is_a_corner;
134
else
135
goto is_not_a_corner;
136
else
137
if(ptr[offset13] > cb)
138
if(ptr[offset14] > cb)
139
if(ptr[offset15] > cb)
140
goto is_a_corner;
141
else
142
goto is_not_a_corner;
143
else
144
goto is_not_a_corner;
145
else
146
goto is_not_a_corner;
147
else
148
if(ptr[offset8] > cb)
149
if(ptr[offset9] > cb)
150
if(ptr[offset10] > cb)
151
if(ptr[offset6] > cb)
152
goto is_a_corner;
153
else
154
if(ptr[offset11] > cb)
155
if(ptr[offset12] > cb)
156
if(ptr[offset13] > cb)
157
if(ptr[offset14] > cb)
158
if(ptr[offset15] > cb)
159
goto is_a_corner;
160
else
161
goto is_not_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
if(ptr[offset10] > cb)
178
if(ptr[offset11] > cb)
179
if(ptr[offset12] > cb)
180
if(ptr[offset8] > cb)
181
if(ptr[offset9] > cb)
182
if(ptr[offset6] > cb)
183
goto is_a_corner;
184
else
185
if(ptr[offset13] > cb)
186
if(ptr[offset14] > cb)
187
if(ptr[offset15] > cb)
188
goto is_a_corner;
189
else
190
goto is_not_a_corner;
191
else
192
goto is_not_a_corner;
193
else
194
goto is_not_a_corner;
195
else
196
if(ptr[offset1] > cb)
197
if(ptr[offset13] > cb)
198
if(ptr[offset14] > cb)
199
if(ptr[offset15] > cb)
200
goto is_a_corner;
201
else
202
goto is_not_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
if(ptr[offset1] > cb)
211
if(ptr[offset13] > cb)
212
if(ptr[offset14] > cb)
213
if(ptr[offset15] > cb)
214
goto is_a_corner;
215
else
216
goto is_not_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
if(ptr[offset7] < c_b)
231
if(ptr[offset14] > cb)
232
if(ptr[offset15] > cb)
233
if(ptr[offset1] > cb)
234
if(ptr[offset3] > cb)
235
if(ptr[offset6] > cb)
236
goto is_a_corner;
237
else
238
if(ptr[offset13] > cb)
239
goto is_a_corner;
240
else
241
goto is_not_a_corner;
242
else
243
if(ptr[offset10] > cb)
244
if(ptr[offset11] > cb)
245
if(ptr[offset12] > cb)
246
if(ptr[offset13] > cb)
247
goto is_a_corner;
248
else
249
goto is_not_a_corner;
250
else
251
goto is_not_a_corner;
252
else
253
goto is_not_a_corner;
254
else
255
goto is_not_a_corner;
256
else
257
if(ptr[offset8] > cb)
258
if(ptr[offset9] > cb)
259
if(ptr[offset10] > cb)
260
if(ptr[offset11] > cb)
261
if(ptr[offset12] > cb)
262
if(ptr[offset13] > cb)
263
goto is_a_corner;
264
else
265
goto is_not_a_corner;
266
else
267
goto is_not_a_corner;
268
else
269
goto is_not_a_corner;
270
else
271
goto is_not_a_corner;
272
else
273
goto is_not_a_corner;
274
else
275
goto is_not_a_corner;
276
else
277
goto is_not_a_corner;
278
else
279
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
358
if(ptr[offset5] < c_b)
359
if(ptr[offset12] > cb)
360
if(ptr[offset13] > cb)
361
if(ptr[offset14] > cb)
362
if(ptr[offset15] > cb)
363
if(ptr[offset1] > cb)
364
if(ptr[offset3] > cb)
365
goto is_a_corner;
366
else
367
if(ptr[offset10] > cb)
368
if(ptr[offset11] > cb)
369
goto is_a_corner;
370
else
371
goto is_not_a_corner;
372
else
373
goto is_not_a_corner;
374
else
375
if(ptr[offset8] > cb)
376
if(ptr[offset9] > cb)
377
if(ptr[offset10] > cb)
378
if(ptr[offset11] > cb)
379
goto is_a_corner;
380
else
381
goto is_not_a_corner;
382
else
383
goto is_not_a_corner;
384
else
385
goto is_not_a_corner;
386
else
387
goto is_not_a_corner;
388
else
389
if(ptr[offset6] > cb)
390
if(ptr[offset7] > cb)
391
if(ptr[offset8] > cb)
392
if(ptr[offset9] > cb)
393
if(ptr[offset10] > cb)
394
if(ptr[offset11] > cb)
395
goto is_a_corner;
396
else
397
goto is_not_a_corner;
398
else
399
goto is_not_a_corner;
400
else
401
goto is_not_a_corner;
402
else
403
goto is_not_a_corner;
404
else
405
goto is_not_a_corner;
406
else
407
goto is_not_a_corner;
408
else
409
goto is_not_a_corner;
410
else
411
goto is_not_a_corner;
412
else
413
if(ptr[offset12] < c_b)
414
if(ptr[offset7] < c_b)
415
if(ptr[offset8] < c_b)
416
if(ptr[offset9] < c_b)
417
if(ptr[offset10] < c_b)
418
if(ptr[offset11] < c_b)
419
if(ptr[offset13] < c_b)
420
if(ptr[offset6] < c_b)
421
goto is_a_corner;
422
else
423
if(ptr[offset14] < c_b)
424
if(ptr[offset15] < c_b)
425
goto is_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
goto is_not_a_corner;
444
else
445
if(ptr[offset12] > cb)
446
if(ptr[offset13] > cb)
447
if(ptr[offset14] > cb)
448
if(ptr[offset15] > cb)
449
if(ptr[offset1] > cb)
450
if(ptr[offset3] > cb)
451
goto is_a_corner;
452
else
453
if(ptr[offset10] > cb)
454
if(ptr[offset11] > cb)
455
goto is_a_corner;
456
else
457
goto is_not_a_corner;
458
else
459
goto is_not_a_corner;
460
else
461
if(ptr[offset8] > cb)
462
if(ptr[offset9] > cb)
463
if(ptr[offset10] > cb)
464
if(ptr[offset11] > cb)
465
goto is_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
goto is_not_a_corner;
474
else
475
if(ptr[offset6] > cb)
476
if(ptr[offset7] > cb)
477
if(ptr[offset8] > cb)
478
if(ptr[offset9] > cb)
479
if(ptr[offset10] > cb)
480
if(ptr[offset11] > cb)
481
goto is_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
497
goto is_not_a_corner;
498
else
499
if(ptr[offset12] < c_b)
500
if(ptr[offset7] < c_b)
501
if(ptr[offset8] < c_b)
502
if(ptr[offset9] < c_b)
503
if(ptr[offset10] < c_b)
504
if(ptr[offset11] < c_b)
505
if(ptr[offset13] < c_b)
506
if(ptr[offset14] < c_b)
507
if(ptr[offset6] < c_b)
508
goto is_a_corner;
509
else
510
if(ptr[offset15] < c_b)
511
goto is_a_corner;
512
else
513
goto is_not_a_corner;
514
else
515
goto is_not_a_corner;
516
else
517
goto is_not_a_corner;
518
else
519
goto is_not_a_corner;
520
else
521
goto is_not_a_corner;
522
else
523
goto is_not_a_corner;
524
else
525
goto is_not_a_corner;
526
else
527
goto is_not_a_corner;
528
else
529
goto is_not_a_corner;
530
else
531
if(ptr[offset4] < c_b)
532
if(ptr[offset11] > cb)
533
if(ptr[offset12] > cb)
534
if(ptr[offset13] > cb)
535
if(ptr[offset10] > cb)
536
if(ptr[offset14] > cb)
537
if(ptr[offset15] > cb)
538
if(ptr[offset1] > cb)
539
goto is_a_corner;
540
else
541
if(ptr[offset8] > cb)
542
if(ptr[offset9] > cb)
543
goto is_a_corner;
544
else
545
goto is_not_a_corner;
546
else
547
goto is_not_a_corner;
548
else
549
if(ptr[offset6] > cb)
550
if(ptr[offset7] > cb)
551
if(ptr[offset8] > cb)
552
if(ptr[offset9] > cb)
553
goto is_a_corner;
554
else
555
goto is_not_a_corner;
556
else
557
goto is_not_a_corner;
558
else
559
goto is_not_a_corner;
560
else
561
goto is_not_a_corner;
562
else
563
if(ptr[offset5] > cb)
564
if(ptr[offset6] > cb)
565
if(ptr[offset7] > cb)
566
if(ptr[offset8] > cb)
567
if(ptr[offset9] > cb)
568
goto is_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
goto is_not_a_corner;
577
else
578
goto is_not_a_corner;
579
else
580
if(ptr[offset1] > cb)
581
if(ptr[offset3] > cb)
582
if(ptr[offset14] > cb)
583
if(ptr[offset15] > cb)
584
goto is_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
594
goto is_not_a_corner;
595
else
596
goto is_not_a_corner;
597
else
598
if(ptr[offset11] < c_b)
599
if(ptr[offset7] < c_b)
600
if(ptr[offset8] < c_b)
601
if(ptr[offset9] < c_b)
602
if(ptr[offset10] < c_b)
603
if(ptr[offset6] < c_b)
604
if(ptr[offset5] < c_b)
605
if(ptr[offset3] < c_b)
606
goto is_a_corner;
607
else
608
if(ptr[offset12] < c_b)
609
goto is_a_corner;
610
else
611
goto is_not_a_corner;
612
else
613
if(ptr[offset12] < c_b)
614
if(ptr[offset13] < c_b)
615
if(ptr[offset14] < c_b)
616
goto is_a_corner;
617
else
618
goto is_not_a_corner;
619
else
620
goto is_not_a_corner;
621
else
622
goto is_not_a_corner;
623
else
624
if(ptr[offset12] < c_b)
625
if(ptr[offset13] < c_b)
626
if(ptr[offset14] < c_b)
627
if(ptr[offset15] < c_b)
628
goto is_a_corner;
629
else
630
goto is_not_a_corner;
631
else
632
goto is_not_a_corner;
633
else
634
goto is_not_a_corner;
635
else
636
goto is_not_a_corner;
637
else
638
goto is_not_a_corner;
639
else
640
goto is_not_a_corner;
641
else
642
goto is_not_a_corner;
643
else
644
goto is_not_a_corner;
645
else
646
goto is_not_a_corner;
647
else
648
if(ptr[offset11] > cb)
649
if(ptr[offset12] > cb)
650
if(ptr[offset13] > cb)
651
if(ptr[offset10] > cb)
652
if(ptr[offset14] > cb)
653
if(ptr[offset15] > cb)
654
if(ptr[offset1] > cb)
655
goto is_a_corner;
656
else
657
if(ptr[offset8] > cb)
658
if(ptr[offset9] > cb)
659
goto is_a_corner;
660
else
661
goto is_not_a_corner;
662
else
663
goto is_not_a_corner;
664
else
665
if(ptr[offset6] > cb)
666
if(ptr[offset7] > cb)
667
if(ptr[offset8] > cb)
668
if(ptr[offset9] > cb)
669
goto is_a_corner;
670
else
671
goto is_not_a_corner;
672
else
673
goto is_not_a_corner;
674
else
675
goto is_not_a_corner;
676
else
677
goto is_not_a_corner;
678
else
679
if(ptr[offset5] > cb)
680
if(ptr[offset6] > cb)
681
if(ptr[offset7] > cb)
682
if(ptr[offset8] > cb)
683
if(ptr[offset9] > cb)
684
goto is_a_corner;
685
else
686
goto is_not_a_corner;
687
else
688
goto is_not_a_corner;
689
else
690
goto is_not_a_corner;
691
else
692
goto is_not_a_corner;
693
else
694
goto is_not_a_corner;
695
else
696
if(ptr[offset1] > cb)
697
if(ptr[offset3] > cb)
698
if(ptr[offset14] > cb)
699
if(ptr[offset15] > cb)
700
goto is_a_corner;
701
else
702
goto is_not_a_corner;
703
else
704
goto is_not_a_corner;
705
else
706
goto is_not_a_corner;
707
else
708
goto is_not_a_corner;
709
else
710
goto is_not_a_corner;
711
else
712
goto is_not_a_corner;
713
else
714
if(ptr[offset11] < c_b)
715
if(ptr[offset7] < c_b)
716
if(ptr[offset8] < c_b)
717
if(ptr[offset9] < c_b)
718
if(ptr[offset10] < c_b)
719
if(ptr[offset12] < c_b)
720
if(ptr[offset13] < c_b)
721
if(ptr[offset6] < c_b)
722
if(ptr[offset5] < c_b)
723
goto is_a_corner;
724
else
725
if(ptr[offset14] < c_b)
726
goto is_a_corner;
727
else
728
goto is_not_a_corner;
729
else
730
if(ptr[offset14] < c_b)
731
if(ptr[offset15] < c_b)
732
goto is_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
746
goto is_not_a_corner;
747
else
748
goto is_not_a_corner;
749
else
750
goto is_not_a_corner;
751
else
752
if(ptr[offset2] < c_b)
753
if(ptr[offset9] > cb)
754
if(ptr[offset10] > cb)
755
if(ptr[offset11] > cb)
756
if(ptr[offset8] > cb)
757
if(ptr[offset12] > cb)
758
if(ptr[offset13] > cb)
759
if(ptr[offset14] > cb)
760
if(ptr[offset15] > cb)
761
goto is_a_corner;
762
else
763
if(ptr[offset6] > cb)
764
if(ptr[offset7] > cb)
765
goto is_a_corner;
766
else
767
goto is_not_a_corner;
768
else
769
goto is_not_a_corner;
770
else
771
if(ptr[offset5] > cb)
772
if(ptr[offset6] > cb)
773
if(ptr[offset7] > cb)
774
goto is_a_corner;
775
else
776
goto is_not_a_corner;
777
else
778
goto is_not_a_corner;
779
else
780
goto is_not_a_corner;
781
else
782
if(ptr[offset4] > cb)
783
if(ptr[offset5] > cb)
784
if(ptr[offset6] > cb)
785
if(ptr[offset7] > cb)
786
goto is_a_corner;
787
else
788
goto is_not_a_corner;
789
else
790
goto is_not_a_corner;
791
else
792
goto is_not_a_corner;
793
else
794
goto is_not_a_corner;
795
else
796
if(ptr[offset3] > cb)
797
if(ptr[offset4] > cb)
798
if(ptr[offset5] > cb)
799
if(ptr[offset6] > cb)
800
if(ptr[offset7] > cb)
801
goto is_a_corner;
802
else
803
goto is_not_a_corner;
804
else
805
goto is_not_a_corner;
806
else
807
goto is_not_a_corner;
808
else
809
goto is_not_a_corner;
810
else
811
goto is_not_a_corner;
812
else
813
if(ptr[offset1] > cb)
814
if(ptr[offset12] > cb)
815
if(ptr[offset13] > cb)
816
if(ptr[offset14] > cb)
817
if(ptr[offset15] > cb)
818
goto is_a_corner;
819
else
820
goto is_not_a_corner;
821
else
822
goto is_not_a_corner;
823
else
824
goto is_not_a_corner;
825
else
826
goto is_not_a_corner;
827
else
828
goto is_not_a_corner;
829
else
830
goto is_not_a_corner;
831
else
832
goto is_not_a_corner;
833
else
834
if(ptr[offset9] < c_b)
835
if(ptr[offset7] < c_b)
836
if(ptr[offset8] < c_b)
837
if(ptr[offset6] < c_b)
838
if(ptr[offset5] < c_b)
839
if(ptr[offset4] < c_b)
840
if(ptr[offset3] < c_b)
841
if(ptr[offset1] < c_b)
842
goto is_a_corner;
843
else
844
if(ptr[offset10] < c_b)
845
goto is_a_corner;
846
else
847
goto is_not_a_corner;
848
else
849
if(ptr[offset10] < c_b)
850
if(ptr[offset11] < c_b)
851
if(ptr[offset12] < c_b)
852
goto is_a_corner;
853
else
854
goto is_not_a_corner;
855
else
856
goto is_not_a_corner;
857
else
858
goto is_not_a_corner;
859
else
860
if(ptr[offset10] < c_b)
861
if(ptr[offset11] < c_b)
862
if(ptr[offset12] < c_b)
863
if(ptr[offset13] < c_b)
864
goto is_a_corner;
865
else
866
goto is_not_a_corner;
867
else
868
goto is_not_a_corner;
869
else
870
goto is_not_a_corner;
871
else
872
goto is_not_a_corner;
873
else
874
if(ptr[offset10] < c_b)
875
if(ptr[offset11] < c_b)
876
if(ptr[offset12] < c_b)
877
if(ptr[offset13] < c_b)
878
if(ptr[offset14] < c_b)
879
goto is_a_corner;
880
else
881
goto is_not_a_corner;
882
else
883
goto is_not_a_corner;
884
else
885
goto is_not_a_corner;
886
else
887
goto is_not_a_corner;
888
else
889
goto is_not_a_corner;
890
else
891
if(ptr[offset10] < c_b)
892
if(ptr[offset11] < c_b)
893
if(ptr[offset12] < c_b)
894
if(ptr[offset13] < c_b)
895
if(ptr[offset14] < c_b)
896
if(ptr[offset15] < c_b)
897
goto is_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
goto is_not_a_corner;
910
else
911
goto is_not_a_corner;
912
else
913
goto is_not_a_corner;
914
else
915
goto is_not_a_corner;
916
else
917
if(ptr[offset9] > cb)
918
if(ptr[offset10] > cb)
919
if(ptr[offset11] > cb)
920
if(ptr[offset8] > cb)
921
if(ptr[offset12] > cb)
922
if(ptr[offset13] > cb)
923
if(ptr[offset14] > cb)
924
if(ptr[offset15] > cb)
925
goto is_a_corner;
926
else
927
if(ptr[offset6] > cb)
928
if(ptr[offset7] > cb)
929
goto is_a_corner;
930
else
931
goto is_not_a_corner;
932
else
933
goto is_not_a_corner;
934
else
935
if(ptr[offset5] > cb)
936
if(ptr[offset6] > cb)
937
if(ptr[offset7] > cb)
938
goto is_a_corner;
939
else
940
goto is_not_a_corner;
941
else
942
goto is_not_a_corner;
943
else
944
goto is_not_a_corner;
945
else
946
if(ptr[offset4] > cb)
947
if(ptr[offset5] > cb)
948
if(ptr[offset6] > cb)
949
if(ptr[offset7] > cb)
950
goto is_a_corner;
951
else
952
goto is_not_a_corner;
953
else
954
goto is_not_a_corner;
955
else
956
goto is_not_a_corner;
957
else
958
goto is_not_a_corner;
959
else
960
if(ptr[offset3] > cb)
961
if(ptr[offset4] > cb)
962
if(ptr[offset5] > cb)
963
if(ptr[offset6] > cb)
964
if(ptr[offset7] > cb)
965
goto is_a_corner;
966
else
967
goto is_not_a_corner;
968
else
969
goto is_not_a_corner;
970
else
971
goto is_not_a_corner;
972
else
973
goto is_not_a_corner;
974
else
975
goto is_not_a_corner;
976
else
977
if(ptr[offset1] > cb)
978
if(ptr[offset12] > cb)
979
if(ptr[offset13] > cb)
980
if(ptr[offset14] > cb)
981
if(ptr[offset15] > cb)
982
goto is_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
990
goto is_not_a_corner;
991
else
992
goto is_not_a_corner;
993
else
994
goto is_not_a_corner;
995
else
996
goto is_not_a_corner;
997
else
998
if(ptr[offset9] < c_b)
999
if(ptr[offset7] < c_b)
1000
if(ptr[offset8] < c_b)
1001
if(ptr[offset10] < c_b)
1002
if(ptr[offset11] < c_b)
1003
if(ptr[offset6] < c_b)
1004
if(ptr[offset5] < c_b)
1005
if(ptr[offset4] < c_b)
1006
if(ptr[offset3] < c_b)
1007
goto is_a_corner;
1008
else
1009
if(ptr[offset12] < c_b)
1010
goto is_a_corner;
1011
else
1012
goto is_not_a_corner;
1013
else
1014
if(ptr[offset12] < c_b)
1015
if(ptr[offset13] < 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
if(ptr[offset12] < c_b)
1023
if(ptr[offset13] < c_b)
1024
if(ptr[offset14] < c_b)
1025
goto is_a_corner;
1026
else
1027
goto is_not_a_corner;
1028
else
1029
goto is_not_a_corner;
1030
else
1031
goto is_not_a_corner;
1032
else
1033
if(ptr[offset12] < c_b)
1034
if(ptr[offset13] < c_b)
1035
if(ptr[offset14] < c_b)
1036
if(ptr[offset15] < c_b)
1037
goto is_a_corner;
1038
else
1039
goto is_not_a_corner;
1040
else
1041
goto is_not_a_corner;
1042
else
1043
goto is_not_a_corner;
1044
else
1045
goto is_not_a_corner;
1046
else
1047
goto is_not_a_corner;
1048
else
1049
goto is_not_a_corner;
1050
else
1051
goto is_not_a_corner;
1052
else
1053
goto is_not_a_corner;
1054
else
1055
goto is_not_a_corner;
1056
else
1057
if(ptr[offset0] < c_b)
1058
if(ptr[offset2] > cb)
1059
if(ptr[offset9] > cb)
1060
if(ptr[offset7] > cb)
1061
if(ptr[offset8] > cb)
1062
if(ptr[offset6] > cb)
1063
if(ptr[offset5] > cb)
1064
if(ptr[offset4] > cb)
1065
if(ptr[offset3] > cb)
1066
if(ptr[offset1] > cb)
1067
goto is_a_corner;
1068
else
1069
if(ptr[offset10] > cb)
1070
goto is_a_corner;
1071
else
1072
goto is_not_a_corner;
1073
else
1074
if(ptr[offset10] > cb)
1075
if(ptr[offset11] > cb)
1076
if(ptr[offset12] > cb)
1077
goto is_a_corner;
1078
else
1079
goto is_not_a_corner;
1080
else
1081
goto is_not_a_corner;
1082
else
1083
goto is_not_a_corner;
1084
else
1085
if(ptr[offset10] > cb)
1086
if(ptr[offset11] > cb)
1087
if(ptr[offset12] > cb)
1088
if(ptr[offset13] > cb)
1089
goto is_a_corner;
1090
else
1091
goto is_not_a_corner;
1092
else
1093
goto is_not_a_corner;
1094
else
1095
goto is_not_a_corner;
1096
else
1097
goto is_not_a_corner;
1098
else
1099
if(ptr[offset10] > cb)
1100
if(ptr[offset11] > cb)
1101
if(ptr[offset12] > cb)
1102
if(ptr[offset13] > cb)
1103
if(ptr[offset14] > cb)
1104
goto is_a_corner;
1105
else
1106
goto is_not_a_corner;
1107
else
1108
goto is_not_a_corner;
1109
else
1110
goto is_not_a_corner;
1111
else
1112
goto is_not_a_corner;
1113
else
1114
goto is_not_a_corner;
1115
else
1116
if(ptr[offset10] > cb)
1117
if(ptr[offset11] > cb)
1118
if(ptr[offset12] > cb)
1119
if(ptr[offset13] > cb)
1120
if(ptr[offset14] > cb)
1121
if(ptr[offset15] > cb)
1122
goto is_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
1130
goto is_not_a_corner;
1131
else
1132
goto is_not_a_corner;
1133
else
1134
goto is_not_a_corner;
1135
else
1136
goto is_not_a_corner;
1137
else
1138
goto is_not_a_corner;
1139
else
1140
if(ptr[offset9] < c_b)
1141
if(ptr[offset10] < c_b)
1142
if(ptr[offset11] < c_b)
1143
if(ptr[offset8] < c_b)
1144
if(ptr[offset12] < c_b)
1145
if(ptr[offset13] < c_b)
1146
if(ptr[offset14] < c_b)
1147
if(ptr[offset15] < c_b)
1148
goto is_a_corner;
1149
else
1150
if(ptr[offset6] < c_b)
1151
if(ptr[offset7] < c_b)
1152
goto is_a_corner;
1153
else
1154
goto is_not_a_corner;
1155
else
1156
goto is_not_a_corner;
1157
else
1158
if(ptr[offset5] < c_b)
1159
if(ptr[offset6] < c_b)
1160
if(ptr[offset7] < c_b)
1161
goto is_a_corner;
1162
else
1163
goto is_not_a_corner;
1164
else
1165
goto is_not_a_corner;
1166
else
1167
goto is_not_a_corner;
1168
else
1169
if(ptr[offset4] < c_b)
1170
if(ptr[offset5] < c_b)
1171
if(ptr[offset6] < c_b)
1172
if(ptr[offset7] < c_b)
1173
goto is_a_corner;
1174
else
1175
goto is_not_a_corner;
1176
else
1177
goto is_not_a_corner;
1178
else
1179
goto is_not_a_corner;
1180
else
1181
goto is_not_a_corner;
1182
else
1183
if(ptr[offset3] < c_b)
1184
if(ptr[offset4] < c_b)
1185
if(ptr[offset5] < c_b)
1186
if(ptr[offset6] < c_b)
1187
if(ptr[offset7] < c_b)
1188
goto is_a_corner;
1189
else
1190
goto is_not_a_corner;
1191
else
1192
goto is_not_a_corner;
1193
else
1194
goto is_not_a_corner;
1195
else
1196
goto is_not_a_corner;
1197
else
1198
goto is_not_a_corner;
1199
else
1200
if(ptr[offset1] < c_b)
1201
if(ptr[offset12] < c_b)
1202
if(ptr[offset13] < c_b)
1203
if(ptr[offset14] < c_b)
1204
if(ptr[offset15] < c_b)
1205
goto is_a_corner;
1206
else
1207
goto is_not_a_corner;
1208
else
1209
goto is_not_a_corner;
1210
else
1211
goto is_not_a_corner;
1212
else
1213
goto is_not_a_corner;
1214
else
1215
goto is_not_a_corner;
1216
else
1217
goto is_not_a_corner;
1218
else
1219
goto is_not_a_corner;
1220
else
1221
goto is_not_a_corner;
1222
else
1223
if(ptr[offset2] < c_b)
1224
if(ptr[offset4] > cb)
1225
if(ptr[offset11] > cb)
1226
if(ptr[offset7] > cb)
1227
if(ptr[offset8] > cb)
1228
if(ptr[offset9] > cb)
1229
if(ptr[offset10] > cb)
1230
if(ptr[offset6] > cb)
1231
if(ptr[offset5] > cb)
1232
if(ptr[offset3] > cb)
1233
goto is_a_corner;
1234
else
1235
if(ptr[offset12] > cb)
1236
goto is_a_corner;
1237
else
1238
goto is_not_a_corner;
1239
else
1240
if(ptr[offset12] > cb)
1241
if(ptr[offset13] > cb)
1242
if(ptr[offset14] > 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
if(ptr[offset12] > cb)
1252
if(ptr[offset13] > cb)
1253
if(ptr[offset14] > cb)
1254
if(ptr[offset15] > cb)
1255
goto is_a_corner;
1256
else
1257
goto is_not_a_corner;
1258
else
1259
goto is_not_a_corner;
1260
else
1261
goto is_not_a_corner;
1262
else
1263
goto is_not_a_corner;
1264
else
1265
goto is_not_a_corner;
1266
else
1267
goto is_not_a_corner;
1268
else
1269
goto is_not_a_corner;
1270
else
1271
goto is_not_a_corner;
1272
else
1273
if(ptr[offset11] < c_b)
1274
if(ptr[offset12] < c_b)
1275
if(ptr[offset13] < c_b)
1276
if(ptr[offset10] < c_b)
1277
if(ptr[offset14] < c_b)
1278
if(ptr[offset15] < c_b)
1279
if(ptr[offset1] < c_b)
1280
goto is_a_corner;
1281
else
1282
if(ptr[offset8] < c_b)
1283
if(ptr[offset9] < c_b)
1284
goto is_a_corner;
1285
else
1286
goto is_not_a_corner;
1287
else
1288
goto is_not_a_corner;
1289
else
1290
if(ptr[offset6] < c_b)
1291
if(ptr[offset7] < c_b)
1292
if(ptr[offset8] < c_b)
1293
if(ptr[offset9] < c_b)
1294
goto is_a_corner;
1295
else
1296
goto is_not_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
if(ptr[offset5] < c_b)
1305
if(ptr[offset6] < c_b)
1306
if(ptr[offset7] < c_b)
1307
if(ptr[offset8] < c_b)
1308
if(ptr[offset9] < c_b)
1309
goto is_a_corner;
1310
else
1311
goto is_not_a_corner;
1312
else
1313
goto is_not_a_corner;
1314
else
1315
goto is_not_a_corner;
1316
else
1317
goto is_not_a_corner;
1318
else
1319
goto is_not_a_corner;
1320
else
1321
if(ptr[offset1] < c_b)
1322
if(ptr[offset3] < c_b)
1323
if(ptr[offset14] < c_b)
1324
if(ptr[offset15] < c_b)
1325
goto is_a_corner;
1326
else
1327
goto is_not_a_corner;
1328
else
1329
goto is_not_a_corner;
1330
else
1331
goto is_not_a_corner;
1332
else
1333
goto is_not_a_corner;
1334
else
1335
goto is_not_a_corner;
1336
else
1337
goto is_not_a_corner;
1338
else
1339
goto is_not_a_corner;
1340
else
1341
if(ptr[offset4] < c_b)
1342
if(ptr[offset5] > cb)
1343
if(ptr[offset12] > cb)
1344
if(ptr[offset7] > cb)
1345
if(ptr[offset8] > cb)
1346
if(ptr[offset9] > cb)
1347
if(ptr[offset10] > cb)
1348
if(ptr[offset11] > cb)
1349
if(ptr[offset13] > cb)
1350
if(ptr[offset6] > cb)
1351
goto is_a_corner;
1352
else
1353
if(ptr[offset14] > cb)
1354
if(ptr[offset15] > cb)
1355
goto is_a_corner;
1356
else
1357
goto is_not_a_corner;
1358
else
1359
goto is_not_a_corner;
1360
else
1361
goto is_not_a_corner;
1362
else
1363
goto is_not_a_corner;
1364
else
1365
goto is_not_a_corner;
1366
else
1367
goto is_not_a_corner;
1368
else
1369
goto is_not_a_corner;
1370
else
1371
goto is_not_a_corner;
1372
else
1373
if(ptr[offset12] < c_b)
1374
if(ptr[offset13] < c_b)
1375
if(ptr[offset14] < c_b)
1376
if(ptr[offset15] < c_b)
1377
if(ptr[offset1] < c_b)
1378
if(ptr[offset3] < c_b)
1379
goto is_a_corner;
1380
else
1381
if(ptr[offset10] < c_b)
1382
if(ptr[offset11] < c_b)
1383
goto is_a_corner;
1384
else
1385
goto is_not_a_corner;
1386
else
1387
goto is_not_a_corner;
1388
else
1389
if(ptr[offset8] < c_b)
1390
if(ptr[offset9] < c_b)
1391
if(ptr[offset10] < c_b)
1392
if(ptr[offset11] < c_b)
1393
goto is_a_corner;
1394
else
1395
goto is_not_a_corner;
1396
else
1397
goto is_not_a_corner;
1398
else
1399
goto is_not_a_corner;
1400
else
1401
goto is_not_a_corner;
1402
else
1403
if(ptr[offset6] < c_b)
1404
if(ptr[offset7] < c_b)
1405
if(ptr[offset8] < c_b)
1406
if(ptr[offset9] < c_b)
1407
if(ptr[offset10] < c_b)
1408
if(ptr[offset11] < c_b)
1409
goto is_a_corner;
1410
else
1411
goto is_not_a_corner;
1412
else
1413
goto is_not_a_corner;
1414
else
1415
goto is_not_a_corner;
1416
else
1417
goto is_not_a_corner;
1418
else
1419
goto is_not_a_corner;
1420
else
1421
goto is_not_a_corner;
1422
else
1423
goto is_not_a_corner;
1424
else
1425
goto is_not_a_corner;
1426
else
1427
goto is_not_a_corner;
1428
else
1429
if(ptr[offset5] < c_b)
1430
if(ptr[offset7] > cb)
1431
if(ptr[offset14] > cb)
1432
if(ptr[offset8] > cb)
1433
if(ptr[offset9] > cb)
1434
if(ptr[offset10] > cb)
1435
if(ptr[offset11] > cb)
1436
if(ptr[offset12] > cb)
1437
if(ptr[offset13] > cb)
1438
if(ptr[offset6] > cb)
1439
goto is_a_corner;
1440
else
1441
if(ptr[offset15] > cb)
1442
goto is_a_corner;
1443
else
1444
goto is_not_a_corner;
1445
else
1446
goto is_not_a_corner;
1447
else
1448
goto is_not_a_corner;
1449
else
1450
goto is_not_a_corner;
1451
else
1452
goto is_not_a_corner;
1453
else
1454
goto is_not_a_corner;
1455
else
1456
goto is_not_a_corner;
1457
else
1458
if(ptr[offset14] < c_b)
1459
if(ptr[offset15] < c_b)
1460
if(ptr[offset1] < c_b)
1461
if(ptr[offset3] < c_b)
1462
if(ptr[offset6] < c_b)
1463
goto is_a_corner;
1464
else
1465
if(ptr[offset13] < c_b)
1466
goto is_a_corner;
1467
else
1468
goto is_not_a_corner;
1469
else
1470
if(ptr[offset10] < c_b)
1471
if(ptr[offset11] < c_b)
1472
if(ptr[offset12] < c_b)
1473
if(ptr[offset13] < c_b)
1474
goto is_a_corner;
1475
else
1476
goto is_not_a_corner;
1477
else
1478
goto is_not_a_corner;
1479
else
1480
goto is_not_a_corner;
1481
else
1482
goto is_not_a_corner;
1483
else
1484
if(ptr[offset8] < c_b)
1485
if(ptr[offset9] < c_b)
1486
if(ptr[offset10] < c_b)
1487
if(ptr[offset11] < c_b)
1488
if(ptr[offset12] < c_b)
1489
if(ptr[offset13] < c_b)
1490
goto is_a_corner;
1491
else
1492
goto is_not_a_corner;
1493
else
1494
goto is_not_a_corner;
1495
else
1496
goto is_not_a_corner;
1497
else
1498
goto is_not_a_corner;
1499
else
1500
goto is_not_a_corner;
1501
else
1502
goto is_not_a_corner;
1503
else
1504
goto is_not_a_corner;
1505
else
1506
goto is_not_a_corner;
1507
else
1508
if(ptr[offset7] < c_b)
1509
if(ptr[offset3] < c_b)
1510
if(ptr[offset1] < c_b)
1511
if(ptr[offset6] < c_b)
1512
if(ptr[offset8] < c_b)
1513
goto is_a_corner;
1514
else
1515
if(ptr[offset15] < c_b)
1516
goto is_a_corner;
1517
else
1518
goto is_not_a_corner;
1519
else
1520
if(ptr[offset13] < c_b)
1521
if(ptr[offset14] < c_b)
1522
if(ptr[offset15] < c_b)
1523
goto is_a_corner;
1524
else
1525
goto is_not_a_corner;
1526
else
1527
goto is_not_a_corner;
1528
else
1529
goto is_not_a_corner;
1530
else
1531
if(ptr[offset8] < c_b)
1532
if(ptr[offset9] < c_b)
1533
if(ptr[offset10] < c_b)
1534
if(ptr[offset6] < c_b)
1535
goto is_a_corner;
1536
else
1537
if(ptr[offset11] < c_b)
1538
if(ptr[offset12] < c_b)
1539
if(ptr[offset13] < c_b)
1540
if(ptr[offset14] < c_b)
1541
if(ptr[offset15] < c_b)
1542
goto is_a_corner;
1543
else
1544
goto is_not_a_corner;
1545
else
1546
goto is_not_a_corner;
1547
else
1548
goto is_not_a_corner;
1549
else
1550
goto is_not_a_corner;
1551
else
1552
goto is_not_a_corner;
1553
else
1554
goto is_not_a_corner;
1555
else
1556
goto is_not_a_corner;
1557
else
1558
goto is_not_a_corner;
1559
else
1560
if(ptr[offset10] < c_b)
1561
if(ptr[offset11] < c_b)
1562
if(ptr[offset12] < c_b)
1563
if(ptr[offset8] < c_b)
1564
if(ptr[offset9] < c_b)
1565
if(ptr[offset6] < c_b)
1566
goto is_a_corner;
1567
else
1568
if(ptr[offset13] < c_b)
1569
if(ptr[offset14] < c_b)
1570
if(ptr[offset15] < c_b)
1571
goto is_a_corner;
1572
else
1573
goto is_not_a_corner;
1574
else
1575
goto is_not_a_corner;
1576
else
1577
goto is_not_a_corner;
1578
else
1579
if(ptr[offset1] < c_b)
1580
if(ptr[offset13] < c_b)
1581
if(ptr[offset14] < c_b)
1582
if(ptr[offset15] < c_b)
1583
goto is_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
if(ptr[offset1] < c_b)
1594
if(ptr[offset13] < c_b)
1595
if(ptr[offset14] < c_b)
1596
if(ptr[offset15] < c_b)
1597
goto is_a_corner;
1598
else
1599
goto is_not_a_corner;
1600
else
1601
goto is_not_a_corner;
1602
else
1603
goto is_not_a_corner;
1604
else
1605
goto is_not_a_corner;
1606
else
1607
goto is_not_a_corner;
1608
else
1609
goto is_not_a_corner;
1610
else
1611
goto is_not_a_corner;
1612
else
1613
if(ptr[offset14] < c_b)
1614
if(ptr[offset15] < c_b)
1615
if(ptr[offset1] < c_b)
1616
if(ptr[offset3] < c_b)
1617
if(ptr[offset6] < c_b)
1618
goto is_a_corner;
1619
else
1620
if(ptr[offset13] < c_b)
1621
goto is_a_corner;
1622
else
1623
goto is_not_a_corner;
1624
else
1625
if(ptr[offset10] < c_b)
1626
if(ptr[offset11] < c_b)
1627
if(ptr[offset12] < c_b)
1628
if(ptr[offset13] < c_b)
1629
goto is_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
if(ptr[offset8] < c_b)
1640
if(ptr[offset9] < c_b)
1641
if(ptr[offset10] < c_b)
1642
if(ptr[offset11] < c_b)
1643
if(ptr[offset12] < c_b)
1644
if(ptr[offset13] < c_b)
1645
goto is_a_corner;
1646
else
1647
goto is_not_a_corner;
1648
else
1649
goto is_not_a_corner;
1650
else
1651
goto is_not_a_corner;
1652
else
1653
goto is_not_a_corner;
1654
else
1655
goto is_not_a_corner;
1656
else
1657
goto is_not_a_corner;
1658
else
1659
goto is_not_a_corner;
1660
else
1661
goto is_not_a_corner;
1662
else
1663
if(ptr[offset12] > cb)
1664
if(ptr[offset7] > cb)
1665
if(ptr[offset8] > cb)
1666
if(ptr[offset9] > cb)
1667
if(ptr[offset10] > cb)
1668
if(ptr[offset11] > cb)
1669
if(ptr[offset13] > cb)
1670
if(ptr[offset14] > cb)
1671
if(ptr[offset6] > cb)
1672
goto is_a_corner;
1673
else
1674
if(ptr[offset15] > cb)
1675
goto is_a_corner;
1676
else
1677
goto is_not_a_corner;
1678
else
1679
goto is_not_a_corner;
1680
else
1681
goto is_not_a_corner;
1682
else
1683
goto is_not_a_corner;
1684
else
1685
goto is_not_a_corner;
1686
else
1687
goto is_not_a_corner;
1688
else
1689
goto is_not_a_corner;
1690
else
1691
goto is_not_a_corner;
1692
else
1693
if(ptr[offset12] < c_b)
1694
if(ptr[offset13] < c_b)
1695
if(ptr[offset14] < c_b)
1696
if(ptr[offset15] < c_b)
1697
if(ptr[offset1] < c_b)
1698
if(ptr[offset3] < c_b)
1699
goto is_a_corner;
1700
else
1701
if(ptr[offset10] < c_b)
1702
if(ptr[offset11] < c_b)
1703
goto is_a_corner;
1704
else
1705
goto is_not_a_corner;
1706
else
1707
goto is_not_a_corner;
1708
else
1709
if(ptr[offset8] < c_b)
1710
if(ptr[offset9] < c_b)
1711
if(ptr[offset10] < c_b)
1712
if(ptr[offset11] < c_b)
1713
goto is_a_corner;
1714
else
1715
goto is_not_a_corner;
1716
else
1717
goto is_not_a_corner;
1718
else
1719
goto is_not_a_corner;
1720
else
1721
goto is_not_a_corner;
1722
else
1723
if(ptr[offset6] < c_b)
1724
if(ptr[offset7] < c_b)
1725
if(ptr[offset8] < c_b)
1726
if(ptr[offset9] < c_b)
1727
if(ptr[offset10] < c_b)
1728
if(ptr[offset11] < c_b)
1729
goto is_a_corner;
1730
else
1731
goto is_not_a_corner;
1732
else
1733
goto is_not_a_corner;
1734
else
1735
goto is_not_a_corner;
1736
else
1737
goto is_not_a_corner;
1738
else
1739
goto is_not_a_corner;
1740
else
1741
goto is_not_a_corner;
1742
else
1743
goto is_not_a_corner;
1744
else
1745
goto is_not_a_corner;
1746
else
1747
goto is_not_a_corner;
1748
else
1749
if(ptr[offset11] > cb)
1750
if(ptr[offset7] > cb)
1751
if(ptr[offset8] > cb)
1752
if(ptr[offset9] > cb)
1753
if(ptr[offset10] > cb)
1754
if(ptr[offset12] > cb)
1755
if(ptr[offset13] > cb)
1756
if(ptr[offset6] > cb)
1757
if(ptr[offset5] > cb)
1758
goto is_a_corner;
1759
else
1760
if(ptr[offset14] > cb)
1761
goto is_a_corner;
1762
else
1763
goto is_not_a_corner;
1764
else
1765
if(ptr[offset14] > cb)
1766
if(ptr[offset15] > cb)
1767
goto is_a_corner;
1768
else
1769
goto is_not_a_corner;
1770
else
1771
goto is_not_a_corner;
1772
else
1773
goto is_not_a_corner;
1774
else
1775
goto is_not_a_corner;
1776
else
1777
goto is_not_a_corner;
1778
else
1779
goto is_not_a_corner;
1780
else
1781
goto is_not_a_corner;
1782
else
1783
goto is_not_a_corner;
1784
else
1785
if(ptr[offset11] < c_b)
1786
if(ptr[offset12] < c_b)
1787
if(ptr[offset13] < c_b)
1788
if(ptr[offset10] < c_b)
1789
if(ptr[offset14] < c_b)
1790
if(ptr[offset15] < c_b)
1791
if(ptr[offset1] < c_b)
1792
goto is_a_corner;
1793
else
1794
if(ptr[offset8] < c_b)
1795
if(ptr[offset9] < c_b)
1796
goto is_a_corner;
1797
else
1798
goto is_not_a_corner;
1799
else
1800
goto is_not_a_corner;
1801
else
1802
if(ptr[offset6] < c_b)
1803
if(ptr[offset7] < c_b)
1804
if(ptr[offset8] < c_b)
1805
if(ptr[offset9] < c_b)
1806
goto is_a_corner;
1807
else
1808
goto is_not_a_corner;
1809
else
1810
goto is_not_a_corner;
1811
else
1812
goto is_not_a_corner;
1813
else
1814
goto is_not_a_corner;
1815
else
1816
if(ptr[offset5] < c_b)
1817
if(ptr[offset6] < c_b)
1818
if(ptr[offset7] < c_b)
1819
if(ptr[offset8] < c_b)
1820
if(ptr[offset9] < c_b)
1821
goto is_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[offset1] < c_b)
1834
if(ptr[offset3] < c_b)
1835
if(ptr[offset14] < c_b)
1836
if(ptr[offset15] < c_b)
1837
goto is_a_corner;
1838
else
1839
goto is_not_a_corner;
1840
else
1841
goto is_not_a_corner;
1842
else
1843
goto is_not_a_corner;
1844
else
1845
goto is_not_a_corner;
1846
else
1847
goto is_not_a_corner;
1848
else
1849
goto is_not_a_corner;
1850
else
1851
goto is_not_a_corner;
1852
else
1853
if(ptr[offset9] > cb)
1854
if(ptr[offset7] > cb)
1855
if(ptr[offset8] > cb)
1856
if(ptr[offset10] > cb)
1857
if(ptr[offset11] > cb)
1858
if(ptr[offset6] > cb)
1859
if(ptr[offset5] > cb)
1860
if(ptr[offset4] > cb)
1861
if(ptr[offset3] > cb)
1862
goto is_a_corner;
1863
else
1864
if(ptr[offset12] > cb)
1865
goto is_a_corner;
1866
else
1867
goto is_not_a_corner;
1868
else
1869
if(ptr[offset12] > cb)
1870
if(ptr[offset13] > cb)
1871
goto is_a_corner;
1872
else
1873
goto is_not_a_corner;
1874
else
1875
goto is_not_a_corner;
1876
else
1877
if(ptr[offset12] > cb)
1878
if(ptr[offset13] > cb)
1879
if(ptr[offset14] > cb)
1880
goto is_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
if(ptr[offset12] > cb)
1889
if(ptr[offset13] > cb)
1890
if(ptr[offset14] > cb)
1891
if(ptr[offset15] > cb)
1892
goto is_a_corner;
1893
else
1894
goto is_not_a_corner;
1895
else
1896
goto is_not_a_corner;
1897
else
1898
goto is_not_a_corner;
1899
else
1900
goto is_not_a_corner;
1901
else
1902
goto is_not_a_corner;
1903
else
1904
goto is_not_a_corner;
1905
else
1906
goto is_not_a_corner;
1907
else
1908
goto is_not_a_corner;
1909
else
1910
if(ptr[offset9] < c_b)
1911
if(ptr[offset10] < c_b)
1912
if(ptr[offset11] < c_b)
1913
if(ptr[offset8] < c_b)
1914
if(ptr[offset12] < c_b)
1915
if(ptr[offset13] < c_b)
1916
if(ptr[offset14] < c_b)
1917
if(ptr[offset15] < c_b)
1918
goto is_a_corner;
1919
else
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
if(ptr[offset5] < c_b)
1929
if(ptr[offset6] < c_b)
1930
if(ptr[offset7] < c_b)
1931
goto is_a_corner;
1932
else
1933
goto is_not_a_corner;
1934
else
1935
goto is_not_a_corner;
1936
else
1937
goto is_not_a_corner;
1938
else
1939
if(ptr[offset4] < c_b)
1940
if(ptr[offset5] < c_b)
1941
if(ptr[offset6] < c_b)
1942
if(ptr[offset7] < c_b)
1943
goto is_a_corner;
1944
else
1945
goto is_not_a_corner;
1946
else
1947
goto is_not_a_corner;
1948
else
1949
goto is_not_a_corner;
1950
else
1951
goto is_not_a_corner;
1952
else
1953
if(ptr[offset3] < c_b)
1954
if(ptr[offset4] < c_b)
1955
if(ptr[offset5] < c_b)
1956
if(ptr[offset6] < c_b)
1957
if(ptr[offset7] < c_b)
1958
goto is_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
if(ptr[offset1] < c_b)
1971
if(ptr[offset12] < c_b)
1972
if(ptr[offset13] < c_b)
1973
if(ptr[offset14] < c_b)
1974
if(ptr[offset15] < c_b)
1975
goto is_a_corner;
1976
else
1977
goto is_not_a_corner;
1978
else
1979
goto is_not_a_corner;
1980
else
1981
goto is_not_a_corner;
1982
else
1983
goto is_not_a_corner;
1984
else
1985
goto is_not_a_corner;
1986
else
1987
goto is_not_a_corner;
1988
else
1989
goto is_not_a_corner;
1990
else
1991
goto is_not_a_corner;
1992
else
1993
if(ptr[offset7] > cb)
1994
if(ptr[offset8] > cb)
1995
if(ptr[offset9] > cb)
1996
if(ptr[offset6] > cb)
1997
if(ptr[offset5] > cb)
1998
if(ptr[offset4] > cb)
1999
if(ptr[offset3] > cb)
2000
if(ptr[offset2] > cb)
2001
if(ptr[offset1] > cb)
2002
goto is_a_corner;
2003
else
2004
if(ptr[offset10] > cb)
2005
goto is_a_corner;
2006
else
2007
goto is_not_a_corner;
2008
else
2009
if(ptr[offset10] > cb)
2010
if(ptr[offset11] > 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
if(ptr[offset10] > cb)
2018
if(ptr[offset11] > cb)
2019
if(ptr[offset12] > cb)
2020
goto is_a_corner;
2021
else
2022
goto is_not_a_corner;
2023
else
2024
goto is_not_a_corner;
2025
else
2026
goto is_not_a_corner;
2027
else
2028
if(ptr[offset10] > cb)
2029
if(ptr[offset11] > cb)
2030
if(ptr[offset12] > cb)
2031
if(ptr[offset13] > cb)
2032
goto is_a_corner;
2033
else
2034
goto is_not_a_corner;
2035
else
2036
goto is_not_a_corner;
2037
else
2038
goto is_not_a_corner;
2039
else
2040
goto is_not_a_corner;
2041
else
2042
if(ptr[offset10] > cb)
2043
if(ptr[offset11] > cb)
2044
if(ptr[offset12] > cb)
2045
if(ptr[offset13] > cb)
2046
if(ptr[offset14] > cb)
2047
goto is_a_corner;
2048
else
2049
goto is_not_a_corner;
2050
else
2051
goto is_not_a_corner;
2052
else
2053
goto is_not_a_corner;
2054
else
2055
goto is_not_a_corner;
2056
else
2057
goto is_not_a_corner;
2058
else
2059
if(ptr[offset10] > cb)
2060
if(ptr[offset11] > cb)
2061
if(ptr[offset12] > cb)
2062
if(ptr[offset13] > cb)
2063
if(ptr[offset14] > cb)
2064
if(ptr[offset15] > cb)
2065
goto is_a_corner;
2066
else
2067
goto is_not_a_corner;
2068
else
2069
goto is_not_a_corner;
2070
else
2071
goto is_not_a_corner;
2072
else
2073
goto is_not_a_corner;
2074
else
2075
goto is_not_a_corner;
2076
else
2077
goto is_not_a_corner;
2078
else
2079
goto is_not_a_corner;
2080
else
2081
goto is_not_a_corner;
2082
else
2083
if(ptr[offset7] < c_b)
2084
if(ptr[offset8] < c_b)
2085
if(ptr[offset9] < c_b)
2086
if(ptr[offset6] < c_b)
2087
if(ptr[offset5] < c_b)
2088
if(ptr[offset4] < c_b)
2089
if(ptr[offset3] < c_b)
2090
if(ptr[offset2] < c_b)
2091
if(ptr[offset1] < c_b)
2092
goto is_a_corner;
2093
else
2094
if(ptr[offset10] < c_b)
2095
goto is_a_corner;
2096
else
2097
goto is_not_a_corner;
2098
else
2099
if(ptr[offset10] < c_b)
2100
if(ptr[offset11] < c_b)
2101
goto is_a_corner;
2102
else
2103
goto is_not_a_corner;
2104
else
2105
goto is_not_a_corner;
2106
else
2107
if(ptr[offset10] < c_b)
2108
if(ptr[offset11] < c_b)
2109
if(ptr[offset12] < c_b)
2110
goto is_a_corner;
2111
else
2112
goto is_not_a_corner;
2113
else
2114
goto is_not_a_corner;
2115
else
2116
goto is_not_a_corner;
2117
else
2118
if(ptr[offset10] < c_b)
2119
if(ptr[offset11] < c_b)
2120
if(ptr[offset12] < c_b)
2121
if(ptr[offset13] < c_b)
2122
goto is_a_corner;
2123
else
2124
goto is_not_a_corner;
2125
else
2126
goto is_not_a_corner;
2127
else
2128
goto is_not_a_corner;
2129
else
2130
goto is_not_a_corner;
2131
else
2132
if(ptr[offset10] < c_b)
2133
if(ptr[offset11] < c_b)
2134
if(ptr[offset12] < c_b)
2135
if(ptr[offset13] < c_b)
2136
if(ptr[offset14] < c_b)
2137
goto is_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
if(ptr[offset10] < c_b)
2150
if(ptr[offset11] < c_b)
2151
if(ptr[offset12] < c_b)
2152
if(ptr[offset13] < c_b)
2153
if(ptr[offset14] < c_b)
2154
if(ptr[offset15] < c_b)
2155
goto is_a_corner;
2156
else
2157
goto is_not_a_corner;
2158
else
2159
goto is_not_a_corner;
2160
else
2161
goto is_not_a_corner;
2162
else
2163
goto is_not_a_corner;
2164
else
2165
goto is_not_a_corner;
2166
else
2167
goto is_not_a_corner;
2168
else
2169
goto is_not_a_corner;
2170
else
2171
goto is_not_a_corner;
2172
else
2173
goto is_not_a_corner;
2174
2175
is_a_corner:
2176
bmin = b_test;
2177
goto end;
2178
2179
is_not_a_corner:
2180
bmax = b_test;
2181
goto end;
2182
2183
end:
2184
2185
if(bmin == bmax - 1 || bmin == bmax)
2186
return bmin;
2187
b_test = (bmin + bmax) / 2;
2188
}
2189
}
2190
2191
// 12 pixel mask in diamond format
2192
template<>
2193
int agast_cornerScore<AgastFeatureDetector::AGAST_7_12d>(const uchar* ptr, const int pixel[], int threshold)
2194
{
2195
int bmin = threshold;
2196
int bmax = 255;
2197
int b_test = (bmax + bmin)/2;
2198
2199
short offset0 = (short) pixel[0];
2200
short offset1 = (short) pixel[1];
2201
short offset2 = (short) pixel[2];
2202
short offset3 = (short) pixel[3];
2203
short offset4 = (short) pixel[4];
2204
short offset5 = (short) pixel[5];
2205
short offset6 = (short) pixel[6];
2206
short offset7 = (short) pixel[7];
2207
short offset8 = (short) pixel[8];
2208
short offset9 = (short) pixel[9];
2209
short offset10 = (short) pixel[10];
2210
short offset11 = (short) pixel[11];
2211
2212
while(true)
2213
{
2214
const int cb = *ptr + b_test;
2215
const int c_b = *ptr - b_test;
2216
if(ptr[offset0] > cb)
2217
if(ptr[offset5] > cb)
2218
if(ptr[offset2] > cb)
2219
if(ptr[offset9] > cb)
2220
if(ptr[offset1] > cb)
2221
if(ptr[offset6] > cb)
2222
if(ptr[offset3] > cb)
2223
if(ptr[offset4] > cb)
2224
goto is_a_corner;
2225
else
2226
if(ptr[offset10] > cb)
2227
if(ptr[offset11] > cb)
2228
goto is_a_corner;
2229
else
2230
goto is_not_a_corner;
2231
else
2232
goto is_not_a_corner;
2233
else
2234
if(ptr[offset8] > cb)
2235
if(ptr[offset10] > cb)
2236
if(ptr[offset11] > cb)
2237
goto is_a_corner;
2238
else
2239
if(ptr[offset4] > cb)
2240
if(ptr[offset7] > 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
goto is_not_a_corner;
2250
else
2251
if(ptr[offset11] > cb)
2252
if(ptr[offset3] > cb)
2253
if(ptr[offset4] > 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[offset8] > cb)
2262
if(ptr[offset10] > 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
if(ptr[offset6] > cb)
2272
if(ptr[offset7] > cb)
2273
if(ptr[offset8] > cb)
2274
if(ptr[offset4] > cb)
2275
if(ptr[offset3] > cb)
2276
goto is_a_corner;
2277
else
2278
if(ptr[offset10] > cb)
2279
goto is_a_corner;
2280
else
2281
goto is_not_a_corner;
2282
else
2283
if(ptr[offset10] > cb)
2284
if(ptr[offset11] > cb)
2285
goto is_a_corner;
2286
else
2287
goto is_not_a_corner;
2288
else
2289
goto is_not_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
if(ptr[offset3] > cb)
2298
if(ptr[offset4] > cb)
2299
if(ptr[offset1] > cb)
2300
if(ptr[offset6] > cb)
2301
goto is_a_corner;
2302
else
2303
if(ptr[offset11] > cb)
2304
goto is_a_corner;
2305
else
2306
goto is_not_a_corner;
2307
else
2308
if(ptr[offset6] > cb)
2309
if(ptr[offset7] > cb)
2310
if(ptr[offset8] > 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
goto is_not_a_corner;
2318
else
2319
goto is_not_a_corner;
2320
else
2321
goto is_not_a_corner;
2322
else
2323
if(ptr[offset9] > cb)
2324
if(ptr[offset7] > cb)
2325
if(ptr[offset8] > cb)
2326
if(ptr[offset1] > cb)
2327
if(ptr[offset10] > cb)
2328
if(ptr[offset11] > cb)
2329
goto is_a_corner;
2330
else
2331
if(ptr[offset6] > cb)
2332
if(ptr[offset4] > cb)
2333
goto is_a_corner;
2334
else
2335
goto is_not_a_corner;
2336
else
2337
goto is_not_a_corner;
2338
else
2339
if(ptr[offset6] > cb)
2340
if(ptr[offset3] > cb)
2341
if(ptr[offset4] > cb)
2342
goto is_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
if(ptr[offset6] > cb)
2351
if(ptr[offset4] > cb)
2352
if(ptr[offset3] > cb)
2353
goto is_a_corner;
2354
else
2355
if(ptr[offset10] > cb)
2356
goto is_a_corner;
2357
else
2358
goto is_not_a_corner;
2359
else
2360
if(ptr[offset10] > cb)
2361
if(ptr[offset11] > cb)
2362
goto is_a_corner;
2363
else
2364
goto is_not_a_corner;
2365
else
2366
goto is_not_a_corner;
2367
else
2368
goto is_not_a_corner;
2369
else
2370
goto is_not_a_corner;
2371
else
2372
goto is_not_a_corner;
2373
else
2374
goto is_not_a_corner;
2375
else
2376
if(ptr[offset5] < c_b)
2377
if(ptr[offset9] > cb)
2378
if(ptr[offset3] < c_b)
2379
if(ptr[offset4] < c_b)
2380
if(ptr[offset11] > cb)
2381
if(ptr[offset1] > cb)
2382
if(ptr[offset8] > cb)
2383
if(ptr[offset10] > cb)
2384
if(ptr[offset2] > cb)
2385
goto is_a_corner;
2386
else
2387
if(ptr[offset7] > cb)
2388
goto is_a_corner;
2389
else
2390
goto is_not_a_corner;
2391
else
2392
goto is_not_a_corner;
2393
else
2394
if(ptr[offset6] < c_b)
2395
if(ptr[offset2] < c_b)
2396
if(ptr[offset7] < c_b)
2397
if(ptr[offset8] < c_b)
2398
goto is_a_corner;
2399
else
2400
goto is_not_a_corner;
2401
else
2402
goto is_not_a_corner;
2403
else
2404
goto is_not_a_corner;
2405
else
2406
goto is_not_a_corner;
2407
else
2408
if(ptr[offset6] > cb)
2409
if(ptr[offset7] > cb)
2410
if(ptr[offset8] > cb)
2411
if(ptr[offset10] > cb)
2412
goto is_a_corner;
2413
else
2414
goto is_not_a_corner;
2415
else
2416
goto is_not_a_corner;
2417
else
2418
goto is_not_a_corner;
2419
else
2420
if(ptr[offset6] < c_b)
2421
if(ptr[offset2] < c_b)
2422
if(ptr[offset7] < c_b)
2423
if(ptr[offset1] < c_b)
2424
goto is_a_corner;
2425
else
2426
if(ptr[offset8] < c_b)
2427
goto is_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
goto is_not_a_corner;
2436
else
2437
if(ptr[offset2] < c_b)
2438
if(ptr[offset7] < c_b)
2439
if(ptr[offset1] < c_b)
2440
if(ptr[offset6] < c_b)
2441
goto is_a_corner;
2442
else
2443
goto is_not_a_corner;
2444
else
2445
if(ptr[offset6] < c_b)
2446
if(ptr[offset8] < c_b)
2447
goto is_a_corner;
2448
else
2449
goto is_not_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
if(ptr[offset11] > cb)
2458
if(ptr[offset8] > cb)
2459
if(ptr[offset10] > cb)
2460
if(ptr[offset1] > cb)
2461
if(ptr[offset2] > cb)
2462
goto is_a_corner;
2463
else
2464
if(ptr[offset7] > cb)
2465
goto is_a_corner;
2466
else
2467
goto is_not_a_corner;
2468
else
2469
if(ptr[offset6] > cb)
2470
if(ptr[offset7] > cb)
2471
goto is_a_corner;
2472
else
2473
goto is_not_a_corner;
2474
else
2475
goto is_not_a_corner;
2476
else
2477
goto is_not_a_corner;
2478
else
2479
goto is_not_a_corner;
2480
else
2481
goto is_not_a_corner;
2482
else
2483
if(ptr[offset11] > cb)
2484
if(ptr[offset10] > cb)
2485
if(ptr[offset3] > cb)
2486
if(ptr[offset1] > cb)
2487
if(ptr[offset2] > cb)
2488
goto is_a_corner;
2489
else
2490
if(ptr[offset7] > cb)
2491
if(ptr[offset8] > cb)
2492
goto is_a_corner;
2493
else
2494
goto is_not_a_corner;
2495
else
2496
goto is_not_a_corner;
2497
else
2498
if(ptr[offset6] > cb)
2499
if(ptr[offset7] > cb)
2500
if(ptr[offset8] > cb)
2501
goto is_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
if(ptr[offset8] > cb)
2510
if(ptr[offset1] > cb)
2511
if(ptr[offset2] > cb)
2512
goto is_a_corner;
2513
else
2514
if(ptr[offset7] > cb)
2515
goto is_a_corner;
2516
else
2517
goto is_not_a_corner;
2518
else
2519
if(ptr[offset6] > cb)
2520
if(ptr[offset7] > cb)
2521
goto is_a_corner;
2522
else
2523
goto is_not_a_corner;
2524
else
2525
goto is_not_a_corner;
2526
else
2527
goto is_not_a_corner;
2528
else
2529
goto is_not_a_corner;
2530
else
2531
goto is_not_a_corner;
2532
else
2533
if(ptr[offset9] < c_b)
2534
if(ptr[offset2] > cb)
2535
if(ptr[offset1] > cb)
2536
if(ptr[offset4] > cb)
2537
if(ptr[offset10] > cb)
2538
if(ptr[offset3] > cb)
2539
if(ptr[offset11] > cb)
2540
goto is_a_corner;
2541
else
2542
goto is_not_a_corner;
2543
else
2544
goto is_not_a_corner;
2545
else
2546
if(ptr[offset6] < c_b)
2547
if(ptr[offset7] < c_b)
2548
if(ptr[offset8] < c_b)
2549
if(ptr[offset11] < c_b)
2550
if(ptr[offset10] < c_b)
2551
goto is_a_corner;
2552
else
2553
goto is_not_a_corner;
2554
else
2555
goto is_not_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
if(ptr[offset6] < c_b)
2564
if(ptr[offset7] < c_b)
2565
if(ptr[offset8] < c_b)
2566
if(ptr[offset10] < c_b)
2567
if(ptr[offset4] < c_b)
2568
goto is_a_corner;
2569
else
2570
if(ptr[offset11] < c_b)
2571
goto is_a_corner;
2572
else
2573
goto is_not_a_corner;
2574
else
2575
if(ptr[offset3] < c_b)
2576
if(ptr[offset4] < c_b)
2577
goto is_a_corner;
2578
else
2579
goto is_not_a_corner;
2580
else
2581
goto is_not_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
if(ptr[offset6] < c_b)
2590
if(ptr[offset7] < c_b)
2591
if(ptr[offset8] < c_b)
2592
if(ptr[offset4] < c_b)
2593
if(ptr[offset3] < c_b)
2594
goto is_a_corner;
2595
else
2596
if(ptr[offset10] < c_b)
2597
goto is_a_corner;
2598
else
2599
goto is_not_a_corner;
2600
else
2601
if(ptr[offset10] < c_b)
2602
if(ptr[offset11] < c_b)
2603
goto is_a_corner;
2604
else
2605
goto is_not_a_corner;
2606
else
2607
goto is_not_a_corner;
2608
else
2609
goto is_not_a_corner;
2610
else
2611
goto is_not_a_corner;
2612
else
2613
goto is_not_a_corner;
2614
else
2615
if(ptr[offset6] < c_b)
2616
if(ptr[offset7] < c_b)
2617
if(ptr[offset8] < c_b)
2618
if(ptr[offset4] < c_b)
2619
if(ptr[offset3] < c_b)
2620
goto is_a_corner;
2621
else
2622
if(ptr[offset10] < c_b)
2623
goto is_a_corner;
2624
else
2625
goto is_not_a_corner;
2626
else
2627
if(ptr[offset10] < c_b)
2628
if(ptr[offset11] < c_b)
2629
goto is_a_corner;
2630
else
2631
goto is_not_a_corner;
2632
else
2633
goto is_not_a_corner;
2634
else
2635
if(ptr[offset2] < c_b)
2636
if(ptr[offset1] < c_b)
2637
if(ptr[offset3] < c_b)
2638
if(ptr[offset4] < c_b)
2639
goto is_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
goto is_not_a_corner;
2650
else
2651
goto is_not_a_corner;
2652
else
2653
if(ptr[offset2] > cb)
2654
if(ptr[offset1] > cb)
2655
if(ptr[offset3] > cb)
2656
if(ptr[offset4] > cb)
2657
if(ptr[offset10] > cb)
2658
if(ptr[offset11] > cb)
2659
goto is_a_corner;
2660
else
2661
goto is_not_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
if(ptr[offset2] < c_b)
2672
if(ptr[offset3] < c_b)
2673
if(ptr[offset4] < c_b)
2674
if(ptr[offset7] < c_b)
2675
if(ptr[offset1] < c_b)
2676
if(ptr[offset6] < c_b)
2677
goto is_a_corner;
2678
else
2679
goto is_not_a_corner;
2680
else
2681
if(ptr[offset6] < c_b)
2682
if(ptr[offset8] < c_b)
2683
goto is_a_corner;
2684
else
2685
goto is_not_a_corner;
2686
else
2687
goto is_not_a_corner;
2688
else
2689
goto is_not_a_corner;
2690
else
2691
goto is_not_a_corner;
2692
else
2693
goto is_not_a_corner;
2694
else
2695
goto is_not_a_corner;
2696
else
2697
if(ptr[offset2] > cb)
2698
if(ptr[offset10] > cb)
2699
if(ptr[offset11] > cb)
2700
if(ptr[offset9] > cb)
2701
if(ptr[offset1] > cb)
2702
if(ptr[offset3] > cb)
2703
goto is_a_corner;
2704
else
2705
if(ptr[offset8] > cb)
2706
goto is_a_corner;
2707
else
2708
goto is_not_a_corner;
2709
else
2710
if(ptr[offset6] > cb)
2711
if(ptr[offset7] > cb)
2712
if(ptr[offset8] > cb)
2713
goto is_a_corner;
2714
else
2715
goto is_not_a_corner;
2716
else
2717
goto is_not_a_corner;
2718
else
2719
goto is_not_a_corner;
2720
else
2721
if(ptr[offset1] > cb)
2722
if(ptr[offset3] > cb)
2723
if(ptr[offset4] > cb)
2724
goto is_a_corner;
2725
else
2726
goto is_not_a_corner;
2727
else
2728
goto is_not_a_corner;
2729
else
2730
goto is_not_a_corner;
2731
else
2732
goto is_not_a_corner;
2733
else
2734
goto is_not_a_corner;
2735
else
2736
if(ptr[offset9] > cb)
2737
if(ptr[offset7] > cb)
2738
if(ptr[offset8] > cb)
2739
if(ptr[offset10] > cb)
2740
if(ptr[offset11] > cb)
2741
if(ptr[offset1] > cb)
2742
goto is_a_corner;
2743
else
2744
if(ptr[offset6] > cb)
2745
goto is_a_corner;
2746
else
2747
goto is_not_a_corner;
2748
else
2749
goto is_not_a_corner;
2750
else
2751
goto is_not_a_corner;
2752
else
2753
goto is_not_a_corner;
2754
else
2755
goto is_not_a_corner;
2756
else
2757
goto is_not_a_corner;
2758
else
2759
if(ptr[offset0] < c_b)
2760
if(ptr[offset2] > cb)
2761
if(ptr[offset5] > cb)
2762
if(ptr[offset7] > cb)
2763
if(ptr[offset6] > cb)
2764
if(ptr[offset4] > cb)
2765
if(ptr[offset3] > cb)
2766
if(ptr[offset1] > cb)
2767
goto is_a_corner;
2768
else
2769
if(ptr[offset8] > cb)
2770
goto is_a_corner;
2771
else
2772
goto is_not_a_corner;
2773
else
2774
if(ptr[offset9] > cb)
2775
if(ptr[offset8] > cb)
2776
if(ptr[offset10] > cb)
2777
goto is_a_corner;
2778
else
2779
goto is_not_a_corner;
2780
else
2781
goto is_not_a_corner;
2782
else
2783
goto is_not_a_corner;
2784
else
2785
if(ptr[offset9] > cb)
2786
if(ptr[offset8] > cb)
2787
if(ptr[offset10] > cb)
2788
if(ptr[offset11] > cb)
2789
goto is_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[offset8] < c_b)
2803
if(ptr[offset10] < c_b)
2804
if(ptr[offset11] < c_b)
2805
if(ptr[offset7] < c_b)
2806
if(ptr[offset1] < c_b)
2807
goto is_a_corner;
2808
else
2809
if(ptr[offset6] < c_b)
2810
goto is_a_corner;
2811
else
2812
goto is_not_a_corner;
2813
else
2814
goto is_not_a_corner;
2815
else
2816
goto is_not_a_corner;
2817
else
2818
goto is_not_a_corner;
2819
else
2820
goto is_not_a_corner;
2821
else
2822
goto is_not_a_corner;
2823
else
2824
if(ptr[offset9] < c_b)
2825
if(ptr[offset7] < c_b)
2826
if(ptr[offset8] < c_b)
2827
if(ptr[offset5] < c_b)
2828
if(ptr[offset1] < c_b)
2829
if(ptr[offset10] < c_b)
2830
if(ptr[offset11] < c_b)
2831
goto is_a_corner;
2832
else
2833
if(ptr[offset6] < c_b)
2834
if(ptr[offset4] < c_b)
2835
goto is_a_corner;
2836
else
2837
goto is_not_a_corner;
2838
else
2839
goto is_not_a_corner;
2840
else
2841
if(ptr[offset6] < c_b)
2842
if(ptr[offset3] < c_b)
2843
if(ptr[offset4] < c_b)
2844
goto is_a_corner;
2845
else
2846
goto is_not_a_corner;
2847
else
2848
goto is_not_a_corner;
2849
else
2850
goto is_not_a_corner;
2851
else
2852
if(ptr[offset6] < c_b)
2853
if(ptr[offset4] < c_b)
2854
if(ptr[offset3] < c_b)
2855
goto is_a_corner;
2856
else
2857
if(ptr[offset10] < c_b)
2858
goto is_a_corner;
2859
else
2860
goto is_not_a_corner;
2861
else
2862
if(ptr[offset10] < c_b)
2863
if(ptr[offset11] < c_b)
2864
goto is_a_corner;
2865
else
2866
goto is_not_a_corner;
2867
else
2868
goto is_not_a_corner;
2869
else
2870
goto is_not_a_corner;
2871
else
2872
if(ptr[offset10] < c_b)
2873
if(ptr[offset11] < c_b)
2874
if(ptr[offset1] < c_b)
2875
goto is_a_corner;
2876
else
2877
if(ptr[offset6] < c_b)
2878
goto is_a_corner;
2879
else
2880
goto is_not_a_corner;
2881
else
2882
goto is_not_a_corner;
2883
else
2884
goto is_not_a_corner;
2885
else
2886
goto is_not_a_corner;
2887
else
2888
goto is_not_a_corner;
2889
else
2890
goto is_not_a_corner;
2891
else
2892
if(ptr[offset2] < c_b)
2893
if(ptr[offset9] > cb)
2894
if(ptr[offset5] > cb)
2895
if(ptr[offset1] < c_b)
2896
if(ptr[offset4] < c_b)
2897
if(ptr[offset10] < c_b)
2898
if(ptr[offset3] < c_b)
2899
if(ptr[offset11] < c_b)
2900
goto is_a_corner;
2901
else
2902
goto is_not_a_corner;
2903
else
2904
goto is_not_a_corner;
2905
else
2906
if(ptr[offset6] > cb)
2907
if(ptr[offset7] > cb)
2908
if(ptr[offset8] > cb)
2909
if(ptr[offset11] > cb)
2910
if(ptr[offset10] > cb)
2911
goto is_a_corner;
2912
else
2913
goto is_not_a_corner;
2914
else
2915
goto is_not_a_corner;
2916
else
2917
goto is_not_a_corner;
2918
else
2919
goto is_not_a_corner;
2920
else
2921
goto is_not_a_corner;
2922
else
2923
if(ptr[offset6] > cb)
2924
if(ptr[offset7] > cb)
2925
if(ptr[offset8] > cb)
2926
if(ptr[offset10] > cb)
2927
if(ptr[offset4] > cb)
2928
goto is_a_corner;
2929
else
2930
if(ptr[offset11] > cb)
2931
goto is_a_corner;
2932
else
2933
goto is_not_a_corner;
2934
else
2935
if(ptr[offset3] > cb)
2936
if(ptr[offset4] > cb)
2937
goto is_a_corner;
2938
else
2939
goto is_not_a_corner;
2940
else
2941
goto is_not_a_corner;
2942
else
2943
goto is_not_a_corner;
2944
else
2945
goto is_not_a_corner;
2946
else
2947
goto is_not_a_corner;
2948
else
2949
if(ptr[offset6] > cb)
2950
if(ptr[offset7] > cb)
2951
if(ptr[offset8] > cb)
2952
if(ptr[offset4] > cb)
2953
if(ptr[offset3] > cb)
2954
goto is_a_corner;
2955
else
2956
if(ptr[offset10] > cb)
2957
goto is_a_corner;
2958
else
2959
goto is_not_a_corner;
2960
else
2961
if(ptr[offset10] > cb)
2962
if(ptr[offset11] > cb)
2963
goto is_a_corner;
2964
else
2965
goto is_not_a_corner;
2966
else
2967
goto is_not_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[offset3] < c_b)
2976
if(ptr[offset4] < c_b)
2977
if(ptr[offset5] < c_b)
2978
if(ptr[offset1] < c_b)
2979
if(ptr[offset6] < c_b)
2980
goto is_a_corner;
2981
else
2982
if(ptr[offset11] < c_b)
2983
goto is_a_corner;
2984
else
2985
goto is_not_a_corner;
2986
else
2987
if(ptr[offset6] < c_b)
2988
if(ptr[offset7] < c_b)
2989
if(ptr[offset8] < c_b)
2990
goto is_a_corner;
2991
else
2992
goto is_not_a_corner;
2993
else
2994
goto is_not_a_corner;
2995
else
2996
goto is_not_a_corner;
2997
else
2998
if(ptr[offset1] < c_b)
2999
if(ptr[offset10] < c_b)
3000
if(ptr[offset11] < c_b)
3001
goto is_a_corner;
3002
else
3003
goto is_not_a_corner;
3004
else
3005
goto is_not_a_corner;
3006
else
3007
goto is_not_a_corner;
3008
else
3009
goto is_not_a_corner;
3010
else
3011
goto is_not_a_corner;
3012
else
3013
if(ptr[offset9] < c_b)
3014
if(ptr[offset5] < c_b)
3015
if(ptr[offset1] < c_b)
3016
if(ptr[offset6] < c_b)
3017
if(ptr[offset3] < c_b)
3018
if(ptr[offset4] < c_b)
3019
goto is_a_corner;
3020
else
3021
if(ptr[offset10] < c_b)
3022
if(ptr[offset11] < c_b)
3023
goto is_a_corner;
3024
else
3025
goto is_not_a_corner;
3026
else
3027
goto is_not_a_corner;
3028
else
3029
if(ptr[offset8] < c_b)
3030
if(ptr[offset10] < c_b)
3031
if(ptr[offset11] < c_b)
3032
goto is_a_corner;
3033
else
3034
if(ptr[offset4] < c_b)
3035
if(ptr[offset7] < c_b)
3036
goto is_a_corner;
3037
else
3038
goto is_not_a_corner;
3039
else
3040
goto is_not_a_corner;
3041
else
3042
goto is_not_a_corner;
3043
else
3044
goto is_not_a_corner;
3045
else
3046
if(ptr[offset11] < c_b)
3047
if(ptr[offset3] < c_b)
3048
if(ptr[offset4] < c_b)
3049
goto is_a_corner;
3050
else
3051
if(ptr[offset10] < c_b)
3052
goto is_a_corner;
3053
else
3054
goto is_not_a_corner;
3055
else
3056
if(ptr[offset8] < c_b)
3057
if(ptr[offset10] < c_b)
3058
goto is_a_corner;
3059
else
3060
goto is_not_a_corner;
3061
else
3062
goto is_not_a_corner;
3063
else
3064
goto is_not_a_corner;
3065
else
3066
if(ptr[offset6] < c_b)
3067
if(ptr[offset7] < c_b)
3068
if(ptr[offset8] < c_b)
3069
if(ptr[offset4] < c_b)
3070
if(ptr[offset3] < c_b)
3071
goto is_a_corner;
3072
else
3073
if(ptr[offset10] < c_b)
3074
goto is_a_corner;
3075
else
3076
goto is_not_a_corner;
3077
else
3078
if(ptr[offset10] < c_b)
3079
if(ptr[offset11] < c_b)
3080
goto is_a_corner;
3081
else
3082
goto is_not_a_corner;
3083
else
3084
goto is_not_a_corner;
3085
else
3086
goto is_not_a_corner;
3087
else
3088
goto is_not_a_corner;
3089
else
3090
goto is_not_a_corner;
3091
else
3092
if(ptr[offset10] < c_b)
3093
if(ptr[offset11] < c_b)
3094
if(ptr[offset1] < c_b)
3095
if(ptr[offset3] < c_b)
3096
goto is_a_corner;
3097
else
3098
if(ptr[offset8] < c_b)
3099
goto is_a_corner;
3100
else
3101
goto is_not_a_corner;
3102
else
3103
if(ptr[offset6] < c_b)
3104
if(ptr[offset7] < c_b)
3105
if(ptr[offset8] < c_b)
3106
goto is_a_corner;
3107
else
3108
goto is_not_a_corner;
3109
else
3110
goto is_not_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[offset3] < c_b)
3119
if(ptr[offset4] < c_b)
3120
if(ptr[offset5] < c_b)
3121
if(ptr[offset1] < c_b)
3122
if(ptr[offset6] < c_b)
3123
goto is_a_corner;
3124
else
3125
if(ptr[offset11] < c_b)
3126
goto is_a_corner;
3127
else
3128
goto is_not_a_corner;
3129
else
3130
if(ptr[offset6] < c_b)
3131
if(ptr[offset7] < c_b)
3132
if(ptr[offset8] < c_b)
3133
goto is_a_corner;
3134
else
3135
goto is_not_a_corner;
3136
else
3137
goto is_not_a_corner;
3138
else
3139
goto is_not_a_corner;
3140
else
3141
if(ptr[offset1] < c_b)
3142
if(ptr[offset10] < c_b)
3143
if(ptr[offset11] < 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
goto is_not_a_corner;
3151
else
3152
goto is_not_a_corner;
3153
else
3154
goto is_not_a_corner;
3155
else
3156
if(ptr[offset9] < c_b)
3157
if(ptr[offset7] < c_b)
3158
if(ptr[offset8] < c_b)
3159
if(ptr[offset5] < c_b)
3160
if(ptr[offset1] < c_b)
3161
if(ptr[offset10] < c_b)
3162
if(ptr[offset11] < c_b)
3163
goto is_a_corner;
3164
else
3165
if(ptr[offset6] < c_b)
3166
if(ptr[offset4] < c_b)
3167
goto is_a_corner;
3168
else
3169
goto is_not_a_corner;
3170
else
3171
goto is_not_a_corner;
3172
else
3173
if(ptr[offset6] < c_b)
3174
if(ptr[offset3] < c_b)
3175
if(ptr[offset4] < c_b)
3176
goto is_a_corner;
3177
else
3178
goto is_not_a_corner;
3179
else
3180
goto is_not_a_corner;
3181
else
3182
goto is_not_a_corner;
3183
else
3184
if(ptr[offset6] < c_b)
3185
if(ptr[offset4] < c_b)
3186
if(ptr[offset3] < c_b)
3187
goto is_a_corner;
3188
else
3189
if(ptr[offset10] < c_b)
3190
goto is_a_corner;
3191
else
3192
goto is_not_a_corner;
3193
else
3194
if(ptr[offset10] < c_b)
3195
if(ptr[offset11] < c_b)
3196
goto is_a_corner;
3197
else
3198
goto is_not_a_corner;
3199
else
3200
goto is_not_a_corner;
3201
else
3202
goto is_not_a_corner;
3203
else
3204
if(ptr[offset10] < c_b)
3205
if(ptr[offset11] < c_b)
3206
if(ptr[offset1] < c_b)
3207
goto is_a_corner;
3208
else
3209
if(ptr[offset6] < c_b)
3210
goto is_a_corner;
3211
else
3212
goto is_not_a_corner;
3213
else
3214
goto is_not_a_corner;
3215
else
3216
goto is_not_a_corner;
3217
else
3218
goto is_not_a_corner;
3219
else
3220
goto is_not_a_corner;
3221
else
3222
if(ptr[offset5] > cb)
3223
if(ptr[offset9] > cb)
3224
if(ptr[offset6] > cb)
3225
if(ptr[offset7] > cb)
3226
if(ptr[offset8] > cb)
3227
if(ptr[offset4] > cb)
3228
if(ptr[offset3] > cb)
3229
goto is_a_corner;
3230
else
3231
if(ptr[offset10] > cb)
3232
goto is_a_corner;
3233
else
3234
goto is_not_a_corner;
3235
else
3236
if(ptr[offset10] > cb)
3237
if(ptr[offset11] > cb)
3238
goto is_a_corner;
3239
else
3240
goto is_not_a_corner;
3241
else
3242
goto is_not_a_corner;
3243
else
3244
goto is_not_a_corner;
3245
else
3246
goto is_not_a_corner;
3247
else
3248
goto is_not_a_corner;
3249
else
3250
goto is_not_a_corner;
3251
else
3252
goto is_not_a_corner;
3253
else
3254
if(ptr[offset5] > cb)
3255
if(ptr[offset9] > cb)
3256
if(ptr[offset6] > cb)
3257
if(ptr[offset7] > cb)
3258
if(ptr[offset4] > cb)
3259
if(ptr[offset3] > cb)
3260
if(ptr[offset8] > cb)
3261
goto is_a_corner;
3262
else
3263
if(ptr[offset1] > cb)
3264
if(ptr[offset2] > cb)
3265
goto is_a_corner;
3266
else
3267
goto is_not_a_corner;
3268
else
3269
goto is_not_a_corner;
3270
else
3271
if(ptr[offset8] > cb)
3272
if(ptr[offset10] > cb)
3273
goto is_a_corner;
3274
else
3275
goto is_not_a_corner;
3276
else
3277
goto is_not_a_corner;
3278
else
3279
if(ptr[offset11] > cb)
3280
if(ptr[offset8] > cb)
3281
if(ptr[offset10] > cb)
3282
goto is_a_corner;
3283
else
3284
goto is_not_a_corner;
3285
else
3286
goto is_not_a_corner;
3287
else
3288
goto is_not_a_corner;
3289
else
3290
goto is_not_a_corner;
3291
else
3292
goto is_not_a_corner;
3293
else
3294
if(ptr[offset2] > cb)
3295
if(ptr[offset3] > cb)
3296
if(ptr[offset4] > cb)
3297
if(ptr[offset7] > cb)
3298
if(ptr[offset1] > cb)
3299
if(ptr[offset6] > cb)
3300
goto is_a_corner;
3301
else
3302
goto is_not_a_corner;
3303
else
3304
if(ptr[offset6] > cb)
3305
if(ptr[offset8] > cb)
3306
goto is_a_corner;
3307
else
3308
goto is_not_a_corner;
3309
else
3310
goto is_not_a_corner;
3311
else
3312
goto is_not_a_corner;
3313
else
3314
goto is_not_a_corner;
3315
else
3316
goto is_not_a_corner;
3317
else
3318
goto is_not_a_corner;
3319
else
3320
if(ptr[offset5] < c_b)
3321
if(ptr[offset9] < c_b)
3322
if(ptr[offset6] < c_b)
3323
if(ptr[offset7] < c_b)
3324
if(ptr[offset4] < c_b)
3325
if(ptr[offset3] < c_b)
3326
if(ptr[offset8] < c_b)
3327
goto is_a_corner;
3328
else
3329
if(ptr[offset1] < c_b)
3330
if(ptr[offset2] < c_b)
3331
goto is_a_corner;
3332
else
3333
goto is_not_a_corner;
3334
else
3335
goto is_not_a_corner;
3336
else
3337
if(ptr[offset8] < c_b)
3338
if(ptr[offset10] < c_b)
3339
goto is_a_corner;
3340
else
3341
goto is_not_a_corner;
3342
else
3343
goto is_not_a_corner;
3344
else
3345
if(ptr[offset11] < c_b)
3346
if(ptr[offset8] < c_b)
3347
if(ptr[offset10] < c_b)
3348
goto is_a_corner;
3349
else
3350
goto is_not_a_corner;
3351
else
3352
goto is_not_a_corner;
3353
else
3354
goto is_not_a_corner;
3355
else
3356
goto is_not_a_corner;
3357
else
3358
goto is_not_a_corner;
3359
else
3360
if(ptr[offset2] < c_b)
3361
if(ptr[offset3] < c_b)
3362
if(ptr[offset4] < c_b)
3363
if(ptr[offset7] < c_b)
3364
if(ptr[offset1] < c_b)
3365
if(ptr[offset6] < c_b)
3366
goto is_a_corner;
3367
else
3368
goto is_not_a_corner;
3369
else
3370
if(ptr[offset6] < c_b)
3371
if(ptr[offset8] < c_b)
3372
goto is_a_corner;
3373
else
3374
goto is_not_a_corner;
3375
else
3376
goto is_not_a_corner;
3377
else
3378
goto is_not_a_corner;
3379
else
3380
goto is_not_a_corner;
3381
else
3382
goto is_not_a_corner;
3383
else
3384
goto is_not_a_corner;
3385
else
3386
goto is_not_a_corner;
3387
3388
is_a_corner:
3389
bmin = b_test;
3390
goto end;
3391
3392
is_not_a_corner:
3393
bmax = b_test;
3394
goto end;
3395
3396
end:
3397
3398
if(bmin == bmax - 1 || bmin == bmax)
3399
return bmin;
3400
b_test = (bmin + bmax) / 2;
3401
}
3402
}
3403
3404
//12 pixel mask in square format
3405
template<>
3406
int agast_cornerScore<AgastFeatureDetector::AGAST_7_12s>(const uchar* ptr, const int pixel[], int threshold)
3407
{
3408
int bmin = threshold;
3409
int bmax = 255;
3410
int b_test = (bmax + bmin)/2;
3411
3412
short offset0 = (short) pixel[0];
3413
short offset1 = (short) pixel[1];
3414
short offset2 = (short) pixel[2];
3415
short offset3 = (short) pixel[3];
3416
short offset4 = (short) pixel[4];
3417
short offset5 = (short) pixel[5];
3418
short offset6 = (short) pixel[6];
3419
short offset7 = (short) pixel[7];
3420
short offset8 = (short) pixel[8];
3421
short offset9 = (short) pixel[9];
3422
short offset10 = (short) pixel[10];
3423
short offset11 = (short) pixel[11];
3424
3425
while(true)
3426
{
3427
const int cb = *ptr + b_test;
3428
const int c_b = *ptr - b_test;
3429
if(ptr[offset0] > cb)
3430
if(ptr[offset5] > cb)
3431
if(ptr[offset2] < c_b)
3432
if(ptr[offset7] > cb)
3433
if(ptr[offset9] < c_b)
3434
goto is_not_a_corner;
3435
else
3436
if(ptr[offset9] > cb)
3437
if(ptr[offset1] < c_b)
3438
if(ptr[offset6] < c_b)
3439
goto is_not_a_corner;
3440
else
3441
if(ptr[offset6] > cb)
3442
if(ptr[offset8] > cb)
3443
if(ptr[offset4] > cb)
3444
if(ptr[offset3] > cb)
3445
goto is_a_corner;
3446
else
3447
if(ptr[offset10] > cb)
3448
goto is_a_corner;
3449
else
3450
goto is_not_a_corner;
3451
else
3452
if(ptr[offset10] > cb)
3453
if(ptr[offset11] > cb)
3454
goto is_a_corner;
3455
else
3456
goto is_not_a_corner;
3457
else
3458
goto is_not_a_corner;
3459
else
3460
goto is_not_a_corner;
3461
else
3462
goto is_not_a_corner;
3463
else
3464
if(ptr[offset1] > cb)
3465
if(ptr[offset6] < c_b)
3466
if(ptr[offset8] > cb)
3467
if(ptr[offset10] > cb)
3468
if(ptr[offset11] > cb)
3469
goto is_a_corner;
3470
else
3471
goto is_not_a_corner;
3472
else
3473
goto is_not_a_corner;
3474
else
3475
goto is_not_a_corner;
3476
else
3477
if(ptr[offset6] > cb)
3478
if(ptr[offset8] > cb)
3479
if(ptr[offset4] > cb)
3480
if(ptr[offset3] > cb)
3481
goto is_a_corner;
3482
else
3483
if(ptr[offset10] > cb)
3484
goto is_a_corner;
3485
else
3486
goto is_not_a_corner;
3487
else
3488
if(ptr[offset10] > cb)
3489
if(ptr[offset11] > cb)
3490
goto is_a_corner;
3491
else
3492
goto is_not_a_corner;
3493
else
3494
goto is_not_a_corner;
3495
else
3496
goto is_not_a_corner;
3497
else
3498
if(ptr[offset8] > cb)
3499
if(ptr[offset10] > cb)
3500
if(ptr[offset11] > cb)
3501
goto is_a_corner;
3502
else
3503
goto is_not_a_corner;
3504
else
3505
goto is_not_a_corner;
3506
else
3507
goto is_not_a_corner;
3508
else
3509
if(ptr[offset6] < c_b)
3510
goto is_not_a_corner;
3511
else
3512
if(ptr[offset6] > cb)
3513
if(ptr[offset8] > cb)
3514
if(ptr[offset4] > cb)
3515
if(ptr[offset3] > cb)
3516
goto is_a_corner;
3517
else
3518
if(ptr[offset10] > cb)
3519
goto is_a_corner;
3520
else
3521
goto is_not_a_corner;
3522
else
3523
if(ptr[offset10] > cb)
3524
if(ptr[offset11] > cb)
3525
goto is_a_corner;
3526
else
3527
goto is_not_a_corner;
3528
else
3529
goto is_not_a_corner;
3530
else
3531
goto is_not_a_corner;
3532
else
3533
goto is_not_a_corner;
3534
else
3535
goto is_not_a_corner;
3536
else
3537
goto is_not_a_corner;
3538
else
3539
if(ptr[offset2] > cb)
3540
if(ptr[offset7] < c_b)
3541
if(ptr[offset9] < c_b)
3542
if(ptr[offset1] < c_b)
3543
goto is_not_a_corner;
3544
else
3545
if(ptr[offset1] > cb)
3546
if(ptr[offset6] > cb)
3547
if(ptr[offset3] > cb)
3548
if(ptr[offset4] > cb)
3549
goto is_a_corner;
3550
else
3551
goto is_not_a_corner;
3552
else
3553
goto is_not_a_corner;
3554
else
3555
if(ptr[offset6] < c_b)
3556
if(ptr[offset3] > cb)
3557
if(ptr[offset4] > cb)
3558
if(ptr[offset11] > cb)
3559
goto is_a_corner;
3560
else
3561
goto is_not_a_corner;
3562
else
3563
goto is_not_a_corner;
3564
else
3565
goto is_not_a_corner;
3566
else
3567
if(ptr[offset3] > cb)
3568
if(ptr[offset4] > cb)
3569
if(ptr[offset11] > cb)
3570
goto is_a_corner;
3571
else
3572
goto is_not_a_corner;
3573
else
3574
goto is_not_a_corner;
3575
else
3576
goto is_not_a_corner;
3577
else
3578
goto is_not_a_corner;
3579
else
3580
if(ptr[offset9] > cb)
3581
if(ptr[offset1] < c_b)
3582
goto is_not_a_corner;
3583
else
3584
if(ptr[offset1] > cb)
3585
if(ptr[offset6] < c_b)
3586
if(ptr[offset11] > cb)
3587
if(ptr[offset3] > cb)
3588
if(ptr[offset4] > cb)
3589
goto is_a_corner;
3590
else
3591
if(ptr[offset10] > cb)
3592
goto is_a_corner;
3593
else
3594
goto is_not_a_corner;
3595
else
3596
if(ptr[offset8] > cb)
3597
if(ptr[offset10] > cb)
3598
goto is_a_corner;
3599
else
3600
goto is_not_a_corner;
3601
else
3602
goto is_not_a_corner;
3603
else
3604
goto is_not_a_corner;
3605
else
3606
if(ptr[offset6] > cb)
3607
if(ptr[offset3] > cb)
3608
if(ptr[offset4] > cb)
3609
goto is_a_corner;
3610
else
3611
if(ptr[offset10] > cb)
3612
if(ptr[offset11] > cb)
3613
goto is_a_corner;
3614
else
3615
goto is_not_a_corner;
3616
else
3617
goto is_not_a_corner;
3618
else
3619
if(ptr[offset8] > cb)
3620
if(ptr[offset10] > cb)
3621
if(ptr[offset11] > cb)
3622
goto is_a_corner;
3623
else
3624
goto is_not_a_corner;
3625
else
3626
goto is_not_a_corner;
3627
else
3628
goto is_not_a_corner;
3629
else
3630
if(ptr[offset11] > cb)
3631
if(ptr[offset3] > cb)
3632
if(ptr[offset4] > cb)
3633
goto is_a_corner;
3634
else
3635
if(ptr[offset10] > cb)
3636
goto is_a_corner;
3637
else
3638
goto is_not_a_corner;
3639
else
3640
if(ptr[offset8] > cb)
3641
if(ptr[offset10] > cb)
3642
goto is_a_corner;
3643
else
3644
goto is_not_a_corner;
3645
else
3646
goto is_not_a_corner;
3647
else
3648
goto is_not_a_corner;
3649
else
3650
goto is_not_a_corner;
3651
else
3652
if(ptr[offset1] < c_b)
3653
goto is_not_a_corner;
3654
else
3655
if(ptr[offset1] > cb)
3656
if(ptr[offset6] > cb)
3657
if(ptr[offset3] > cb)
3658
if(ptr[offset4] > cb)
3659
goto is_a_corner;
3660
else
3661
goto is_not_a_corner;
3662
else
3663
goto is_not_a_corner;
3664
else
3665
if(ptr[offset6] < c_b)
3666
if(ptr[offset3] > cb)
3667
if(ptr[offset4] > cb)
3668
if(ptr[offset11] > cb)
3669
goto is_a_corner;
3670
else
3671
goto is_not_a_corner;
3672
else
3673
goto is_not_a_corner;
3674
else
3675
goto is_not_a_corner;
3676
else
3677
if(ptr[offset3] > cb)
3678
if(ptr[offset4] > cb)
3679
if(ptr[offset11] > cb)
3680
goto is_a_corner;
3681
else
3682
goto is_not_a_corner;
3683
else
3684
goto is_not_a_corner;
3685
else
3686
goto is_not_a_corner;
3687
else
3688
goto is_not_a_corner;
3689
else
3690
if(ptr[offset9] < c_b)
3691
if(ptr[offset7] > cb)
3692
if(ptr[offset1] < c_b)
3693
if(ptr[offset6] < c_b)
3694
goto is_not_a_corner;
3695
else
3696
if(ptr[offset6] > cb)
3697
if(ptr[offset3] > cb)
3698
if(ptr[offset4] > cb)
3699
if(ptr[offset8] > cb)
3700
goto is_a_corner;
3701
else
3702
goto is_not_a_corner;
3703
else
3704
goto is_not_a_corner;
3705
else
3706
goto is_not_a_corner;
3707
else
3708
goto is_not_a_corner;
3709
else
3710
if(ptr[offset1] > cb)
3711
if(ptr[offset6] > cb)
3712
if(ptr[offset3] > cb)
3713
if(ptr[offset4] > cb)
3714
goto is_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
if(ptr[offset3] > cb)
3722
if(ptr[offset4] > cb)
3723
if(ptr[offset11] > cb)
3724
goto is_a_corner;
3725
else
3726
goto is_not_a_corner;
3727
else
3728
goto is_not_a_corner;
3729
else
3730
goto is_not_a_corner;
3731
else
3732
if(ptr[offset3] > cb)
3733
if(ptr[offset4] > cb)
3734
if(ptr[offset11] > cb)
3735
goto is_a_corner;
3736
else
3737
goto is_not_a_corner;
3738
else
3739
goto is_not_a_corner;
3740
else
3741
goto is_not_a_corner;
3742
else
3743
if(ptr[offset6] < c_b)
3744
goto is_not_a_corner;
3745
else
3746
if(ptr[offset6] > cb)
3747
if(ptr[offset3] > cb)
3748
if(ptr[offset4] > cb)
3749
if(ptr[offset8] > cb)
3750
goto is_a_corner;
3751
else
3752
goto is_not_a_corner;
3753
else
3754
goto is_not_a_corner;
3755
else
3756
goto is_not_a_corner;
3757
else
3758
goto is_not_a_corner;
3759
else
3760
if(ptr[offset1] < c_b)
3761
goto is_not_a_corner;
3762
else
3763
if(ptr[offset1] > cb)
3764
if(ptr[offset6] > cb)
3765
if(ptr[offset3] > cb)
3766
if(ptr[offset4] > cb)
3767
goto is_a_corner;
3768
else
3769
goto is_not_a_corner;
3770
else
3771
goto is_not_a_corner;
3772
else
3773
if(ptr[offset6] < c_b)
3774
if(ptr[offset3] > cb)
3775
if(ptr[offset4] > cb)
3776
if(ptr[offset11] > cb)
3777
goto is_a_corner;
3778
else
3779
goto is_not_a_corner;
3780
else
3781
goto is_not_a_corner;
3782
else
3783
goto is_not_a_corner;
3784
else
3785
if(ptr[offset3] > cb)
3786
if(ptr[offset4] > cb)
3787
if(ptr[offset11] > cb)
3788
goto is_a_corner;
3789
else
3790
goto is_not_a_corner;
3791
else
3792
goto is_not_a_corner;
3793
else
3794
goto is_not_a_corner;
3795
else
3796
goto is_not_a_corner;
3797
else
3798
if(ptr[offset7] > cb)
3799
if(ptr[offset9] > cb)
3800
if(ptr[offset1] < c_b)
3801
if(ptr[offset6] < c_b)
3802
goto is_not_a_corner;
3803
else
3804
if(ptr[offset6] > cb)
3805
if(ptr[offset8] > cb)
3806
if(ptr[offset4] > cb)
3807
if(ptr[offset3] > cb)
3808
goto is_a_corner;
3809
else
3810
if(ptr[offset10] > cb)
3811
goto is_a_corner;
3812
else
3813
goto is_not_a_corner;
3814
else
3815
if(ptr[offset10] > cb)
3816
if(ptr[offset11] > cb)
3817
goto is_a_corner;
3818
else
3819
goto is_not_a_corner;
3820
else
3821
goto is_not_a_corner;
3822
else
3823
goto is_not_a_corner;
3824
else
3825
goto is_not_a_corner;
3826
else
3827
if(ptr[offset1] > cb)
3828
if(ptr[offset6] < c_b)
3829
if(ptr[offset11] > cb)
3830
if(ptr[offset3] > cb)
3831
if(ptr[offset4] > cb)
3832
goto is_a_corner;
3833
else
3834
if(ptr[offset10] > cb)
3835
goto is_a_corner;
3836
else
3837
goto is_not_a_corner;
3838
else
3839
if(ptr[offset8] > cb)
3840
if(ptr[offset10] > cb)
3841
goto is_a_corner;
3842
else
3843
goto is_not_a_corner;
3844
else
3845
goto is_not_a_corner;
3846
else
3847
goto is_not_a_corner;
3848
else
3849
if(ptr[offset6] > cb)
3850
if(ptr[offset3] > cb)
3851
if(ptr[offset4] > cb)
3852
goto is_a_corner;
3853
else
3854
if(ptr[offset10] > cb)
3855
if(ptr[offset11] > cb)
3856
goto is_a_corner;
3857
else
3858
goto is_not_a_corner;
3859
else
3860
goto is_not_a_corner;
3861
else
3862
if(ptr[offset8] > cb)
3863
if(ptr[offset10] > cb)
3864
if(ptr[offset4] > cb)
3865
goto is_a_corner;
3866
else
3867
if(ptr[offset11] > cb)
3868
goto is_a_corner;
3869
else
3870
goto is_not_a_corner;
3871
else
3872
goto is_not_a_corner;
3873
else
3874
goto is_not_a_corner;
3875
else
3876
if(ptr[offset11] > cb)
3877
if(ptr[offset3] > cb)
3878
if(ptr[offset4] > cb)
3879
goto is_a_corner;
3880
else
3881
if(ptr[offset10] > cb)
3882
goto is_a_corner;
3883
else
3884
goto is_not_a_corner;
3885
else
3886
if(ptr[offset8] > cb)
3887
if(ptr[offset10] > cb)
3888
goto is_a_corner;
3889
else
3890
goto is_not_a_corner;
3891
else
3892
goto is_not_a_corner;
3893
else
3894
goto is_not_a_corner;
3895
else
3896
if(ptr[offset6] < c_b)
3897
goto is_not_a_corner;
3898
else
3899
if(ptr[offset6] > cb)
3900
if(ptr[offset8] > cb)
3901
if(ptr[offset4] > cb)
3902
if(ptr[offset3] > cb)
3903
goto is_a_corner;
3904
else
3905
if(ptr[offset10] > cb)
3906
goto is_a_corner;
3907
else
3908
goto is_not_a_corner;
3909
else
3910
if(ptr[offset10] > cb)
3911
if(ptr[offset11] > cb)
3912
goto is_a_corner;
3913
else
3914
goto is_not_a_corner;
3915
else
3916
goto is_not_a_corner;
3917
else
3918
goto is_not_a_corner;
3919
else
3920
goto is_not_a_corner;
3921
else
3922
if(ptr[offset1] < c_b)
3923
if(ptr[offset6] < c_b)
3924
goto is_not_a_corner;
3925
else
3926
if(ptr[offset6] > cb)
3927
if(ptr[offset3] > cb)
3928
if(ptr[offset4] > cb)
3929
if(ptr[offset8] > cb)
3930
goto is_a_corner;
3931
else
3932
goto is_not_a_corner;
3933
else
3934
goto is_not_a_corner;
3935
else
3936
goto is_not_a_corner;
3937
else
3938
goto is_not_a_corner;
3939
else
3940
if(ptr[offset1] > cb)
3941
if(ptr[offset6] > cb)
3942
if(ptr[offset3] > cb)
3943
if(ptr[offset4] > cb)
3944
goto is_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
if(ptr[offset3] > cb)
3952
if(ptr[offset4] > cb)
3953
if(ptr[offset11] > cb)
3954
goto is_a_corner;
3955
else
3956
goto is_not_a_corner;
3957
else
3958
goto is_not_a_corner;
3959
else
3960
goto is_not_a_corner;
3961
else
3962
if(ptr[offset3] > cb)
3963
if(ptr[offset4] > cb)
3964
if(ptr[offset11] > cb)
3965
goto is_a_corner;
3966
else
3967
goto is_not_a_corner;
3968
else
3969
goto is_not_a_corner;
3970
else
3971
goto is_not_a_corner;
3972
else
3973
if(ptr[offset6] < c_b)
3974
goto is_not_a_corner;
3975
else
3976
if(ptr[offset6] > cb)
3977
if(ptr[offset3] > cb)
3978
if(ptr[offset4] > cb)
3979
if(ptr[offset8] > cb)
3980
goto is_a_corner;
3981
else
3982
goto is_not_a_corner;
3983
else
3984
goto is_not_a_corner;
3985
else
3986
goto is_not_a_corner;
3987
else
3988
goto is_not_a_corner;
3989
else
3990
if(ptr[offset9] > cb)
3991
if(ptr[offset1] < c_b)
3992
goto is_not_a_corner;
3993
else
3994
if(ptr[offset1] > cb)
3995
if(ptr[offset6] < c_b)
3996
if(ptr[offset11] > cb)
3997
if(ptr[offset3] > cb)
3998
if(ptr[offset4] > cb)
3999
goto is_a_corner;
4000
else
4001
if(ptr[offset10] > cb)
4002
goto is_a_corner;
4003
else
4004
goto is_not_a_corner;
4005
else
4006
if(ptr[offset8] > cb)
4007
if(ptr[offset10] > cb)
4008
goto is_a_corner;
4009
else
4010
goto is_not_a_corner;
4011
else
4012
goto is_not_a_corner;
4013
else
4014
goto is_not_a_corner;
4015
else
4016
if(ptr[offset6] > cb)
4017
if(ptr[offset3] > cb)
4018
if(ptr[offset4] > cb)
4019
goto is_a_corner;
4020
else
4021
if(ptr[offset10] > cb)
4022
if(ptr[offset11] > cb)
4023
goto is_a_corner;
4024
else
4025
goto is_not_a_corner;
4026
else
4027
goto is_not_a_corner;
4028
else
4029
if(ptr[offset8] > cb)
4030
if(ptr[offset10] > cb)
4031
if(ptr[offset11] > cb)
4032
goto is_a_corner;
4033
else
4034
goto is_not_a_corner;
4035
else
4036
goto is_not_a_corner;
4037
else
4038
goto is_not_a_corner;
4039
else
4040
if(ptr[offset11] > cb)
4041
if(ptr[offset3] > cb)
4042
if(ptr[offset4] > cb)
4043
goto is_a_corner;
4044
else
4045
if(ptr[offset10] > cb)
4046
goto is_a_corner;
4047
else
4048
goto is_not_a_corner;
4049
else
4050
if(ptr[offset8] > cb)
4051
if(ptr[offset10] > cb)
4052
goto is_a_corner;
4053
else
4054
goto is_not_a_corner;
4055
else
4056
goto is_not_a_corner;
4057
else
4058
goto is_not_a_corner;
4059
else
4060
goto is_not_a_corner;
4061
else
4062
if(ptr[offset1] < c_b)
4063
goto is_not_a_corner;
4064
else
4065
if(ptr[offset1] > cb)
4066
if(ptr[offset6] > cb)
4067
if(ptr[offset3] > cb)
4068
if(ptr[offset4] > cb)
4069
goto is_a_corner;
4070
else
4071
goto is_not_a_corner;
4072
else
4073
goto is_not_a_corner;
4074
else
4075
if(ptr[offset6] < c_b)
4076
if(ptr[offset3] > cb)
4077
if(ptr[offset4] > cb)
4078
if(ptr[offset11] > cb)
4079
goto is_a_corner;
4080
else
4081
goto is_not_a_corner;
4082
else
4083
goto is_not_a_corner;
4084
else
4085
goto is_not_a_corner;
4086
else
4087
if(ptr[offset3] > cb)
4088
if(ptr[offset4] > cb)
4089
if(ptr[offset11] > cb)
4090
goto is_a_corner;
4091
else
4092
goto is_not_a_corner;
4093
else
4094
goto is_not_a_corner;
4095
else
4096
goto is_not_a_corner;
4097
else
4098
goto is_not_a_corner;
4099
else
4100
if(ptr[offset7] > cb)
4101
if(ptr[offset9] < c_b)
4102
goto is_not_a_corner;
4103
else
4104
if(ptr[offset9] > cb)
4105
if(ptr[offset1] < c_b)
4106
if(ptr[offset6] < c_b)
4107
goto is_not_a_corner;
4108
else
4109
if(ptr[offset6] > cb)
4110
if(ptr[offset8] > cb)
4111
if(ptr[offset4] > cb)
4112
if(ptr[offset3] > cb)
4113
goto is_a_corner;
4114
else
4115
if(ptr[offset10] > cb)
4116
goto is_a_corner;
4117
else
4118
goto is_not_a_corner;
4119
else
4120
if(ptr[offset10] > cb)
4121
if(ptr[offset11] > cb)
4122
goto is_a_corner;
4123
else
4124
goto is_not_a_corner;
4125
else
4126
goto is_not_a_corner;
4127
else
4128
goto is_not_a_corner;
4129
else
4130
goto is_not_a_corner;
4131
else
4132
if(ptr[offset1] > cb)
4133
if(ptr[offset6] < c_b)
4134
if(ptr[offset8] > cb)
4135
if(ptr[offset10] > cb)
4136
if(ptr[offset11] > cb)
4137
goto is_a_corner;
4138
else
4139
goto is_not_a_corner;
4140
else
4141
goto is_not_a_corner;
4142
else
4143
goto is_not_a_corner;
4144
else
4145
if(ptr[offset6] > cb)
4146
if(ptr[offset8] > cb)
4147
if(ptr[offset4] > cb)
4148
if(ptr[offset3] > cb)
4149
goto is_a_corner;
4150
else
4151
if(ptr[offset10] > cb)
4152
goto is_a_corner;
4153
else
4154
goto is_not_a_corner;
4155
else
4156
if(ptr[offset10] > cb)
4157
if(ptr[offset11] > cb)
4158
goto is_a_corner;
4159
else
4160
goto is_not_a_corner;
4161
else
4162
goto is_not_a_corner;
4163
else
4164
goto is_not_a_corner;
4165
else
4166
if(ptr[offset8] > cb)
4167
if(ptr[offset10] > cb)
4168
if(ptr[offset11] > cb)
4169
goto is_a_corner;
4170
else
4171
goto is_not_a_corner;
4172
else
4173
goto is_not_a_corner;
4174
else
4175
goto is_not_a_corner;
4176
else
4177
if(ptr[offset6] < c_b)
4178
goto is_not_a_corner;
4179
else
4180
if(ptr[offset6] > cb)
4181
if(ptr[offset8] > cb)
4182
if(ptr[offset4] > cb)
4183
if(ptr[offset3] > cb)
4184
goto is_a_corner;
4185
else
4186
if(ptr[offset10] > cb)
4187
goto is_a_corner;
4188
else
4189
goto is_not_a_corner;
4190
else
4191
if(ptr[offset10] > cb)
4192
if(ptr[offset11] > cb)
4193
goto is_a_corner;
4194
else
4195
goto is_not_a_corner;
4196
else
4197
goto is_not_a_corner;
4198
else
4199
goto is_not_a_corner;
4200
else
4201
goto is_not_a_corner;
4202
else
4203
goto is_not_a_corner;
4204
else
4205
goto is_not_a_corner;
4206
else
4207
if(ptr[offset5] < c_b)
4208
if(ptr[offset9] < c_b)
4209
if(ptr[offset7] > cb)
4210
if(ptr[offset2] < c_b)
4211
goto is_not_a_corner;
4212
else
4213
if(ptr[offset2] > cb)
4214
if(ptr[offset1] < c_b)
4215
goto is_not_a_corner;
4216
else
4217
if(ptr[offset1] > cb)
4218
if(ptr[offset6] > cb)
4219
if(ptr[offset3] > cb)
4220
if(ptr[offset4] > cb)
4221
if(ptr[offset10] > cb)
4222
if(ptr[offset11] > cb)
4223
goto is_a_corner;
4224
else
4225
goto is_not_a_corner;
4226
else
4227
goto is_not_a_corner;
4228
else
4229
goto is_not_a_corner;
4230
else
4231
goto is_not_a_corner;
4232
else
4233
if(ptr[offset6] < c_b)
4234
if(ptr[offset3] > cb)
4235
if(ptr[offset4] > cb)
4236
if(ptr[offset10] > cb)
4237
if(ptr[offset11] > cb)
4238
goto is_a_corner;
4239
else
4240
goto is_not_a_corner;
4241
else
4242
goto is_not_a_corner;
4243
else
4244
goto is_not_a_corner;
4245
else
4246
goto is_not_a_corner;
4247
else
4248
if(ptr[offset3] > cb)
4249
if(ptr[offset4] > cb)
4250
if(ptr[offset10] > cb)
4251
if(ptr[offset11] > cb)
4252
goto is_a_corner;
4253
else
4254
goto is_not_a_corner;
4255
else
4256
goto is_not_a_corner;
4257
else
4258
goto is_not_a_corner;
4259
else
4260
goto is_not_a_corner;
4261
else
4262
goto is_not_a_corner;
4263
else
4264
goto is_not_a_corner;
4265
else
4266
if(ptr[offset7] < c_b)
4267
if(ptr[offset2] < c_b)
4268
if(ptr[offset1] > cb)
4269
if(ptr[offset6] > cb)
4270
goto is_not_a_corner;
4271
else
4272
if(ptr[offset6] < c_b)
4273
if(ptr[offset8] < c_b)
4274
if(ptr[offset4] < c_b)
4275
if(ptr[offset3] < c_b)
4276
goto is_a_corner;
4277
else
4278
if(ptr[offset10] < c_b)
4279
goto is_a_corner;
4280
else
4281
goto is_not_a_corner;
4282
else
4283
if(ptr[offset10] < c_b)
4284
if(ptr[offset11] < c_b)
4285
goto is_a_corner;
4286
else
4287
goto is_not_a_corner;
4288
else
4289
goto is_not_a_corner;
4290
else
4291
goto is_not_a_corner;
4292
else
4293
goto is_not_a_corner;
4294
else
4295
if(ptr[offset1] < c_b)
4296
if(ptr[offset6] > cb)
4297
goto is_not_a_corner;
4298
else
4299
if(ptr[offset6] < c_b)
4300
if(ptr[offset4] < c_b)
4301
if(ptr[offset3] < c_b)
4302
goto is_a_corner;
4303
else
4304
if(ptr[offset8] < c_b)
4305
if(ptr[offset10] < c_b)
4306
goto is_a_corner;
4307
else
4308
goto is_not_a_corner;
4309
else
4310
goto is_not_a_corner;
4311
else
4312
if(ptr[offset8] < c_b)
4313
if(ptr[offset10] < c_b)
4314
if(ptr[offset11] < c_b)
4315
goto is_a_corner;
4316
else
4317
goto is_not_a_corner;
4318
else
4319
goto is_not_a_corner;
4320
else
4321
goto is_not_a_corner;
4322
else
4323
goto is_not_a_corner;
4324
else
4325
if(ptr[offset6] > cb)
4326
goto is_not_a_corner;
4327
else
4328
if(ptr[offset6] < c_b)
4329
if(ptr[offset8] < c_b)
4330
if(ptr[offset4] < c_b)
4331
if(ptr[offset3] < c_b)
4332
goto is_a_corner;
4333
else
4334
if(ptr[offset10] < c_b)
4335
goto is_a_corner;
4336
else
4337
goto is_not_a_corner;
4338
else
4339
if(ptr[offset10] < c_b)
4340
if(ptr[offset11] < c_b)
4341
goto is_a_corner;
4342
else
4343
goto is_not_a_corner;
4344
else
4345
goto is_not_a_corner;
4346
else
4347
goto is_not_a_corner;
4348
else
4349
goto is_not_a_corner;
4350
else
4351
if(ptr[offset2] > cb)
4352
if(ptr[offset1] < c_b)
4353
if(ptr[offset6] > cb)
4354
goto is_not_a_corner;
4355
else
4356
if(ptr[offset6] < c_b)
4357
if(ptr[offset8] < c_b)
4358
if(ptr[offset4] < c_b)
4359
if(ptr[offset3] < c_b)
4360
goto is_a_corner;
4361
else
4362
if(ptr[offset10] < c_b)
4363
goto is_a_corner;
4364
else
4365
goto is_not_a_corner;
4366
else
4367
if(ptr[offset10] < c_b)
4368
if(ptr[offset11] < c_b)
4369
goto is_a_corner;
4370
else
4371
goto is_not_a_corner;
4372
else
4373
goto is_not_a_corner;
4374
else
4375
goto is_not_a_corner;
4376
else
4377
goto is_not_a_corner;
4378
else
4379
if(ptr[offset1] > cb)
4380
if(ptr[offset6] > cb)
4381
if(ptr[offset3] > cb)
4382
if(ptr[offset4] > cb)
4383
if(ptr[offset10] > cb)
4384
if(ptr[offset11] > cb)
4385
goto is_a_corner;
4386
else
4387
goto is_not_a_corner;
4388
else
4389
goto is_not_a_corner;
4390
else
4391
goto is_not_a_corner;
4392
else
4393
goto is_not_a_corner;
4394
else
4395
if(ptr[offset6] < c_b)
4396
if(ptr[offset4] > cb)
4397
if(ptr[offset10] > cb)
4398
if(ptr[offset3] > cb)
4399
if(ptr[offset11] > cb)
4400
goto is_a_corner;
4401
else
4402
goto is_not_a_corner;
4403
else
4404
goto is_not_a_corner;
4405
else
4406
if(ptr[offset8] < c_b)
4407
if(ptr[offset11] < c_b)
4408
if(ptr[offset10] < c_b)
4409
goto is_a_corner;
4410
else
4411
goto is_not_a_corner;
4412
else
4413
goto is_not_a_corner;
4414
else
4415
goto is_not_a_corner;
4416
else
4417
if(ptr[offset8] < c_b)
4418
if(ptr[offset10] < c_b)
4419
if(ptr[offset4] < c_b)
4420
goto is_a_corner;
4421
else
4422
if(ptr[offset11] < c_b)
4423
goto is_a_corner;
4424
else
4425
goto is_not_a_corner;
4426
else
4427
if(ptr[offset3] < c_b)
4428
if(ptr[offset4] < c_b)
4429
goto is_a_corner;
4430
else
4431
goto is_not_a_corner;
4432
else
4433
goto is_not_a_corner;
4434
else
4435
goto is_not_a_corner;
4436
else
4437
if(ptr[offset3] > cb)
4438
if(ptr[offset4] > cb)
4439
if(ptr[offset10] > cb)
4440
if(ptr[offset11] > cb)
4441
goto is_a_corner;
4442
else
4443
goto is_not_a_corner;
4444
else
4445
goto is_not_a_corner;
4446
else
4447
goto is_not_a_corner;
4448
else
4449
goto is_not_a_corner;
4450
else
4451
if(ptr[offset6] > cb)
4452
goto is_not_a_corner;
4453
else
4454
if(ptr[offset6] < c_b)
4455
if(ptr[offset8] < c_b)
4456
if(ptr[offset4] < c_b)
4457
if(ptr[offset3] < c_b)
4458
goto is_a_corner;
4459
else
4460
if(ptr[offset10] < c_b)
4461
goto is_a_corner;
4462
else
4463
goto is_not_a_corner;
4464
else
4465
if(ptr[offset10] < c_b)
4466
if(ptr[offset11] < c_b)
4467
goto is_a_corner;
4468
else
4469
goto is_not_a_corner;
4470
else
4471
goto is_not_a_corner;
4472
else
4473
goto is_not_a_corner;
4474
else
4475
goto is_not_a_corner;
4476
else
4477
if(ptr[offset1] > cb)
4478
if(ptr[offset6] > cb)
4479
goto is_not_a_corner;
4480
else
4481
if(ptr[offset6] < c_b)
4482
if(ptr[offset8] < c_b)
4483
if(ptr[offset4] < c_b)
4484
if(ptr[offset3] < c_b)
4485
goto is_a_corner;
4486
else
4487
if(ptr[offset10] < c_b)
4488
goto is_a_corner;
4489
else
4490
goto is_not_a_corner;
4491
else
4492
if(ptr[offset10] < c_b)
4493
if(ptr[offset11] < c_b)
4494
goto is_a_corner;
4495
else
4496
goto is_not_a_corner;
4497
else
4498
goto is_not_a_corner;
4499
else
4500
goto is_not_a_corner;
4501
else
4502
goto is_not_a_corner;
4503
else
4504
if(ptr[offset1] < c_b)
4505
if(ptr[offset6] > cb)
4506
goto is_not_a_corner;
4507
else
4508
if(ptr[offset6] < c_b)
4509
if(ptr[offset8] < c_b)
4510
if(ptr[offset4] < c_b)
4511
if(ptr[offset3] < c_b)
4512
goto is_a_corner;
4513
else
4514
if(ptr[offset10] < c_b)
4515
goto is_a_corner;
4516
else
4517
goto is_not_a_corner;
4518
else
4519
if(ptr[offset10] < c_b)
4520
if(ptr[offset11] < c_b)
4521
goto is_a_corner;
4522
else
4523
goto is_not_a_corner;
4524
else
4525
goto is_not_a_corner;
4526
else
4527
goto is_not_a_corner;
4528
else
4529
goto is_not_a_corner;
4530
else
4531
if(ptr[offset6] > cb)
4532
goto is_not_a_corner;
4533
else
4534
if(ptr[offset6] < c_b)
4535
if(ptr[offset8] < c_b)
4536
if(ptr[offset4] < c_b)
4537
if(ptr[offset3] < c_b)
4538
goto is_a_corner;
4539
else
4540
if(ptr[offset10] < c_b)
4541
goto is_a_corner;
4542
else
4543
goto is_not_a_corner;
4544
else
4545
if(ptr[offset10] < c_b)
4546
if(ptr[offset11] < c_b)
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[offset2] < c_b)
4558
goto is_not_a_corner;
4559
else
4560
if(ptr[offset2] > cb)
4561
if(ptr[offset1] < c_b)
4562
goto is_not_a_corner;
4563
else
4564
if(ptr[offset1] > cb)
4565
if(ptr[offset6] > cb)
4566
if(ptr[offset3] > cb)
4567
if(ptr[offset4] > cb)
4568
if(ptr[offset10] > cb)
4569
if(ptr[offset11] > cb)
4570
goto is_a_corner;
4571
else
4572
goto is_not_a_corner;
4573
else
4574
goto is_not_a_corner;
4575
else
4576
goto is_not_a_corner;
4577
else
4578
goto is_not_a_corner;
4579
else
4580
if(ptr[offset6] < c_b)
4581
if(ptr[offset3] > cb)
4582
if(ptr[offset4] > cb)
4583
if(ptr[offset10] > cb)
4584
if(ptr[offset11] > cb)
4585
goto is_a_corner;
4586
else
4587
goto is_not_a_corner;
4588
else
4589
goto is_not_a_corner;
4590
else
4591
goto is_not_a_corner;
4592
else
4593
goto is_not_a_corner;
4594
else
4595
if(ptr[offset3] > cb)
4596
if(ptr[offset4] > cb)
4597
if(ptr[offset10] > cb)
4598
if(ptr[offset11] > cb)
4599
goto is_a_corner;
4600
else
4601
goto is_not_a_corner;
4602
else
4603
goto is_not_a_corner;
4604
else
4605
goto is_not_a_corner;
4606
else
4607
goto is_not_a_corner;
4608
else
4609
goto is_not_a_corner;
4610
else
4611
goto is_not_a_corner;
4612
else
4613
if(ptr[offset9] > cb)
4614
if(ptr[offset7] < c_b)
4615
if(ptr[offset2] > cb)
4616
if(ptr[offset1] < c_b)
4617
goto is_not_a_corner;
4618
else
4619
if(ptr[offset1] > cb)
4620
if(ptr[offset6] > cb)
4621
if(ptr[offset10] > cb)
4622
if(ptr[offset11] > cb)
4623
if(ptr[offset3] > cb)
4624
goto is_a_corner;
4625
else
4626
if(ptr[offset8] > cb)
4627
goto is_a_corner;
4628
else
4629
goto is_not_a_corner;
4630
else
4631
goto is_not_a_corner;
4632
else
4633
goto is_not_a_corner;
4634
else
4635
if(ptr[offset6] < c_b)
4636
if(ptr[offset10] > cb)
4637
if(ptr[offset11] > cb)
4638
if(ptr[offset3] > cb)
4639
goto is_a_corner;
4640
else
4641
if(ptr[offset8] > cb)
4642
goto is_a_corner;
4643
else
4644
goto is_not_a_corner;
4645
else
4646
goto is_not_a_corner;
4647
else
4648
goto is_not_a_corner;
4649
else
4650
if(ptr[offset10] > cb)
4651
if(ptr[offset11] > cb)
4652
if(ptr[offset3] > cb)
4653
goto is_a_corner;
4654
else
4655
if(ptr[offset8] > cb)
4656
goto is_a_corner;
4657
else
4658
goto is_not_a_corner;
4659
else
4660
goto is_not_a_corner;
4661
else
4662
goto is_not_a_corner;
4663
else
4664
goto is_not_a_corner;
4665
else
4666
if(ptr[offset2] < c_b)
4667
if(ptr[offset1] < c_b)
4668
if(ptr[offset6] > cb)
4669
goto is_not_a_corner;
4670
else
4671
if(ptr[offset6] < c_b)
4672
if(ptr[offset3] < c_b)
4673
if(ptr[offset4] < c_b)
4674
goto is_a_corner;
4675
else
4676
goto is_not_a_corner;
4677
else
4678
goto is_not_a_corner;
4679
else
4680
goto is_not_a_corner;
4681
else
4682
if(ptr[offset1] > cb)
4683
if(ptr[offset6] > cb)
4684
goto is_not_a_corner;
4685
else
4686
if(ptr[offset6] < c_b)
4687
if(ptr[offset3] < c_b)
4688
if(ptr[offset4] < c_b)
4689
if(ptr[offset8] < c_b)
4690
goto is_a_corner;
4691
else
4692
goto is_not_a_corner;
4693
else
4694
goto is_not_a_corner;
4695
else
4696
goto is_not_a_corner;
4697
else
4698
goto is_not_a_corner;
4699
else
4700
if(ptr[offset6] > cb)
4701
goto is_not_a_corner;
4702
else
4703
if(ptr[offset6] < c_b)
4704
if(ptr[offset3] < c_b)
4705
if(ptr[offset4] < c_b)
4706
if(ptr[offset8] < c_b)
4707
goto is_a_corner;
4708
else
4709
goto is_not_a_corner;
4710
else
4711
goto is_not_a_corner;
4712
else
4713
goto is_not_a_corner;
4714
else
4715
goto is_not_a_corner;
4716
else
4717
goto is_not_a_corner;
4718
else
4719
if(ptr[offset7] > cb)
4720
if(ptr[offset2] < c_b)
4721
if(ptr[offset1] < c_b)
4722
if(ptr[offset6] < c_b)
4723
goto is_not_a_corner;
4724
else
4725
if(ptr[offset6] > cb)
4726
if(ptr[offset8] > cb)
4727
if(ptr[offset10] > cb)
4728
if(ptr[offset11] > cb)
4729
goto is_a_corner;
4730
else
4731
goto is_not_a_corner;
4732
else
4733
goto is_not_a_corner;
4734
else
4735
goto is_not_a_corner;
4736
else
4737
goto is_not_a_corner;
4738
else
4739
if(ptr[offset1] > cb)
4740
if(ptr[offset6] > cb)
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
if(ptr[offset8] > cb)
4754
if(ptr[offset10] > cb)
4755
if(ptr[offset11] > cb)
4756
goto is_a_corner;
4757
else
4758
goto is_not_a_corner;
4759
else
4760
goto is_not_a_corner;
4761
else
4762
goto is_not_a_corner;
4763
else
4764
if(ptr[offset8] > cb)
4765
if(ptr[offset10] > cb)
4766
if(ptr[offset11] > cb)
4767
goto is_a_corner;
4768
else
4769
goto is_not_a_corner;
4770
else
4771
goto is_not_a_corner;
4772
else
4773
goto is_not_a_corner;
4774
else
4775
if(ptr[offset6] < c_b)
4776
goto is_not_a_corner;
4777
else
4778
if(ptr[offset6] > cb)
4779
if(ptr[offset8] > cb)
4780
if(ptr[offset10] > cb)
4781
if(ptr[offset11] > cb)
4782
goto is_a_corner;
4783
else
4784
goto is_not_a_corner;
4785
else
4786
goto is_not_a_corner;
4787
else
4788
goto is_not_a_corner;
4789
else
4790
goto is_not_a_corner;
4791
else
4792
if(ptr[offset2] > cb)
4793
if(ptr[offset1] < c_b)
4794
if(ptr[offset6] < c_b)
4795
goto is_not_a_corner;
4796
else
4797
if(ptr[offset6] > cb)
4798
if(ptr[offset8] > cb)
4799
if(ptr[offset10] > cb)
4800
if(ptr[offset11] > cb)
4801
goto is_a_corner;
4802
else
4803
goto is_not_a_corner;
4804
else
4805
goto is_not_a_corner;
4806
else
4807
goto is_not_a_corner;
4808
else
4809
goto is_not_a_corner;
4810
else
4811
if(ptr[offset1] > cb)
4812
if(ptr[offset6] > cb)
4813
if(ptr[offset10] > cb)
4814
if(ptr[offset11] > cb)
4815
if(ptr[offset3] > cb)
4816
goto is_a_corner;
4817
else
4818
if(ptr[offset8] > cb)
4819
goto is_a_corner;
4820
else
4821
goto is_not_a_corner;
4822
else
4823
goto is_not_a_corner;
4824
else
4825
goto is_not_a_corner;
4826
else
4827
if(ptr[offset6] < c_b)
4828
if(ptr[offset10] > cb)
4829
if(ptr[offset11] > cb)
4830
if(ptr[offset3] > cb)
4831
goto is_a_corner;
4832
else
4833
if(ptr[offset8] > cb)
4834
goto is_a_corner;
4835
else
4836
goto is_not_a_corner;
4837
else
4838
goto is_not_a_corner;
4839
else
4840
goto is_not_a_corner;
4841
else
4842
if(ptr[offset10] > cb)
4843
if(ptr[offset11] > cb)
4844
if(ptr[offset3] > cb)
4845
goto is_a_corner;
4846
else
4847
if(ptr[offset8] > cb)
4848
goto is_a_corner;
4849
else
4850
goto is_not_a_corner;
4851
else
4852
goto is_not_a_corner;
4853
else
4854
goto is_not_a_corner;
4855
else
4856
if(ptr[offset6] < c_b)
4857
goto is_not_a_corner;
4858
else
4859
if(ptr[offset6] > cb)
4860
if(ptr[offset8] > cb)
4861
if(ptr[offset10] > cb)
4862
if(ptr[offset11] > cb)
4863
goto is_a_corner;
4864
else
4865
goto is_not_a_corner;
4866
else
4867
goto is_not_a_corner;
4868
else
4869
goto is_not_a_corner;
4870
else
4871
goto is_not_a_corner;
4872
else
4873
if(ptr[offset1] < c_b)
4874
if(ptr[offset6] < c_b)
4875
goto is_not_a_corner;
4876
else
4877
if(ptr[offset6] > cb)
4878
if(ptr[offset8] > cb)
4879
if(ptr[offset10] > cb)
4880
if(ptr[offset11] > cb)
4881
goto is_a_corner;
4882
else
4883
goto is_not_a_corner;
4884
else
4885
goto is_not_a_corner;
4886
else
4887
goto is_not_a_corner;
4888
else
4889
goto is_not_a_corner;
4890
else
4891
if(ptr[offset1] > cb)
4892
if(ptr[offset6] > cb)
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
if(ptr[offset8] > cb)
4906
if(ptr[offset10] > cb)
4907
if(ptr[offset11] > cb)
4908
goto is_a_corner;
4909
else
4910
goto is_not_a_corner;
4911
else
4912
goto is_not_a_corner;
4913
else
4914
goto is_not_a_corner;
4915
else
4916
if(ptr[offset8] > cb)
4917
if(ptr[offset10] > cb)
4918
if(ptr[offset11] > cb)
4919
goto is_a_corner;
4920
else
4921
goto is_not_a_corner;
4922
else
4923
goto is_not_a_corner;
4924
else
4925
goto is_not_a_corner;
4926
else
4927
if(ptr[offset6] < c_b)
4928
goto is_not_a_corner;
4929
else
4930
if(ptr[offset6] > cb)
4931
if(ptr[offset8] > cb)
4932
if(ptr[offset10] > cb)
4933
if(ptr[offset11] > cb)
4934
goto is_a_corner;
4935
else
4936
goto is_not_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[offset2] < c_b)
4945
goto is_not_a_corner;
4946
else
4947
if(ptr[offset2] > cb)
4948
if(ptr[offset1] < c_b)
4949
goto is_not_a_corner;
4950
else
4951
if(ptr[offset1] > cb)
4952
if(ptr[offset6] > cb)
4953
if(ptr[offset10] > cb)
4954
if(ptr[offset11] > cb)
4955
if(ptr[offset3] > cb)
4956
goto is_a_corner;
4957
else
4958
if(ptr[offset8] > cb)
4959
goto is_a_corner;
4960
else
4961
goto is_not_a_corner;
4962
else
4963
goto is_not_a_corner;
4964
else
4965
goto is_not_a_corner;
4966
else
4967
if(ptr[offset6] < c_b)
4968
if(ptr[offset10] > cb)
4969
if(ptr[offset11] > cb)
4970
if(ptr[offset3] > cb)
4971
goto is_a_corner;
4972
else
4973
if(ptr[offset8] > cb)
4974
goto is_a_corner;
4975
else
4976
goto is_not_a_corner;
4977
else
4978
goto is_not_a_corner;
4979
else
4980
goto is_not_a_corner;
4981
else
4982
if(ptr[offset10] > cb)
4983
if(ptr[offset11] > cb)
4984
if(ptr[offset3] > cb)
4985
goto is_a_corner;
4986
else
4987
if(ptr[offset8] > cb)
4988
goto is_a_corner;
4989
else
4990
goto is_not_a_corner;
4991
else
4992
goto is_not_a_corner;
4993
else
4994
goto is_not_a_corner;
4995
else
4996
goto is_not_a_corner;
4997
else
4998
goto is_not_a_corner;
4999
else
5000
if(ptr[offset2] < c_b)
5001
if(ptr[offset7] > cb)
5002
goto is_not_a_corner;
5003
else
5004
if(ptr[offset7] < c_b)
5005
if(ptr[offset1] < c_b)
5006
if(ptr[offset6] > cb)
5007
goto is_not_a_corner;
5008
else
5009
if(ptr[offset6] < c_b)
5010
if(ptr[offset3] < c_b)
5011
if(ptr[offset4] < c_b)
5012
goto is_a_corner;
5013
else
5014
goto is_not_a_corner;
5015
else
5016
goto is_not_a_corner;
5017
else
5018
goto is_not_a_corner;
5019
else
5020
if(ptr[offset1] > cb)
5021
if(ptr[offset6] > cb)
5022
goto is_not_a_corner;
5023
else
5024
if(ptr[offset6] < c_b)
5025
if(ptr[offset3] < c_b)
5026
if(ptr[offset4] < c_b)
5027
if(ptr[offset8] < c_b)
5028
goto is_a_corner;
5029
else
5030
goto is_not_a_corner;
5031
else
5032
goto is_not_a_corner;
5033
else
5034
goto is_not_a_corner;
5035
else
5036
goto is_not_a_corner;
5037
else
5038
if(ptr[offset6] > cb)
5039
goto is_not_a_corner;
5040
else
5041
if(ptr[offset6] < c_b)
5042
if(ptr[offset3] < c_b)
5043
if(ptr[offset4] < c_b)
5044
if(ptr[offset8] < c_b)
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
goto is_not_a_corner;
5056
else
5057
if(ptr[offset2] > cb)
5058
if(ptr[offset7] > cb)
5059
if(ptr[offset1] < c_b)
5060
goto is_not_a_corner;
5061
else
5062
if(ptr[offset1] > cb)
5063
if(ptr[offset6] > cb)
5064
if(ptr[offset3] > cb)
5065
if(ptr[offset4] > cb)
5066
if(ptr[offset10] > cb)
5067
if(ptr[offset11] > cb)
5068
goto is_a_corner;
5069
else
5070
goto is_not_a_corner;
5071
else
5072
goto is_not_a_corner;
5073
else
5074
goto is_not_a_corner;
5075
else
5076
goto is_not_a_corner;
5077
else
5078
if(ptr[offset6] < c_b)
5079
if(ptr[offset3] > cb)
5080
if(ptr[offset4] > cb)
5081
if(ptr[offset10] > cb)
5082
if(ptr[offset11] > cb)
5083
goto is_a_corner;
5084
else
5085
goto is_not_a_corner;
5086
else
5087
goto is_not_a_corner;
5088
else
5089
goto is_not_a_corner;
5090
else
5091
goto is_not_a_corner;
5092
else
5093
if(ptr[offset3] > cb)
5094
if(ptr[offset4] > cb)
5095
if(ptr[offset10] > cb)
5096
if(ptr[offset11] > cb)
5097
goto is_a_corner;
5098
else
5099
goto is_not_a_corner;
5100
else
5101
goto is_not_a_corner;
5102
else
5103
goto is_not_a_corner;
5104
else
5105
goto is_not_a_corner;
5106
else
5107
goto is_not_a_corner;
5108
else
5109
if(ptr[offset7] < c_b)
5110
if(ptr[offset1] < c_b)
5111
goto is_not_a_corner;
5112
else
5113
if(ptr[offset1] > cb)
5114
if(ptr[offset6] > cb)
5115
if(ptr[offset3] > cb)
5116
if(ptr[offset4] > cb)
5117
if(ptr[offset10] > cb)
5118
if(ptr[offset11] > cb)
5119
goto is_a_corner;
5120
else
5121
goto is_not_a_corner;
5122
else
5123
goto is_not_a_corner;
5124
else
5125
goto is_not_a_corner;
5126
else
5127
goto is_not_a_corner;
5128
else
5129
if(ptr[offset6] < c_b)
5130
if(ptr[offset3] > cb)
5131
if(ptr[offset4] > cb)
5132
if(ptr[offset10] > cb)
5133
if(ptr[offset11] > cb)
5134
goto is_a_corner;
5135
else
5136
goto is_not_a_corner;
5137
else
5138
goto is_not_a_corner;
5139
else
5140
goto is_not_a_corner;
5141
else
5142
goto is_not_a_corner;
5143
else
5144
if(ptr[offset3] > cb)
5145
if(ptr[offset4] > cb)
5146
if(ptr[offset10] > cb)
5147
if(ptr[offset11] > cb)
5148
goto is_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
goto is_not_a_corner;
5157
else
5158
goto is_not_a_corner;
5159
else
5160
if(ptr[offset1] < c_b)
5161
goto is_not_a_corner;
5162
else
5163
if(ptr[offset1] > cb)
5164
if(ptr[offset6] > cb)
5165
if(ptr[offset3] > cb)
5166
if(ptr[offset4] > cb)
5167
if(ptr[offset10] > cb)
5168
if(ptr[offset11] > cb)
5169
goto is_a_corner;
5170
else
5171
goto is_not_a_corner;
5172
else
5173
goto is_not_a_corner;
5174
else
5175
goto is_not_a_corner;
5176
else
5177
goto is_not_a_corner;
5178
else
5179
if(ptr[offset6] < c_b)
5180
if(ptr[offset3] > cb)
5181
if(ptr[offset4] > cb)
5182
if(ptr[offset10] > cb)
5183
if(ptr[offset11] > cb)
5184
goto is_a_corner;
5185
else
5186
goto is_not_a_corner;
5187
else
5188
goto is_not_a_corner;
5189
else
5190
goto is_not_a_corner;
5191
else
5192
goto is_not_a_corner;
5193
else
5194
if(ptr[offset3] > cb)
5195
if(ptr[offset4] > cb)
5196
if(ptr[offset10] > cb)
5197
if(ptr[offset11] > cb)
5198
goto is_a_corner;
5199
else
5200
goto is_not_a_corner;
5201
else
5202
goto is_not_a_corner;
5203
else
5204
goto is_not_a_corner;
5205
else
5206
goto is_not_a_corner;
5207
else
5208
goto is_not_a_corner;
5209
else
5210
goto is_not_a_corner;
5211
else
5212
if(ptr[offset2] < c_b)
5213
if(ptr[offset7] > cb)
5214
if(ptr[offset9] < c_b)
5215
goto is_not_a_corner;
5216
else
5217
if(ptr[offset9] > cb)
5218
if(ptr[offset1] < c_b)
5219
if(ptr[offset6] < c_b)
5220
goto is_not_a_corner;
5221
else
5222
if(ptr[offset6] > cb)
5223
if(ptr[offset8] > cb)
5224
if(ptr[offset10] > cb)
5225
if(ptr[offset11] > cb)
5226
goto is_a_corner;
5227
else
5228
goto is_not_a_corner;
5229
else
5230
goto is_not_a_corner;
5231
else
5232
goto is_not_a_corner;
5233
else
5234
goto is_not_a_corner;
5235
else
5236
if(ptr[offset1] > cb)
5237
if(ptr[offset6] > cb)
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
if(ptr[offset8] > cb)
5251
if(ptr[offset10] > cb)
5252
if(ptr[offset11] > cb)
5253
goto is_a_corner;
5254
else
5255
goto is_not_a_corner;
5256
else
5257
goto is_not_a_corner;
5258
else
5259
goto is_not_a_corner;
5260
else
5261
if(ptr[offset8] > cb)
5262
if(ptr[offset10] > cb)
5263
if(ptr[offset11] > cb)
5264
goto is_a_corner;
5265
else
5266
goto is_not_a_corner;
5267
else
5268
goto is_not_a_corner;
5269
else
5270
goto is_not_a_corner;
5271
else
5272
if(ptr[offset6] < c_b)
5273
goto is_not_a_corner;
5274
else
5275
if(ptr[offset6] > cb)
5276
if(ptr[offset8] > cb)
5277
if(ptr[offset10] > cb)
5278
if(ptr[offset11] > cb)
5279
goto is_a_corner;
5280
else
5281
goto is_not_a_corner;
5282
else
5283
goto is_not_a_corner;
5284
else
5285
goto is_not_a_corner;
5286
else
5287
goto is_not_a_corner;
5288
else
5289
goto is_not_a_corner;
5290
else
5291
goto is_not_a_corner;
5292
else
5293
if(ptr[offset2] > cb)
5294
if(ptr[offset7] < c_b)
5295
if(ptr[offset9] < c_b)
5296
if(ptr[offset1] < c_b)
5297
goto is_not_a_corner;
5298
else
5299
if(ptr[offset1] > cb)
5300
if(ptr[offset6] > cb)
5301
if(ptr[offset3] > cb)
5302
if(ptr[offset4] > cb)
5303
if(ptr[offset10] > cb)
5304
if(ptr[offset11] > cb)
5305
goto is_a_corner;
5306
else
5307
goto is_not_a_corner;
5308
else
5309
goto is_not_a_corner;
5310
else
5311
goto is_not_a_corner;
5312
else
5313
goto is_not_a_corner;
5314
else
5315
if(ptr[offset6] < c_b)
5316
if(ptr[offset3] > cb)
5317
if(ptr[offset4] > cb)
5318
if(ptr[offset10] > cb)
5319
if(ptr[offset11] > cb)
5320
goto is_a_corner;
5321
else
5322
goto is_not_a_corner;
5323
else
5324
goto is_not_a_corner;
5325
else
5326
goto is_not_a_corner;
5327
else
5328
goto is_not_a_corner;
5329
else
5330
if(ptr[offset3] > cb)
5331
if(ptr[offset4] > cb)
5332
if(ptr[offset10] > cb)
5333
if(ptr[offset11] > cb)
5334
goto is_a_corner;
5335
else
5336
goto is_not_a_corner;
5337
else
5338
goto is_not_a_corner;
5339
else
5340
goto is_not_a_corner;
5341
else
5342
goto is_not_a_corner;
5343
else
5344
goto is_not_a_corner;
5345
else
5346
if(ptr[offset9] > cb)
5347
if(ptr[offset1] < c_b)
5348
goto is_not_a_corner;
5349
else
5350
if(ptr[offset1] > cb)
5351
if(ptr[offset6] > cb)
5352
if(ptr[offset10] > cb)
5353
if(ptr[offset11] > cb)
5354
if(ptr[offset3] > cb)
5355
goto is_a_corner;
5356
else
5357
if(ptr[offset8] > cb)
5358
goto is_a_corner;
5359
else
5360
goto is_not_a_corner;
5361
else
5362
goto is_not_a_corner;
5363
else
5364
goto is_not_a_corner;
5365
else
5366
if(ptr[offset6] < c_b)
5367
if(ptr[offset10] > cb)
5368
if(ptr[offset11] > cb)
5369
if(ptr[offset3] > cb)
5370
goto is_a_corner;
5371
else
5372
if(ptr[offset8] > cb)
5373
goto is_a_corner;
5374
else
5375
goto is_not_a_corner;
5376
else
5377
goto is_not_a_corner;
5378
else
5379
goto is_not_a_corner;
5380
else
5381
if(ptr[offset10] > cb)
5382
if(ptr[offset11] > cb)
5383
if(ptr[offset3] > cb)
5384
goto is_a_corner;
5385
else
5386
if(ptr[offset8] > cb)
5387
goto is_a_corner;
5388
else
5389
goto is_not_a_corner;
5390
else
5391
goto is_not_a_corner;
5392
else
5393
goto is_not_a_corner;
5394
else
5395
goto is_not_a_corner;
5396
else
5397
if(ptr[offset1] < c_b)
5398
goto is_not_a_corner;
5399
else
5400
if(ptr[offset1] > cb)
5401
if(ptr[offset6] > cb)
5402
if(ptr[offset3] > cb)
5403
if(ptr[offset4] > cb)
5404
if(ptr[offset10] > cb)
5405
if(ptr[offset11] > cb)
5406
goto is_a_corner;
5407
else
5408
goto is_not_a_corner;
5409
else
5410
goto is_not_a_corner;
5411
else
5412
goto is_not_a_corner;
5413
else
5414
goto is_not_a_corner;
5415
else
5416
if(ptr[offset6] < c_b)
5417
if(ptr[offset3] > cb)
5418
if(ptr[offset4] > cb)
5419
if(ptr[offset10] > cb)
5420
if(ptr[offset11] > cb)
5421
goto is_a_corner;
5422
else
5423
goto is_not_a_corner;
5424
else
5425
goto is_not_a_corner;
5426
else
5427
goto is_not_a_corner;
5428
else
5429
goto is_not_a_corner;
5430
else
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
goto is_not_a_corner;
5446
else
5447
if(ptr[offset9] < c_b)
5448
if(ptr[offset7] > cb)
5449
if(ptr[offset1] < c_b)
5450
goto is_not_a_corner;
5451
else
5452
if(ptr[offset1] > cb)
5453
if(ptr[offset6] > cb)
5454
if(ptr[offset3] > cb)
5455
if(ptr[offset4] > cb)
5456
if(ptr[offset10] > cb)
5457
if(ptr[offset11] > cb)
5458
goto is_a_corner;
5459
else
5460
goto is_not_a_corner;
5461
else
5462
goto is_not_a_corner;
5463
else
5464
goto is_not_a_corner;
5465
else
5466
goto is_not_a_corner;
5467
else
5468
if(ptr[offset6] < c_b)
5469
if(ptr[offset3] > cb)
5470
if(ptr[offset4] > cb)
5471
if(ptr[offset10] > cb)
5472
if(ptr[offset11] > cb)
5473
goto is_a_corner;
5474
else
5475
goto is_not_a_corner;
5476
else
5477
goto is_not_a_corner;
5478
else
5479
goto is_not_a_corner;
5480
else
5481
goto is_not_a_corner;
5482
else
5483
if(ptr[offset3] > cb)
5484
if(ptr[offset4] > cb)
5485
if(ptr[offset10] > cb)
5486
if(ptr[offset11] > cb)
5487
goto is_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
goto is_not_a_corner;
5496
else
5497
goto is_not_a_corner;
5498
else
5499
if(ptr[offset1] < c_b)
5500
goto is_not_a_corner;
5501
else
5502
if(ptr[offset1] > cb)
5503
if(ptr[offset6] > cb)
5504
if(ptr[offset3] > cb)
5505
if(ptr[offset4] > cb)
5506
if(ptr[offset10] > cb)
5507
if(ptr[offset11] > cb)
5508
goto is_a_corner;
5509
else
5510
goto is_not_a_corner;
5511
else
5512
goto is_not_a_corner;
5513
else
5514
goto is_not_a_corner;
5515
else
5516
goto is_not_a_corner;
5517
else
5518
if(ptr[offset6] < c_b)
5519
if(ptr[offset3] > cb)
5520
if(ptr[offset4] > cb)
5521
if(ptr[offset10] > cb)
5522
if(ptr[offset11] > cb)
5523
goto is_a_corner;
5524
else
5525
goto is_not_a_corner;
5526
else
5527
goto is_not_a_corner;
5528
else
5529
goto is_not_a_corner;
5530
else
5531
goto is_not_a_corner;
5532
else
5533
if(ptr[offset3] > cb)
5534
if(ptr[offset4] > cb)
5535
if(ptr[offset10] > cb)
5536
if(ptr[offset11] > cb)
5537
goto is_a_corner;
5538
else
5539
goto is_not_a_corner;
5540
else
5541
goto is_not_a_corner;
5542
else
5543
goto is_not_a_corner;
5544
else
5545
goto is_not_a_corner;
5546
else
5547
goto is_not_a_corner;
5548
else
5549
if(ptr[offset7] > cb)
5550
if(ptr[offset9] > cb)
5551
if(ptr[offset1] < c_b)
5552
if(ptr[offset6] < c_b)
5553
goto is_not_a_corner;
5554
else
5555
if(ptr[offset6] > cb)
5556
if(ptr[offset8] > cb)
5557
if(ptr[offset10] > cb)
5558
if(ptr[offset11] > cb)
5559
goto is_a_corner;
5560
else
5561
goto is_not_a_corner;
5562
else
5563
goto is_not_a_corner;
5564
else
5565
goto is_not_a_corner;
5566
else
5567
goto is_not_a_corner;
5568
else
5569
if(ptr[offset1] > cb)
5570
if(ptr[offset6] > cb)
5571
if(ptr[offset10] > cb)
5572
if(ptr[offset11] > cb)
5573
if(ptr[offset3] > cb)
5574
goto is_a_corner;
5575
else
5576
if(ptr[offset8] > cb)
5577
goto is_a_corner;
5578
else
5579
goto is_not_a_corner;
5580
else
5581
goto is_not_a_corner;
5582
else
5583
goto is_not_a_corner;
5584
else
5585
if(ptr[offset6] < c_b)
5586
if(ptr[offset10] > cb)
5587
if(ptr[offset11] > cb)
5588
if(ptr[offset3] > cb)
5589
goto is_a_corner;
5590
else
5591
if(ptr[offset8] > cb)
5592
goto is_a_corner;
5593
else
5594
goto is_not_a_corner;
5595
else
5596
goto is_not_a_corner;
5597
else
5598
goto is_not_a_corner;
5599
else
5600
if(ptr[offset10] > cb)
5601
if(ptr[offset11] > cb)
5602
if(ptr[offset3] > cb)
5603
goto is_a_corner;
5604
else
5605
if(ptr[offset8] > cb)
5606
goto is_a_corner;
5607
else
5608
goto is_not_a_corner;
5609
else
5610
goto is_not_a_corner;
5611
else
5612
goto is_not_a_corner;
5613
else
5614
if(ptr[offset6] < c_b)
5615
goto is_not_a_corner;
5616
else
5617
if(ptr[offset6] > cb)
5618
if(ptr[offset8] > cb)
5619
if(ptr[offset10] > cb)
5620
if(ptr[offset11] > cb)
5621
goto is_a_corner;
5622
else
5623
goto is_not_a_corner;
5624
else
5625
goto is_not_a_corner;
5626
else
5627
goto is_not_a_corner;
5628
else
5629
goto is_not_a_corner;
5630
else
5631
if(ptr[offset1] < c_b)
5632
goto is_not_a_corner;
5633
else
5634
if(ptr[offset1] > cb)
5635
if(ptr[offset6] > cb)
5636
if(ptr[offset3] > cb)
5637
if(ptr[offset4] > cb)
5638
if(ptr[offset10] > cb)
5639
if(ptr[offset11] > cb)
5640
goto is_a_corner;
5641
else
5642
goto is_not_a_corner;
5643
else
5644
goto is_not_a_corner;
5645
else
5646
goto is_not_a_corner;
5647
else
5648
goto is_not_a_corner;
5649
else
5650
if(ptr[offset6] < c_b)
5651
if(ptr[offset3] > cb)
5652
if(ptr[offset4] > cb)
5653
if(ptr[offset10] > cb)
5654
if(ptr[offset11] > cb)
5655
goto is_a_corner;
5656
else
5657
goto is_not_a_corner;
5658
else
5659
goto is_not_a_corner;
5660
else
5661
goto is_not_a_corner;
5662
else
5663
goto is_not_a_corner;
5664
else
5665
if(ptr[offset3] > cb)
5666
if(ptr[offset4] > cb)
5667
if(ptr[offset10] > cb)
5668
if(ptr[offset11] > cb)
5669
goto is_a_corner;
5670
else
5671
goto is_not_a_corner;
5672
else
5673
goto is_not_a_corner;
5674
else
5675
goto is_not_a_corner;
5676
else
5677
goto is_not_a_corner;
5678
else
5679
goto is_not_a_corner;
5680
else
5681
if(ptr[offset9] > cb)
5682
if(ptr[offset1] < c_b)
5683
goto is_not_a_corner;
5684
else
5685
if(ptr[offset1] > cb)
5686
if(ptr[offset6] > cb)
5687
if(ptr[offset10] > cb)
5688
if(ptr[offset11] > cb)
5689
if(ptr[offset3] > cb)
5690
goto is_a_corner;
5691
else
5692
if(ptr[offset8] > cb)
5693
goto is_a_corner;
5694
else
5695
goto is_not_a_corner;
5696
else
5697
goto is_not_a_corner;
5698
else
5699
goto is_not_a_corner;
5700
else
5701
if(ptr[offset6] < c_b)
5702
if(ptr[offset10] > cb)
5703
if(ptr[offset11] > cb)
5704
if(ptr[offset3] > cb)
5705
goto is_a_corner;
5706
else
5707
if(ptr[offset8] > cb)
5708
goto is_a_corner;
5709
else
5710
goto is_not_a_corner;
5711
else
5712
goto is_not_a_corner;
5713
else
5714
goto is_not_a_corner;
5715
else
5716
if(ptr[offset10] > cb)
5717
if(ptr[offset11] > cb)
5718
if(ptr[offset3] > cb)
5719
goto is_a_corner;
5720
else
5721
if(ptr[offset8] > cb)
5722
goto is_a_corner;
5723
else
5724
goto is_not_a_corner;
5725
else
5726
goto is_not_a_corner;
5727
else
5728
goto is_not_a_corner;
5729
else
5730
goto is_not_a_corner;
5731
else
5732
if(ptr[offset1] < c_b)
5733
goto is_not_a_corner;
5734
else
5735
if(ptr[offset1] > cb)
5736
if(ptr[offset6] > cb)
5737
if(ptr[offset3] > cb)
5738
if(ptr[offset4] > cb)
5739
if(ptr[offset10] > cb)
5740
if(ptr[offset11] > cb)
5741
goto is_a_corner;
5742
else
5743
goto is_not_a_corner;
5744
else
5745
goto is_not_a_corner;
5746
else
5747
goto is_not_a_corner;
5748
else
5749
goto is_not_a_corner;
5750
else
5751
if(ptr[offset6] < c_b)
5752
if(ptr[offset3] > cb)
5753
if(ptr[offset4] > cb)
5754
if(ptr[offset10] > cb)
5755
if(ptr[offset11] > cb)
5756
goto is_a_corner;
5757
else
5758
goto is_not_a_corner;
5759
else
5760
goto is_not_a_corner;
5761
else
5762
goto is_not_a_corner;
5763
else
5764
goto is_not_a_corner;
5765
else
5766
if(ptr[offset3] > cb)
5767
if(ptr[offset4] > cb)
5768
if(ptr[offset10] > cb)
5769
if(ptr[offset11] > cb)
5770
goto is_a_corner;
5771
else
5772
goto is_not_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[offset7] > cb)
5783
if(ptr[offset9] < c_b)
5784
goto is_not_a_corner;
5785
else
5786
if(ptr[offset9] > cb)
5787
if(ptr[offset1] < c_b)
5788
if(ptr[offset6] < c_b)
5789
goto is_not_a_corner;
5790
else
5791
if(ptr[offset6] > cb)
5792
if(ptr[offset8] > cb)
5793
if(ptr[offset10] > cb)
5794
if(ptr[offset11] > cb)
5795
goto is_a_corner;
5796
else
5797
goto is_not_a_corner;
5798
else
5799
goto is_not_a_corner;
5800
else
5801
goto is_not_a_corner;
5802
else
5803
goto is_not_a_corner;
5804
else
5805
if(ptr[offset1] > cb)
5806
if(ptr[offset6] > cb)
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
if(ptr[offset8] > cb)
5820
if(ptr[offset10] > cb)
5821
if(ptr[offset11] > cb)
5822
goto is_a_corner;
5823
else
5824
goto is_not_a_corner;
5825
else
5826
goto is_not_a_corner;
5827
else
5828
goto is_not_a_corner;
5829
else
5830
if(ptr[offset8] > cb)
5831
if(ptr[offset10] > cb)
5832
if(ptr[offset11] > cb)
5833
goto is_a_corner;
5834
else
5835
goto is_not_a_corner;
5836
else
5837
goto is_not_a_corner;
5838
else
5839
goto is_not_a_corner;
5840
else
5841
if(ptr[offset6] < c_b)
5842
goto is_not_a_corner;
5843
else
5844
if(ptr[offset6] > cb)
5845
if(ptr[offset8] > cb)
5846
if(ptr[offset10] > cb)
5847
if(ptr[offset11] > cb)
5848
goto is_a_corner;
5849
else
5850
goto is_not_a_corner;
5851
else
5852
goto is_not_a_corner;
5853
else
5854
goto is_not_a_corner;
5855
else
5856
goto is_not_a_corner;
5857
else
5858
goto is_not_a_corner;
5859
else
5860
goto is_not_a_corner;
5861
else
5862
if(ptr[offset0] < c_b)
5863
if(ptr[offset5] < c_b)
5864
if(ptr[offset9] > cb)
5865
if(ptr[offset2] > cb)
5866
goto is_not_a_corner;
5867
else
5868
if(ptr[offset2] < c_b)
5869
if(ptr[offset7] > cb)
5870
if(ptr[offset1] > cb)
5871
goto is_not_a_corner;
5872
else
5873
if(ptr[offset1] < c_b)
5874
if(ptr[offset6] < c_b)
5875
if(ptr[offset3] < c_b)
5876
if(ptr[offset4] < c_b)
5877
goto is_a_corner;
5878
else
5879
goto is_not_a_corner;
5880
else
5881
goto is_not_a_corner;
5882
else
5883
if(ptr[offset6] > cb)
5884
if(ptr[offset3] < c_b)
5885
if(ptr[offset4] < c_b)
5886
if(ptr[offset11] < c_b)
5887
goto is_a_corner;
5888
else
5889
goto is_not_a_corner;
5890
else
5891
goto is_not_a_corner;
5892
else
5893
goto is_not_a_corner;
5894
else
5895
if(ptr[offset3] < c_b)
5896
if(ptr[offset4] < c_b)
5897
if(ptr[offset11] < c_b)
5898
goto is_a_corner;
5899
else
5900
goto is_not_a_corner;
5901
else
5902
goto is_not_a_corner;
5903
else
5904
goto is_not_a_corner;
5905
else
5906
goto is_not_a_corner;
5907
else
5908
if(ptr[offset7] < c_b)
5909
if(ptr[offset1] > cb)
5910
if(ptr[offset6] > cb)
5911
goto is_not_a_corner;
5912
else
5913
if(ptr[offset6] < c_b)
5914
if(ptr[offset3] < c_b)
5915
if(ptr[offset4] < c_b)
5916
if(ptr[offset8] < 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
goto is_not_a_corner;
5926
else
5927
if(ptr[offset1] < c_b)
5928
if(ptr[offset6] < c_b)
5929
if(ptr[offset3] < c_b)
5930
if(ptr[offset4] < c_b)
5931
goto is_a_corner;
5932
else
5933
goto is_not_a_corner;
5934
else
5935
goto is_not_a_corner;
5936
else
5937
if(ptr[offset6] > cb)
5938
if(ptr[offset3] < c_b)
5939
if(ptr[offset4] < c_b)
5940
if(ptr[offset11] < c_b)
5941
goto is_a_corner;
5942
else
5943
goto is_not_a_corner;
5944
else
5945
goto is_not_a_corner;
5946
else
5947
goto is_not_a_corner;
5948
else
5949
if(ptr[offset3] < c_b)
5950
if(ptr[offset4] < c_b)
5951
if(ptr[offset11] < c_b)
5952
goto is_a_corner;
5953
else
5954
goto is_not_a_corner;
5955
else
5956
goto is_not_a_corner;
5957
else
5958
goto is_not_a_corner;
5959
else
5960
if(ptr[offset6] > cb)
5961
goto is_not_a_corner;
5962
else
5963
if(ptr[offset6] < c_b)
5964
if(ptr[offset3] < c_b)
5965
if(ptr[offset4] < c_b)
5966
if(ptr[offset8] < c_b)
5967
goto is_a_corner;
5968
else
5969
goto is_not_a_corner;
5970
else
5971
goto is_not_a_corner;
5972
else
5973
goto is_not_a_corner;
5974
else
5975
goto is_not_a_corner;
5976
else
5977
if(ptr[offset1] > cb)
5978
goto is_not_a_corner;
5979
else
5980
if(ptr[offset1] < c_b)
5981
if(ptr[offset6] < c_b)
5982
if(ptr[offset3] < c_b)
5983
if(ptr[offset4] < c_b)
5984
goto is_a_corner;
5985
else
5986
goto is_not_a_corner;
5987
else
5988
goto is_not_a_corner;
5989
else
5990
if(ptr[offset6] > cb)
5991
if(ptr[offset3] < c_b)
5992
if(ptr[offset4] < c_b)
5993
if(ptr[offset11] < c_b)
5994
goto is_a_corner;
5995
else
5996
goto is_not_a_corner;
5997
else
5998
goto is_not_a_corner;
5999
else
6000
goto is_not_a_corner;
6001
else
6002
if(ptr[offset3] < c_b)
6003
if(ptr[offset4] < c_b)
6004
if(ptr[offset11] < c_b)
6005
goto is_a_corner;
6006
else
6007
goto is_not_a_corner;
6008
else
6009
goto is_not_a_corner;
6010
else
6011
goto is_not_a_corner;
6012
else
6013
goto is_not_a_corner;
6014
else
6015
goto is_not_a_corner;
6016
else
6017
if(ptr[offset9] < c_b)
6018
if(ptr[offset7] > cb)
6019
if(ptr[offset2] > cb)
6020
goto is_not_a_corner;
6021
else
6022
if(ptr[offset2] < c_b)
6023
if(ptr[offset1] > cb)
6024
goto is_not_a_corner;
6025
else
6026
if(ptr[offset1] < c_b)
6027
if(ptr[offset6] > cb)
6028
if(ptr[offset11] < c_b)
6029
if(ptr[offset3] < c_b)
6030
if(ptr[offset4] < c_b)
6031
goto is_a_corner;
6032
else
6033
if(ptr[offset10] < c_b)
6034
goto is_a_corner;
6035
else
6036
goto is_not_a_corner;
6037
else
6038
if(ptr[offset8] < c_b)
6039
if(ptr[offset10] < 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[offset6] < 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
if(ptr[offset11] < c_b)
6055
goto is_a_corner;
6056
else
6057
goto is_not_a_corner;
6058
else
6059
goto is_not_a_corner;
6060
else
6061
if(ptr[offset8] < c_b)
6062
if(ptr[offset10] < c_b)
6063
if(ptr[offset11] < c_b)
6064
goto is_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[offset11] < c_b)
6073
if(ptr[offset3] < c_b)
6074
if(ptr[offset4] < c_b)
6075
goto is_a_corner;
6076
else
6077
if(ptr[offset10] < c_b)
6078
goto is_a_corner;
6079
else
6080
goto is_not_a_corner;
6081
else
6082
if(ptr[offset8] < c_b)
6083
if(ptr[offset10] < c_b)
6084
goto is_a_corner;
6085
else
6086
goto is_not_a_corner;
6087
else
6088
goto is_not_a_corner;
6089
else
6090
goto is_not_a_corner;
6091
else
6092
goto is_not_a_corner;
6093
else
6094
goto is_not_a_corner;
6095
else
6096
if(ptr[offset7] < c_b)
6097
if(ptr[offset2] > cb)
6098
if(ptr[offset1] > cb)
6099
if(ptr[offset6] > cb)
6100
goto is_not_a_corner;
6101
else
6102
if(ptr[offset6] < c_b)
6103
if(ptr[offset8] < c_b)
6104
if(ptr[offset4] < c_b)
6105
if(ptr[offset3] < c_b)
6106
goto is_a_corner;
6107
else
6108
if(ptr[offset10] < c_b)
6109
goto is_a_corner;
6110
else
6111
goto is_not_a_corner;
6112
else
6113
if(ptr[offset10] < c_b)
6114
if(ptr[offset11] < c_b)
6115
goto is_a_corner;
6116
else
6117
goto is_not_a_corner;
6118
else
6119
goto is_not_a_corner;
6120
else
6121
goto is_not_a_corner;
6122
else
6123
goto is_not_a_corner;
6124
else
6125
if(ptr[offset1] < c_b)
6126
if(ptr[offset6] > cb)
6127
if(ptr[offset8] < c_b)
6128
if(ptr[offset10] < c_b)
6129
if(ptr[offset11] < c_b)
6130
goto is_a_corner;
6131
else
6132
goto is_not_a_corner;
6133
else
6134
goto is_not_a_corner;
6135
else
6136
goto is_not_a_corner;
6137
else
6138
if(ptr[offset6] < c_b)
6139
if(ptr[offset8] < c_b)
6140
if(ptr[offset4] < c_b)
6141
if(ptr[offset3] < c_b)
6142
goto is_a_corner;
6143
else
6144
if(ptr[offset10] < c_b)
6145
goto is_a_corner;
6146
else
6147
goto is_not_a_corner;
6148
else
6149
if(ptr[offset10] < c_b)
6150
if(ptr[offset11] < c_b)
6151
goto is_a_corner;
6152
else
6153
goto is_not_a_corner;
6154
else
6155
goto is_not_a_corner;
6156
else
6157
goto is_not_a_corner;
6158
else
6159
if(ptr[offset8] < c_b)
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
if(ptr[offset6] > cb)
6171
goto is_not_a_corner;
6172
else
6173
if(ptr[offset6] < c_b)
6174
if(ptr[offset8] < c_b)
6175
if(ptr[offset4] < c_b)
6176
if(ptr[offset3] < c_b)
6177
goto is_a_corner;
6178
else
6179
if(ptr[offset10] < c_b)
6180
goto is_a_corner;
6181
else
6182
goto is_not_a_corner;
6183
else
6184
if(ptr[offset10] < c_b)
6185
if(ptr[offset11] < c_b)
6186
goto is_a_corner;
6187
else
6188
goto is_not_a_corner;
6189
else
6190
goto is_not_a_corner;
6191
else
6192
goto is_not_a_corner;
6193
else
6194
goto is_not_a_corner;
6195
else
6196
if(ptr[offset2] < c_b)
6197
if(ptr[offset1] > cb)
6198
if(ptr[offset6] > cb)
6199
goto is_not_a_corner;
6200
else
6201
if(ptr[offset6] < c_b)
6202
if(ptr[offset8] < c_b)
6203
if(ptr[offset4] < c_b)
6204
if(ptr[offset3] < 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[offset10] < c_b)
6213
if(ptr[offset11] < 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
goto is_not_a_corner;
6223
else
6224
if(ptr[offset1] < c_b)
6225
if(ptr[offset6] > cb)
6226
if(ptr[offset11] < c_b)
6227
if(ptr[offset3] < c_b)
6228
if(ptr[offset4] < c_b)
6229
goto is_a_corner;
6230
else
6231
if(ptr[offset10] < c_b)
6232
goto is_a_corner;
6233
else
6234
goto is_not_a_corner;
6235
else
6236
if(ptr[offset8] < c_b)
6237
if(ptr[offset10] < c_b)
6238
goto is_a_corner;
6239
else
6240
goto is_not_a_corner;
6241
else
6242
goto is_not_a_corner;
6243
else
6244
goto is_not_a_corner;
6245
else
6246
if(ptr[offset6] < c_b)
6247
if(ptr[offset3] < c_b)
6248
if(ptr[offset4] < c_b)
6249
goto is_a_corner;
6250
else
6251
if(ptr[offset10] < c_b)
6252
if(ptr[offset11] < c_b)
6253
goto is_a_corner;
6254
else
6255
goto is_not_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
if(ptr[offset4] < c_b)
6262
goto is_a_corner;
6263
else
6264
if(ptr[offset11] < c_b)
6265
goto is_a_corner;
6266
else
6267
goto is_not_a_corner;
6268
else
6269
goto is_not_a_corner;
6270
else
6271
goto is_not_a_corner;
6272
else
6273
if(ptr[offset11] < c_b)
6274
if(ptr[offset3] < c_b)
6275
if(ptr[offset4] < 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[offset8] < c_b)
6284
if(ptr[offset10] < 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
if(ptr[offset6] > cb)
6294
goto is_not_a_corner;
6295
else
6296
if(ptr[offset6] < c_b)
6297
if(ptr[offset8] < c_b)
6298
if(ptr[offset4] < c_b)
6299
if(ptr[offset3] < c_b)
6300
goto is_a_corner;
6301
else
6302
if(ptr[offset10] < c_b)
6303
goto is_a_corner;
6304
else
6305
goto is_not_a_corner;
6306
else
6307
if(ptr[offset10] < c_b)
6308
if(ptr[offset11] < c_b)
6309
goto is_a_corner;
6310
else
6311
goto is_not_a_corner;
6312
else
6313
goto is_not_a_corner;
6314
else
6315
goto is_not_a_corner;
6316
else
6317
goto is_not_a_corner;
6318
else
6319
if(ptr[offset1] > cb)
6320
if(ptr[offset6] > cb)
6321
goto is_not_a_corner;
6322
else
6323
if(ptr[offset6] < c_b)
6324
if(ptr[offset8] < c_b)
6325
if(ptr[offset4] < c_b)
6326
if(ptr[offset3] < c_b)
6327
goto is_a_corner;
6328
else
6329
if(ptr[offset10] < c_b)
6330
goto is_a_corner;
6331
else
6332
goto is_not_a_corner;
6333
else
6334
if(ptr[offset10] < c_b)
6335
if(ptr[offset11] < c_b)
6336
goto is_a_corner;
6337
else
6338
goto is_not_a_corner;
6339
else
6340
goto is_not_a_corner;
6341
else
6342
goto is_not_a_corner;
6343
else
6344
goto is_not_a_corner;
6345
else
6346
if(ptr[offset1] < c_b)
6347
if(ptr[offset6] > cb)
6348
if(ptr[offset8] < c_b)
6349
if(ptr[offset10] < c_b)
6350
if(ptr[offset11] < c_b)
6351
goto is_a_corner;
6352
else
6353
goto is_not_a_corner;
6354
else
6355
goto is_not_a_corner;
6356
else
6357
goto is_not_a_corner;
6358
else
6359
if(ptr[offset6] < c_b)
6360
if(ptr[offset8] < c_b)
6361
if(ptr[offset4] < c_b)
6362
if(ptr[offset3] < c_b)
6363
goto is_a_corner;
6364
else
6365
if(ptr[offset10] < c_b)
6366
goto is_a_corner;
6367
else
6368
goto is_not_a_corner;
6369
else
6370
if(ptr[offset10] < c_b)
6371
if(ptr[offset11] < c_b)
6372
goto is_a_corner;
6373
else
6374
goto is_not_a_corner;
6375
else
6376
goto is_not_a_corner;
6377
else
6378
goto is_not_a_corner;
6379
else
6380
if(ptr[offset8] < c_b)
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
if(ptr[offset6] > cb)
6392
goto is_not_a_corner;
6393
else
6394
if(ptr[offset6] < c_b)
6395
if(ptr[offset8] < c_b)
6396
if(ptr[offset4] < c_b)
6397
if(ptr[offset3] < c_b)
6398
goto is_a_corner;
6399
else
6400
if(ptr[offset10] < c_b)
6401
goto is_a_corner;
6402
else
6403
goto is_not_a_corner;
6404
else
6405
if(ptr[offset10] < c_b)
6406
if(ptr[offset11] < c_b)
6407
goto is_a_corner;
6408
else
6409
goto is_not_a_corner;
6410
else
6411
goto is_not_a_corner;
6412
else
6413
goto is_not_a_corner;
6414
else
6415
goto is_not_a_corner;
6416
else
6417
if(ptr[offset2] > cb)
6418
goto is_not_a_corner;
6419
else
6420
if(ptr[offset2] < c_b)
6421
if(ptr[offset1] > cb)
6422
goto is_not_a_corner;
6423
else
6424
if(ptr[offset1] < c_b)
6425
if(ptr[offset6] > cb)
6426
if(ptr[offset11] < c_b)
6427
if(ptr[offset3] < c_b)
6428
if(ptr[offset4] < c_b)
6429
goto is_a_corner;
6430
else
6431
if(ptr[offset10] < c_b)
6432
goto is_a_corner;
6433
else
6434
goto is_not_a_corner;
6435
else
6436
if(ptr[offset8] < c_b)
6437
if(ptr[offset10] < 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[offset6] < 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
if(ptr[offset11] < c_b)
6453
goto is_a_corner;
6454
else
6455
goto is_not_a_corner;
6456
else
6457
goto is_not_a_corner;
6458
else
6459
if(ptr[offset8] < c_b)
6460
if(ptr[offset10] < c_b)
6461
if(ptr[offset11] < c_b)
6462
goto is_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[offset11] < c_b)
6471
if(ptr[offset3] < c_b)
6472
if(ptr[offset4] < c_b)
6473
goto is_a_corner;
6474
else
6475
if(ptr[offset10] < c_b)
6476
goto is_a_corner;
6477
else
6478
goto is_not_a_corner;
6479
else
6480
if(ptr[offset8] < c_b)
6481
if(ptr[offset10] < 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
goto is_not_a_corner;
6489
else
6490
goto is_not_a_corner;
6491
else
6492
goto is_not_a_corner;
6493
else
6494
if(ptr[offset2] > cb)
6495
goto is_not_a_corner;
6496
else
6497
if(ptr[offset2] < c_b)
6498
if(ptr[offset7] > cb)
6499
if(ptr[offset1] > cb)
6500
goto is_not_a_corner;
6501
else
6502
if(ptr[offset1] < c_b)
6503
if(ptr[offset6] < c_b)
6504
if(ptr[offset3] < c_b)
6505
if(ptr[offset4] < c_b)
6506
goto is_a_corner;
6507
else
6508
goto is_not_a_corner;
6509
else
6510
goto is_not_a_corner;
6511
else
6512
if(ptr[offset6] > cb)
6513
if(ptr[offset3] < c_b)
6514
if(ptr[offset4] < c_b)
6515
if(ptr[offset11] < c_b)
6516
goto is_a_corner;
6517
else
6518
goto is_not_a_corner;
6519
else
6520
goto is_not_a_corner;
6521
else
6522
goto is_not_a_corner;
6523
else
6524
if(ptr[offset3] < c_b)
6525
if(ptr[offset4] < c_b)
6526
if(ptr[offset11] < c_b)
6527
goto is_a_corner;
6528
else
6529
goto is_not_a_corner;
6530
else
6531
goto is_not_a_corner;
6532
else
6533
goto is_not_a_corner;
6534
else
6535
goto is_not_a_corner;
6536
else
6537
if(ptr[offset7] < c_b)
6538
if(ptr[offset1] > cb)
6539
if(ptr[offset6] > cb)
6540
goto is_not_a_corner;
6541
else
6542
if(ptr[offset6] < c_b)
6543
if(ptr[offset3] < c_b)
6544
if(ptr[offset4] < c_b)
6545
if(ptr[offset8] < 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
goto is_not_a_corner;
6555
else
6556
if(ptr[offset1] < c_b)
6557
if(ptr[offset6] < c_b)
6558
if(ptr[offset3] < c_b)
6559
if(ptr[offset4] < c_b)
6560
goto is_a_corner;
6561
else
6562
goto is_not_a_corner;
6563
else
6564
goto is_not_a_corner;
6565
else
6566
if(ptr[offset6] > cb)
6567
if(ptr[offset3] < c_b)
6568
if(ptr[offset4] < c_b)
6569
if(ptr[offset11] < c_b)
6570
goto is_a_corner;
6571
else
6572
goto is_not_a_corner;
6573
else
6574
goto is_not_a_corner;
6575
else
6576
goto is_not_a_corner;
6577
else
6578
if(ptr[offset3] < c_b)
6579
if(ptr[offset4] < c_b)
6580
if(ptr[offset11] < c_b)
6581
goto is_a_corner;
6582
else
6583
goto is_not_a_corner;
6584
else
6585
goto is_not_a_corner;
6586
else
6587
goto is_not_a_corner;
6588
else
6589
if(ptr[offset6] > cb)
6590
goto is_not_a_corner;
6591
else
6592
if(ptr[offset6] < c_b)
6593
if(ptr[offset3] < c_b)
6594
if(ptr[offset4] < c_b)
6595
if(ptr[offset8] < c_b)
6596
goto is_a_corner;
6597
else
6598
goto is_not_a_corner;
6599
else
6600
goto is_not_a_corner;
6601
else
6602
goto is_not_a_corner;
6603
else
6604
goto is_not_a_corner;
6605
else
6606
if(ptr[offset1] > cb)
6607
goto is_not_a_corner;
6608
else
6609
if(ptr[offset1] < c_b)
6610
if(ptr[offset6] < c_b)
6611
if(ptr[offset3] < c_b)
6612
if(ptr[offset4] < c_b)
6613
goto is_a_corner;
6614
else
6615
goto is_not_a_corner;
6616
else
6617
goto is_not_a_corner;
6618
else
6619
if(ptr[offset6] > cb)
6620
if(ptr[offset3] < c_b)
6621
if(ptr[offset4] < c_b)
6622
if(ptr[offset11] < c_b)
6623
goto is_a_corner;
6624
else
6625
goto is_not_a_corner;
6626
else
6627
goto is_not_a_corner;
6628
else
6629
goto is_not_a_corner;
6630
else
6631
if(ptr[offset3] < c_b)
6632
if(ptr[offset4] < c_b)
6633
if(ptr[offset11] < c_b)
6634
goto is_a_corner;
6635
else
6636
goto is_not_a_corner;
6637
else
6638
goto is_not_a_corner;
6639
else
6640
goto is_not_a_corner;
6641
else
6642
goto is_not_a_corner;
6643
else
6644
goto is_not_a_corner;
6645
else
6646
if(ptr[offset5] > cb)
6647
if(ptr[offset2] > cb)
6648
if(ptr[offset7] < c_b)
6649
if(ptr[offset9] > cb)
6650
goto is_not_a_corner;
6651
else
6652
if(ptr[offset9] < c_b)
6653
if(ptr[offset1] > cb)
6654
if(ptr[offset6] > cb)
6655
goto is_not_a_corner;
6656
else
6657
if(ptr[offset6] < c_b)
6658
if(ptr[offset8] < c_b)
6659
if(ptr[offset10] < c_b)
6660
if(ptr[offset11] < c_b)
6661
goto is_a_corner;
6662
else
6663
goto is_not_a_corner;
6664
else
6665
goto is_not_a_corner;
6666
else
6667
goto is_not_a_corner;
6668
else
6669
goto is_not_a_corner;
6670
else
6671
if(ptr[offset1] < c_b)
6672
if(ptr[offset6] > cb)
6673
if(ptr[offset8] < c_b)
6674
if(ptr[offset10] < c_b)
6675
if(ptr[offset11] < c_b)
6676
goto is_a_corner;
6677
else
6678
goto is_not_a_corner;
6679
else
6680
goto is_not_a_corner;
6681
else
6682
goto is_not_a_corner;
6683
else
6684
if(ptr[offset6] < c_b)
6685
if(ptr[offset8] < c_b)
6686
if(ptr[offset10] < c_b)
6687
if(ptr[offset11] < c_b)
6688
goto is_a_corner;
6689
else
6690
goto is_not_a_corner;
6691
else
6692
goto is_not_a_corner;
6693
else
6694
goto is_not_a_corner;
6695
else
6696
if(ptr[offset8] < c_b)
6697
if(ptr[offset10] < c_b)
6698
if(ptr[offset11] < c_b)
6699
goto is_a_corner;
6700
else
6701
goto is_not_a_corner;
6702
else
6703
goto is_not_a_corner;
6704
else
6705
goto is_not_a_corner;
6706
else
6707
if(ptr[offset6] > cb)
6708
goto is_not_a_corner;
6709
else
6710
if(ptr[offset6] < c_b)
6711
if(ptr[offset8] < c_b)
6712
if(ptr[offset10] < c_b)
6713
if(ptr[offset11] < c_b)
6714
goto is_a_corner;
6715
else
6716
goto is_not_a_corner;
6717
else
6718
goto is_not_a_corner;
6719
else
6720
goto is_not_a_corner;
6721
else
6722
goto is_not_a_corner;
6723
else
6724
goto is_not_a_corner;
6725
else
6726
if(ptr[offset7] > cb)
6727
if(ptr[offset9] < c_b)
6728
if(ptr[offset1] > cb)
6729
if(ptr[offset6] < c_b)
6730
goto is_not_a_corner;
6731
else
6732
if(ptr[offset6] > cb)
6733
if(ptr[offset3] > cb)
6734
if(ptr[offset4] > cb)
6735
goto is_a_corner;
6736
else
6737
goto is_not_a_corner;
6738
else
6739
goto is_not_a_corner;
6740
else
6741
goto is_not_a_corner;
6742
else
6743
if(ptr[offset1] < c_b)
6744
if(ptr[offset6] < c_b)
6745
goto is_not_a_corner;
6746
else
6747
if(ptr[offset6] > cb)
6748
if(ptr[offset3] > cb)
6749
if(ptr[offset4] > cb)
6750
if(ptr[offset8] > cb)
6751
goto is_a_corner;
6752
else
6753
goto is_not_a_corner;
6754
else
6755
goto is_not_a_corner;
6756
else
6757
goto is_not_a_corner;
6758
else
6759
goto is_not_a_corner;
6760
else
6761
if(ptr[offset6] < c_b)
6762
goto is_not_a_corner;
6763
else
6764
if(ptr[offset6] > cb)
6765
if(ptr[offset3] > cb)
6766
if(ptr[offset4] > cb)
6767
if(ptr[offset8] > cb)
6768
goto is_a_corner;
6769
else
6770
goto is_not_a_corner;
6771
else
6772
goto is_not_a_corner;
6773
else
6774
goto is_not_a_corner;
6775
else
6776
goto is_not_a_corner;
6777
else
6778
if(ptr[offset9] > cb)
6779
if(ptr[offset1] < c_b)
6780
if(ptr[offset6] < c_b)
6781
goto is_not_a_corner;
6782
else
6783
if(ptr[offset6] > cb)
6784
if(ptr[offset8] > cb)
6785
if(ptr[offset4] > cb)
6786
if(ptr[offset3] > cb)
6787
goto is_a_corner;
6788
else
6789
if(ptr[offset10] > cb)
6790
goto is_a_corner;
6791
else
6792
goto is_not_a_corner;
6793
else
6794
if(ptr[offset10] > cb)
6795
if(ptr[offset11] > cb)
6796
goto is_a_corner;
6797
else
6798
goto is_not_a_corner;
6799
else
6800
goto is_not_a_corner;
6801
else
6802
goto is_not_a_corner;
6803
else
6804
goto is_not_a_corner;
6805
else
6806
if(ptr[offset1] > cb)
6807
if(ptr[offset6] < c_b)
6808
goto is_not_a_corner;
6809
else
6810
if(ptr[offset6] > cb)
6811
if(ptr[offset4] > cb)
6812
if(ptr[offset3] > cb)
6813
goto is_a_corner;
6814
else
6815
if(ptr[offset8] > cb)
6816
if(ptr[offset10] > cb)
6817
goto is_a_corner;
6818
else
6819
goto is_not_a_corner;
6820
else
6821
goto is_not_a_corner;
6822
else
6823
if(ptr[offset8] > cb)
6824
if(ptr[offset10] > cb)
6825
if(ptr[offset11] > cb)
6826
goto is_a_corner;
6827
else
6828
goto is_not_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
if(ptr[offset6] < c_b)
6837
goto is_not_a_corner;
6838
else
6839
if(ptr[offset6] > cb)
6840
if(ptr[offset8] > cb)
6841
if(ptr[offset4] > cb)
6842
if(ptr[offset3] > cb)
6843
goto is_a_corner;
6844
else
6845
if(ptr[offset10] > cb)
6846
goto is_a_corner;
6847
else
6848
goto is_not_a_corner;
6849
else
6850
if(ptr[offset10] > cb)
6851
if(ptr[offset11] > cb)
6852
goto is_a_corner;
6853
else
6854
goto is_not_a_corner;
6855
else
6856
goto is_not_a_corner;
6857
else
6858
goto is_not_a_corner;
6859
else
6860
goto is_not_a_corner;
6861
else
6862
if(ptr[offset1] > cb)
6863
if(ptr[offset6] < c_b)
6864
goto is_not_a_corner;
6865
else
6866
if(ptr[offset6] > cb)
6867
if(ptr[offset3] > cb)
6868
if(ptr[offset4] > cb)
6869
goto is_a_corner;
6870
else
6871
goto is_not_a_corner;
6872
else
6873
goto is_not_a_corner;
6874
else
6875
goto is_not_a_corner;
6876
else
6877
if(ptr[offset1] < c_b)
6878
if(ptr[offset6] < c_b)
6879
goto is_not_a_corner;
6880
else
6881
if(ptr[offset6] > cb)
6882
if(ptr[offset3] > cb)
6883
if(ptr[offset4] > cb)
6884
if(ptr[offset8] > cb)
6885
goto is_a_corner;
6886
else
6887
goto is_not_a_corner;
6888
else
6889
goto is_not_a_corner;
6890
else
6891
goto is_not_a_corner;
6892
else
6893
goto is_not_a_corner;
6894
else
6895
if(ptr[offset6] < c_b)
6896
goto is_not_a_corner;
6897
else
6898
if(ptr[offset6] > cb)
6899
if(ptr[offset3] > cb)
6900
if(ptr[offset4] > cb)
6901
if(ptr[offset8] > cb)
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
goto is_not_a_corner;
6913
else
6914
if(ptr[offset2] < c_b)
6915
if(ptr[offset7] < c_b)
6916
if(ptr[offset9] > cb)
6917
if(ptr[offset1] > cb)
6918
goto is_not_a_corner;
6919
else
6920
if(ptr[offset1] < c_b)
6921
if(ptr[offset6] > cb)
6922
if(ptr[offset3] < c_b)
6923
if(ptr[offset4] < c_b)
6924
if(ptr[offset10] < c_b)
6925
if(ptr[offset11] < c_b)
6926
goto is_a_corner;
6927
else
6928
goto is_not_a_corner;
6929
else
6930
goto is_not_a_corner;
6931
else
6932
goto is_not_a_corner;
6933
else
6934
goto is_not_a_corner;
6935
else
6936
if(ptr[offset6] < c_b)
6937
if(ptr[offset3] < c_b)
6938
if(ptr[offset4] < c_b)
6939
if(ptr[offset10] < c_b)
6940
if(ptr[offset11] < c_b)
6941
goto is_a_corner;
6942
else
6943
goto is_not_a_corner;
6944
else
6945
goto is_not_a_corner;
6946
else
6947
goto is_not_a_corner;
6948
else
6949
goto is_not_a_corner;
6950
else
6951
if(ptr[offset3] < c_b)
6952
if(ptr[offset4] < c_b)
6953
if(ptr[offset10] < c_b)
6954
if(ptr[offset11] < c_b)
6955
goto is_a_corner;
6956
else
6957
goto is_not_a_corner;
6958
else
6959
goto is_not_a_corner;
6960
else
6961
goto is_not_a_corner;
6962
else
6963
goto is_not_a_corner;
6964
else
6965
goto is_not_a_corner;
6966
else
6967
if(ptr[offset9] < c_b)
6968
if(ptr[offset1] > cb)
6969
if(ptr[offset6] > cb)
6970
goto is_not_a_corner;
6971
else
6972
if(ptr[offset6] < c_b)
6973
if(ptr[offset8] < c_b)
6974
if(ptr[offset10] < c_b)
6975
if(ptr[offset11] < c_b)
6976
goto is_a_corner;
6977
else
6978
goto is_not_a_corner;
6979
else
6980
goto is_not_a_corner;
6981
else
6982
goto is_not_a_corner;
6983
else
6984
goto is_not_a_corner;
6985
else
6986
if(ptr[offset1] < c_b)
6987
if(ptr[offset6] > cb)
6988
if(ptr[offset10] < c_b)
6989
if(ptr[offset11] < c_b)
6990
if(ptr[offset3] < c_b)
6991
goto is_a_corner;
6992
else
6993
if(ptr[offset8] < c_b)
6994
goto is_a_corner;
6995
else
6996
goto is_not_a_corner;
6997
else
6998
goto is_not_a_corner;
6999
else
7000
goto is_not_a_corner;
7001
else
7002
if(ptr[offset6] < c_b)
7003
if(ptr[offset10] < c_b)
7004
if(ptr[offset11] < c_b)
7005
if(ptr[offset3] < c_b)
7006
goto is_a_corner;
7007
else
7008
if(ptr[offset8] < c_b)
7009
goto is_a_corner;
7010
else
7011
goto is_not_a_corner;
7012
else
7013
goto is_not_a_corner;
7014
else
7015
goto is_not_a_corner;
7016
else
7017
if(ptr[offset10] < c_b)
7018
if(ptr[offset11] < c_b)
7019
if(ptr[offset3] < c_b)
7020
goto is_a_corner;
7021
else
7022
if(ptr[offset8] < c_b)
7023
goto is_a_corner;
7024
else
7025
goto is_not_a_corner;
7026
else
7027
goto is_not_a_corner;
7028
else
7029
goto is_not_a_corner;
7030
else
7031
if(ptr[offset6] > cb)
7032
goto is_not_a_corner;
7033
else
7034
if(ptr[offset6] < c_b)
7035
if(ptr[offset8] < c_b)
7036
if(ptr[offset10] < c_b)
7037
if(ptr[offset11] < c_b)
7038
goto is_a_corner;
7039
else
7040
goto is_not_a_corner;
7041
else
7042
goto is_not_a_corner;
7043
else
7044
goto is_not_a_corner;
7045
else
7046
goto is_not_a_corner;
7047
else
7048
if(ptr[offset1] > cb)
7049
goto is_not_a_corner;
7050
else
7051
if(ptr[offset1] < c_b)
7052
if(ptr[offset6] > cb)
7053
if(ptr[offset3] < c_b)
7054
if(ptr[offset4] < c_b)
7055
if(ptr[offset10] < c_b)
7056
if(ptr[offset11] < c_b)
7057
goto is_a_corner;
7058
else
7059
goto is_not_a_corner;
7060
else
7061
goto is_not_a_corner;
7062
else
7063
goto is_not_a_corner;
7064
else
7065
goto is_not_a_corner;
7066
else
7067
if(ptr[offset6] < c_b)
7068
if(ptr[offset3] < c_b)
7069
if(ptr[offset4] < c_b)
7070
if(ptr[offset10] < c_b)
7071
if(ptr[offset11] < c_b)
7072
goto is_a_corner;
7073
else
7074
goto is_not_a_corner;
7075
else
7076
goto is_not_a_corner;
7077
else
7078
goto is_not_a_corner;
7079
else
7080
goto is_not_a_corner;
7081
else
7082
if(ptr[offset3] < c_b)
7083
if(ptr[offset4] < c_b)
7084
if(ptr[offset10] < c_b)
7085
if(ptr[offset11] < c_b)
7086
goto is_a_corner;
7087
else
7088
goto is_not_a_corner;
7089
else
7090
goto is_not_a_corner;
7091
else
7092
goto is_not_a_corner;
7093
else
7094
goto is_not_a_corner;
7095
else
7096
goto is_not_a_corner;
7097
else
7098
if(ptr[offset7] > cb)
7099
if(ptr[offset9] < c_b)
7100
if(ptr[offset1] > cb)
7101
goto is_not_a_corner;
7102
else
7103
if(ptr[offset1] < c_b)
7104
if(ptr[offset6] > cb)
7105
if(ptr[offset10] < c_b)
7106
if(ptr[offset11] < c_b)
7107
if(ptr[offset3] < c_b)
7108
goto is_a_corner;
7109
else
7110
if(ptr[offset8] < c_b)
7111
goto is_a_corner;
7112
else
7113
goto is_not_a_corner;
7114
else
7115
goto is_not_a_corner;
7116
else
7117
goto is_not_a_corner;
7118
else
7119
if(ptr[offset6] < c_b)
7120
if(ptr[offset10] < c_b)
7121
if(ptr[offset11] < c_b)
7122
if(ptr[offset3] < c_b)
7123
goto is_a_corner;
7124
else
7125
if(ptr[offset8] < c_b)
7126
goto is_a_corner;
7127
else
7128
goto is_not_a_corner;
7129
else
7130
goto is_not_a_corner;
7131
else
7132
goto is_not_a_corner;
7133
else
7134
if(ptr[offset10] < c_b)
7135
if(ptr[offset11] < c_b)
7136
if(ptr[offset3] < c_b)
7137
goto is_a_corner;
7138
else
7139
if(ptr[offset8] < c_b)
7140
goto is_a_corner;
7141
else
7142
goto is_not_a_corner;
7143
else
7144
goto is_not_a_corner;
7145
else
7146
goto is_not_a_corner;
7147
else
7148
goto is_not_a_corner;
7149
else
7150
if(ptr[offset9] > cb)
7151
if(ptr[offset1] > cb)
7152
if(ptr[offset6] < c_b)
7153
goto is_not_a_corner;
7154
else
7155
if(ptr[offset6] > cb)
7156
if(ptr[offset8] > cb)
7157
if(ptr[offset4] > cb)
7158
if(ptr[offset3] > cb)
7159
goto is_a_corner;
7160
else
7161
if(ptr[offset10] > cb)
7162
goto is_a_corner;
7163
else
7164
goto is_not_a_corner;
7165
else
7166
if(ptr[offset10] > cb)
7167
if(ptr[offset11] > cb)
7168
goto is_a_corner;
7169
else
7170
goto is_not_a_corner;
7171
else
7172
goto is_not_a_corner;
7173
else
7174
goto is_not_a_corner;
7175
else
7176
goto is_not_a_corner;
7177
else
7178
if(ptr[offset1] < c_b)
7179
if(ptr[offset6] < c_b)
7180
if(ptr[offset3] < c_b)
7181
if(ptr[offset4] < c_b)
7182
if(ptr[offset10] < c_b)
7183
if(ptr[offset11] < 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
goto is_not_a_corner;
7193
else
7194
if(ptr[offset6] > cb)
7195
if(ptr[offset4] < c_b)
7196
if(ptr[offset10] > cb)
7197
if(ptr[offset8] > cb)
7198
if(ptr[offset11] > cb)
7199
goto is_a_corner;
7200
else
7201
goto is_not_a_corner;
7202
else
7203
goto is_not_a_corner;
7204
else
7205
if(ptr[offset3] < c_b)
7206
if(ptr[offset11] < c_b)
7207
if(ptr[offset10] < c_b)
7208
goto is_a_corner;
7209
else
7210
goto is_not_a_corner;
7211
else
7212
goto is_not_a_corner;
7213
else
7214
goto is_not_a_corner;
7215
else
7216
if(ptr[offset8] > cb)
7217
if(ptr[offset10] > cb)
7218
if(ptr[offset4] > cb)
7219
goto is_a_corner;
7220
else
7221
if(ptr[offset11] > cb)
7222
goto is_a_corner;
7223
else
7224
goto is_not_a_corner;
7225
else
7226
if(ptr[offset3] > cb)
7227
if(ptr[offset4] > cb)
7228
goto is_a_corner;
7229
else
7230
goto is_not_a_corner;
7231
else
7232
goto is_not_a_corner;
7233
else
7234
goto is_not_a_corner;
7235
else
7236
if(ptr[offset3] < c_b)
7237
if(ptr[offset4] < c_b)
7238
if(ptr[offset10] < c_b)
7239
if(ptr[offset11] < c_b)
7240
goto is_a_corner;
7241
else
7242
goto is_not_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
if(ptr[offset6] < c_b)
7251
goto is_not_a_corner;
7252
else
7253
if(ptr[offset6] > cb)
7254
if(ptr[offset8] > cb)
7255
if(ptr[offset4] > cb)
7256
if(ptr[offset3] > cb)
7257
goto is_a_corner;
7258
else
7259
if(ptr[offset10] > cb)
7260
goto is_a_corner;
7261
else
7262
goto is_not_a_corner;
7263
else
7264
if(ptr[offset10] > cb)
7265
if(ptr[offset11] > cb)
7266
goto is_a_corner;
7267
else
7268
goto is_not_a_corner;
7269
else
7270
goto is_not_a_corner;
7271
else
7272
goto is_not_a_corner;
7273
else
7274
goto is_not_a_corner;
7275
else
7276
if(ptr[offset1] > cb)
7277
goto is_not_a_corner;
7278
else
7279
if(ptr[offset1] < c_b)
7280
if(ptr[offset6] > cb)
7281
if(ptr[offset3] < c_b)
7282
if(ptr[offset4] < c_b)
7283
if(ptr[offset10] < c_b)
7284
if(ptr[offset11] < c_b)
7285
goto is_a_corner;
7286
else
7287
goto is_not_a_corner;
7288
else
7289
goto is_not_a_corner;
7290
else
7291
goto is_not_a_corner;
7292
else
7293
goto is_not_a_corner;
7294
else
7295
if(ptr[offset6] < c_b)
7296
if(ptr[offset3] < c_b)
7297
if(ptr[offset4] < c_b)
7298
if(ptr[offset10] < c_b)
7299
if(ptr[offset11] < c_b)
7300
goto is_a_corner;
7301
else
7302
goto is_not_a_corner;
7303
else
7304
goto is_not_a_corner;
7305
else
7306
goto is_not_a_corner;
7307
else
7308
goto is_not_a_corner;
7309
else
7310
if(ptr[offset3] < c_b)
7311
if(ptr[offset4] < c_b)
7312
if(ptr[offset10] < c_b)
7313
if(ptr[offset11] < c_b)
7314
goto is_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
goto is_not_a_corner;
7323
else
7324
goto is_not_a_corner;
7325
else
7326
if(ptr[offset9] > cb)
7327
if(ptr[offset1] > cb)
7328
goto is_not_a_corner;
7329
else
7330
if(ptr[offset1] < c_b)
7331
if(ptr[offset6] > cb)
7332
if(ptr[offset3] < c_b)
7333
if(ptr[offset4] < c_b)
7334
if(ptr[offset10] < c_b)
7335
if(ptr[offset11] < c_b)
7336
goto is_a_corner;
7337
else
7338
goto is_not_a_corner;
7339
else
7340
goto is_not_a_corner;
7341
else
7342
goto is_not_a_corner;
7343
else
7344
goto is_not_a_corner;
7345
else
7346
if(ptr[offset6] < c_b)
7347
if(ptr[offset3] < c_b)
7348
if(ptr[offset4] < c_b)
7349
if(ptr[offset10] < c_b)
7350
if(ptr[offset11] < c_b)
7351
goto is_a_corner;
7352
else
7353
goto is_not_a_corner;
7354
else
7355
goto is_not_a_corner;
7356
else
7357
goto is_not_a_corner;
7358
else
7359
goto is_not_a_corner;
7360
else
7361
if(ptr[offset3] < c_b)
7362
if(ptr[offset4] < c_b)
7363
if(ptr[offset10] < c_b)
7364
if(ptr[offset11] < 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
goto is_not_a_corner;
7374
else
7375
goto is_not_a_corner;
7376
else
7377
if(ptr[offset9] < c_b)
7378
if(ptr[offset1] > cb)
7379
goto is_not_a_corner;
7380
else
7381
if(ptr[offset1] < c_b)
7382
if(ptr[offset6] > cb)
7383
if(ptr[offset10] < c_b)
7384
if(ptr[offset11] < c_b)
7385
if(ptr[offset3] < c_b)
7386
goto is_a_corner;
7387
else
7388
if(ptr[offset8] < c_b)
7389
goto is_a_corner;
7390
else
7391
goto is_not_a_corner;
7392
else
7393
goto is_not_a_corner;
7394
else
7395
goto is_not_a_corner;
7396
else
7397
if(ptr[offset6] < c_b)
7398
if(ptr[offset10] < c_b)
7399
if(ptr[offset11] < c_b)
7400
if(ptr[offset3] < c_b)
7401
goto is_a_corner;
7402
else
7403
if(ptr[offset8] < c_b)
7404
goto is_a_corner;
7405
else
7406
goto is_not_a_corner;
7407
else
7408
goto is_not_a_corner;
7409
else
7410
goto is_not_a_corner;
7411
else
7412
if(ptr[offset10] < c_b)
7413
if(ptr[offset11] < c_b)
7414
if(ptr[offset3] < c_b)
7415
goto is_a_corner;
7416
else
7417
if(ptr[offset8] < c_b)
7418
goto is_a_corner;
7419
else
7420
goto is_not_a_corner;
7421
else
7422
goto is_not_a_corner;
7423
else
7424
goto is_not_a_corner;
7425
else
7426
goto is_not_a_corner;
7427
else
7428
if(ptr[offset1] > cb)
7429
goto is_not_a_corner;
7430
else
7431
if(ptr[offset1] < c_b)
7432
if(ptr[offset6] > cb)
7433
if(ptr[offset3] < c_b)
7434
if(ptr[offset4] < c_b)
7435
if(ptr[offset10] < c_b)
7436
if(ptr[offset11] < c_b)
7437
goto is_a_corner;
7438
else
7439
goto is_not_a_corner;
7440
else
7441
goto is_not_a_corner;
7442
else
7443
goto is_not_a_corner;
7444
else
7445
goto is_not_a_corner;
7446
else
7447
if(ptr[offset6] < c_b)
7448
if(ptr[offset3] < c_b)
7449
if(ptr[offset4] < c_b)
7450
if(ptr[offset10] < c_b)
7451
if(ptr[offset11] < c_b)
7452
goto is_a_corner;
7453
else
7454
goto is_not_a_corner;
7455
else
7456
goto is_not_a_corner;
7457
else
7458
goto is_not_a_corner;
7459
else
7460
goto is_not_a_corner;
7461
else
7462
if(ptr[offset3] < c_b)
7463
if(ptr[offset4] < c_b)
7464
if(ptr[offset10] < c_b)
7465
if(ptr[offset11] < c_b)
7466
goto is_a_corner;
7467
else
7468
goto is_not_a_corner;
7469
else
7470
goto is_not_a_corner;
7471
else
7472
goto is_not_a_corner;
7473
else
7474
goto is_not_a_corner;
7475
else
7476
goto is_not_a_corner;
7477
else
7478
if(ptr[offset7] > cb)
7479
if(ptr[offset9] < c_b)
7480
goto is_not_a_corner;
7481
else
7482
if(ptr[offset9] > cb)
7483
if(ptr[offset1] > cb)
7484
if(ptr[offset6] < c_b)
7485
goto is_not_a_corner;
7486
else
7487
if(ptr[offset6] > cb)
7488
if(ptr[offset8] > cb)
7489
if(ptr[offset4] > cb)
7490
if(ptr[offset3] > cb)
7491
goto is_a_corner;
7492
else
7493
if(ptr[offset10] > cb)
7494
goto is_a_corner;
7495
else
7496
goto is_not_a_corner;
7497
else
7498
if(ptr[offset10] > cb)
7499
if(ptr[offset11] > cb)
7500
goto is_a_corner;
7501
else
7502
goto is_not_a_corner;
7503
else
7504
goto is_not_a_corner;
7505
else
7506
goto is_not_a_corner;
7507
else
7508
goto is_not_a_corner;
7509
else
7510
if(ptr[offset1] < c_b)
7511
if(ptr[offset6] < c_b)
7512
goto is_not_a_corner;
7513
else
7514
if(ptr[offset6] > cb)
7515
if(ptr[offset8] > cb)
7516
if(ptr[offset4] > cb)
7517
if(ptr[offset3] > cb)
7518
goto is_a_corner;
7519
else
7520
if(ptr[offset10] > cb)
7521
goto is_a_corner;
7522
else
7523
goto is_not_a_corner;
7524
else
7525
if(ptr[offset10] > cb)
7526
if(ptr[offset11] > cb)
7527
goto is_a_corner;
7528
else
7529
goto is_not_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
if(ptr[offset6] < c_b)
7538
goto is_not_a_corner;
7539
else
7540
if(ptr[offset6] > cb)
7541
if(ptr[offset8] > cb)
7542
if(ptr[offset4] > cb)
7543
if(ptr[offset3] > cb)
7544
goto is_a_corner;
7545
else
7546
if(ptr[offset10] > cb)
7547
goto is_a_corner;
7548
else
7549
goto is_not_a_corner;
7550
else
7551
if(ptr[offset10] > cb)
7552
if(ptr[offset11] > cb)
7553
goto is_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
goto is_not_a_corner;
7562
else
7563
goto is_not_a_corner;
7564
else
7565
if(ptr[offset9] < c_b)
7566
if(ptr[offset7] < c_b)
7567
if(ptr[offset1] > cb)
7568
if(ptr[offset6] > cb)
7569
goto is_not_a_corner;
7570
else
7571
if(ptr[offset6] < c_b)
7572
if(ptr[offset8] < c_b)
7573
if(ptr[offset10] < c_b)
7574
if(ptr[offset11] < c_b)
7575
goto is_a_corner;
7576
else
7577
goto is_not_a_corner;
7578
else
7579
goto is_not_a_corner;
7580
else
7581
goto is_not_a_corner;
7582
else
7583
goto is_not_a_corner;
7584
else
7585
if(ptr[offset1] < c_b)
7586
if(ptr[offset6] > cb)
7587
if(ptr[offset8] < c_b)
7588
if(ptr[offset10] < c_b)
7589
if(ptr[offset11] < c_b)
7590
goto is_a_corner;
7591
else
7592
goto is_not_a_corner;
7593
else
7594
goto is_not_a_corner;
7595
else
7596
goto is_not_a_corner;
7597
else
7598
if(ptr[offset6] < c_b)
7599
if(ptr[offset8] < c_b)
7600
if(ptr[offset10] < c_b)
7601
if(ptr[offset11] < c_b)
7602
goto is_a_corner;
7603
else
7604
goto is_not_a_corner;
7605
else
7606
goto is_not_a_corner;
7607
else
7608
goto is_not_a_corner;
7609
else
7610
if(ptr[offset8] < c_b)
7611
if(ptr[offset10] < c_b)
7612
if(ptr[offset11] < c_b)
7613
goto is_a_corner;
7614
else
7615
goto is_not_a_corner;
7616
else
7617
goto is_not_a_corner;
7618
else
7619
goto is_not_a_corner;
7620
else
7621
if(ptr[offset6] > cb)
7622
goto is_not_a_corner;
7623
else
7624
if(ptr[offset6] < c_b)
7625
if(ptr[offset8] < c_b)
7626
if(ptr[offset10] < c_b)
7627
if(ptr[offset11] < c_b)
7628
goto is_a_corner;
7629
else
7630
goto is_not_a_corner;
7631
else
7632
goto is_not_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[offset2] > cb)
7643
if(ptr[offset7] < c_b)
7644
if(ptr[offset9] > cb)
7645
goto is_not_a_corner;
7646
else
7647
if(ptr[offset9] < c_b)
7648
if(ptr[offset1] > cb)
7649
if(ptr[offset6] > cb)
7650
goto is_not_a_corner;
7651
else
7652
if(ptr[offset6] < c_b)
7653
if(ptr[offset8] < c_b)
7654
if(ptr[offset10] < c_b)
7655
if(ptr[offset11] < c_b)
7656
goto is_a_corner;
7657
else
7658
goto is_not_a_corner;
7659
else
7660
goto is_not_a_corner;
7661
else
7662
goto is_not_a_corner;
7663
else
7664
goto is_not_a_corner;
7665
else
7666
if(ptr[offset1] < c_b)
7667
if(ptr[offset6] > cb)
7668
if(ptr[offset8] < c_b)
7669
if(ptr[offset10] < c_b)
7670
if(ptr[offset11] < c_b)
7671
goto is_a_corner;
7672
else
7673
goto is_not_a_corner;
7674
else
7675
goto is_not_a_corner;
7676
else
7677
goto is_not_a_corner;
7678
else
7679
if(ptr[offset6] < c_b)
7680
if(ptr[offset8] < c_b)
7681
if(ptr[offset10] < c_b)
7682
if(ptr[offset11] < c_b)
7683
goto is_a_corner;
7684
else
7685
goto is_not_a_corner;
7686
else
7687
goto is_not_a_corner;
7688
else
7689
goto is_not_a_corner;
7690
else
7691
if(ptr[offset8] < c_b)
7692
if(ptr[offset10] < c_b)
7693
if(ptr[offset11] < c_b)
7694
goto is_a_corner;
7695
else
7696
goto is_not_a_corner;
7697
else
7698
goto is_not_a_corner;
7699
else
7700
goto is_not_a_corner;
7701
else
7702
if(ptr[offset6] > cb)
7703
goto is_not_a_corner;
7704
else
7705
if(ptr[offset6] < c_b)
7706
if(ptr[offset8] < c_b)
7707
if(ptr[offset10] < c_b)
7708
if(ptr[offset11] < c_b)
7709
goto is_a_corner;
7710
else
7711
goto is_not_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
goto is_not_a_corner;
7722
else
7723
if(ptr[offset2] < c_b)
7724
if(ptr[offset7] > cb)
7725
if(ptr[offset9] > cb)
7726
if(ptr[offset1] > cb)
7727
goto is_not_a_corner;
7728
else
7729
if(ptr[offset1] < c_b)
7730
if(ptr[offset6] > cb)
7731
if(ptr[offset3] < c_b)
7732
if(ptr[offset4] < c_b)
7733
if(ptr[offset10] < c_b)
7734
if(ptr[offset11] < c_b)
7735
goto is_a_corner;
7736
else
7737
goto is_not_a_corner;
7738
else
7739
goto is_not_a_corner;
7740
else
7741
goto is_not_a_corner;
7742
else
7743
goto is_not_a_corner;
7744
else
7745
if(ptr[offset6] < c_b)
7746
if(ptr[offset3] < c_b)
7747
if(ptr[offset4] < c_b)
7748
if(ptr[offset10] < c_b)
7749
if(ptr[offset11] < c_b)
7750
goto is_a_corner;
7751
else
7752
goto is_not_a_corner;
7753
else
7754
goto is_not_a_corner;
7755
else
7756
goto is_not_a_corner;
7757
else
7758
goto is_not_a_corner;
7759
else
7760
if(ptr[offset3] < c_b)
7761
if(ptr[offset4] < c_b)
7762
if(ptr[offset10] < c_b)
7763
if(ptr[offset11] < 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
goto is_not_a_corner;
7773
else
7774
goto is_not_a_corner;
7775
else
7776
if(ptr[offset9] < c_b)
7777
if(ptr[offset1] > cb)
7778
goto is_not_a_corner;
7779
else
7780
if(ptr[offset1] < c_b)
7781
if(ptr[offset6] > cb)
7782
if(ptr[offset10] < c_b)
7783
if(ptr[offset11] < c_b)
7784
if(ptr[offset3] < c_b)
7785
goto is_a_corner;
7786
else
7787
if(ptr[offset8] < c_b)
7788
goto is_a_corner;
7789
else
7790
goto is_not_a_corner;
7791
else
7792
goto is_not_a_corner;
7793
else
7794
goto is_not_a_corner;
7795
else
7796
if(ptr[offset6] < c_b)
7797
if(ptr[offset10] < c_b)
7798
if(ptr[offset11] < c_b)
7799
if(ptr[offset3] < c_b)
7800
goto is_a_corner;
7801
else
7802
if(ptr[offset8] < c_b)
7803
goto is_a_corner;
7804
else
7805
goto is_not_a_corner;
7806
else
7807
goto is_not_a_corner;
7808
else
7809
goto is_not_a_corner;
7810
else
7811
if(ptr[offset10] < c_b)
7812
if(ptr[offset11] < c_b)
7813
if(ptr[offset3] < c_b)
7814
goto is_a_corner;
7815
else
7816
if(ptr[offset8] < c_b)
7817
goto is_a_corner;
7818
else
7819
goto is_not_a_corner;
7820
else
7821
goto is_not_a_corner;
7822
else
7823
goto is_not_a_corner;
7824
else
7825
goto is_not_a_corner;
7826
else
7827
if(ptr[offset1] > cb)
7828
goto is_not_a_corner;
7829
else
7830
if(ptr[offset1] < c_b)
7831
if(ptr[offset6] > cb)
7832
if(ptr[offset3] < c_b)
7833
if(ptr[offset4] < c_b)
7834
if(ptr[offset10] < c_b)
7835
if(ptr[offset11] < c_b)
7836
goto is_a_corner;
7837
else
7838
goto is_not_a_corner;
7839
else
7840
goto is_not_a_corner;
7841
else
7842
goto is_not_a_corner;
7843
else
7844
goto is_not_a_corner;
7845
else
7846
if(ptr[offset6] < c_b)
7847
if(ptr[offset3] < c_b)
7848
if(ptr[offset4] < c_b)
7849
if(ptr[offset10] < c_b)
7850
if(ptr[offset11] < c_b)
7851
goto is_a_corner;
7852
else
7853
goto is_not_a_corner;
7854
else
7855
goto is_not_a_corner;
7856
else
7857
goto is_not_a_corner;
7858
else
7859
goto is_not_a_corner;
7860
else
7861
if(ptr[offset3] < c_b)
7862
if(ptr[offset4] < c_b)
7863
if(ptr[offset10] < c_b)
7864
if(ptr[offset11] < c_b)
7865
goto is_a_corner;
7866
else
7867
goto is_not_a_corner;
7868
else
7869
goto is_not_a_corner;
7870
else
7871
goto is_not_a_corner;
7872
else
7873
goto is_not_a_corner;
7874
else
7875
goto is_not_a_corner;
7876
else
7877
if(ptr[offset9] > cb)
7878
if(ptr[offset7] < c_b)
7879
if(ptr[offset1] > cb)
7880
goto is_not_a_corner;
7881
else
7882
if(ptr[offset1] < c_b)
7883
if(ptr[offset6] > cb)
7884
if(ptr[offset3] < c_b)
7885
if(ptr[offset4] < c_b)
7886
if(ptr[offset10] < c_b)
7887
if(ptr[offset11] < c_b)
7888
goto is_a_corner;
7889
else
7890
goto is_not_a_corner;
7891
else
7892
goto is_not_a_corner;
7893
else
7894
goto is_not_a_corner;
7895
else
7896
goto is_not_a_corner;
7897
else
7898
if(ptr[offset6] < c_b)
7899
if(ptr[offset3] < c_b)
7900
if(ptr[offset4] < c_b)
7901
if(ptr[offset10] < c_b)
7902
if(ptr[offset11] < c_b)
7903
goto is_a_corner;
7904
else
7905
goto is_not_a_corner;
7906
else
7907
goto is_not_a_corner;
7908
else
7909
goto is_not_a_corner;
7910
else
7911
goto is_not_a_corner;
7912
else
7913
if(ptr[offset3] < c_b)
7914
if(ptr[offset4] < c_b)
7915
if(ptr[offset10] < c_b)
7916
if(ptr[offset11] < c_b)
7917
goto is_a_corner;
7918
else
7919
goto is_not_a_corner;
7920
else
7921
goto is_not_a_corner;
7922
else
7923
goto is_not_a_corner;
7924
else
7925
goto is_not_a_corner;
7926
else
7927
goto is_not_a_corner;
7928
else
7929
if(ptr[offset1] > cb)
7930
goto is_not_a_corner;
7931
else
7932
if(ptr[offset1] < c_b)
7933
if(ptr[offset6] > cb)
7934
if(ptr[offset3] < c_b)
7935
if(ptr[offset4] < c_b)
7936
if(ptr[offset10] < c_b)
7937
if(ptr[offset11] < c_b)
7938
goto is_a_corner;
7939
else
7940
goto is_not_a_corner;
7941
else
7942
goto is_not_a_corner;
7943
else
7944
goto is_not_a_corner;
7945
else
7946
goto is_not_a_corner;
7947
else
7948
if(ptr[offset6] < c_b)
7949
if(ptr[offset3] < c_b)
7950
if(ptr[offset4] < c_b)
7951
if(ptr[offset10] < c_b)
7952
if(ptr[offset11] < c_b)
7953
goto is_a_corner;
7954
else
7955
goto is_not_a_corner;
7956
else
7957
goto is_not_a_corner;
7958
else
7959
goto is_not_a_corner;
7960
else
7961
goto is_not_a_corner;
7962
else
7963
if(ptr[offset3] < c_b)
7964
if(ptr[offset4] < c_b)
7965
if(ptr[offset10] < c_b)
7966
if(ptr[offset11] < c_b)
7967
goto is_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
goto is_not_a_corner;
7976
else
7977
goto is_not_a_corner;
7978
else
7979
if(ptr[offset7] < c_b)
7980
if(ptr[offset9] < c_b)
7981
if(ptr[offset1] > cb)
7982
if(ptr[offset6] > cb)
7983
goto is_not_a_corner;
7984
else
7985
if(ptr[offset6] < c_b)
7986
if(ptr[offset8] < c_b)
7987
if(ptr[offset10] < c_b)
7988
if(ptr[offset11] < c_b)
7989
goto is_a_corner;
7990
else
7991
goto is_not_a_corner;
7992
else
7993
goto is_not_a_corner;
7994
else
7995
goto is_not_a_corner;
7996
else
7997
goto is_not_a_corner;
7998
else
7999
if(ptr[offset1] < c_b)
8000
if(ptr[offset6] > cb)
8001
if(ptr[offset10] < c_b)
8002
if(ptr[offset11] < c_b)
8003
if(ptr[offset3] < c_b)
8004
goto is_a_corner;
8005
else
8006
if(ptr[offset8] < c_b)
8007
goto is_a_corner;
8008
else
8009
goto is_not_a_corner;
8010
else
8011
goto is_not_a_corner;
8012
else
8013
goto is_not_a_corner;
8014
else
8015
if(ptr[offset6] < c_b)
8016
if(ptr[offset10] < c_b)
8017
if(ptr[offset11] < c_b)
8018
if(ptr[offset3] < c_b)
8019
goto is_a_corner;
8020
else
8021
if(ptr[offset8] < c_b)
8022
goto is_a_corner;
8023
else
8024
goto is_not_a_corner;
8025
else
8026
goto is_not_a_corner;
8027
else
8028
goto is_not_a_corner;
8029
else
8030
if(ptr[offset10] < c_b)
8031
if(ptr[offset11] < c_b)
8032
if(ptr[offset3] < c_b)
8033
goto is_a_corner;
8034
else
8035
if(ptr[offset8] < c_b)
8036
goto is_a_corner;
8037
else
8038
goto is_not_a_corner;
8039
else
8040
goto is_not_a_corner;
8041
else
8042
goto is_not_a_corner;
8043
else
8044
if(ptr[offset6] > cb)
8045
goto is_not_a_corner;
8046
else
8047
if(ptr[offset6] < c_b)
8048
if(ptr[offset8] < c_b)
8049
if(ptr[offset10] < c_b)
8050
if(ptr[offset11] < c_b)
8051
goto is_a_corner;
8052
else
8053
goto is_not_a_corner;
8054
else
8055
goto is_not_a_corner;
8056
else
8057
goto is_not_a_corner;
8058
else
8059
goto is_not_a_corner;
8060
else
8061
if(ptr[offset1] > cb)
8062
goto is_not_a_corner;
8063
else
8064
if(ptr[offset1] < c_b)
8065
if(ptr[offset6] > cb)
8066
if(ptr[offset3] < c_b)
8067
if(ptr[offset4] < c_b)
8068
if(ptr[offset10] < c_b)
8069
if(ptr[offset11] < c_b)
8070
goto is_a_corner;
8071
else
8072
goto is_not_a_corner;
8073
else
8074
goto is_not_a_corner;
8075
else
8076
goto is_not_a_corner;
8077
else
8078
goto is_not_a_corner;
8079
else
8080
if(ptr[offset6] < c_b)
8081
if(ptr[offset3] < c_b)
8082
if(ptr[offset4] < c_b)
8083
if(ptr[offset10] < c_b)
8084
if(ptr[offset11] < c_b)
8085
goto is_a_corner;
8086
else
8087
goto is_not_a_corner;
8088
else
8089
goto is_not_a_corner;
8090
else
8091
goto is_not_a_corner;
8092
else
8093
goto is_not_a_corner;
8094
else
8095
if(ptr[offset3] < c_b)
8096
if(ptr[offset4] < c_b)
8097
if(ptr[offset10] < c_b)
8098
if(ptr[offset11] < 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
goto is_not_a_corner;
8108
else
8109
goto is_not_a_corner;
8110
else
8111
if(ptr[offset9] < c_b)
8112
if(ptr[offset1] > cb)
8113
goto is_not_a_corner;
8114
else
8115
if(ptr[offset1] < c_b)
8116
if(ptr[offset6] > cb)
8117
if(ptr[offset10] < c_b)
8118
if(ptr[offset11] < c_b)
8119
if(ptr[offset3] < c_b)
8120
goto is_a_corner;
8121
else
8122
if(ptr[offset8] < c_b)
8123
goto is_a_corner;
8124
else
8125
goto is_not_a_corner;
8126
else
8127
goto is_not_a_corner;
8128
else
8129
goto is_not_a_corner;
8130
else
8131
if(ptr[offset6] < c_b)
8132
if(ptr[offset10] < c_b)
8133
if(ptr[offset11] < c_b)
8134
if(ptr[offset3] < c_b)
8135
goto is_a_corner;
8136
else
8137
if(ptr[offset8] < c_b)
8138
goto is_a_corner;
8139
else
8140
goto is_not_a_corner;
8141
else
8142
goto is_not_a_corner;
8143
else
8144
goto is_not_a_corner;
8145
else
8146
if(ptr[offset10] < c_b)
8147
if(ptr[offset11] < c_b)
8148
if(ptr[offset3] < c_b)
8149
goto is_a_corner;
8150
else
8151
if(ptr[offset8] < c_b)
8152
goto is_a_corner;
8153
else
8154
goto is_not_a_corner;
8155
else
8156
goto is_not_a_corner;
8157
else
8158
goto is_not_a_corner;
8159
else
8160
goto is_not_a_corner;
8161
else
8162
if(ptr[offset1] > cb)
8163
goto is_not_a_corner;
8164
else
8165
if(ptr[offset1] < c_b)
8166
if(ptr[offset6] > cb)
8167
if(ptr[offset3] < c_b)
8168
if(ptr[offset4] < c_b)
8169
if(ptr[offset10] < c_b)
8170
if(ptr[offset11] < c_b)
8171
goto is_a_corner;
8172
else
8173
goto is_not_a_corner;
8174
else
8175
goto is_not_a_corner;
8176
else
8177
goto is_not_a_corner;
8178
else
8179
goto is_not_a_corner;
8180
else
8181
if(ptr[offset6] < c_b)
8182
if(ptr[offset3] < c_b)
8183
if(ptr[offset4] < c_b)
8184
if(ptr[offset10] < c_b)
8185
if(ptr[offset11] < c_b)
8186
goto is_a_corner;
8187
else
8188
goto is_not_a_corner;
8189
else
8190
goto is_not_a_corner;
8191
else
8192
goto is_not_a_corner;
8193
else
8194
goto is_not_a_corner;
8195
else
8196
if(ptr[offset3] < c_b)
8197
if(ptr[offset4] < c_b)
8198
if(ptr[offset10] < c_b)
8199
if(ptr[offset11] < c_b)
8200
goto is_a_corner;
8201
else
8202
goto is_not_a_corner;
8203
else
8204
goto is_not_a_corner;
8205
else
8206
goto is_not_a_corner;
8207
else
8208
goto is_not_a_corner;
8209
else
8210
goto is_not_a_corner;
8211
else
8212
if(ptr[offset7] < c_b)
8213
if(ptr[offset9] > cb)
8214
goto is_not_a_corner;
8215
else
8216
if(ptr[offset9] < c_b)
8217
if(ptr[offset1] > cb)
8218
if(ptr[offset6] > cb)
8219
goto is_not_a_corner;
8220
else
8221
if(ptr[offset6] < c_b)
8222
if(ptr[offset8] < c_b)
8223
if(ptr[offset10] < c_b)
8224
if(ptr[offset11] < c_b)
8225
goto is_a_corner;
8226
else
8227
goto is_not_a_corner;
8228
else
8229
goto is_not_a_corner;
8230
else
8231
goto is_not_a_corner;
8232
else
8233
goto is_not_a_corner;
8234
else
8235
if(ptr[offset1] < c_b)
8236
if(ptr[offset6] > cb)
8237
if(ptr[offset8] < c_b)
8238
if(ptr[offset10] < c_b)
8239
if(ptr[offset11] < c_b)
8240
goto is_a_corner;
8241
else
8242
goto is_not_a_corner;
8243
else
8244
goto is_not_a_corner;
8245
else
8246
goto is_not_a_corner;
8247
else
8248
if(ptr[offset6] < c_b)
8249
if(ptr[offset8] < c_b)
8250
if(ptr[offset10] < c_b)
8251
if(ptr[offset11] < c_b)
8252
goto is_a_corner;
8253
else
8254
goto is_not_a_corner;
8255
else
8256
goto is_not_a_corner;
8257
else
8258
goto is_not_a_corner;
8259
else
8260
if(ptr[offset8] < c_b)
8261
if(ptr[offset10] < c_b)
8262
if(ptr[offset11] < c_b)
8263
goto is_a_corner;
8264
else
8265
goto is_not_a_corner;
8266
else
8267
goto is_not_a_corner;
8268
else
8269
goto is_not_a_corner;
8270
else
8271
if(ptr[offset6] > cb)
8272
goto is_not_a_corner;
8273
else
8274
if(ptr[offset6] < c_b)
8275
if(ptr[offset8] < c_b)
8276
if(ptr[offset10] < c_b)
8277
if(ptr[offset11] < c_b)
8278
goto is_a_corner;
8279
else
8280
goto is_not_a_corner;
8281
else
8282
goto is_not_a_corner;
8283
else
8284
goto is_not_a_corner;
8285
else
8286
goto is_not_a_corner;
8287
else
8288
goto is_not_a_corner;
8289
else
8290
goto is_not_a_corner;
8291
else
8292
if(ptr[offset5] < c_b)
8293
if(ptr[offset7] > cb)
8294
goto is_not_a_corner;
8295
else
8296
if(ptr[offset7] < c_b)
8297
if(ptr[offset2] > cb)
8298
if(ptr[offset9] > cb)
8299
goto is_not_a_corner;
8300
else
8301
if(ptr[offset9] < c_b)
8302
if(ptr[offset1] > cb)
8303
if(ptr[offset6] > cb)
8304
goto is_not_a_corner;
8305
else
8306
if(ptr[offset6] < c_b)
8307
if(ptr[offset8] < c_b)
8308
if(ptr[offset4] < c_b)
8309
if(ptr[offset3] < c_b)
8310
goto is_a_corner;
8311
else
8312
if(ptr[offset10] < c_b)
8313
goto is_a_corner;
8314
else
8315
goto is_not_a_corner;
8316
else
8317
if(ptr[offset10] < c_b)
8318
if(ptr[offset11] < c_b)
8319
goto is_a_corner;
8320
else
8321
goto is_not_a_corner;
8322
else
8323
goto is_not_a_corner;
8324
else
8325
goto is_not_a_corner;
8326
else
8327
goto is_not_a_corner;
8328
else
8329
if(ptr[offset1] < c_b)
8330
if(ptr[offset6] > cb)
8331
goto is_not_a_corner;
8332
else
8333
if(ptr[offset6] < c_b)
8334
if(ptr[offset8] < c_b)
8335
if(ptr[offset4] < c_b)
8336
if(ptr[offset3] < c_b)
8337
goto is_a_corner;
8338
else
8339
if(ptr[offset10] < c_b)
8340
goto is_a_corner;
8341
else
8342
goto is_not_a_corner;
8343
else
8344
if(ptr[offset10] < c_b)
8345
if(ptr[offset11] < c_b)
8346
goto is_a_corner;
8347
else
8348
goto is_not_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
if(ptr[offset6] > cb)
8357
goto is_not_a_corner;
8358
else
8359
if(ptr[offset6] < c_b)
8360
if(ptr[offset8] < c_b)
8361
if(ptr[offset4] < c_b)
8362
if(ptr[offset3] < c_b)
8363
goto is_a_corner;
8364
else
8365
if(ptr[offset10] < c_b)
8366
goto is_a_corner;
8367
else
8368
goto is_not_a_corner;
8369
else
8370
if(ptr[offset10] < c_b)
8371
if(ptr[offset11] < c_b)
8372
goto is_a_corner;
8373
else
8374
goto is_not_a_corner;
8375
else
8376
goto is_not_a_corner;
8377
else
8378
goto is_not_a_corner;
8379
else
8380
goto is_not_a_corner;
8381
else
8382
goto is_not_a_corner;
8383
else
8384
if(ptr[offset2] < c_b)
8385
if(ptr[offset9] > cb)
8386
if(ptr[offset1] < c_b)
8387
if(ptr[offset6] > cb)
8388
goto is_not_a_corner;
8389
else
8390
if(ptr[offset6] < c_b)
8391
if(ptr[offset3] < c_b)
8392
if(ptr[offset4] < c_b)
8393
goto is_a_corner;
8394
else
8395
goto is_not_a_corner;
8396
else
8397
goto is_not_a_corner;
8398
else
8399
goto is_not_a_corner;
8400
else
8401
if(ptr[offset1] > cb)
8402
if(ptr[offset6] > cb)
8403
goto is_not_a_corner;
8404
else
8405
if(ptr[offset6] < c_b)
8406
if(ptr[offset3] < c_b)
8407
if(ptr[offset4] < c_b)
8408
if(ptr[offset8] < c_b)
8409
goto is_a_corner;
8410
else
8411
goto is_not_a_corner;
8412
else
8413
goto is_not_a_corner;
8414
else
8415
goto is_not_a_corner;
8416
else
8417
goto is_not_a_corner;
8418
else
8419
if(ptr[offset6] > cb)
8420
goto is_not_a_corner;
8421
else
8422
if(ptr[offset6] < c_b)
8423
if(ptr[offset3] < c_b)
8424
if(ptr[offset4] < c_b)
8425
if(ptr[offset8] < c_b)
8426
goto is_a_corner;
8427
else
8428
goto is_not_a_corner;
8429
else
8430
goto is_not_a_corner;
8431
else
8432
goto is_not_a_corner;
8433
else
8434
goto is_not_a_corner;
8435
else
8436
if(ptr[offset9] < c_b)
8437
if(ptr[offset1] > cb)
8438
if(ptr[offset6] > cb)
8439
goto is_not_a_corner;
8440
else
8441
if(ptr[offset6] < c_b)
8442
if(ptr[offset8] < c_b)
8443
if(ptr[offset4] < c_b)
8444
if(ptr[offset3] < c_b)
8445
goto is_a_corner;
8446
else
8447
if(ptr[offset10] < c_b)
8448
goto is_a_corner;
8449
else
8450
goto is_not_a_corner;
8451
else
8452
if(ptr[offset10] < c_b)
8453
if(ptr[offset11] < c_b)
8454
goto is_a_corner;
8455
else
8456
goto is_not_a_corner;
8457
else
8458
goto is_not_a_corner;
8459
else
8460
goto is_not_a_corner;
8461
else
8462
goto is_not_a_corner;
8463
else
8464
if(ptr[offset1] < c_b)
8465
if(ptr[offset6] > cb)
8466
goto is_not_a_corner;
8467
else
8468
if(ptr[offset6] < c_b)
8469
if(ptr[offset4] < c_b)
8470
if(ptr[offset3] < c_b)
8471
goto is_a_corner;
8472
else
8473
if(ptr[offset8] < c_b)
8474
if(ptr[offset10] < c_b)
8475
goto is_a_corner;
8476
else
8477
goto is_not_a_corner;
8478
else
8479
goto is_not_a_corner;
8480
else
8481
if(ptr[offset8] < c_b)
8482
if(ptr[offset10] < c_b)
8483
if(ptr[offset11] < c_b)
8484
goto is_a_corner;
8485
else
8486
goto is_not_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
if(ptr[offset6] > cb)
8495
goto is_not_a_corner;
8496
else
8497
if(ptr[offset6] < c_b)
8498
if(ptr[offset8] < c_b)
8499
if(ptr[offset4] < c_b)
8500
if(ptr[offset3] < c_b)
8501
goto is_a_corner;
8502
else
8503
if(ptr[offset10] < c_b)
8504
goto is_a_corner;
8505
else
8506
goto is_not_a_corner;
8507
else
8508
if(ptr[offset10] < c_b)
8509
if(ptr[offset11] < c_b)
8510
goto is_a_corner;
8511
else
8512
goto is_not_a_corner;
8513
else
8514
goto is_not_a_corner;
8515
else
8516
goto is_not_a_corner;
8517
else
8518
goto is_not_a_corner;
8519
else
8520
if(ptr[offset1] < c_b)
8521
if(ptr[offset6] > cb)
8522
goto is_not_a_corner;
8523
else
8524
if(ptr[offset6] < c_b)
8525
if(ptr[offset3] < c_b)
8526
if(ptr[offset4] < c_b)
8527
goto is_a_corner;
8528
else
8529
goto is_not_a_corner;
8530
else
8531
goto is_not_a_corner;
8532
else
8533
goto is_not_a_corner;
8534
else
8535
if(ptr[offset1] > cb)
8536
if(ptr[offset6] > cb)
8537
goto is_not_a_corner;
8538
else
8539
if(ptr[offset6] < c_b)
8540
if(ptr[offset3] < c_b)
8541
if(ptr[offset4] < c_b)
8542
if(ptr[offset8] < c_b)
8543
goto is_a_corner;
8544
else
8545
goto is_not_a_corner;
8546
else
8547
goto is_not_a_corner;
8548
else
8549
goto is_not_a_corner;
8550
else
8551
goto is_not_a_corner;
8552
else
8553
if(ptr[offset6] > cb)
8554
goto is_not_a_corner;
8555
else
8556
if(ptr[offset6] < c_b)
8557
if(ptr[offset3] < c_b)
8558
if(ptr[offset4] < c_b)
8559
if(ptr[offset8] < c_b)
8560
goto is_a_corner;
8561
else
8562
goto is_not_a_corner;
8563
else
8564
goto is_not_a_corner;
8565
else
8566
goto is_not_a_corner;
8567
else
8568
goto is_not_a_corner;
8569
else
8570
if(ptr[offset9] > cb)
8571
goto is_not_a_corner;
8572
else
8573
if(ptr[offset9] < c_b)
8574
if(ptr[offset1] > cb)
8575
if(ptr[offset6] > cb)
8576
goto is_not_a_corner;
8577
else
8578
if(ptr[offset6] < c_b)
8579
if(ptr[offset8] < c_b)
8580
if(ptr[offset4] < c_b)
8581
if(ptr[offset3] < c_b)
8582
goto is_a_corner;
8583
else
8584
if(ptr[offset10] < c_b)
8585
goto is_a_corner;
8586
else
8587
goto is_not_a_corner;
8588
else
8589
if(ptr[offset10] < c_b)
8590
if(ptr[offset11] < c_b)
8591
goto is_a_corner;
8592
else
8593
goto is_not_a_corner;
8594
else
8595
goto is_not_a_corner;
8596
else
8597
goto is_not_a_corner;
8598
else
8599
goto is_not_a_corner;
8600
else
8601
if(ptr[offset1] < c_b)
8602
if(ptr[offset6] > cb)
8603
goto is_not_a_corner;
8604
else
8605
if(ptr[offset6] < c_b)
8606
if(ptr[offset8] < c_b)
8607
if(ptr[offset4] < c_b)
8608
if(ptr[offset3] < c_b)
8609
goto is_a_corner;
8610
else
8611
if(ptr[offset10] < c_b)
8612
goto is_a_corner;
8613
else
8614
goto is_not_a_corner;
8615
else
8616
if(ptr[offset10] < c_b)
8617
if(ptr[offset11] < c_b)
8618
goto is_a_corner;
8619
else
8620
goto is_not_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
if(ptr[offset6] > cb)
8629
goto is_not_a_corner;
8630
else
8631
if(ptr[offset6] < c_b)
8632
if(ptr[offset8] < c_b)
8633
if(ptr[offset4] < c_b)
8634
if(ptr[offset3] < c_b)
8635
goto is_a_corner;
8636
else
8637
if(ptr[offset10] < c_b)
8638
goto is_a_corner;
8639
else
8640
goto is_not_a_corner;
8641
else
8642
if(ptr[offset10] < c_b)
8643
if(ptr[offset11] < c_b)
8644
goto is_a_corner;
8645
else
8646
goto is_not_a_corner;
8647
else
8648
goto is_not_a_corner;
8649
else
8650
goto is_not_a_corner;
8651
else
8652
goto is_not_a_corner;
8653
else
8654
goto is_not_a_corner;
8655
else
8656
goto is_not_a_corner;
8657
else
8658
if(ptr[offset5] > cb)
8659
if(ptr[offset7] > cb)
8660
if(ptr[offset2] < c_b)
8661
if(ptr[offset9] < c_b)
8662
goto is_not_a_corner;
8663
else
8664
if(ptr[offset9] > cb)
8665
if(ptr[offset1] > cb)
8666
if(ptr[offset6] < c_b)
8667
goto is_not_a_corner;
8668
else
8669
if(ptr[offset6] > cb)
8670
if(ptr[offset8] > cb)
8671
if(ptr[offset4] > cb)
8672
if(ptr[offset3] > cb)
8673
goto is_a_corner;
8674
else
8675
if(ptr[offset10] > cb)
8676
goto is_a_corner;
8677
else
8678
goto is_not_a_corner;
8679
else
8680
if(ptr[offset10] > cb)
8681
if(ptr[offset11] > cb)
8682
goto is_a_corner;
8683
else
8684
goto is_not_a_corner;
8685
else
8686
goto is_not_a_corner;
8687
else
8688
goto is_not_a_corner;
8689
else
8690
goto is_not_a_corner;
8691
else
8692
if(ptr[offset1] < c_b)
8693
if(ptr[offset6] < c_b)
8694
goto is_not_a_corner;
8695
else
8696
if(ptr[offset6] > cb)
8697
if(ptr[offset8] > cb)
8698
if(ptr[offset4] > cb)
8699
if(ptr[offset3] > cb)
8700
goto is_a_corner;
8701
else
8702
if(ptr[offset10] > cb)
8703
goto is_a_corner;
8704
else
8705
goto is_not_a_corner;
8706
else
8707
if(ptr[offset10] > cb)
8708
if(ptr[offset11] > cb)
8709
goto is_a_corner;
8710
else
8711
goto is_not_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
if(ptr[offset6] < c_b)
8720
goto is_not_a_corner;
8721
else
8722
if(ptr[offset6] > cb)
8723
if(ptr[offset8] > cb)
8724
if(ptr[offset4] > cb)
8725
if(ptr[offset3] > cb)
8726
goto is_a_corner;
8727
else
8728
if(ptr[offset10] > cb)
8729
goto is_a_corner;
8730
else
8731
goto is_not_a_corner;
8732
else
8733
if(ptr[offset10] > cb)
8734
if(ptr[offset11] > cb)
8735
goto is_a_corner;
8736
else
8737
goto is_not_a_corner;
8738
else
8739
goto is_not_a_corner;
8740
else
8741
goto is_not_a_corner;
8742
else
8743
goto is_not_a_corner;
8744
else
8745
goto is_not_a_corner;
8746
else
8747
if(ptr[offset2] > cb)
8748
if(ptr[offset9] < c_b)
8749
if(ptr[offset1] > cb)
8750
if(ptr[offset6] < c_b)
8751
goto is_not_a_corner;
8752
else
8753
if(ptr[offset6] > cb)
8754
if(ptr[offset3] > cb)
8755
if(ptr[offset4] > cb)
8756
goto is_a_corner;
8757
else
8758
goto is_not_a_corner;
8759
else
8760
goto is_not_a_corner;
8761
else
8762
goto is_not_a_corner;
8763
else
8764
if(ptr[offset1] < c_b)
8765
if(ptr[offset6] < c_b)
8766
goto is_not_a_corner;
8767
else
8768
if(ptr[offset6] > cb)
8769
if(ptr[offset3] > cb)
8770
if(ptr[offset4] > cb)
8771
if(ptr[offset8] > cb)
8772
goto is_a_corner;
8773
else
8774
goto is_not_a_corner;
8775
else
8776
goto is_not_a_corner;
8777
else
8778
goto is_not_a_corner;
8779
else
8780
goto is_not_a_corner;
8781
else
8782
if(ptr[offset6] < c_b)
8783
goto is_not_a_corner;
8784
else
8785
if(ptr[offset6] > cb)
8786
if(ptr[offset3] > cb)
8787
if(ptr[offset4] > cb)
8788
if(ptr[offset8] > cb)
8789
goto is_a_corner;
8790
else
8791
goto is_not_a_corner;
8792
else
8793
goto is_not_a_corner;
8794
else
8795
goto is_not_a_corner;
8796
else
8797
goto is_not_a_corner;
8798
else
8799
if(ptr[offset9] > cb)
8800
if(ptr[offset1] < c_b)
8801
if(ptr[offset6] < c_b)
8802
goto is_not_a_corner;
8803
else
8804
if(ptr[offset6] > cb)
8805
if(ptr[offset8] > cb)
8806
if(ptr[offset4] > cb)
8807
if(ptr[offset3] > cb)
8808
goto is_a_corner;
8809
else
8810
if(ptr[offset10] > cb)
8811
goto is_a_corner;
8812
else
8813
goto is_not_a_corner;
8814
else
8815
if(ptr[offset10] > cb)
8816
if(ptr[offset11] > cb)
8817
goto is_a_corner;
8818
else
8819
goto is_not_a_corner;
8820
else
8821
goto is_not_a_corner;
8822
else
8823
goto is_not_a_corner;
8824
else
8825
goto is_not_a_corner;
8826
else
8827
if(ptr[offset1] > cb)
8828
if(ptr[offset6] < c_b)
8829
goto is_not_a_corner;
8830
else
8831
if(ptr[offset6] > cb)
8832
if(ptr[offset4] > cb)
8833
if(ptr[offset3] > cb)
8834
goto is_a_corner;
8835
else
8836
if(ptr[offset8] > cb)
8837
if(ptr[offset10] > cb)
8838
goto is_a_corner;
8839
else
8840
goto is_not_a_corner;
8841
else
8842
goto is_not_a_corner;
8843
else
8844
if(ptr[offset8] > cb)
8845
if(ptr[offset10] > cb)
8846
if(ptr[offset11] > cb)
8847
goto is_a_corner;
8848
else
8849
goto is_not_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
if(ptr[offset6] < c_b)
8858
goto is_not_a_corner;
8859
else
8860
if(ptr[offset6] > cb)
8861
if(ptr[offset8] > cb)
8862
if(ptr[offset4] > cb)
8863
if(ptr[offset3] > cb)
8864
goto is_a_corner;
8865
else
8866
if(ptr[offset10] > cb)
8867
goto is_a_corner;
8868
else
8869
goto is_not_a_corner;
8870
else
8871
if(ptr[offset10] > cb)
8872
if(ptr[offset11] > cb)
8873
goto is_a_corner;
8874
else
8875
goto is_not_a_corner;
8876
else
8877
goto is_not_a_corner;
8878
else
8879
goto is_not_a_corner;
8880
else
8881
goto is_not_a_corner;
8882
else
8883
if(ptr[offset1] > cb)
8884
if(ptr[offset6] < c_b)
8885
goto is_not_a_corner;
8886
else
8887
if(ptr[offset6] > cb)
8888
if(ptr[offset3] > cb)
8889
if(ptr[offset4] > cb)
8890
goto is_a_corner;
8891
else
8892
goto is_not_a_corner;
8893
else
8894
goto is_not_a_corner;
8895
else
8896
goto is_not_a_corner;
8897
else
8898
if(ptr[offset1] < c_b)
8899
if(ptr[offset6] < c_b)
8900
goto is_not_a_corner;
8901
else
8902
if(ptr[offset6] > cb)
8903
if(ptr[offset3] > cb)
8904
if(ptr[offset4] > cb)
8905
if(ptr[offset8] > cb)
8906
goto is_a_corner;
8907
else
8908
goto is_not_a_corner;
8909
else
8910
goto is_not_a_corner;
8911
else
8912
goto is_not_a_corner;
8913
else
8914
goto is_not_a_corner;
8915
else
8916
if(ptr[offset6] < c_b)
8917
goto is_not_a_corner;
8918
else
8919
if(ptr[offset6] > cb)
8920
if(ptr[offset3] > cb)
8921
if(ptr[offset4] > cb)
8922
if(ptr[offset8] > cb)
8923
goto is_a_corner;
8924
else
8925
goto is_not_a_corner;
8926
else
8927
goto is_not_a_corner;
8928
else
8929
goto is_not_a_corner;
8930
else
8931
goto is_not_a_corner;
8932
else
8933
if(ptr[offset9] < c_b)
8934
goto is_not_a_corner;
8935
else
8936
if(ptr[offset9] > cb)
8937
if(ptr[offset1] > cb)
8938
if(ptr[offset6] < c_b)
8939
goto is_not_a_corner;
8940
else
8941
if(ptr[offset6] > cb)
8942
if(ptr[offset8] > cb)
8943
if(ptr[offset4] > cb)
8944
if(ptr[offset3] > cb)
8945
goto is_a_corner;
8946
else
8947
if(ptr[offset10] > cb)
8948
goto is_a_corner;
8949
else
8950
goto is_not_a_corner;
8951
else
8952
if(ptr[offset10] > cb)
8953
if(ptr[offset11] > cb)
8954
goto is_a_corner;
8955
else
8956
goto is_not_a_corner;
8957
else
8958
goto is_not_a_corner;
8959
else
8960
goto is_not_a_corner;
8961
else
8962
goto is_not_a_corner;
8963
else
8964
if(ptr[offset1] < c_b)
8965
if(ptr[offset6] < c_b)
8966
goto is_not_a_corner;
8967
else
8968
if(ptr[offset6] > cb)
8969
if(ptr[offset8] > cb)
8970
if(ptr[offset4] > cb)
8971
if(ptr[offset3] > cb)
8972
goto is_a_corner;
8973
else
8974
if(ptr[offset10] > cb)
8975
goto is_a_corner;
8976
else
8977
goto is_not_a_corner;
8978
else
8979
if(ptr[offset10] > cb)
8980
if(ptr[offset11] > cb)
8981
goto is_a_corner;
8982
else
8983
goto is_not_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
if(ptr[offset6] < c_b)
8992
goto is_not_a_corner;
8993
else
8994
if(ptr[offset6] > cb)
8995
if(ptr[offset8] > cb)
8996
if(ptr[offset4] > cb)
8997
if(ptr[offset3] > cb)
8998
goto is_a_corner;
8999
else
9000
if(ptr[offset10] > cb)
9001
goto is_a_corner;
9002
else
9003
goto is_not_a_corner;
9004
else
9005
if(ptr[offset10] > cb)
9006
if(ptr[offset11] > cb)
9007
goto is_a_corner;
9008
else
9009
goto is_not_a_corner;
9010
else
9011
goto is_not_a_corner;
9012
else
9013
goto is_not_a_corner;
9014
else
9015
goto is_not_a_corner;
9016
else
9017
goto is_not_a_corner;
9018
else
9019
goto is_not_a_corner;
9020
else
9021
goto is_not_a_corner;
9022
9023
is_a_corner:
9024
bmin = b_test;
9025
goto end;
9026
9027
is_not_a_corner:
9028
bmax = b_test;
9029
goto end;
9030
9031
end:
9032
9033
if(bmin == bmax - 1 || bmin == bmax)
9034
return bmin;
9035
b_test = (bmin + bmax) / 2;
9036
}
9037
}
9038
9039
// 8 pixel mask
9040
template<>
9041
int agast_cornerScore<AgastFeatureDetector::AGAST_5_8>(const uchar* ptr, const int pixel[], int threshold)
9042
{
9043
int bmin = threshold;
9044
int bmax = 255;
9045
int b_test = (bmax + bmin)/2;
9046
9047
short offset0 = (short) pixel[0];
9048
short offset1 = (short) pixel[1];
9049
short offset2 = (short) pixel[2];
9050
short offset3 = (short) pixel[3];
9051
short offset4 = (short) pixel[4];
9052
short offset5 = (short) pixel[5];
9053
short offset6 = (short) pixel[6];
9054
short offset7 = (short) pixel[7];
9055
9056
while(true)
9057
{
9058
const int cb = *ptr + b_test;
9059
const int c_b = *ptr - b_test;
9060
if(ptr[offset0] > cb)
9061
if(ptr[offset2] > cb)
9062
if(ptr[offset3] > cb)
9063
if(ptr[offset5] > cb)
9064
if(ptr[offset1] > cb)
9065
if(ptr[offset4] > cb)
9066
goto is_a_corner;
9067
else
9068
if(ptr[offset7] > cb)
9069
goto is_a_corner;
9070
else
9071
goto is_not_a_corner;
9072
else
9073
if(ptr[offset4] > cb)
9074
if(ptr[offset6] > cb)
9075
goto is_a_corner;
9076
else
9077
goto is_not_a_corner;
9078
else
9079
goto is_not_a_corner;
9080
else
9081
if(ptr[offset1] > cb)
9082
if(ptr[offset4] > cb)
9083
goto is_a_corner;
9084
else
9085
if(ptr[offset7] > cb)
9086
goto is_a_corner;
9087
else
9088
goto is_not_a_corner;
9089
else
9090
goto is_not_a_corner;
9091
else
9092
if(ptr[offset7] > cb)
9093
if(ptr[offset6] > cb)
9094
if(ptr[offset5] > cb)
9095
if(ptr[offset1] > cb)
9096
goto is_a_corner;
9097
else
9098
if(ptr[offset4] > cb)
9099
goto is_a_corner;
9100
else
9101
goto is_not_a_corner;
9102
else
9103
if(ptr[offset1] > cb)
9104
goto is_a_corner;
9105
else
9106
goto is_not_a_corner;
9107
else
9108
goto is_not_a_corner;
9109
else
9110
if(ptr[offset5] < c_b)
9111
if(ptr[offset3] < c_b)
9112
if(ptr[offset7] < c_b)
9113
if(ptr[offset4] < c_b)
9114
if(ptr[offset6] < c_b)
9115
goto is_a_corner;
9116
else
9117
goto is_not_a_corner;
9118
else
9119
goto is_not_a_corner;
9120
else
9121
goto is_not_a_corner;
9122
else
9123
goto is_not_a_corner;
9124
else
9125
goto is_not_a_corner;
9126
else
9127
if(ptr[offset5] > cb)
9128
if(ptr[offset7] > cb)
9129
if(ptr[offset6] > cb)
9130
if(ptr[offset1] > cb)
9131
goto is_a_corner;
9132
else
9133
if(ptr[offset4] > cb)
9134
goto is_a_corner;
9135
else
9136
goto is_not_a_corner;
9137
else
9138
goto is_not_a_corner;
9139
else
9140
goto is_not_a_corner;
9141
else
9142
if(ptr[offset5] < c_b)
9143
if(ptr[offset3] < c_b)
9144
if(ptr[offset2] < c_b)
9145
if(ptr[offset1] < c_b)
9146
if(ptr[offset4] < c_b)
9147
goto is_a_corner;
9148
else
9149
goto is_not_a_corner;
9150
else
9151
if(ptr[offset4] < c_b)
9152
if(ptr[offset6] < c_b)
9153
goto is_a_corner;
9154
else
9155
goto is_not_a_corner;
9156
else
9157
goto is_not_a_corner;
9158
else
9159
if(ptr[offset7] < c_b)
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
goto is_not_a_corner;
9169
else
9170
goto is_not_a_corner;
9171
else
9172
goto is_not_a_corner;
9173
else
9174
if(ptr[offset0] < c_b)
9175
if(ptr[offset2] < c_b)
9176
if(ptr[offset7] > cb)
9177
if(ptr[offset3] < c_b)
9178
if(ptr[offset5] < c_b)
9179
if(ptr[offset1] < c_b)
9180
if(ptr[offset4] < c_b)
9181
goto is_a_corner;
9182
else
9183
goto is_not_a_corner;
9184
else
9185
if(ptr[offset4] < c_b)
9186
if(ptr[offset6] < c_b)
9187
goto is_a_corner;
9188
else
9189
goto is_not_a_corner;
9190
else
9191
goto is_not_a_corner;
9192
else
9193
if(ptr[offset1] < c_b)
9194
if(ptr[offset4] < c_b)
9195
goto is_a_corner;
9196
else
9197
goto is_not_a_corner;
9198
else
9199
goto is_not_a_corner;
9200
else
9201
if(ptr[offset5] > cb)
9202
if(ptr[offset3] > cb)
9203
if(ptr[offset4] > cb)
9204
if(ptr[offset6] > cb)
9205
goto is_a_corner;
9206
else
9207
goto is_not_a_corner;
9208
else
9209
goto is_not_a_corner;
9210
else
9211
goto is_not_a_corner;
9212
else
9213
goto is_not_a_corner;
9214
else
9215
if(ptr[offset7] < c_b)
9216
if(ptr[offset3] < c_b)
9217
if(ptr[offset5] < c_b)
9218
if(ptr[offset1] < c_b)
9219
goto is_a_corner;
9220
else
9221
if(ptr[offset4] < c_b)
9222
if(ptr[offset6] < c_b)
9223
goto is_a_corner;
9224
else
9225
goto is_not_a_corner;
9226
else
9227
goto is_not_a_corner;
9228
else
9229
if(ptr[offset1] < c_b)
9230
goto is_a_corner;
9231
else
9232
goto is_not_a_corner;
9233
else
9234
if(ptr[offset6] < c_b)
9235
if(ptr[offset5] < c_b)
9236
if(ptr[offset1] < c_b)
9237
goto is_a_corner;
9238
else
9239
if(ptr[offset4] < c_b)
9240
goto is_a_corner;
9241
else
9242
goto is_not_a_corner;
9243
else
9244
if(ptr[offset1] < c_b)
9245
goto is_a_corner;
9246
else
9247
goto is_not_a_corner;
9248
else
9249
goto is_not_a_corner;
9250
else
9251
if(ptr[offset3] < c_b)
9252
if(ptr[offset5] < c_b)
9253
if(ptr[offset1] < c_b)
9254
if(ptr[offset4] < c_b)
9255
goto is_a_corner;
9256
else
9257
goto is_not_a_corner;
9258
else
9259
if(ptr[offset4] < c_b)
9260
if(ptr[offset6] < c_b)
9261
goto is_a_corner;
9262
else
9263
goto is_not_a_corner;
9264
else
9265
goto is_not_a_corner;
9266
else
9267
if(ptr[offset1] < c_b)
9268
if(ptr[offset4] < c_b)
9269
goto is_a_corner;
9270
else
9271
goto is_not_a_corner;
9272
else
9273
goto is_not_a_corner;
9274
else
9275
goto is_not_a_corner;
9276
else
9277
if(ptr[offset5] > cb)
9278
if(ptr[offset3] > cb)
9279
if(ptr[offset2] > cb)
9280
if(ptr[offset1] > cb)
9281
if(ptr[offset4] > cb)
9282
goto is_a_corner;
9283
else
9284
goto is_not_a_corner;
9285
else
9286
if(ptr[offset4] > cb)
9287
if(ptr[offset6] > cb)
9288
goto is_a_corner;
9289
else
9290
goto is_not_a_corner;
9291
else
9292
goto is_not_a_corner;
9293
else
9294
if(ptr[offset7] > cb)
9295
if(ptr[offset4] > cb)
9296
if(ptr[offset6] > cb)
9297
goto is_a_corner;
9298
else
9299
goto is_not_a_corner;
9300
else
9301
goto is_not_a_corner;
9302
else
9303
goto is_not_a_corner;
9304
else
9305
goto is_not_a_corner;
9306
else
9307
if(ptr[offset5] < c_b)
9308
if(ptr[offset7] < c_b)
9309
if(ptr[offset6] < c_b)
9310
if(ptr[offset1] < c_b)
9311
goto is_a_corner;
9312
else
9313
if(ptr[offset4] < c_b)
9314
goto is_a_corner;
9315
else
9316
goto is_not_a_corner;
9317
else
9318
goto is_not_a_corner;
9319
else
9320
goto is_not_a_corner;
9321
else
9322
goto is_not_a_corner;
9323
else
9324
if(ptr[offset3] > cb)
9325
if(ptr[offset5] > cb)
9326
if(ptr[offset2] > cb)
9327
if(ptr[offset1] > cb)
9328
if(ptr[offset4] > cb)
9329
goto is_a_corner;
9330
else
9331
goto is_not_a_corner;
9332
else
9333
if(ptr[offset4] > cb)
9334
if(ptr[offset6] > cb)
9335
goto is_a_corner;
9336
else
9337
goto is_not_a_corner;
9338
else
9339
goto is_not_a_corner;
9340
else
9341
if(ptr[offset7] > cb)
9342
if(ptr[offset4] > cb)
9343
if(ptr[offset6] > cb)
9344
goto is_a_corner;
9345
else
9346
goto is_not_a_corner;
9347
else
9348
goto is_not_a_corner;
9349
else
9350
goto is_not_a_corner;
9351
else
9352
goto is_not_a_corner;
9353
else
9354
if(ptr[offset3] < c_b)
9355
if(ptr[offset5] < c_b)
9356
if(ptr[offset2] < c_b)
9357
if(ptr[offset1] < c_b)
9358
if(ptr[offset4] < c_b)
9359
goto is_a_corner;
9360
else
9361
goto is_not_a_corner;
9362
else
9363
if(ptr[offset4] < c_b)
9364
if(ptr[offset6] < c_b)
9365
goto is_a_corner;
9366
else
9367
goto is_not_a_corner;
9368
else
9369
goto is_not_a_corner;
9370
else
9371
if(ptr[offset7] < c_b)
9372
if(ptr[offset4] < c_b)
9373
if(ptr[offset6] < c_b)
9374
goto is_a_corner;
9375
else
9376
goto is_not_a_corner;
9377
else
9378
goto is_not_a_corner;
9379
else
9380
goto is_not_a_corner;
9381
else
9382
goto is_not_a_corner;
9383
else
9384
goto is_not_a_corner;
9385
9386
is_a_corner:
9387
bmin=b_test;
9388
goto end;
9389
9390
is_not_a_corner:
9391
bmax=b_test;
9392
goto end;
9393
9394
end:
9395
9396
if(bmin == bmax - 1 || bmin == bmax)
9397
return bmin;
9398
b_test = (bmin + bmax) / 2;
9399
}
9400
}
9401
9402
} // namespace cv
9403
9404