1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
pub const OPJ_TRUE : :: std :: os :: raw :: c_uint = 1 ; pub const OPJ_FALSE : :: std :: os :: raw :: c_uint = 0 ; pub const OPJ_HAVE_STDINT_H : :: std :: os :: raw :: c_uint = 1 ; pub const OPJ_VERSION_MAJOR : :: std :: os :: raw :: c_uint = 2 ; pub const OPJ_VERSION_MINOR : :: std :: os :: raw :: c_uint = 3 ; pub const OPJ_VERSION_BUILD : :: std :: os :: raw :: c_uint = 0 ; pub const _STDINT_H : :: std :: os :: raw :: c_uint = 1 ; pub const _FEATURES_H : :: std :: os :: raw :: c_uint = 1 ; pub const _DEFAULT_SOURCE : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_ISOC11 : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_ISOC99 : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_ISOC95 : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_POSIX_IMPLICITLY : :: std :: os :: raw :: c_uint = 1 ; pub const _POSIX_SOURCE : :: std :: os :: raw :: c_uint = 1 ; pub const _POSIX_C_SOURCE : :: std :: os :: raw :: c_uint = 200809 ; pub const __USE_POSIX : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_POSIX2 : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_POSIX199309 : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_POSIX199506 : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_XOPEN2K : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_XOPEN2K8 : :: std :: os :: raw :: c_uint = 1 ; pub const _ATFILE_SOURCE : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_MISC : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_ATFILE : :: std :: os :: raw :: c_uint = 1 ; pub const __USE_FORTIFY_LEVEL : :: std :: os :: raw :: c_uint = 0 ; pub const _STDC_PREDEF_H : :: std :: os :: raw :: c_uint = 1 ; pub const __STDC_IEC_559__ : :: std :: os :: raw :: c_uint = 1 ; pub const __STDC_IEC_559_COMPLEX__ : :: std :: os :: raw :: c_uint = 1 ; pub const __STDC_ISO_10646__ : :: std :: os :: raw :: c_uint = 201605 ; pub const __STDC_NO_THREADS__ : :: std :: os :: raw :: c_uint = 1 ; pub const __GNU_LIBRARY__ : :: std :: os :: raw :: c_uint = 6 ; pub const __GLIBC__ : :: std :: os :: raw :: c_uint = 2 ; pub const __GLIBC_MINOR__ : :: std :: os :: raw :: c_uint = 24 ; pub const _SYS_CDEFS_H : :: std :: os :: raw :: c_uint = 1 ; pub const __WORDSIZE : :: std :: os :: raw :: c_uint = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : :: std :: os :: raw :: c_uint = 1 ; pub const __SYSCALL_WORDSIZE : :: std :: os :: raw :: c_uint = 64 ; pub const _BITS_WCHAR_H : :: std :: os :: raw :: c_uint = 1 ; pub const INT8_MIN : :: std :: os :: raw :: c_int = -128 ; pub const INT16_MIN : :: std :: os :: raw :: c_int = -32768 ; pub const INT32_MIN : :: std :: os :: raw :: c_int = -2147483648 ; pub const INT8_MAX : :: std :: os :: raw :: c_uint = 127 ; pub const INT16_MAX : :: std :: os :: raw :: c_uint = 32767 ; pub const INT32_MAX : :: std :: os :: raw :: c_uint = 2147483647 ; pub const UINT8_MAX : :: std :: os :: raw :: c_uint = 255 ; pub const UINT16_MAX : :: std :: os :: raw :: c_uint = 65535 ; pub const UINT32_MAX : :: std :: os :: raw :: c_uint = 4294967295 ; pub const INT_LEAST8_MIN : :: std :: os :: raw :: c_int = -128 ; pub const INT_LEAST16_MIN : :: std :: os :: raw :: c_int = -32768 ; pub const INT_LEAST32_MIN : :: std :: os :: raw :: c_int = -2147483648 ; pub const INT_LEAST8_MAX : :: std :: os :: raw :: c_uint = 127 ; pub const INT_LEAST16_MAX : :: std :: os :: raw :: c_uint = 32767 ; pub const INT_LEAST32_MAX : :: std :: os :: raw :: c_uint = 2147483647 ; pub const UINT_LEAST8_MAX : :: std :: os :: raw :: c_uint = 255 ; pub const UINT_LEAST16_MAX : :: std :: os :: raw :: c_uint = 65535 ; pub const UINT_LEAST32_MAX : :: std :: os :: raw :: c_uint = 4294967295 ; pub const INT_FAST8_MIN : :: std :: os :: raw :: c_int = -128 ; pub const INT_FAST16_MIN : :: std :: os :: raw :: c_longlong = -9223372036854775808 ; pub const INT_FAST32_MIN : :: std :: os :: raw :: c_longlong = -9223372036854775808 ; pub const INT_FAST8_MAX : :: std :: os :: raw :: c_uint = 127 ; pub const INT_FAST16_MAX : :: std :: os :: raw :: c_ulonglong = 9223372036854775807 ; pub const INT_FAST32_MAX : :: std :: os :: raw :: c_ulonglong = 9223372036854775807 ; pub const UINT_FAST8_MAX : :: std :: os :: raw :: c_uint = 255 ; pub const UINT_FAST16_MAX : :: std :: os :: raw :: c_int = -1 ; pub const UINT_FAST32_MAX : :: std :: os :: raw :: c_int = -1 ; pub const INTPTR_MIN : :: std :: os :: raw :: c_longlong = -9223372036854775808 ; pub const INTPTR_MAX : :: std :: os :: raw :: c_ulonglong = 9223372036854775807 ; pub const UINTPTR_MAX : :: std :: os :: raw :: c_int = -1 ; pub const PTRDIFF_MIN : :: std :: os :: raw :: c_longlong = -9223372036854775808 ; pub const PTRDIFF_MAX : :: std :: os :: raw :: c_ulonglong = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : :: std :: os :: raw :: c_int = -2147483648 ; pub const SIG_ATOMIC_MAX : :: std :: os :: raw :: c_uint = 2147483647 ; pub const SIZE_MAX : :: std :: os :: raw :: c_int = -1 ; pub const WINT_MIN : :: std :: os :: raw :: c_uint = 0 ; pub const WINT_MAX : :: std :: os :: raw :: c_uint = 4294967295 ; pub const _STDIO_H : :: std :: os :: raw :: c_uint = 1 ; pub const _BITS_TYPES_H : :: std :: os :: raw :: c_uint = 1 ; pub const _BITS_TYPESIZES_H : :: std :: os :: raw :: c_uint = 1 ; pub const __OFF_T_MATCHES_OFF64_T : :: std :: os :: raw :: c_uint = 1 ; pub const __INO_T_MATCHES_INO64_T : :: std :: os :: raw :: c_uint = 1 ; pub const __FD_SETSIZE : :: std :: os :: raw :: c_uint = 1024 ; pub const __FILE_defined : :: std :: os :: raw :: c_uint = 1 ; pub const ____FILE_defined : :: std :: os :: raw :: c_uint = 1 ; pub const _G_config_h : :: std :: os :: raw :: c_uint = 1 ; pub const ____mbstate_t_defined : :: std :: os :: raw :: c_uint = 1 ; pub const _G_HAVE_MMAP : :: std :: os :: raw :: c_uint = 1 ; pub const _G_HAVE_MREMAP : :: std :: os :: raw :: c_uint = 1 ; pub const _G_IO_IO_FILE_VERSION : :: std :: os :: raw :: c_uint = 131073 ; pub const _G_BUFSIZ : :: std :: os :: raw :: c_uint = 8192 ; pub const _IO_BUFSIZ : :: std :: os :: raw :: c_uint = 8192 ; pub const __GNUC_VA_LIST : :: std :: os :: raw :: c_uint = 1 ; pub const _IO_UNIFIED_JUMPTABLES : :: std :: os :: raw :: c_uint = 1 ; pub const EOF : :: std :: os :: raw :: c_int = -1 ; pub const _IOS_INPUT : :: std :: os :: raw :: c_uint = 1 ; pub const _IOS_OUTPUT : :: std :: os :: raw :: c_uint = 2 ; pub const _IOS_ATEND : :: std :: os :: raw :: c_uint = 4 ; pub const _IOS_APPEND : :: std :: os :: raw :: c_uint = 8 ; pub const _IOS_TRUNC : :: std :: os :: raw :: c_uint = 16 ; pub const _IOS_NOCREATE : :: std :: os :: raw :: c_uint = 32 ; pub const _IOS_NOREPLACE : :: std :: os :: raw :: c_uint = 64 ; pub const _IOS_BIN : :: std :: os :: raw :: c_uint = 128 ; pub const _IO_MAGIC : :: std :: os :: raw :: c_uint = 4222418944 ; pub const _OLD_STDIO_MAGIC : :: std :: os :: raw :: c_uint = 4206624768 ; pub const _IO_MAGIC_MASK : :: std :: os :: raw :: c_uint = 4294901760 ; pub const _IO_USER_BUF : :: std :: os :: raw :: c_uint = 1 ; pub const _IO_UNBUFFERED : :: std :: os :: raw :: c_uint = 2 ; pub const _IO_NO_READS : :: std :: os :: raw :: c_uint = 4 ; pub const _IO_NO_WRITES : :: std :: os :: raw :: c_uint = 8 ; pub const _IO_EOF_SEEN : :: std :: os :: raw :: c_uint = 16 ; pub const _IO_ERR_SEEN : :: std :: os :: raw :: c_uint = 32 ; pub const _IO_DELETE_DONT_CLOSE : :: std :: os :: raw :: c_uint = 64 ; pub const _IO_LINKED : :: std :: os :: raw :: c_uint = 128 ; pub const _IO_IN_BACKUP : :: std :: os :: raw :: c_uint = 256 ; pub const _IO_LINE_BUF : :: std :: os :: raw :: c_uint = 512 ; pub const _IO_TIED_PUT_GET : :: std :: os :: raw :: c_uint = 1024 ; pub const _IO_CURRENTLY_PUTTING : :: std :: os :: raw :: c_uint = 2048 ; pub const _IO_IS_APPENDING : :: std :: os :: raw :: c_uint = 4096 ; pub const _IO_IS_FILEBUF : :: std :: os :: raw :: c_uint = 8192 ; pub const _IO_BAD_SEEN : :: std :: os :: raw :: c_uint = 16384 ; pub const _IO_USER_LOCK : :: std :: os :: raw :: c_uint = 32768 ; pub const _IO_FLAGS2_MMAP : :: std :: os :: raw :: c_uint = 1 ; pub const _IO_FLAGS2_NOTCANCEL : :: std :: os :: raw :: c_uint = 2 ; pub const _IO_FLAGS2_USER_WBUF : :: std :: os :: raw :: c_uint = 8 ; pub const _IO_SKIPWS : :: std :: os :: raw :: c_uint = 1 ; pub const _IO_LEFT : :: std :: os :: raw :: c_uint = 2 ; pub const _IO_RIGHT : :: std :: os :: raw :: c_uint = 4 ; pub const _IO_INTERNAL : :: std :: os :: raw :: c_uint = 8 ; pub const _IO_DEC : :: std :: os :: raw :: c_uint = 16 ; pub const _IO_OCT : :: std :: os :: raw :: c_uint = 32 ; pub const _IO_HEX : :: std :: os :: raw :: c_uint = 64 ; pub const _IO_SHOWBASE : :: std :: os :: raw :: c_uint = 128 ; pub const _IO_SHOWPOINT : :: std :: os :: raw :: c_uint = 256 ; pub const _IO_UPPERCASE : :: std :: os :: raw :: c_uint = 512 ; pub const _IO_SHOWPOS : :: std :: os :: raw :: c_uint = 1024 ; pub const _IO_SCIENTIFIC : :: std :: os :: raw :: c_uint = 2048 ; pub const _IO_FIXED : :: std :: os :: raw :: c_uint = 4096 ; pub const _IO_UNITBUF : :: std :: os :: raw :: c_uint = 8192 ; pub const _IO_STDIO : :: std :: os :: raw :: c_uint = 16384 ; pub const _IO_DONT_CLOSE : :: std :: os :: raw :: c_uint = 32768 ; pub const _IO_BOOLALPHA : :: std :: os :: raw :: c_uint = 65536 ; pub const _IOFBF : :: std :: os :: raw :: c_uint = 0 ; pub const _IOLBF : :: std :: os :: raw :: c_uint = 1 ; pub const _IONBF : :: std :: os :: raw :: c_uint = 2 ; pub const BUFSIZ : :: std :: os :: raw :: c_uint = 8192 ; pub const SEEK_SET : :: std :: os :: raw :: c_uint = 0 ; pub const SEEK_CUR : :: std :: os :: raw :: c_uint = 1 ; pub const SEEK_END : :: std :: os :: raw :: c_uint = 2 ; pub const P_tmpdir : & 'static [ u8 ; 5usize ] = b"/tmp\0" ; pub const L_tmpnam : :: std :: os :: raw :: c_uint = 20 ; pub const TMP_MAX : :: std :: os :: raw :: c_uint = 238328 ; pub const FILENAME_MAX : :: std :: os :: raw :: c_uint = 4096 ; pub const L_ctermid : :: std :: os :: raw :: c_uint = 9 ; pub const FOPEN_MAX : :: std :: os :: raw :: c_uint = 16 ; pub const OPJ_PATH_LEN : :: std :: os :: raw :: c_uint = 4096 ; pub const OPJ_J2K_MAXRLVLS : :: std :: os :: raw :: c_uint = 33 ; pub const OPJ_J2K_MAXBANDS : :: std :: os :: raw :: c_uint = 97 ; pub const OPJ_J2K_DEFAULT_NB_SEGS : :: std :: os :: raw :: c_uint = 10 ; pub const OPJ_J2K_STREAM_CHUNK_SIZE : :: std :: os :: raw :: c_uint = 1048576 ; pub const OPJ_J2K_DEFAULT_HEADER_SIZE : :: std :: os :: raw :: c_uint = 1000 ; pub const OPJ_J2K_MCC_DEFAULT_NB_RECORDS : :: std :: os :: raw :: c_uint = 10 ; pub const OPJ_J2K_MCT_DEFAULT_NB_RECORDS : :: std :: os :: raw :: c_uint = 10 ; pub const JPWL_MAX_NO_TILESPECS : :: std :: os :: raw :: c_uint = 16 ; pub const JPWL_MAX_NO_PACKSPECS : :: std :: os :: raw :: c_uint = 16 ; pub const JPWL_MAX_NO_MARKERS : :: std :: os :: raw :: c_uint = 512 ; pub const JPWL_PRIVATEINDEX_NAME : & 'static [ u8 ; 27usize ] = b"jpwl_index_privatefilename\0" ; pub const JPWL_EXPECTED_COMPONENTS : :: std :: os :: raw :: c_uint = 3 ; pub const JPWL_MAXIMUM_TILES : :: std :: os :: raw :: c_uint = 8192 ; pub const JPWL_MAXIMUM_HAMMING : :: std :: os :: raw :: c_uint = 2 ; pub const JPWL_MAXIMUM_EPB_ROOM : :: std :: os :: raw :: c_uint = 65450 ; pub const OPJ_IMG_INFO : :: std :: os :: raw :: c_uint = 1 ; pub const OPJ_J2K_MH_INFO : :: std :: os :: raw :: c_uint = 2 ; pub const OPJ_J2K_TH_INFO : :: std :: os :: raw :: c_uint = 4 ; pub const OPJ_J2K_TCH_INFO : :: std :: os :: raw :: c_uint = 8 ; pub const OPJ_J2K_MH_IND : :: std :: os :: raw :: c_uint = 16 ; pub const OPJ_J2K_TH_IND : :: std :: os :: raw :: c_uint = 32 ; pub const OPJ_JP2_INFO : :: std :: os :: raw :: c_uint = 128 ; pub const OPJ_JP2_IND : :: std :: os :: raw :: c_uint = 256 ; pub const OPJ_PROFILE_NONE : :: std :: os :: raw :: c_uint = 0 ; pub const OPJ_PROFILE_0 : :: std :: os :: raw :: c_uint = 1 ; pub const OPJ_PROFILE_1 : :: std :: os :: raw :: c_uint = 2 ; pub const OPJ_PROFILE_PART2 : :: std :: os :: raw :: c_uint = 32768 ; pub const OPJ_PROFILE_CINEMA_2K : :: std :: os :: raw :: c_uint = 3 ; pub const OPJ_PROFILE_CINEMA_4K : :: std :: os :: raw :: c_uint = 4 ; pub const OPJ_PROFILE_CINEMA_S2K : :: std :: os :: raw :: c_uint = 5 ; pub const OPJ_PROFILE_CINEMA_S4K : :: std :: os :: raw :: c_uint = 6 ; pub const OPJ_PROFILE_CINEMA_LTS : :: std :: os :: raw :: c_uint = 7 ; pub const OPJ_PROFILE_BC_SINGLE : :: std :: os :: raw :: c_uint = 256 ; pub const OPJ_PROFILE_BC_MULTI : :: std :: os :: raw :: c_uint = 512 ; pub const OPJ_PROFILE_BC_MULTI_R : :: std :: os :: raw :: c_uint = 768 ; pub const OPJ_PROFILE_IMF_2K : :: std :: os :: raw :: c_uint = 1024 ; pub const OPJ_PROFILE_IMF_4K : :: std :: os :: raw :: c_uint = 1025 ; pub const OPJ_PROFILE_IMF_8K : :: std :: os :: raw :: c_uint = 1026 ; pub const OPJ_PROFILE_IMF_2K_R : :: std :: os :: raw :: c_uint = 1027 ; pub const OPJ_PROFILE_IMF_4K_R : :: std :: os :: raw :: c_uint = 2048 ; pub const OPJ_PROFILE_IMF_8K_R : :: std :: os :: raw :: c_uint = 2049 ; pub const OPJ_EXTENSION_NONE : :: std :: os :: raw :: c_uint = 0 ; pub const OPJ_EXTENSION_MCT : :: std :: os :: raw :: c_uint = 256 ; pub const OPJ_CINEMA_24_CS : :: std :: os :: raw :: c_uint = 1302083 ; pub const OPJ_CINEMA_48_CS : :: std :: os :: raw :: c_uint = 651041 ; pub const OPJ_CINEMA_24_COMP : :: std :: os :: raw :: c_uint = 1041666 ; pub const OPJ_CINEMA_48_COMP : :: std :: os :: raw :: c_uint = 520833 ; pub const OPJ_DPARAMETERS_IGNORE_PCLR_CMAP_CDEF_FLAG : :: std :: os :: raw :: c_uint = 1 ; pub const OPJ_DPARAMETERS_DUMP_FLAG : :: std :: os :: raw :: c_uint = 2 ; pub const OPJ_STREAM_READ : :: std :: os :: raw :: c_uint = 1 ; pub const OPJ_STREAM_WRITE : :: std :: os :: raw :: c_uint = 0 ; pub type OPJ_BOOL = :: std :: os :: raw :: c_int ; pub type OPJ_CHAR = :: std :: os :: raw :: c_char ; pub type OPJ_FLOAT32 = f32 ; pub type OPJ_FLOAT64 = f64 ; pub type OPJ_BYTE = :: std :: os :: raw :: c_uchar ; pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = :: std :: os :: raw :: c_long ; pub type uintmax_t = :: std :: os :: raw :: c_ulong ; pub type OPJ_INT8 = i8 ; pub type OPJ_UINT8 = u8 ; pub type OPJ_INT16 = i16 ; pub type OPJ_UINT16 = u16 ; pub type OPJ_INT32 = i32 ; pub type OPJ_UINT32 = u32 ; pub type OPJ_INT64 = i64 ; pub type OPJ_UINT64 = u64 ; pub type OPJ_OFF_T = i64 ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __fsid_t { pub __val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __fsid_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __qaddr_t = * mut __quad_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type FILE = _IO_FILE ; pub type __FILE = _IO_FILE ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [ :: std :: os :: raw :: c_char ; 4usize ] , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout___mbstate_t__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t__bindgen_ty_1 > ( ) ) ) . __wch as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t__bindgen_ty_1 > ( ) ) ) . __wchb as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wchb ) ) ) ; } # [ test ] fn bindgen_test_layout___mbstate_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __value as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __state ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos64_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos64_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos64_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __state ) ) ) ; } pub type va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = :: std :: os :: raw :: c_uint ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [ :: std :: os :: raw :: c_char ; 1usize ] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_FILE > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _IO_FILE ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_FILE > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_FILE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_ptr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_end as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_base as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_base as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_ptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_end as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_base as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_buf_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_end as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_buf_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_base as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_save_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_backup_base as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_backup_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_end as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_save_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _markers as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _markers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _chain as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _chain ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _fileno as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _fileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags2 as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _old_offset as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _old_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _cur_column as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _cur_column ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _vtable_offset as * const _ as usize } , 130usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _vtable_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _shortbuf as * const _ as usize } , 131usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _shortbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _lock as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _offset as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad5 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _mode as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _unused2 as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _unused2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] } extern "C" {
# [ link_name = "\u{1}_IO_2_1_stdin_" ]
pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ;
} extern "C" {
# [ link_name = "\u{1}_IO_2_1_stdout_" ]
pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ;
} extern "C" {
# [ link_name = "\u{1}_IO_2_1_stderr_" ]
pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ;
} pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" {
pub fn __underflow ( arg1 : * mut _IO_FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn __uflow ( arg1 : * mut _IO_FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn _IO_getc ( __fp : * mut _IO_FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn _IO_feof ( __fp : * mut _IO_FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn _IO_ferror ( __fp : * mut _IO_FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn _IO_flockfile ( arg1 : * mut _IO_FILE , ) ;
} extern "C" {
pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE , ) ;
} extern "C" {
pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t , ) -> __ssize_t ;
} extern "C" {
pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize , ) -> usize ;
} extern "C" {
pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int , ) -> __off64_t ;
} extern "C" {
pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , ) -> __off64_t ;
} extern "C" {
pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE , ) ;
} pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" {
# [ link_name = "\u{1}stdin" ]
pub static mut stdin : * mut _IO_FILE ;
} extern "C" {
# [ link_name = "\u{1}stdout" ]
pub static mut stdout : * mut _IO_FILE ;
} extern "C" {
# [ link_name = "\u{1}stderr" ]
pub static mut stderr : * mut _IO_FILE ;
} extern "C" {
pub fn remove ( __filename : * const :: std :: os :: raw :: c_char , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn rename ( __old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn renameat ( __oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn tmpfile ( ) -> * mut FILE ;
} extern "C" {
pub fn tmpnam ( __s : * mut :: std :: os :: raw :: c_char , ) -> * mut :: std :: os :: raw :: c_char ;
} extern "C" {
pub fn tmpnam_r ( __s : * mut :: std :: os :: raw :: c_char , ) -> * mut :: std :: os :: raw :: c_char ;
} extern "C" {
pub fn tempnam ( __dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char , ) -> * mut :: std :: os :: raw :: c_char ;
} extern "C" {
pub fn fclose ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn fflush ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn fflush_unlocked ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn fopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , ) -> * mut FILE ;
} extern "C" {
pub fn freopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE , ) -> * mut FILE ;
} extern "C" {
pub fn fdopen ( __fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char , ) -> * mut FILE ;
} extern "C" {
pub fn fmemopen ( __s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char , ) -> * mut FILE ;
} extern "C" {
pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize , ) -> * mut FILE ;
} extern "C" {
pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , ) ;
} extern "C" {
pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize , ) ;
} extern "C" {
pub fn setlinebuf ( __stream : * mut FILE , ) ;
} extern "C" {
pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : usize , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : usize , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
# [ link_name = "\u{1}__isoc99_fscanf" ]
pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
# [ link_name = "\u{1}__isoc99_scanf" ]
pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
# [ link_name = "\u{1}__isoc99_sscanf" ]
pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
# [ link_name = "\u{1}__isoc99_vfscanf" ]
pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
# [ link_name = "\u{1}__isoc99_vscanf" ]
pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
# [ link_name = "\u{1}__isoc99_vsscanf" ]
pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn fgetc ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn getc ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn getchar ( ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn getc_unlocked ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn fgetc_unlocked ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn putchar ( __c : :: std :: os :: raw :: c_int , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn getw ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE , ) -> * mut :: std :: os :: raw :: c_char ;
} extern "C" {
pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE , ) -> __ssize_t ;
} extern "C" {
pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE , ) -> __ssize_t ;
} extern "C" {
pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE , ) -> __ssize_t ;
} extern "C" {
pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn puts ( __s : * const :: std :: os :: raw :: c_char , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE , ) -> usize ;
} extern "C" {
pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE , ) -> usize ;
} extern "C" {
pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE , ) -> usize ;
} extern "C" {
pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE , ) -> usize ;
} extern "C" {
pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn ftell ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_long ;
} extern "C" {
pub fn rewind ( __stream : * mut FILE , ) ;
} extern "C" {
pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn ftello ( __stream : * mut FILE , ) -> __off_t ;
} extern "C" {
pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn clearerr ( __stream : * mut FILE , ) ;
} extern "C" {
pub fn feof ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn ferror ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn clearerr_unlocked ( __stream : * mut FILE , ) ;
} extern "C" {
pub fn feof_unlocked ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn ferror_unlocked ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn perror ( __s : * const :: std :: os :: raw :: c_char , ) ;
} extern "C" {
# [ link_name = "\u{1}sys_nerr" ]
pub static mut sys_nerr : :: std :: os :: raw :: c_int ;
} extern "C" {
# [ link_name = "\u{1}sys_errlist" ]
pub static mut sys_errlist : [ * const :: std :: os :: raw :: c_char ; 0usize ] ;
} extern "C" {
pub fn fileno ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn fileno_unlocked ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn popen ( __command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , ) -> * mut FILE ;
} extern "C" {
pub fn pclose ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn ctermid ( __s : * mut :: std :: os :: raw :: c_char , ) -> * mut :: std :: os :: raw :: c_char ;
} extern "C" {
pub fn flockfile ( __stream : * mut FILE , ) ;
} extern "C" {
pub fn ftrylockfile ( __stream : * mut FILE , ) -> :: std :: os :: raw :: c_int ;
} extern "C" {
pub fn funlockfile ( __stream : * mut FILE , ) ;
} pub type OPJ_SIZE_T = usize ; pub const RSIZ_CAPABILITIES_OPJ_STD_RSIZ : RSIZ_CAPABILITIES = 0 ; pub const RSIZ_CAPABILITIES_OPJ_CINEMA2K : RSIZ_CAPABILITIES = 3 ; pub const RSIZ_CAPABILITIES_OPJ_CINEMA4K : RSIZ_CAPABILITIES = 4 ; pub const RSIZ_CAPABILITIES_OPJ_MCT : RSIZ_CAPABILITIES = 33024 ; pub type RSIZ_CAPABILITIES = :: std :: os :: raw :: c_uint ; pub use self :: RSIZ_CAPABILITIES as OPJ_RSIZ_CAPABILITIES ; pub const CINEMA_MODE_OPJ_OFF : CINEMA_MODE = 0 ; pub const CINEMA_MODE_OPJ_CINEMA2K_24 : CINEMA_MODE = 1 ; pub const CINEMA_MODE_OPJ_CINEMA2K_48 : CINEMA_MODE = 2 ; pub const CINEMA_MODE_OPJ_CINEMA4K_24 : CINEMA_MODE = 3 ; pub type CINEMA_MODE = :: std :: os :: raw :: c_uint ; pub use self :: CINEMA_MODE as OPJ_CINEMA_MODE ; pub const PROG_ORDER_OPJ_PROG_UNKNOWN : PROG_ORDER = -1 ; pub const PROG_ORDER_OPJ_LRCP : PROG_ORDER = 0 ; pub const PROG_ORDER_OPJ_RLCP : PROG_ORDER = 1 ; pub const PROG_ORDER_OPJ_RPCL : PROG_ORDER = 2 ; pub const PROG_ORDER_OPJ_PCRL : PROG_ORDER = 3 ; pub const PROG_ORDER_OPJ_CPRL : PROG_ORDER = 4 ; pub type PROG_ORDER = :: std :: os :: raw :: c_int ; pub use self :: PROG_ORDER as OPJ_PROG_ORDER ; pub const COLOR_SPACE_OPJ_CLRSPC_UNKNOWN : COLOR_SPACE = -1 ; pub const COLOR_SPACE_OPJ_CLRSPC_UNSPECIFIED : COLOR_SPACE = 0 ; pub const COLOR_SPACE_OPJ_CLRSPC_SRGB : COLOR_SPACE = 1 ; pub const COLOR_SPACE_OPJ_CLRSPC_GRAY : COLOR_SPACE = 2 ; pub const COLOR_SPACE_OPJ_CLRSPC_SYCC : COLOR_SPACE = 3 ; pub const COLOR_SPACE_OPJ_CLRSPC_EYCC : COLOR_SPACE = 4 ; pub const COLOR_SPACE_OPJ_CLRSPC_CMYK : COLOR_SPACE = 5 ; pub type COLOR_SPACE = :: std :: os :: raw :: c_int ; pub use self :: COLOR_SPACE as OPJ_COLOR_SPACE ; pub const CODEC_FORMAT_OPJ_CODEC_UNKNOWN : CODEC_FORMAT = -1 ; pub const CODEC_FORMAT_OPJ_CODEC_J2K : CODEC_FORMAT = 0 ; pub const CODEC_FORMAT_OPJ_CODEC_JPT : CODEC_FORMAT = 1 ; pub const CODEC_FORMAT_OPJ_CODEC_JP2 : CODEC_FORMAT = 2 ; pub const CODEC_FORMAT_OPJ_CODEC_JPP : CODEC_FORMAT = 3 ; pub const CODEC_FORMAT_OPJ_CODEC_JPX : CODEC_FORMAT = 4 ; pub type CODEC_FORMAT = :: std :: os :: raw :: c_int ; pub use self :: CODEC_FORMAT as OPJ_CODEC_FORMAT ;
pub type opj_msg_callback = :: std :: option :: Option < unsafe extern "C" fn ( msg : * const :: std :: os :: raw :: c_char , client_data : * mut :: std :: os :: raw :: c_void ) > ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_poc {
pub resno0 : OPJ_UINT32 ,
pub compno0 : OPJ_UINT32 ,
pub layno1 : OPJ_UINT32 ,
pub resno1 : OPJ_UINT32 ,
pub compno1 : OPJ_UINT32 ,
pub layno0 : OPJ_UINT32 ,
pub precno0 : OPJ_UINT32 ,
pub precno1 : OPJ_UINT32 ,
pub prg1 : OPJ_PROG_ORDER ,
pub prg : OPJ_PROG_ORDER ,
pub progorder : [ OPJ_CHAR ; 5usize ] ,
pub tile : OPJ_UINT32 ,
pub tx0 : OPJ_INT32 ,
pub tx1 : OPJ_INT32 ,
pub ty0 : OPJ_INT32 ,
pub ty1 : OPJ_INT32 ,
pub layS : OPJ_UINT32 ,
pub resS : OPJ_UINT32 ,
pub compS : OPJ_UINT32 ,
pub prcS : OPJ_UINT32 ,
pub layE : OPJ_UINT32 ,
pub resE : OPJ_UINT32 ,
pub compE : OPJ_UINT32 ,
pub prcE : OPJ_UINT32 ,
pub txS : OPJ_UINT32 ,
pub txE : OPJ_UINT32 ,
pub tyS : OPJ_UINT32 ,
pub tyE : OPJ_UINT32 ,
pub dx : OPJ_UINT32 ,
pub dy : OPJ_UINT32 ,
pub lay_t : OPJ_UINT32 ,
pub res_t : OPJ_UINT32 ,
pub comp_t : OPJ_UINT32 ,
pub prc_t : OPJ_UINT32 ,
pub tx0_t : OPJ_UINT32 ,
pub ty0_t : OPJ_UINT32 , } # [ test ] fn bindgen_test_layout_opj_poc ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_poc > ( ) , 148usize , concat ! ( "Size of: " , stringify ! ( opj_poc ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_poc > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( opj_poc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . resno0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( resno0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . compno0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( compno0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . layno1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( layno1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . resno1 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( resno1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . compno1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( compno1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . layno0 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( layno0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . precno0 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( precno0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . precno1 as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( precno1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . prg1 as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( prg1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . prg as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( prg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . progorder as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( progorder ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . tile as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( tile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . tx0 as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( tx0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . tx1 as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( tx1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . ty0 as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( ty0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . ty1 as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( ty1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . layS as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( layS ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . resS as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( resS ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . compS as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( compS ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . prcS as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( prcS ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . layE as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( layE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . resE as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( resE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . compE as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( compE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . prcE as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( prcE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . txS as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( txS ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . txE as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( txE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . tyS as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( tyS ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . tyE as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( tyE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . dx as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( dx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . dy as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( dy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . lay_t as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( lay_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . res_t as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( res_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . comp_t as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( comp_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . prc_t as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( prc_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . tx0_t as * const _ as usize } , 140usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( tx0_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . ty0_t as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( ty0_t ) ) ) ; } pub type opj_poc_t = opj_poc ;
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct opj_cparameters {
pub tile_size_on : OPJ_BOOL ,
pub cp_tx0 : :: std :: os :: raw :: c_int ,
pub cp_ty0 : :: std :: os :: raw :: c_int ,
pub cp_tdx : :: std :: os :: raw :: c_int ,
pub cp_tdy : :: std :: os :: raw :: c_int ,
pub cp_disto_alloc : :: std :: os :: raw :: c_int ,
pub cp_fixed_alloc : :: std :: os :: raw :: c_int ,
pub cp_fixed_quality : :: std :: os :: raw :: c_int ,
pub cp_matrice : * mut :: std :: os :: raw :: c_int ,
pub cp_comment : * mut :: std :: os :: raw :: c_char ,
pub csty : :: std :: os :: raw :: c_int ,
pub prog_order : OPJ_PROG_ORDER ,
pub POC : [ opj_poc_t ; 32usize ] ,
pub numpocs : OPJ_UINT32 ,
pub tcp_numlayers : :: std :: os :: raw :: c_int ,
pub tcp_rates : [ f32 ; 100usize ] ,
pub tcp_distoratio : [ f32 ; 100usize ] ,
pub numresolution : :: std :: os :: raw :: c_int ,
pub cblockw_init : :: std :: os :: raw :: c_int ,
pub cblockh_init : :: std :: os :: raw :: c_int ,
pub mode : :: std :: os :: raw :: c_int ,
pub irreversible : :: std :: os :: raw :: c_int ,
pub roi_compno : :: std :: os :: raw :: c_int ,
pub roi_shift : :: std :: os :: raw :: c_int , pub res_spec : :: std :: os :: raw :: c_int ,
pub prcw_init : [ :: std :: os :: raw :: c_int ; 33usize ] ,
pub prch_init : [ :: std :: os :: raw :: c_int ; 33usize ] ,
pub infile : [ :: std :: os :: raw :: c_char ; 4096usize ] ,
pub outfile : [ :: std :: os :: raw :: c_char ; 4096usize ] ,
pub index_on : :: std :: os :: raw :: c_int ,
pub index : [ :: std :: os :: raw :: c_char ; 4096usize ] ,
pub image_offset_x0 : :: std :: os :: raw :: c_int ,
pub image_offset_y0 : :: std :: os :: raw :: c_int ,
pub subsampling_dx : :: std :: os :: raw :: c_int ,
pub subsampling_dy : :: std :: os :: raw :: c_int ,
pub decod_format : :: std :: os :: raw :: c_int ,
pub cod_format : :: std :: os :: raw :: c_int ,
pub jpwl_epc_on : OPJ_BOOL ,
pub jpwl_hprot_MH : :: std :: os :: raw :: c_int ,
pub jpwl_hprot_TPH_tileno : [ :: std :: os :: raw :: c_int ; 16usize ] ,
pub jpwl_hprot_TPH : [ :: std :: os :: raw :: c_int ; 16usize ] ,
pub jpwl_pprot_tileno : [ :: std :: os :: raw :: c_int ; 16usize ] ,
pub jpwl_pprot_packno : [ :: std :: os :: raw :: c_int ; 16usize ] ,
pub jpwl_pprot : [ :: std :: os :: raw :: c_int ; 16usize ] ,
pub jpwl_sens_size : :: std :: os :: raw :: c_int ,
pub jpwl_sens_addr : :: std :: os :: raw :: c_int ,
pub jpwl_sens_range : :: std :: os :: raw :: c_int ,
pub jpwl_sens_MH : :: std :: os :: raw :: c_int ,
pub jpwl_sens_TPH_tileno : [ :: std :: os :: raw :: c_int ; 16usize ] ,
pub jpwl_sens_TPH : [ :: std :: os :: raw :: c_int ; 16usize ] ,
pub cp_cinema : OPJ_CINEMA_MODE ,
pub max_comp_size : :: std :: os :: raw :: c_int ,
pub cp_rsiz : OPJ_RSIZ_CAPABILITIES ,
pub tp_on : :: std :: os :: raw :: c_char ,
pub tp_flag : :: std :: os :: raw :: c_char ,
pub tcp_mct : :: std :: os :: raw :: c_char ,
pub jpip_on : OPJ_BOOL ,
pub mct_data : * mut :: std :: os :: raw :: c_void ,
pub max_cs_size : :: std :: os :: raw :: c_int ,
pub rsiz : OPJ_UINT16 , } # [ test ] fn bindgen_test_layout_opj_cparameters ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_cparameters > ( ) , 18720usize , concat ! ( "Size of: " , stringify ! ( opj_cparameters ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_cparameters > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_cparameters ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . tile_size_on as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( tile_size_on ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_tx0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_tx0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_ty0 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_ty0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_tdx as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_tdx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_tdy as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_tdy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_disto_alloc as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_disto_alloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_fixed_alloc as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_fixed_alloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_fixed_quality as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_fixed_quality ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_matrice as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_matrice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_comment as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_comment ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . csty as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( csty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . prog_order as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( prog_order ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . POC as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( POC ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . numpocs as * const _ as usize } , 4792usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( numpocs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . tcp_numlayers as * const _ as usize } , 4796usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( tcp_numlayers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . tcp_rates as * const _ as usize } , 4800usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( tcp_rates ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . tcp_distoratio as * const _ as usize } , 5200usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( tcp_distoratio ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . numresolution as * const _ as usize } , 5600usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( numresolution ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cblockw_init as * const _ as usize } , 5604usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cblockw_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cblockh_init as * const _ as usize } , 5608usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cblockh_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . mode as * const _ as usize } , 5612usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . irreversible as * const _ as usize } , 5616usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( irreversible ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . roi_compno as * const _ as usize } , 5620usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( roi_compno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . roi_shift as * const _ as usize } , 5624usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( roi_shift ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . res_spec as * const _ as usize } , 5628usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( res_spec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . prcw_init as * const _ as usize } , 5632usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( prcw_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . prch_init as * const _ as usize } , 5764usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( prch_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . infile as * const _ as usize } , 5896usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( infile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . outfile as * const _ as usize } , 9992usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( outfile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . index_on as * const _ as usize } , 14088usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( index_on ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . index as * const _ as usize } , 14092usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . image_offset_x0 as * const _ as usize } , 18188usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( image_offset_x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . image_offset_y0 as * const _ as usize } , 18192usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( image_offset_y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . subsampling_dx as * const _ as usize } , 18196usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( subsampling_dx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . subsampling_dy as * const _ as usize } , 18200usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( subsampling_dy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . decod_format as * const _ as usize } , 18204usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( decod_format ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cod_format as * const _ as usize } , 18208usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cod_format ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_epc_on as * const _ as usize } , 18212usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_epc_on ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_hprot_MH as * const _ as usize } , 18216usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_hprot_MH ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_hprot_TPH_tileno as * const _ as usize } , 18220usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_hprot_TPH_tileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_hprot_TPH as * const _ as usize } , 18284usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_hprot_TPH ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_pprot_tileno as * const _ as usize } , 18348usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_pprot_tileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_pprot_packno as * const _ as usize } , 18412usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_pprot_packno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_pprot as * const _ as usize } , 18476usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_pprot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_sens_size as * const _ as usize } , 18540usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_sens_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_sens_addr as * const _ as usize } , 18544usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_sens_addr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_sens_range as * const _ as usize } , 18548usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_sens_range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_sens_MH as * const _ as usize } , 18552usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_sens_MH ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_sens_TPH_tileno as * const _ as usize } , 18556usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_sens_TPH_tileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_sens_TPH as * const _ as usize } , 18620usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_sens_TPH ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_cinema as * const _ as usize } , 18684usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_cinema ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . max_comp_size as * const _ as usize } , 18688usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( max_comp_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_rsiz as * const _ as usize } , 18692usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_rsiz ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . tp_on as * const _ as usize } , 18696usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( tp_on ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . tp_flag as * const _ as usize } , 18697usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( tp_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . tcp_mct as * const _ as usize } , 18698usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( tcp_mct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpip_on as * const _ as usize } , 18700usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpip_on ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . mct_data as * const _ as usize } , 18704usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( mct_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . max_cs_size as * const _ as usize } , 18712usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( max_cs_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . rsiz as * const _ as usize } , 18716usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( rsiz ) ) ) ; } pub type opj_cparameters_t = opj_cparameters ;
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct opj_dparameters {
pub cp_reduce : OPJ_UINT32 ,
pub cp_layer : OPJ_UINT32 ,
pub infile : [ :: std :: os :: raw :: c_char ; 4096usize ] ,
pub outfile : [ :: std :: os :: raw :: c_char ; 4096usize ] ,
pub decod_format : :: std :: os :: raw :: c_int ,
pub cod_format : :: std :: os :: raw :: c_int ,
pub DA_x0 : OPJ_UINT32 ,
pub DA_x1 : OPJ_UINT32 ,
pub DA_y0 : OPJ_UINT32 ,
pub DA_y1 : OPJ_UINT32 ,
pub m_verbose : OPJ_BOOL ,
pub tile_index : OPJ_UINT32 ,
pub nb_tile_to_decode : OPJ_UINT32 ,
pub jpwl_correct : OPJ_BOOL ,
pub jpwl_exp_comps : :: std :: os :: raw :: c_int ,
pub jpwl_max_tiles : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_opj_dparameters ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_dparameters > ( ) , 8252usize , concat ! ( "Size of: " , stringify ! ( opj_dparameters ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_dparameters > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( opj_dparameters ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . cp_reduce as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( cp_reduce ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . cp_layer as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( cp_layer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . infile as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( infile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . outfile as * const _ as usize } , 4104usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( outfile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . decod_format as * const _ as usize } , 8200usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( decod_format ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . cod_format as * const _ as usize } , 8204usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( cod_format ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . DA_x0 as * const _ as usize } , 8208usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( DA_x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . DA_x1 as * const _ as usize } , 8212usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( DA_x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . DA_y0 as * const _ as usize } , 8216usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( DA_y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . DA_y1 as * const _ as usize } , 8220usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( DA_y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . m_verbose as * const _ as usize } , 8224usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( m_verbose ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . tile_index as * const _ as usize } , 8228usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( tile_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . nb_tile_to_decode as * const _ as usize } , 8232usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( nb_tile_to_decode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . jpwl_correct as * const _ as usize } , 8236usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( jpwl_correct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . jpwl_exp_comps as * const _ as usize } , 8240usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( jpwl_exp_comps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . jpwl_max_tiles as * const _ as usize } , 8244usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( jpwl_max_tiles ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . flags as * const _ as usize } , 8248usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( flags ) ) ) ; } pub type opj_dparameters_t = opj_dparameters ;
pub type opj_codec_t = * mut :: std :: os :: raw :: c_void ; pub type opj_stream_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( p_buffer : * mut :: std :: os :: raw :: c_void , p_nb_bytes : OPJ_SIZE_T , p_user_data : * mut :: std :: os :: raw :: c_void ) -> OPJ_SIZE_T > ; pub type opj_stream_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( p_buffer : * mut :: std :: os :: raw :: c_void , p_nb_bytes : OPJ_SIZE_T , p_user_data : * mut :: std :: os :: raw :: c_void ) -> OPJ_SIZE_T > ; pub type opj_stream_skip_fn = :: std :: option :: Option < unsafe extern "C" fn ( p_nb_bytes : OPJ_OFF_T , p_user_data : * mut :: std :: os :: raw :: c_void ) -> OPJ_OFF_T > ; pub type opj_stream_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( p_nb_bytes : OPJ_OFF_T , p_user_data : * mut :: std :: os :: raw :: c_void ) -> OPJ_BOOL > ; pub type opj_stream_free_user_data_fn = :: std :: option :: Option < unsafe extern "C" fn ( p_user_data : * mut :: std :: os :: raw :: c_void ) > ; pub type opj_stream_t = * mut :: std :: os :: raw :: c_void ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_image_comp {
pub dx : OPJ_UINT32 ,
pub dy : OPJ_UINT32 ,
pub w : OPJ_UINT32 ,
pub h : OPJ_UINT32 ,
pub x0 : OPJ_UINT32 ,
pub y0 : OPJ_UINT32 ,
pub prec : OPJ_UINT32 ,
pub bpp : OPJ_UINT32 ,
pub sgnd : OPJ_UINT32 ,
pub resno_decoded : OPJ_UINT32 ,
pub factor : OPJ_UINT32 ,
pub data : * mut OPJ_INT32 ,
pub alpha : OPJ_UINT16 , } # [ test ] fn bindgen_test_layout_opj_image_comp ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_image_comp > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( opj_image_comp ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_image_comp > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_image_comp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . dx as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( dx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . dy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( dy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . w as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . h as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . x0 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . y0 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . prec as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( prec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . bpp as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( bpp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . sgnd as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( sgnd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . resno_decoded as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( resno_decoded ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . factor as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . data as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . alpha as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( alpha ) ) ) ; } pub type opj_image_comp_t = opj_image_comp ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_image {
pub x0 : OPJ_UINT32 ,
pub y0 : OPJ_UINT32 ,
pub x1 : OPJ_UINT32 ,
pub y1 : OPJ_UINT32 ,
pub numcomps : OPJ_UINT32 ,
pub color_space : OPJ_COLOR_SPACE ,
pub comps : * mut opj_image_comp_t ,
pub icc_profile_buf : * mut OPJ_BYTE ,
pub icc_profile_len : OPJ_UINT32 , } # [ test ] fn bindgen_test_layout_opj_image ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_image > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( opj_image ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_image > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_image ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . y0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . x1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . y1 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . numcomps as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( numcomps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . color_space as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( color_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . comps as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( comps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . icc_profile_buf as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( icc_profile_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . icc_profile_len as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( icc_profile_len ) ) ) ; } pub type opj_image_t = opj_image ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_image_comptparm {
pub dx : OPJ_UINT32 ,
pub dy : OPJ_UINT32 ,
pub w : OPJ_UINT32 ,
pub h : OPJ_UINT32 ,
pub x0 : OPJ_UINT32 ,
pub y0 : OPJ_UINT32 ,
pub prec : OPJ_UINT32 ,
pub bpp : OPJ_UINT32 ,
pub sgnd : OPJ_UINT32 , } # [ test ] fn bindgen_test_layout_opj_image_comptparm ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_image_comptparm > ( ) , 36usize , concat ! ( "Size of: " , stringify ! ( opj_image_comptparm ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_image_comptparm > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( opj_image_comptparm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . dx as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( dx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . dy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( dy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . w as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . h as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . x0 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . y0 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . prec as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( prec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . bpp as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( bpp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . sgnd as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( sgnd ) ) ) ; } pub type opj_image_cmptparm_t = opj_image_comptparm ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_packet_info {
pub start_pos : OPJ_OFF_T ,
pub end_ph_pos : OPJ_OFF_T ,
pub end_pos : OPJ_OFF_T ,
pub disto : f64 , } # [ test ] fn bindgen_test_layout_opj_packet_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_packet_info > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( opj_packet_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_packet_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_packet_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_packet_info > ( ) ) ) . start_pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_packet_info ) , "::" , stringify ! ( start_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_packet_info > ( ) ) ) . end_ph_pos as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_packet_info ) , "::" , stringify ! ( end_ph_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_packet_info > ( ) ) ) . end_pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_packet_info ) , "::" , stringify ! ( end_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_packet_info > ( ) ) ) . disto as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_packet_info ) , "::" , stringify ! ( disto ) ) ) ; } pub type opj_packet_info_t = opj_packet_info ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_marker_info {
pub type_ : :: std :: os :: raw :: c_ushort ,
pub pos : OPJ_OFF_T ,
pub len : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_opj_marker_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_marker_info > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( opj_marker_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_marker_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_marker_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_marker_info > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_marker_info ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_marker_info > ( ) ) ) . pos as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_marker_info ) , "::" , stringify ! ( pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_marker_info > ( ) ) ) . len as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_marker_info ) , "::" , stringify ! ( len ) ) ) ; } pub type opj_marker_info_t = opj_marker_info ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_tp_info {
pub tp_start_pos : :: std :: os :: raw :: c_int ,
pub tp_end_header : :: std :: os :: raw :: c_int ,
pub tp_end_pos : :: std :: os :: raw :: c_int ,
pub tp_start_pack : :: std :: os :: raw :: c_int ,
pub tp_numpacks : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_opj_tp_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_tp_info > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( opj_tp_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_tp_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( opj_tp_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_info > ( ) ) ) . tp_start_pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_info ) , "::" , stringify ! ( tp_start_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_info > ( ) ) ) . tp_end_header as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_info ) , "::" , stringify ! ( tp_end_header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_info > ( ) ) ) . tp_end_pos as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_info ) , "::" , stringify ! ( tp_end_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_info > ( ) ) ) . tp_start_pack as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_info ) , "::" , stringify ! ( tp_start_pack ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_info > ( ) ) ) . tp_numpacks as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_info ) , "::" , stringify ! ( tp_numpacks ) ) ) ; } pub type opj_tp_info_t = opj_tp_info ;
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct opj_tile_info {
pub thresh : * mut f64 ,
pub tileno : :: std :: os :: raw :: c_int ,
pub start_pos : :: std :: os :: raw :: c_int ,
pub end_header : :: std :: os :: raw :: c_int ,
pub end_pos : :: std :: os :: raw :: c_int ,
pub pw : [ :: std :: os :: raw :: c_int ; 33usize ] ,
pub ph : [ :: std :: os :: raw :: c_int ; 33usize ] ,
pub pdx : [ :: std :: os :: raw :: c_int ; 33usize ] ,
pub pdy : [ :: std :: os :: raw :: c_int ; 33usize ] ,
pub packet : * mut opj_packet_info_t ,
pub numpix : :: std :: os :: raw :: c_int ,
pub distotile : f64 ,
pub marknum : :: std :: os :: raw :: c_int ,
pub marker : * mut opj_marker_info_t ,
pub maxmarknum : :: std :: os :: raw :: c_int ,
pub num_tps : :: std :: os :: raw :: c_int ,
pub tp : * mut opj_tp_info_t , } # [ test ] fn bindgen_test_layout_opj_tile_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_tile_info > ( ) , 608usize , concat ! ( "Size of: " , stringify ! ( opj_tile_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_tile_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_tile_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . thresh as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( thresh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . tileno as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( tileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . start_pos as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( start_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . end_header as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( end_header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . end_pos as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( end_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . pw as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( pw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . ph as * const _ as usize } , 156usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( ph ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . pdx as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( pdx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . pdy as * const _ as usize } , 420usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( pdy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . packet as * const _ as usize } , 552usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( packet ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . numpix as * const _ as usize } , 560usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( numpix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . distotile as * const _ as usize } , 568usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( distotile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . marknum as * const _ as usize } , 576usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( marknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . marker as * const _ as usize } , 584usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . maxmarknum as * const _ as usize } , 592usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( maxmarknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . num_tps as * const _ as usize } , 596usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( num_tps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . tp as * const _ as usize } , 600usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( tp ) ) ) ; } pub type opj_tile_info_t = opj_tile_info ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_codestream_info {
pub D_max : f64 ,
pub packno : :: std :: os :: raw :: c_int ,
pub index_write : :: std :: os :: raw :: c_int ,
pub image_w : :: std :: os :: raw :: c_int ,
pub image_h : :: std :: os :: raw :: c_int ,
pub prog : OPJ_PROG_ORDER ,
pub tile_x : :: std :: os :: raw :: c_int ,
pub tile_y : :: std :: os :: raw :: c_int ,
pub tile_Ox : :: std :: os :: raw :: c_int ,
pub tile_Oy : :: std :: os :: raw :: c_int ,
pub tw : :: std :: os :: raw :: c_int ,
pub th : :: std :: os :: raw :: c_int ,
pub numcomps : :: std :: os :: raw :: c_int ,
pub numlayers : :: std :: os :: raw :: c_int ,
pub numdecompos : * mut :: std :: os :: raw :: c_int ,
pub marknum : :: std :: os :: raw :: c_int ,
pub marker : * mut opj_marker_info_t ,
pub maxmarknum : :: std :: os :: raw :: c_int ,
pub main_head_start : :: std :: os :: raw :: c_int ,
pub main_head_end : :: std :: os :: raw :: c_int ,
pub codestream_size : :: std :: os :: raw :: c_int ,
pub tile : * mut opj_tile_info_t , } # [ test ] fn bindgen_test_layout_opj_codestream_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_codestream_info > ( ) , 112usize , concat ! ( "Size of: " , stringify ! ( opj_codestream_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_codestream_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_codestream_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . D_max as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( D_max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . packno as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( packno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . index_write as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( index_write ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . image_w as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( image_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . image_h as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( image_h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . prog as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( prog ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . tile_x as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( tile_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . tile_y as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( tile_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . tile_Ox as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( tile_Ox ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . tile_Oy as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( tile_Oy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . tw as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( tw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . th as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( th ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . numcomps as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( numcomps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . numlayers as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( numlayers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . numdecompos as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( numdecompos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . marknum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( marknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . marker as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . maxmarknum as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( maxmarknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . main_head_start as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( main_head_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . main_head_end as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( main_head_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . codestream_size as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( codestream_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . tile as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( tile ) ) ) ; } pub type opj_codestream_info_t = opj_codestream_info ;
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct opj_tccp_info {
pub compno : OPJ_UINT32 ,
pub csty : OPJ_UINT32 ,
pub numresolutions : OPJ_UINT32 ,
pub cblkw : OPJ_UINT32 ,
pub cblkh : OPJ_UINT32 ,
pub cblksty : OPJ_UINT32 ,
pub qmfbid : OPJ_UINT32 ,
pub qntsty : OPJ_UINT32 ,
pub stepsizes_mant : [ OPJ_UINT32 ; 97usize ] ,
pub stepsizes_expn : [ OPJ_UINT32 ; 97usize ] ,
pub numgbits : OPJ_UINT32 ,
pub roishift : OPJ_INT32 ,
pub prcw : [ OPJ_UINT32 ; 33usize ] ,
pub prch : [ OPJ_UINT32 ; 33usize ] , } # [ test ] fn bindgen_test_layout_opj_tccp_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_tccp_info > ( ) , 1080usize , concat ! ( "Size of: " , stringify ! ( opj_tccp_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_tccp_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( opj_tccp_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . compno as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( compno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . csty as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( csty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . numresolutions as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( numresolutions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . cblkw as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( cblkw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . cblkh as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( cblkh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . cblksty as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( cblksty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . qmfbid as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( qmfbid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . qntsty as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( qntsty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . stepsizes_mant as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( stepsizes_mant ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . stepsizes_expn as * const _ as usize } , 420usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( stepsizes_expn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . numgbits as * const _ as usize } , 808usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( numgbits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . roishift as * const _ as usize } , 812usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( roishift ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . prcw as * const _ as usize } , 816usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( prcw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . prch as * const _ as usize } , 948usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( prch ) ) ) ; } pub type opj_tccp_info_t = opj_tccp_info ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_tile_v2_info {
pub tileno : :: std :: os :: raw :: c_int ,
pub csty : OPJ_UINT32 ,
pub prg : OPJ_PROG_ORDER ,
pub numlayers : OPJ_UINT32 ,
pub mct : OPJ_UINT32 ,
pub tccp_info : * mut opj_tccp_info_t , } # [ test ] fn bindgen_test_layout_opj_tile_v2_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_tile_v2_info > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( opj_tile_v2_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_tile_v2_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_tile_v2_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_v2_info > ( ) ) ) . tileno as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_v2_info ) , "::" , stringify ! ( tileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_v2_info > ( ) ) ) . csty as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_v2_info ) , "::" , stringify ! ( csty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_v2_info > ( ) ) ) . prg as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_v2_info ) , "::" , stringify ! ( prg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_v2_info > ( ) ) ) . numlayers as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_v2_info ) , "::" , stringify ! ( numlayers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_v2_info > ( ) ) ) . mct as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_v2_info ) , "::" , stringify ! ( mct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_v2_info > ( ) ) ) . tccp_info as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_v2_info ) , "::" , stringify ! ( tccp_info ) ) ) ; } pub type opj_tile_info_v2_t = opj_tile_v2_info ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_codestream_info_v2 {
pub tx0 : OPJ_UINT32 ,
pub ty0 : OPJ_UINT32 ,
pub tdx : OPJ_UINT32 ,
pub tdy : OPJ_UINT32 ,
pub tw : OPJ_UINT32 ,
pub th : OPJ_UINT32 ,
pub nbcomps : OPJ_UINT32 ,
pub m_default_tile_info : opj_tile_info_v2_t ,
pub tile_info : * mut opj_tile_info_v2_t , } # [ test ] fn bindgen_test_layout_opj_codestream_info_v2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_codestream_info_v2 > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( opj_codestream_info_v2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_codestream_info_v2 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_codestream_info_v2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . tx0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( tx0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . ty0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( ty0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . tdx as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( tdx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . tdy as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( tdy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . tw as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( tw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . th as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( th ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . nbcomps as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( nbcomps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . m_default_tile_info as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( m_default_tile_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . tile_info as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( tile_info ) ) ) ; } pub type opj_codestream_info_v2_t = opj_codestream_info_v2 ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_tp_index {
pub start_pos : OPJ_OFF_T ,
pub end_header : OPJ_OFF_T ,
pub end_pos : OPJ_OFF_T , } # [ test ] fn bindgen_test_layout_opj_tp_index ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_tp_index > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( opj_tp_index ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_tp_index > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_tp_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_index > ( ) ) ) . start_pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_index ) , "::" , stringify ! ( start_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_index > ( ) ) ) . end_header as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_index ) , "::" , stringify ! ( end_header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_index > ( ) ) ) . end_pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_index ) , "::" , stringify ! ( end_pos ) ) ) ; } pub type opj_tp_index_t = opj_tp_index ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_tile_index {
pub tileno : OPJ_UINT32 ,
pub nb_tps : OPJ_UINT32 ,
pub current_nb_tps : OPJ_UINT32 ,
pub current_tpsno : OPJ_UINT32 ,
pub tp_index : * mut opj_tp_index_t ,
pub marknum : OPJ_UINT32 ,
pub marker : * mut opj_marker_info_t ,
pub maxmarknum : OPJ_UINT32 ,
pub nb_packet : OPJ_UINT32 ,
pub packet_index : * mut opj_packet_info_t , } # [ test ] fn bindgen_test_layout_opj_tile_index ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_tile_index > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( opj_tile_index ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_tile_index > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_tile_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . tileno as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( tileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . nb_tps as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( nb_tps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . current_nb_tps as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( current_nb_tps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . current_tpsno as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( current_tpsno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . tp_index as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( tp_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . marknum as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( marknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . marker as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . maxmarknum as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( maxmarknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . nb_packet as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( nb_packet ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . packet_index as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( packet_index ) ) ) ; } pub type opj_tile_index_t = opj_tile_index ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_codestream_index {
pub main_head_start : OPJ_OFF_T ,
pub main_head_end : OPJ_OFF_T ,
pub codestream_size : OPJ_UINT64 ,
pub marknum : OPJ_UINT32 ,
pub marker : * mut opj_marker_info_t ,
pub maxmarknum : OPJ_UINT32 ,
pub nb_of_tiles : OPJ_UINT32 ,
pub tile_index : * mut opj_tile_index_t , } # [ test ] fn bindgen_test_layout_opj_codestream_index ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_codestream_index > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( opj_codestream_index ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_codestream_index > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_codestream_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . main_head_start as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( main_head_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . main_head_end as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( main_head_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . codestream_size as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( codestream_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . marknum as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( marknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . marker as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . maxmarknum as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( maxmarknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . nb_of_tiles as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( nb_of_tiles ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . tile_index as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( tile_index ) ) ) ; } pub type opj_codestream_index_t = opj_codestream_index ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_jp2_metadata {
pub not_used : OPJ_INT32 , } # [ test ] fn bindgen_test_layout_opj_jp2_metadata ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_jp2_metadata > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( opj_jp2_metadata ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_jp2_metadata > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( opj_jp2_metadata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_jp2_metadata > ( ) ) ) . not_used as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_jp2_metadata ) , "::" , stringify ! ( not_used ) ) ) ; } pub type opj_jp2_metadata_t = opj_jp2_metadata ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_jp2_index {
pub not_used : OPJ_INT32 , } # [ test ] fn bindgen_test_layout_opj_jp2_index ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_jp2_index > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( opj_jp2_index ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_jp2_index > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( opj_jp2_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_jp2_index > ( ) ) ) . not_used as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_jp2_index ) , "::" , stringify ! ( not_used ) ) ) ; } pub type opj_jp2_index_t = opj_jp2_index ; extern "C" {
pub fn opj_version ( ) -> * const :: std :: os :: raw :: c_char ;
} extern "C" {
pub fn opj_image_create ( numcmpts : OPJ_UINT32 , cmptparms : * mut opj_image_cmptparm_t , clrspc : OPJ_COLOR_SPACE , ) -> * mut opj_image_t ;
} extern "C" {
pub fn opj_image_destroy ( image : * mut opj_image_t , ) ;
} extern "C" {
pub fn opj_image_tile_create ( numcmpts : OPJ_UINT32 , cmptparms : * mut opj_image_cmptparm_t , clrspc : OPJ_COLOR_SPACE , ) -> * mut opj_image_t ;
} extern "C" {
pub fn opj_image_data_alloc ( size : OPJ_SIZE_T , ) -> * mut :: std :: os :: raw :: c_void ;
} extern "C" {
pub fn opj_image_data_free ( ptr : * mut :: std :: os :: raw :: c_void , ) ;
} extern "C" {
pub fn opj_stream_default_create ( p_is_input : OPJ_BOOL , ) -> * mut opj_stream_t ;
} extern "C" {
pub fn opj_stream_create ( p_buffer_size : OPJ_SIZE_T , p_is_input : OPJ_BOOL , ) -> * mut opj_stream_t ;
} extern "C" {
pub fn opj_stream_destroy ( p_stream : * mut opj_stream_t , ) ;
} extern "C" {
pub fn opj_stream_set_read_function ( p_stream : * mut opj_stream_t , p_function : opj_stream_read_fn , ) ;
} extern "C" {
pub fn opj_stream_set_write_function ( p_stream : * mut opj_stream_t , p_function : opj_stream_write_fn , ) ;
} extern "C" {
pub fn opj_stream_set_skip_function ( p_stream : * mut opj_stream_t , p_function : opj_stream_skip_fn , ) ;
} extern "C" {
pub fn opj_stream_set_seek_function ( p_stream : * mut opj_stream_t , p_function : opj_stream_seek_fn , ) ;
} extern "C" {
pub fn opj_stream_set_user_data ( p_stream : * mut opj_stream_t , p_data : * mut :: std :: os :: raw :: c_void , p_function : opj_stream_free_user_data_fn , ) ;
} extern "C" {
pub fn opj_stream_set_user_data_length ( p_stream : * mut opj_stream_t , data_length : OPJ_UINT64 , ) ;
} extern "C" {
pub fn opj_stream_create_default_file_stream ( fname : * const :: std :: os :: raw :: c_char , p_is_read_stream : OPJ_BOOL , ) -> * mut opj_stream_t ;
} extern "C" {
pub fn opj_stream_create_file_stream ( fname : * const :: std :: os :: raw :: c_char , p_buffer_size : OPJ_SIZE_T , p_is_read_stream : OPJ_BOOL , ) -> * mut opj_stream_t ;
} extern "C" {
pub fn opj_set_info_handler ( p_codec : * mut opj_codec_t , p_callback : opj_msg_callback , p_user_data : * mut :: std :: os :: raw :: c_void , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_set_warning_handler ( p_codec : * mut opj_codec_t , p_callback : opj_msg_callback , p_user_data : * mut :: std :: os :: raw :: c_void , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_set_error_handler ( p_codec : * mut opj_codec_t , p_callback : opj_msg_callback , p_user_data : * mut :: std :: os :: raw :: c_void , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_create_decompress ( format : OPJ_CODEC_FORMAT , ) -> * mut opj_codec_t ;
} extern "C" {
pub fn opj_destroy_codec ( p_codec : * mut opj_codec_t , ) ;
} extern "C" {
pub fn opj_end_decompress ( p_codec : * mut opj_codec_t , p_stream : * mut opj_stream_t , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_set_default_decoder_parameters ( parameters : * mut opj_dparameters_t , ) ;
} extern "C" {
pub fn opj_setup_decoder ( p_codec : * mut opj_codec_t , parameters : * mut opj_dparameters_t , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_codec_set_threads ( p_codec : * mut opj_codec_t , num_threads : :: std :: os :: raw :: c_int , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_read_header ( p_stream : * mut opj_stream_t , p_codec : * mut opj_codec_t , p_image : * mut * mut opj_image_t , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_set_decoded_components ( p_codec : * mut opj_codec_t , numcomps : OPJ_UINT32 , comps_indices : * const OPJ_UINT32 , apply_color_transforms : OPJ_BOOL , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_set_decode_area ( p_codec : * mut opj_codec_t , p_image : * mut opj_image_t , p_start_x : OPJ_INT32 , p_start_y : OPJ_INT32 , p_end_x : OPJ_INT32 , p_end_y : OPJ_INT32 , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_decode ( p_decompressor : * mut opj_codec_t , p_stream : * mut opj_stream_t , p_image : * mut opj_image_t , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_get_decoded_tile ( p_codec : * mut opj_codec_t , p_stream : * mut opj_stream_t , p_image : * mut opj_image_t , tile_index : OPJ_UINT32 , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_set_decoded_resolution_factor ( p_codec : * mut opj_codec_t , res_factor : OPJ_UINT32 , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_write_tile ( p_codec : * mut opj_codec_t , p_tile_index : OPJ_UINT32 , p_data : * mut OPJ_BYTE , p_data_size : OPJ_UINT32 , p_stream : * mut opj_stream_t , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_read_tile_header ( p_codec : * mut opj_codec_t , p_stream : * mut opj_stream_t , p_tile_index : * mut OPJ_UINT32 , p_data_size : * mut OPJ_UINT32 , p_tile_x0 : * mut OPJ_INT32 , p_tile_y0 : * mut OPJ_INT32 , p_tile_x1 : * mut OPJ_INT32 , p_tile_y1 : * mut OPJ_INT32 , p_nb_comps : * mut OPJ_UINT32 , p_should_go_on : * mut OPJ_BOOL , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_decode_tile_data ( p_codec : * mut opj_codec_t , p_tile_index : OPJ_UINT32 , p_data : * mut OPJ_BYTE , p_data_size : OPJ_UINT32 , p_stream : * mut opj_stream_t , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_create_compress ( format : OPJ_CODEC_FORMAT , ) -> * mut opj_codec_t ;
} extern "C" {
pub fn opj_set_default_encoder_parameters ( parameters : * mut opj_cparameters_t , ) ;
} extern "C" {
pub fn opj_setup_encoder ( p_codec : * mut opj_codec_t , parameters : * mut opj_cparameters_t , image : * mut opj_image_t , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_start_compress ( p_codec : * mut opj_codec_t , p_image : * mut opj_image_t , p_stream : * mut opj_stream_t , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_end_compress ( p_codec : * mut opj_codec_t , p_stream : * mut opj_stream_t , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_encode ( p_codec : * mut opj_codec_t , p_stream : * mut opj_stream_t , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_destroy_cstr_info ( cstr_info : * mut * mut opj_codestream_info_v2_t , ) ;
} extern "C" {
pub fn opj_dump_codec ( p_codec : * mut opj_codec_t , info_flag : OPJ_INT32 , output_stream : * mut FILE , ) ;
} extern "C" {
pub fn opj_get_cstr_info ( p_codec : * mut opj_codec_t , ) -> * mut opj_codestream_info_v2_t ;
} extern "C" {
pub fn opj_get_cstr_index ( p_codec : * mut opj_codec_t , ) -> * mut opj_codestream_index_t ;
} extern "C" {
pub fn opj_destroy_cstr_index ( p_cstr_index : * mut * mut opj_codestream_index_t , ) ;
} extern "C" {
pub fn opj_get_jp2_metadata ( p_codec : * mut opj_codec_t , ) -> * mut opj_jp2_metadata_t ;
} extern "C" {
pub fn opj_get_jp2_index ( p_codec : * mut opj_codec_t , ) -> * mut opj_jp2_index_t ;
} extern "C" {
pub fn opj_set_MCT ( parameters : * mut opj_cparameters_t , pEncodingMatrix : * mut OPJ_FLOAT32 , p_dc_shift : * mut OPJ_INT32 , pNbComp : OPJ_UINT32 , ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_has_thread_support ( ) -> OPJ_BOOL ;
} extern "C" {
pub fn opj_get_num_cpus ( ) -> :: std :: os :: raw :: c_int ;
} pub type __builtin_va_list = [ __va_list_tag ; 1usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout___va_list_tag ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __va_list_tag > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( __va_list_tag ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __va_list_tag > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __va_list_tag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . gp_offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( gp_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . fp_offset as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( fp_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . overflow_arg_area as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( overflow_arg_area ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . reg_save_area as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( reg_save_area ) ) ) ; }