vapoursynth-sys 0.6.0

Rust bindings for vapoursynth and vsscript.
Documentation
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
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
/* automatically generated by rust-bindgen 0.72.1 */

pub const _STDINT_H: u32 = 1;
pub const _FEATURES_H: u32 = 1;
pub const _DEFAULT_SOURCE: u32 = 1;
pub const __GLIBC_USE_ISOC2Y: u32 = 0;
pub const __GLIBC_USE_ISOC23: u32 = 0;
pub const __USE_ISOC11: u32 = 1;
pub const __USE_ISOC99: u32 = 1;
pub const __USE_ISOC95: u32 = 1;
pub const __USE_POSIX_IMPLICITLY: u32 = 1;
pub const _POSIX_SOURCE: u32 = 1;
pub const _POSIX_C_SOURCE: u32 = 202405;
pub const __USE_POSIX: u32 = 1;
pub const __USE_POSIX2: u32 = 1;
pub const __USE_POSIX199309: u32 = 1;
pub const __USE_POSIX199506: u32 = 1;
pub const __USE_XOPEN2K: u32 = 1;
pub const __USE_XOPEN2K8: u32 = 1;
pub const _ATFILE_SOURCE: u32 = 1;
pub const __USE_XOPEN2K24: u32 = 1;
pub const __WORDSIZE: u32 = 64;
pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
pub const __SYSCALL_WORDSIZE: u32 = 64;
pub const __TIMESIZE: u32 = 64;
pub const __USE_TIME_BITS64: u32 = 1;
pub const __USE_MISC: u32 = 1;
pub const __USE_ATFILE: u32 = 1;
pub const __USE_FORTIFY_LEVEL: u32 = 0;
pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0;
pub const __GLIBC_USE_C23_STRTOL: u32 = 0;
pub const _STDC_PREDEF_H: u32 = 1;
pub const __STDC_IEC_559__: u32 = 1;
pub const __STDC_IEC_60559_BFP__: u32 = 201404;
pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
pub const __STDC_IEC_60559_COMPLEX__: u32 = 201404;
pub const __STDC_ISO_10646__: u32 = 201706;
pub const __GNU_LIBRARY__: u32 = 6;
pub const __GLIBC__: u32 = 2;
pub const __GLIBC_MINOR__: u32 = 43;
pub const _SYS_CDEFS_H: u32 = 1;
pub const __glibc_c99_flexarr_available: u32 = 1;
pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0;
pub const __HAVE_GENERIC_SELECTION: u32 = 1;
pub const __GLIBC_USE_LIB_EXT2: u32 = 0;
pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23: u32 = 0;
pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23: u32 = 0;
pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
pub const _BITS_TYPES_H: u32 = 1;
pub const _BITS_TYPESIZES_H: u32 = 1;
pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
pub const __INO_T_MATCHES_INO64_T: u32 = 1;
pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1;
pub const __STATFS_MATCHES_STATFS64: u32 = 1;
pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1;
pub const __FD_SETSIZE: u32 = 1024;
pub const _BITS_TIME64_H: u32 = 1;
pub const _BITS_WCHAR_H: u32 = 1;
pub const _BITS_STDINT_INTN_H: u32 = 1;
pub const _BITS_STDINT_UINTN_H: u32 = 1;
pub const _BITS_STDINT_LEAST_H: u32 = 1;
pub const INT8_MIN: i32 = -128;
pub const INT16_MIN: i32 = -32768;
pub const INT32_MIN: i32 = -2147483648;
pub const INT8_MAX: u32 = 127;
pub const INT16_MAX: u32 = 32767;
pub const INT32_MAX: u32 = 2147483647;
pub const UINT8_MAX: u32 = 255;
pub const UINT16_MAX: u32 = 65535;
pub const UINT32_MAX: u32 = 4294967295;
pub const INT_LEAST8_MIN: i32 = -128;
pub const INT_LEAST16_MIN: i32 = -32768;
pub const INT_LEAST32_MIN: i32 = -2147483648;
pub const INT_LEAST8_MAX: u32 = 127;
pub const INT_LEAST16_MAX: u32 = 32767;
pub const INT_LEAST32_MAX: u32 = 2147483647;
pub const UINT_LEAST8_MAX: u32 = 255;
pub const UINT_LEAST16_MAX: u32 = 65535;
pub const UINT_LEAST32_MAX: u32 = 4294967295;
pub const INT_FAST8_MIN: i32 = -128;
pub const INT_FAST16_MIN: i64 = -9223372036854775808;
pub const INT_FAST32_MIN: i64 = -9223372036854775808;
pub const INT_FAST8_MAX: u32 = 127;
pub const INT_FAST16_MAX: u64 = 9223372036854775807;
pub const INT_FAST32_MAX: u64 = 9223372036854775807;
pub const UINT_FAST8_MAX: u32 = 255;
pub const UINT_FAST16_MAX: i32 = -1;
pub const UINT_FAST32_MAX: i32 = -1;
pub const INTPTR_MIN: i64 = -9223372036854775808;
pub const INTPTR_MAX: u64 = 9223372036854775807;
pub const UINTPTR_MAX: i32 = -1;
pub const PTRDIFF_MIN: i64 = -9223372036854775808;
pub const PTRDIFF_MAX: u64 = 9223372036854775807;
pub const SIG_ATOMIC_MIN: i32 = -2147483648;
pub const SIG_ATOMIC_MAX: u32 = 2147483647;
pub const SIZE_MAX: i32 = -1;
pub const WINT_MIN: u32 = 0;
pub const WINT_MAX: u32 = 4294967295;
pub const VAPOURSYNTH_API_MAJOR: u32 = 4;
pub const VAPOURSYNTH_API_MINOR: u32 = 0;
pub const VS_AUDIO_FRAME_SAMPLES: u32 = 3072;
pub const VSSCRIPT_API_MAJOR: u32 = 4;
pub const VSSCRIPT_API_MINOR: u32 = 1;
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 __int_least8_t = __int8_t;
pub type __uint_least8_t = __uint8_t;
pub type __int_least16_t = __int16_t;
pub type __uint_least16_t = __uint16_t;
pub type __int_least32_t = __int32_t;
pub type __uint_least32_t = __uint32_t;
pub type __int_least64_t = __int64_t;
pub type __uint_least64_t = __uint64_t;
pub type __quad_t = ::std::os::raw::c_long;
pub type __u_quad_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 __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],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of __fsid_t"][::std::mem::size_of::<__fsid_t>() - 8usize];
    ["Alignment of __fsid_t"][::std::mem::align_of::<__fsid_t>() - 4usize];
    ["Offset of field: __fsid_t::__val"][::std::mem::offset_of!(__fsid_t, __val) - 0usize];
};
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 __suseconds64_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 __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 __sig_atomic_t = ::std::os::raw::c_int;
pub type int_least8_t = __int_least8_t;
pub type int_least16_t = __int_least16_t;
pub type int_least32_t = __int_least32_t;
pub type int_least64_t = __int_least64_t;
pub type uint_least8_t = __uint_least8_t;
pub type uint_least16_t = __uint_least16_t;
pub type uint_least32_t = __uint_least32_t;
pub type uint_least64_t = __uint_least64_t;
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 = __intmax_t;
pub type uintmax_t = __uintmax_t;
pub type wchar_t = ::std::os::raw::c_int;
#[repr(C)]
#[repr(align(16))]
#[derive(Debug, Copy, Clone)]
pub struct max_align_t {
    pub __clang_max_align_nonce1: ::std::os::raw::c_longlong,
    pub __bindgen_padding_0: u64,
    pub __clang_max_align_nonce2: u128,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of max_align_t"][::std::mem::size_of::<max_align_t>() - 32usize];
    ["Alignment of max_align_t"][::std::mem::align_of::<max_align_t>() - 16usize];
    ["Offset of field: max_align_t::__clang_max_align_nonce1"]
        [::std::mem::offset_of!(max_align_t, __clang_max_align_nonce1) - 0usize];
    ["Offset of field: max_align_t::__clang_max_align_nonce2"]
        [::std::mem::offset_of!(max_align_t, __clang_max_align_nonce2) - 16usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSFrame {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSNode {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSCore {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSPlugin {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSPluginFunction {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSFunction {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSMap {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSLogHandle {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSFrameContext {
    _unused: [u8; 0],
}
pub const VSColorFamily_cfUndefined: VSColorFamily = 0;
pub const VSColorFamily_cfGray: VSColorFamily = 1;
pub const VSColorFamily_cfRGB: VSColorFamily = 2;
pub const VSColorFamily_cfYUV: VSColorFamily = 3;
pub type VSColorFamily = ::std::os::raw::c_uint;
pub const VSSampleType_stInteger: VSSampleType = 0;
pub const VSSampleType_stFloat: VSSampleType = 1;
pub type VSSampleType = ::std::os::raw::c_uint;
pub const VSPresetVideoFormat_pfNone: VSPresetVideoFormat = 0;
pub const VSPresetVideoFormat_pfGray8: VSPresetVideoFormat = 268959744;
pub const VSPresetVideoFormat_pfGray9: VSPresetVideoFormat = 269025280;
pub const VSPresetVideoFormat_pfGray10: VSPresetVideoFormat = 269090816;
pub const VSPresetVideoFormat_pfGray12: VSPresetVideoFormat = 269221888;
pub const VSPresetVideoFormat_pfGray14: VSPresetVideoFormat = 269352960;
pub const VSPresetVideoFormat_pfGray16: VSPresetVideoFormat = 269484032;
pub const VSPresetVideoFormat_pfGray32: VSPresetVideoFormat = 270532608;
pub const VSPresetVideoFormat_pfGrayH: VSPresetVideoFormat = 286261248;
pub const VSPresetVideoFormat_pfGrayS: VSPresetVideoFormat = 287309824;
pub const VSPresetVideoFormat_pfYUV410P8: VSPresetVideoFormat = 805831170;
pub const VSPresetVideoFormat_pfYUV411P8: VSPresetVideoFormat = 805831168;
pub const VSPresetVideoFormat_pfYUV440P8: VSPresetVideoFormat = 805830657;
pub const VSPresetVideoFormat_pfYUV420P8: VSPresetVideoFormat = 805830913;
pub const VSPresetVideoFormat_pfYUV422P8: VSPresetVideoFormat = 805830912;
pub const VSPresetVideoFormat_pfYUV444P8: VSPresetVideoFormat = 805830656;
pub const VSPresetVideoFormat_pfYUV420P9: VSPresetVideoFormat = 805896449;
pub const VSPresetVideoFormat_pfYUV422P9: VSPresetVideoFormat = 805896448;
pub const VSPresetVideoFormat_pfYUV444P9: VSPresetVideoFormat = 805896192;
pub const VSPresetVideoFormat_pfYUV420P10: VSPresetVideoFormat = 805961985;
pub const VSPresetVideoFormat_pfYUV422P10: VSPresetVideoFormat = 805961984;
pub const VSPresetVideoFormat_pfYUV444P10: VSPresetVideoFormat = 805961728;
pub const VSPresetVideoFormat_pfYUV420P12: VSPresetVideoFormat = 806093057;
pub const VSPresetVideoFormat_pfYUV422P12: VSPresetVideoFormat = 806093056;
pub const VSPresetVideoFormat_pfYUV444P12: VSPresetVideoFormat = 806092800;
pub const VSPresetVideoFormat_pfYUV420P14: VSPresetVideoFormat = 806224129;
pub const VSPresetVideoFormat_pfYUV422P14: VSPresetVideoFormat = 806224128;
pub const VSPresetVideoFormat_pfYUV444P14: VSPresetVideoFormat = 806223872;
pub const VSPresetVideoFormat_pfYUV420P16: VSPresetVideoFormat = 806355201;
pub const VSPresetVideoFormat_pfYUV422P16: VSPresetVideoFormat = 806355200;
pub const VSPresetVideoFormat_pfYUV444P16: VSPresetVideoFormat = 806354944;
pub const VSPresetVideoFormat_pfYUV420PH: VSPresetVideoFormat = 823132417;
pub const VSPresetVideoFormat_pfYUV420PS: VSPresetVideoFormat = 824180993;
pub const VSPresetVideoFormat_pfYUV422PH: VSPresetVideoFormat = 823132416;
pub const VSPresetVideoFormat_pfYUV422PS: VSPresetVideoFormat = 824180992;
pub const VSPresetVideoFormat_pfYUV444PH: VSPresetVideoFormat = 823132160;
pub const VSPresetVideoFormat_pfYUV444PS: VSPresetVideoFormat = 824180736;
pub const VSPresetVideoFormat_pfRGB24: VSPresetVideoFormat = 537395200;
pub const VSPresetVideoFormat_pfRGB27: VSPresetVideoFormat = 537460736;
pub const VSPresetVideoFormat_pfRGB30: VSPresetVideoFormat = 537526272;
pub const VSPresetVideoFormat_pfRGB36: VSPresetVideoFormat = 537657344;
pub const VSPresetVideoFormat_pfRGB42: VSPresetVideoFormat = 537788416;
pub const VSPresetVideoFormat_pfRGB48: VSPresetVideoFormat = 537919488;
pub const VSPresetVideoFormat_pfRGBH: VSPresetVideoFormat = 554696704;
pub const VSPresetVideoFormat_pfRGBS: VSPresetVideoFormat = 555745280;
pub type VSPresetVideoFormat = ::std::os::raw::c_uint;
pub const VSFilterMode_fmParallel: VSFilterMode = 0;
pub const VSFilterMode_fmParallelRequests: VSFilterMode = 1;
pub const VSFilterMode_fmUnordered: VSFilterMode = 2;
pub const VSFilterMode_fmFrameState: VSFilterMode = 3;
pub type VSFilterMode = ::std::os::raw::c_uint;
pub const VSMediaType_mtVideo: VSMediaType = 1;
pub const VSMediaType_mtAudio: VSMediaType = 2;
pub type VSMediaType = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSVideoFormat {
    pub colorFamily: ::std::os::raw::c_int,
    pub sampleType: ::std::os::raw::c_int,
    pub bitsPerSample: ::std::os::raw::c_int,
    pub bytesPerSample: ::std::os::raw::c_int,
    pub subSamplingW: ::std::os::raw::c_int,
    pub subSamplingH: ::std::os::raw::c_int,
    pub numPlanes: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of VSVideoFormat"][::std::mem::size_of::<VSVideoFormat>() - 28usize];
    ["Alignment of VSVideoFormat"][::std::mem::align_of::<VSVideoFormat>() - 4usize];
    ["Offset of field: VSVideoFormat::colorFamily"]
        [::std::mem::offset_of!(VSVideoFormat, colorFamily) - 0usize];
    ["Offset of field: VSVideoFormat::sampleType"]
        [::std::mem::offset_of!(VSVideoFormat, sampleType) - 4usize];
    ["Offset of field: VSVideoFormat::bitsPerSample"]
        [::std::mem::offset_of!(VSVideoFormat, bitsPerSample) - 8usize];
    ["Offset of field: VSVideoFormat::bytesPerSample"]
        [::std::mem::offset_of!(VSVideoFormat, bytesPerSample) - 12usize];
    ["Offset of field: VSVideoFormat::subSamplingW"]
        [::std::mem::offset_of!(VSVideoFormat, subSamplingW) - 16usize];
    ["Offset of field: VSVideoFormat::subSamplingH"]
        [::std::mem::offset_of!(VSVideoFormat, subSamplingH) - 20usize];
    ["Offset of field: VSVideoFormat::numPlanes"]
        [::std::mem::offset_of!(VSVideoFormat, numPlanes) - 24usize];
};
pub const VSAudioChannels_acFrontLeft: VSAudioChannels = 0;
pub const VSAudioChannels_acFrontRight: VSAudioChannels = 1;
pub const VSAudioChannels_acFrontCenter: VSAudioChannels = 2;
pub const VSAudioChannels_acLowFrequency: VSAudioChannels = 3;
pub const VSAudioChannels_acBackLeft: VSAudioChannels = 4;
pub const VSAudioChannels_acBackRight: VSAudioChannels = 5;
pub const VSAudioChannels_acFrontLeftOFCenter: VSAudioChannels = 6;
pub const VSAudioChannels_acFrontRightOFCenter: VSAudioChannels = 7;
pub const VSAudioChannels_acBackCenter: VSAudioChannels = 8;
pub const VSAudioChannels_acSideLeft: VSAudioChannels = 9;
pub const VSAudioChannels_acSideRight: VSAudioChannels = 10;
pub const VSAudioChannels_acTopCenter: VSAudioChannels = 11;
pub const VSAudioChannels_acTopFrontLeft: VSAudioChannels = 12;
pub const VSAudioChannels_acTopFrontCenter: VSAudioChannels = 13;
pub const VSAudioChannels_acTopFrontRight: VSAudioChannels = 14;
pub const VSAudioChannels_acTopBackLeft: VSAudioChannels = 15;
pub const VSAudioChannels_acTopBackCenter: VSAudioChannels = 16;
pub const VSAudioChannels_acTopBackRight: VSAudioChannels = 17;
pub const VSAudioChannels_acStereoLeft: VSAudioChannels = 29;
pub const VSAudioChannels_acStereoRight: VSAudioChannels = 30;
pub const VSAudioChannels_acWideLeft: VSAudioChannels = 31;
pub const VSAudioChannels_acWideRight: VSAudioChannels = 32;
pub const VSAudioChannels_acSurroundDirectLeft: VSAudioChannels = 33;
pub const VSAudioChannels_acSurroundDirectRight: VSAudioChannels = 34;
pub const VSAudioChannels_acLowFrequency2: VSAudioChannels = 35;
pub type VSAudioChannels = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSAudioFormat {
    pub sampleType: ::std::os::raw::c_int,
    pub bitsPerSample: ::std::os::raw::c_int,
    pub bytesPerSample: ::std::os::raw::c_int,
    pub numChannels: ::std::os::raw::c_int,
    pub channelLayout: u64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of VSAudioFormat"][::std::mem::size_of::<VSAudioFormat>() - 24usize];
    ["Alignment of VSAudioFormat"][::std::mem::align_of::<VSAudioFormat>() - 8usize];
    ["Offset of field: VSAudioFormat::sampleType"]
        [::std::mem::offset_of!(VSAudioFormat, sampleType) - 0usize];
    ["Offset of field: VSAudioFormat::bitsPerSample"]
        [::std::mem::offset_of!(VSAudioFormat, bitsPerSample) - 4usize];
    ["Offset of field: VSAudioFormat::bytesPerSample"]
        [::std::mem::offset_of!(VSAudioFormat, bytesPerSample) - 8usize];
    ["Offset of field: VSAudioFormat::numChannels"]
        [::std::mem::offset_of!(VSAudioFormat, numChannels) - 12usize];
    ["Offset of field: VSAudioFormat::channelLayout"]
        [::std::mem::offset_of!(VSAudioFormat, channelLayout) - 16usize];
};
pub const VSPropertyType_ptUnset: VSPropertyType = 0;
pub const VSPropertyType_ptInt: VSPropertyType = 1;
pub const VSPropertyType_ptFloat: VSPropertyType = 2;
pub const VSPropertyType_ptData: VSPropertyType = 3;
pub const VSPropertyType_ptFunction: VSPropertyType = 4;
pub const VSPropertyType_ptVideoNode: VSPropertyType = 5;
pub const VSPropertyType_ptAudioNode: VSPropertyType = 6;
pub const VSPropertyType_ptVideoFrame: VSPropertyType = 7;
pub const VSPropertyType_ptAudioFrame: VSPropertyType = 8;
pub type VSPropertyType = ::std::os::raw::c_uint;
pub const VSMapPropertyError_peSuccess: VSMapPropertyError = 0;
pub const VSMapPropertyError_peUnset: VSMapPropertyError = 1;
pub const VSMapPropertyError_peType: VSMapPropertyError = 2;
pub const VSMapPropertyError_peIndex: VSMapPropertyError = 4;
pub const VSMapPropertyError_peError: VSMapPropertyError = 3;
pub type VSMapPropertyError = ::std::os::raw::c_uint;
pub const VSMapAppendMode_maReplace: VSMapAppendMode = 0;
pub const VSMapAppendMode_maAppend: VSMapAppendMode = 1;
pub type VSMapAppendMode = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSCoreInfo {
    pub versionString: *const ::std::os::raw::c_char,
    pub core: ::std::os::raw::c_int,
    pub api: ::std::os::raw::c_int,
    pub numThreads: ::std::os::raw::c_int,
    pub maxFramebufferSize: i64,
    pub usedFramebufferSize: i64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of VSCoreInfo"][::std::mem::size_of::<VSCoreInfo>() - 40usize];
    ["Alignment of VSCoreInfo"][::std::mem::align_of::<VSCoreInfo>() - 8usize];
    ["Offset of field: VSCoreInfo::versionString"]
        [::std::mem::offset_of!(VSCoreInfo, versionString) - 0usize];
    ["Offset of field: VSCoreInfo::core"][::std::mem::offset_of!(VSCoreInfo, core) - 8usize];
    ["Offset of field: VSCoreInfo::api"][::std::mem::offset_of!(VSCoreInfo, api) - 12usize];
    ["Offset of field: VSCoreInfo::numThreads"]
        [::std::mem::offset_of!(VSCoreInfo, numThreads) - 16usize];
    ["Offset of field: VSCoreInfo::maxFramebufferSize"]
        [::std::mem::offset_of!(VSCoreInfo, maxFramebufferSize) - 24usize];
    ["Offset of field: VSCoreInfo::usedFramebufferSize"]
        [::std::mem::offset_of!(VSCoreInfo, usedFramebufferSize) - 32usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSCoreInfo2 {
    pub versionString: *const ::std::os::raw::c_char,
    pub coreVersion: ::std::os::raw::c_int,
    pub apiVersion: ::std::os::raw::c_int,
    pub creationFlags: ::std::os::raw::c_int,
    pub numThreads: ::std::os::raw::c_int,
    pub maxFramebufferSize: i64,
    pub usedFramebufferSize: i64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of VSCoreInfo2"][::std::mem::size_of::<VSCoreInfo2>() - 40usize];
    ["Alignment of VSCoreInfo2"][::std::mem::align_of::<VSCoreInfo2>() - 8usize];
    ["Offset of field: VSCoreInfo2::versionString"]
        [::std::mem::offset_of!(VSCoreInfo2, versionString) - 0usize];
    ["Offset of field: VSCoreInfo2::coreVersion"]
        [::std::mem::offset_of!(VSCoreInfo2, coreVersion) - 8usize];
    ["Offset of field: VSCoreInfo2::apiVersion"]
        [::std::mem::offset_of!(VSCoreInfo2, apiVersion) - 12usize];
    ["Offset of field: VSCoreInfo2::creationFlags"]
        [::std::mem::offset_of!(VSCoreInfo2, creationFlags) - 16usize];
    ["Offset of field: VSCoreInfo2::numThreads"]
        [::std::mem::offset_of!(VSCoreInfo2, numThreads) - 20usize];
    ["Offset of field: VSCoreInfo2::maxFramebufferSize"]
        [::std::mem::offset_of!(VSCoreInfo2, maxFramebufferSize) - 24usize];
    ["Offset of field: VSCoreInfo2::usedFramebufferSize"]
        [::std::mem::offset_of!(VSCoreInfo2, usedFramebufferSize) - 32usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSVideoInfo {
    pub format: VSVideoFormat,
    pub fpsNum: i64,
    pub fpsDen: i64,
    pub width: ::std::os::raw::c_int,
    pub height: ::std::os::raw::c_int,
    pub numFrames: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of VSVideoInfo"][::std::mem::size_of::<VSVideoInfo>() - 64usize];
    ["Alignment of VSVideoInfo"][::std::mem::align_of::<VSVideoInfo>() - 8usize];
    ["Offset of field: VSVideoInfo::format"][::std::mem::offset_of!(VSVideoInfo, format) - 0usize];
    ["Offset of field: VSVideoInfo::fpsNum"][::std::mem::offset_of!(VSVideoInfo, fpsNum) - 32usize];
    ["Offset of field: VSVideoInfo::fpsDen"][::std::mem::offset_of!(VSVideoInfo, fpsDen) - 40usize];
    ["Offset of field: VSVideoInfo::width"][::std::mem::offset_of!(VSVideoInfo, width) - 48usize];
    ["Offset of field: VSVideoInfo::height"][::std::mem::offset_of!(VSVideoInfo, height) - 52usize];
    ["Offset of field: VSVideoInfo::numFrames"]
        [::std::mem::offset_of!(VSVideoInfo, numFrames) - 56usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSAudioInfo {
    pub format: VSAudioFormat,
    pub sampleRate: ::std::os::raw::c_int,
    pub numSamples: i64,
    pub numFrames: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of VSAudioInfo"][::std::mem::size_of::<VSAudioInfo>() - 48usize];
    ["Alignment of VSAudioInfo"][::std::mem::align_of::<VSAudioInfo>() - 8usize];
    ["Offset of field: VSAudioInfo::format"][::std::mem::offset_of!(VSAudioInfo, format) - 0usize];
    ["Offset of field: VSAudioInfo::sampleRate"]
        [::std::mem::offset_of!(VSAudioInfo, sampleRate) - 24usize];
    ["Offset of field: VSAudioInfo::numSamples"]
        [::std::mem::offset_of!(VSAudioInfo, numSamples) - 32usize];
    ["Offset of field: VSAudioInfo::numFrames"]
        [::std::mem::offset_of!(VSAudioInfo, numFrames) - 40usize];
};
pub const VSActivationReason_arInitial: VSActivationReason = 0;
pub const VSActivationReason_arAllFramesReady: VSActivationReason = 1;
pub const VSActivationReason_arError: VSActivationReason = -1;
pub type VSActivationReason = ::std::os::raw::c_int;
pub const VSMessageType_mtDebug: VSMessageType = 0;
pub const VSMessageType_mtInformation: VSMessageType = 1;
pub const VSMessageType_mtWarning: VSMessageType = 2;
pub const VSMessageType_mtCritical: VSMessageType = 3;
pub const VSMessageType_mtFatal: VSMessageType = 4;
pub type VSMessageType = ::std::os::raw::c_uint;
pub const VSCoreCreationFlags_ccfEnableGraphInspection: VSCoreCreationFlags = 1;
pub const VSCoreCreationFlags_ccfDisableAutoLoading: VSCoreCreationFlags = 2;
pub const VSCoreCreationFlags_ccfDisableLibraryUnloading: VSCoreCreationFlags = 4;
pub const VSCoreCreationFlags_ccfEnableFrameRefDebug: VSCoreCreationFlags = 8;
pub type VSCoreCreationFlags = ::std::os::raw::c_uint;
pub const VSPluginConfigFlags_pcModifiable: VSPluginConfigFlags = 1;
pub type VSPluginConfigFlags = ::std::os::raw::c_uint;
pub const VSDataTypeHint_dtUnknown: VSDataTypeHint = -1;
pub const VSDataTypeHint_dtBinary: VSDataTypeHint = 0;
pub const VSDataTypeHint_dtUtf8: VSDataTypeHint = 1;
pub type VSDataTypeHint = ::std::os::raw::c_int;
pub const VSRequestPattern_rpGeneral: VSRequestPattern = 0;
pub const VSRequestPattern_rpNoFrameReuse: VSRequestPattern = 1;
pub const VSRequestPattern_rpStrictSpatial: VSRequestPattern = 2;
pub type VSRequestPattern = ::std::os::raw::c_uint;
pub const VSCacheMode_cmAuto: VSCacheMode = -1;
pub const VSCacheMode_cmForceDisable: VSCacheMode = 0;
pub const VSCacheMode_cmForceEnable: VSCacheMode = 1;
pub type VSCacheMode = ::std::os::raw::c_int;
pub type VSGetVapourSynthAPI =
    ::std::option::Option<unsafe extern "C" fn(version: ::std::os::raw::c_int) -> *const VSAPI>;
pub type VSPublicFunction = ::std::option::Option<
    unsafe extern "C" fn(
        in_: *const VSMap,
        out: *mut VSMap,
        userData: *mut ::std::os::raw::c_void,
        core: *mut VSCore,
        vsapi: *const VSAPI,
    ),
>;
pub type VSInitPlugin =
    ::std::option::Option<unsafe extern "C" fn(plugin: *mut VSPlugin, vspapi: *const VSPLUGINAPI)>;
pub type VSFreeFunctionData =
    ::std::option::Option<unsafe extern "C" fn(userData: *mut ::std::os::raw::c_void)>;
pub type VSFilterGetFrame = ::std::option::Option<
    unsafe extern "C" fn(
        n: ::std::os::raw::c_int,
        activationReason: ::std::os::raw::c_int,
        instanceData: *mut ::std::os::raw::c_void,
        frameData: *mut *mut ::std::os::raw::c_void,
        frameCtx: *mut VSFrameContext,
        core: *mut VSCore,
        vsapi: *const VSAPI,
    ) -> *const VSFrame,
>;
pub type VSFilterFree = ::std::option::Option<
    unsafe extern "C" fn(
        instanceData: *mut ::std::os::raw::c_void,
        core: *mut VSCore,
        vsapi: *const VSAPI,
    ),
>;
pub type VSFrameDoneCallback = ::std::option::Option<
    unsafe extern "C" fn(
        userData: *mut ::std::os::raw::c_void,
        f: *const VSFrame,
        n: ::std::os::raw::c_int,
        node: *mut VSNode,
        errorMsg: *const ::std::os::raw::c_char,
    ),
>;
pub type VSLogHandler = ::std::option::Option<
    unsafe extern "C" fn(
        msgType: ::std::os::raw::c_int,
        msg: *const ::std::os::raw::c_char,
        userData: *mut ::std::os::raw::c_void,
    ),
>;
pub type VSLogHandlerFree =
    ::std::option::Option<unsafe extern "C" fn(userData: *mut ::std::os::raw::c_void)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSPLUGINAPI {
    pub getAPIVersion: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
    pub configPlugin: ::std::option::Option<
        unsafe extern "C" fn(
            identifier: *const ::std::os::raw::c_char,
            pluginNamespace: *const ::std::os::raw::c_char,
            name: *const ::std::os::raw::c_char,
            pluginVersion: ::std::os::raw::c_int,
            apiVersion: ::std::os::raw::c_int,
            flags: ::std::os::raw::c_int,
            plugin: *mut VSPlugin,
        ) -> ::std::os::raw::c_int,
    >,
    pub registerFunction: ::std::option::Option<
        unsafe extern "C" fn(
            name: *const ::std::os::raw::c_char,
            args: *const ::std::os::raw::c_char,
            returnType: *const ::std::os::raw::c_char,
            argsFunc: VSPublicFunction,
            functionData: *mut ::std::os::raw::c_void,
            plugin: *mut VSPlugin,
        ) -> ::std::os::raw::c_int,
    >,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of VSPLUGINAPI"][::std::mem::size_of::<VSPLUGINAPI>() - 24usize];
    ["Alignment of VSPLUGINAPI"][::std::mem::align_of::<VSPLUGINAPI>() - 8usize];
    ["Offset of field: VSPLUGINAPI::getAPIVersion"]
        [::std::mem::offset_of!(VSPLUGINAPI, getAPIVersion) - 0usize];
    ["Offset of field: VSPLUGINAPI::configPlugin"]
        [::std::mem::offset_of!(VSPLUGINAPI, configPlugin) - 8usize];
    ["Offset of field: VSPLUGINAPI::registerFunction"]
        [::std::mem::offset_of!(VSPLUGINAPI, registerFunction) - 16usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSFilterDependency {
    pub source: *mut VSNode,
    pub requestPattern: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of VSFilterDependency"][::std::mem::size_of::<VSFilterDependency>() - 16usize];
    ["Alignment of VSFilterDependency"][::std::mem::align_of::<VSFilterDependency>() - 8usize];
    ["Offset of field: VSFilterDependency::source"]
        [::std::mem::offset_of!(VSFilterDependency, source) - 0usize];
    ["Offset of field: VSFilterDependency::requestPattern"]
        [::std::mem::offset_of!(VSFilterDependency, requestPattern) - 8usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSAPI {
    pub createVideoFilter: ::std::option::Option<
        unsafe extern "C" fn(
            out: *mut VSMap,
            name: *const ::std::os::raw::c_char,
            vi: *const VSVideoInfo,
            getFrame: VSFilterGetFrame,
            free: VSFilterFree,
            filterMode: ::std::os::raw::c_int,
            dependencies: *const VSFilterDependency,
            numDeps: ::std::os::raw::c_int,
            instanceData: *mut ::std::os::raw::c_void,
            core: *mut VSCore,
        ),
    >,
    pub createVideoFilter2: ::std::option::Option<
        unsafe extern "C" fn(
            name: *const ::std::os::raw::c_char,
            vi: *const VSVideoInfo,
            getFrame: VSFilterGetFrame,
            free: VSFilterFree,
            filterMode: ::std::os::raw::c_int,
            dependencies: *const VSFilterDependency,
            numDeps: ::std::os::raw::c_int,
            instanceData: *mut ::std::os::raw::c_void,
            core: *mut VSCore,
        ) -> *mut VSNode,
    >,
    pub createAudioFilter: ::std::option::Option<
        unsafe extern "C" fn(
            out: *mut VSMap,
            name: *const ::std::os::raw::c_char,
            ai: *const VSAudioInfo,
            getFrame: VSFilterGetFrame,
            free: VSFilterFree,
            filterMode: ::std::os::raw::c_int,
            dependencies: *const VSFilterDependency,
            numDeps: ::std::os::raw::c_int,
            instanceData: *mut ::std::os::raw::c_void,
            core: *mut VSCore,
        ),
    >,
    pub createAudioFilter2: ::std::option::Option<
        unsafe extern "C" fn(
            name: *const ::std::os::raw::c_char,
            ai: *const VSAudioInfo,
            getFrame: VSFilterGetFrame,
            free: VSFilterFree,
            filterMode: ::std::os::raw::c_int,
            dependencies: *const VSFilterDependency,
            numDeps: ::std::os::raw::c_int,
            instanceData: *mut ::std::os::raw::c_void,
            core: *mut VSCore,
        ) -> *mut VSNode,
    >,
    pub setLinearFilter:
        ::std::option::Option<unsafe extern "C" fn(node: *mut VSNode) -> ::std::os::raw::c_int>,
    pub setCacheMode:
        ::std::option::Option<unsafe extern "C" fn(node: *mut VSNode, mode: ::std::os::raw::c_int)>,
    pub setCacheOptions: ::std::option::Option<
        unsafe extern "C" fn(
            node: *mut VSNode,
            fixedSize: ::std::os::raw::c_int,
            maxSize: ::std::os::raw::c_int,
            maxHistorySize: ::std::os::raw::c_int,
        ),
    >,
    pub freeNode: ::std::option::Option<unsafe extern "C" fn(node: *mut VSNode)>,
    pub addNodeRef: ::std::option::Option<unsafe extern "C" fn(node: *mut VSNode) -> *mut VSNode>,
    pub getNodeType:
        ::std::option::Option<unsafe extern "C" fn(node: *mut VSNode) -> ::std::os::raw::c_int>,
    pub getVideoInfo:
        ::std::option::Option<unsafe extern "C" fn(node: *mut VSNode) -> *const VSVideoInfo>,
    pub getAudioInfo:
        ::std::option::Option<unsafe extern "C" fn(node: *mut VSNode) -> *const VSAudioInfo>,
    pub newVideoFrame: ::std::option::Option<
        unsafe extern "C" fn(
            format: *const VSVideoFormat,
            width: ::std::os::raw::c_int,
            height: ::std::os::raw::c_int,
            propSrc: *const VSFrame,
            core: *mut VSCore,
        ) -> *mut VSFrame,
    >,
    pub newVideoFrame2: ::std::option::Option<
        unsafe extern "C" fn(
            format: *const VSVideoFormat,
            width: ::std::os::raw::c_int,
            height: ::std::os::raw::c_int,
            planeSrc: *mut *const VSFrame,
            planes: *const ::std::os::raw::c_int,
            propSrc: *const VSFrame,
            core: *mut VSCore,
        ) -> *mut VSFrame,
    >,
    pub newAudioFrame: ::std::option::Option<
        unsafe extern "C" fn(
            format: *const VSAudioFormat,
            numSamples: ::std::os::raw::c_int,
            propSrc: *const VSFrame,
            core: *mut VSCore,
        ) -> *mut VSFrame,
    >,
    pub newAudioFrame2: ::std::option::Option<
        unsafe extern "C" fn(
            format: *const VSAudioFormat,
            numSamples: ::std::os::raw::c_int,
            channelSrc: *mut *const VSFrame,
            channels: *const ::std::os::raw::c_int,
            propSrc: *const VSFrame,
            core: *mut VSCore,
        ) -> *mut VSFrame,
    >,
    pub freeFrame: ::std::option::Option<unsafe extern "C" fn(f: *const VSFrame)>,
    pub addFrameRef:
        ::std::option::Option<unsafe extern "C" fn(f: *const VSFrame) -> *const VSFrame>,
    pub copyFrame: ::std::option::Option<
        unsafe extern "C" fn(f: *const VSFrame, core: *mut VSCore) -> *mut VSFrame,
    >,
    pub getFramePropertiesRO:
        ::std::option::Option<unsafe extern "C" fn(f: *const VSFrame) -> *const VSMap>,
    pub getFramePropertiesRW:
        ::std::option::Option<unsafe extern "C" fn(f: *mut VSFrame) -> *mut VSMap>,
    pub getStride: ::std::option::Option<
        unsafe extern "C" fn(f: *const VSFrame, plane: ::std::os::raw::c_int) -> isize,
    >,
    pub getReadPtr: ::std::option::Option<
        unsafe extern "C" fn(f: *const VSFrame, plane: ::std::os::raw::c_int) -> *const u8,
    >,
    pub getWritePtr: ::std::option::Option<
        unsafe extern "C" fn(f: *mut VSFrame, plane: ::std::os::raw::c_int) -> *mut u8,
    >,
    pub getVideoFrameFormat:
        ::std::option::Option<unsafe extern "C" fn(f: *const VSFrame) -> *const VSVideoFormat>,
    pub getAudioFrameFormat:
        ::std::option::Option<unsafe extern "C" fn(f: *const VSFrame) -> *const VSAudioFormat>,
    pub getFrameType:
        ::std::option::Option<unsafe extern "C" fn(f: *const VSFrame) -> ::std::os::raw::c_int>,
    pub getFrameWidth: ::std::option::Option<
        unsafe extern "C" fn(
            f: *const VSFrame,
            plane: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub getFrameHeight: ::std::option::Option<
        unsafe extern "C" fn(
            f: *const VSFrame,
            plane: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub getFrameLength:
        ::std::option::Option<unsafe extern "C" fn(f: *const VSFrame) -> ::std::os::raw::c_int>,
    pub getVideoFormatName: ::std::option::Option<
        unsafe extern "C" fn(
            format: *const VSVideoFormat,
            buffer: *mut ::std::os::raw::c_char,
        ) -> ::std::os::raw::c_int,
    >,
    pub getAudioFormatName: ::std::option::Option<
        unsafe extern "C" fn(
            format: *const VSAudioFormat,
            buffer: *mut ::std::os::raw::c_char,
        ) -> ::std::os::raw::c_int,
    >,
    pub queryVideoFormat: ::std::option::Option<
        unsafe extern "C" fn(
            format: *mut VSVideoFormat,
            colorFamily: ::std::os::raw::c_int,
            sampleType: ::std::os::raw::c_int,
            bitsPerSample: ::std::os::raw::c_int,
            subSamplingW: ::std::os::raw::c_int,
            subSamplingH: ::std::os::raw::c_int,
            core: *mut VSCore,
        ) -> ::std::os::raw::c_int,
    >,
    pub queryAudioFormat: ::std::option::Option<
        unsafe extern "C" fn(
            format: *mut VSAudioFormat,
            sampleType: ::std::os::raw::c_int,
            bitsPerSample: ::std::os::raw::c_int,
            channelLayout: u64,
            core: *mut VSCore,
        ) -> ::std::os::raw::c_int,
    >,
    pub queryVideoFormatID: ::std::option::Option<
        unsafe extern "C" fn(
            colorFamily: ::std::os::raw::c_int,
            sampleType: ::std::os::raw::c_int,
            bitsPerSample: ::std::os::raw::c_int,
            subSamplingW: ::std::os::raw::c_int,
            subSamplingH: ::std::os::raw::c_int,
            core: *mut VSCore,
        ) -> u32,
    >,
    pub getVideoFormatByID: ::std::option::Option<
        unsafe extern "C" fn(
            format: *mut VSVideoFormat,
            id: u32,
            core: *mut VSCore,
        ) -> ::std::os::raw::c_int,
    >,
    pub getFrame: ::std::option::Option<
        unsafe extern "C" fn(
            n: ::std::os::raw::c_int,
            node: *mut VSNode,
            errorMsg: *mut ::std::os::raw::c_char,
            bufSize: ::std::os::raw::c_int,
        ) -> *const VSFrame,
    >,
    pub getFrameAsync: ::std::option::Option<
        unsafe extern "C" fn(
            n: ::std::os::raw::c_int,
            node: *mut VSNode,
            callback: VSFrameDoneCallback,
            userData: *mut ::std::os::raw::c_void,
        ),
    >,
    pub getFrameFilter: ::std::option::Option<
        unsafe extern "C" fn(
            n: ::std::os::raw::c_int,
            node: *mut VSNode,
            frameCtx: *mut VSFrameContext,
        ) -> *const VSFrame,
    >,
    pub requestFrameFilter: ::std::option::Option<
        unsafe extern "C" fn(
            n: ::std::os::raw::c_int,
            node: *mut VSNode,
            frameCtx: *mut VSFrameContext,
        ),
    >,
    pub releaseFrameEarly: ::std::option::Option<
        unsafe extern "C" fn(
            node: *mut VSNode,
            n: ::std::os::raw::c_int,
            frameCtx: *mut VSFrameContext,
        ),
    >,
    pub cacheFrame: ::std::option::Option<
        unsafe extern "C" fn(
            frame: *const VSFrame,
            n: ::std::os::raw::c_int,
            frameCtx: *mut VSFrameContext,
        ),
    >,
    pub setFilterError: ::std::option::Option<
        unsafe extern "C" fn(
            errorMessage: *const ::std::os::raw::c_char,
            frameCtx: *mut VSFrameContext,
        ),
    >,
    pub createFunction: ::std::option::Option<
        unsafe extern "C" fn(
            func: VSPublicFunction,
            userData: *mut ::std::os::raw::c_void,
            free: VSFreeFunctionData,
            core: *mut VSCore,
        ) -> *mut VSFunction,
    >,
    pub freeFunction: ::std::option::Option<unsafe extern "C" fn(f: *mut VSFunction)>,
    pub addFunctionRef:
        ::std::option::Option<unsafe extern "C" fn(f: *mut VSFunction) -> *mut VSFunction>,
    pub callFunction: ::std::option::Option<
        unsafe extern "C" fn(func: *mut VSFunction, in_: *const VSMap, out: *mut VSMap),
    >,
    pub createMap: ::std::option::Option<unsafe extern "C" fn() -> *mut VSMap>,
    pub freeMap: ::std::option::Option<unsafe extern "C" fn(map: *mut VSMap)>,
    pub clearMap: ::std::option::Option<unsafe extern "C" fn(map: *mut VSMap)>,
    pub copyMap: ::std::option::Option<unsafe extern "C" fn(src: *const VSMap, dst: *mut VSMap)>,
    pub mapSetError: ::std::option::Option<
        unsafe extern "C" fn(map: *mut VSMap, errorMessage: *const ::std::os::raw::c_char),
    >,
    pub mapGetError: ::std::option::Option<
        unsafe extern "C" fn(map: *const VSMap) -> *const ::std::os::raw::c_char,
    >,
    pub mapNumKeys:
        ::std::option::Option<unsafe extern "C" fn(map: *const VSMap) -> ::std::os::raw::c_int>,
    pub mapGetKey: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            index: ::std::os::raw::c_int,
        ) -> *const ::std::os::raw::c_char,
    >,
    pub mapDeleteKey: ::std::option::Option<
        unsafe extern "C" fn(
            map: *mut VSMap,
            key: *const ::std::os::raw::c_char,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapNumElements: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            key: *const ::std::os::raw::c_char,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapGetType: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            key: *const ::std::os::raw::c_char,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapSetEmpty: ::std::option::Option<
        unsafe extern "C" fn(
            map: *mut VSMap,
            key: *const ::std::os::raw::c_char,
            type_: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapGetInt: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            key: *const ::std::os::raw::c_char,
            index: ::std::os::raw::c_int,
            error: *mut ::std::os::raw::c_int,
        ) -> i64,
    >,
    pub mapGetIntSaturated: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            key: *const ::std::os::raw::c_char,
            index: ::std::os::raw::c_int,
            error: *mut ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapGetIntArray: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            key: *const ::std::os::raw::c_char,
            error: *mut ::std::os::raw::c_int,
        ) -> *const i64,
    >,
    pub mapSetInt: ::std::option::Option<
        unsafe extern "C" fn(
            map: *mut VSMap,
            key: *const ::std::os::raw::c_char,
            i: i64,
            append: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapSetIntArray: ::std::option::Option<
        unsafe extern "C" fn(
            map: *mut VSMap,
            key: *const ::std::os::raw::c_char,
            i: *const i64,
            size: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapGetFloat: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            key: *const ::std::os::raw::c_char,
            index: ::std::os::raw::c_int,
            error: *mut ::std::os::raw::c_int,
        ) -> f64,
    >,
    pub mapGetFloatSaturated: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            key: *const ::std::os::raw::c_char,
            index: ::std::os::raw::c_int,
            error: *mut ::std::os::raw::c_int,
        ) -> f32,
    >,
    pub mapGetFloatArray: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            key: *const ::std::os::raw::c_char,
            error: *mut ::std::os::raw::c_int,
        ) -> *const f64,
    >,
    pub mapSetFloat: ::std::option::Option<
        unsafe extern "C" fn(
            map: *mut VSMap,
            key: *const ::std::os::raw::c_char,
            d: f64,
            append: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapSetFloatArray: ::std::option::Option<
        unsafe extern "C" fn(
            map: *mut VSMap,
            key: *const ::std::os::raw::c_char,
            d: *const f64,
            size: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapGetData: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            key: *const ::std::os::raw::c_char,
            index: ::std::os::raw::c_int,
            error: *mut ::std::os::raw::c_int,
        ) -> *const ::std::os::raw::c_char,
    >,
    pub mapGetDataSize: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            key: *const ::std::os::raw::c_char,
            index: ::std::os::raw::c_int,
            error: *mut ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapGetDataTypeHint: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            key: *const ::std::os::raw::c_char,
            index: ::std::os::raw::c_int,
            error: *mut ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapSetData: ::std::option::Option<
        unsafe extern "C" fn(
            map: *mut VSMap,
            key: *const ::std::os::raw::c_char,
            data: *const ::std::os::raw::c_char,
            size: ::std::os::raw::c_int,
            type_: ::std::os::raw::c_int,
            append: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapGetNode: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            key: *const ::std::os::raw::c_char,
            index: ::std::os::raw::c_int,
            error: *mut ::std::os::raw::c_int,
        ) -> *mut VSNode,
    >,
    pub mapSetNode: ::std::option::Option<
        unsafe extern "C" fn(
            map: *mut VSMap,
            key: *const ::std::os::raw::c_char,
            node: *mut VSNode,
            append: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapConsumeNode: ::std::option::Option<
        unsafe extern "C" fn(
            map: *mut VSMap,
            key: *const ::std::os::raw::c_char,
            node: *mut VSNode,
            append: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapGetFrame: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            key: *const ::std::os::raw::c_char,
            index: ::std::os::raw::c_int,
            error: *mut ::std::os::raw::c_int,
        ) -> *const VSFrame,
    >,
    pub mapSetFrame: ::std::option::Option<
        unsafe extern "C" fn(
            map: *mut VSMap,
            key: *const ::std::os::raw::c_char,
            f: *const VSFrame,
            append: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapConsumeFrame: ::std::option::Option<
        unsafe extern "C" fn(
            map: *mut VSMap,
            key: *const ::std::os::raw::c_char,
            f: *const VSFrame,
            append: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapGetFunction: ::std::option::Option<
        unsafe extern "C" fn(
            map: *const VSMap,
            key: *const ::std::os::raw::c_char,
            index: ::std::os::raw::c_int,
            error: *mut ::std::os::raw::c_int,
        ) -> *mut VSFunction,
    >,
    pub mapSetFunction: ::std::option::Option<
        unsafe extern "C" fn(
            map: *mut VSMap,
            key: *const ::std::os::raw::c_char,
            func: *mut VSFunction,
            append: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub mapConsumeFunction: ::std::option::Option<
        unsafe extern "C" fn(
            map: *mut VSMap,
            key: *const ::std::os::raw::c_char,
            func: *mut VSFunction,
            append: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub registerFunction: ::std::option::Option<
        unsafe extern "C" fn(
            name: *const ::std::os::raw::c_char,
            args: *const ::std::os::raw::c_char,
            returnType: *const ::std::os::raw::c_char,
            argsFunc: VSPublicFunction,
            functionData: *mut ::std::os::raw::c_void,
            plugin: *mut VSPlugin,
        ) -> ::std::os::raw::c_int,
    >,
    pub getPluginByID: ::std::option::Option<
        unsafe extern "C" fn(
            identifier: *const ::std::os::raw::c_char,
            core: *mut VSCore,
        ) -> *mut VSPlugin,
    >,
    pub getPluginByNamespace: ::std::option::Option<
        unsafe extern "C" fn(ns: *const ::std::os::raw::c_char, core: *mut VSCore) -> *mut VSPlugin,
    >,
    pub getNextPlugin: ::std::option::Option<
        unsafe extern "C" fn(plugin: *mut VSPlugin, core: *mut VSCore) -> *mut VSPlugin,
    >,
    pub getPluginName: ::std::option::Option<
        unsafe extern "C" fn(plugin: *mut VSPlugin) -> *const ::std::os::raw::c_char,
    >,
    pub getPluginID: ::std::option::Option<
        unsafe extern "C" fn(plugin: *mut VSPlugin) -> *const ::std::os::raw::c_char,
    >,
    pub getPluginNamespace: ::std::option::Option<
        unsafe extern "C" fn(plugin: *mut VSPlugin) -> *const ::std::os::raw::c_char,
    >,
    pub getNextPluginFunction: ::std::option::Option<
        unsafe extern "C" fn(
            func: *mut VSPluginFunction,
            plugin: *mut VSPlugin,
        ) -> *mut VSPluginFunction,
    >,
    pub getPluginFunctionByName: ::std::option::Option<
        unsafe extern "C" fn(
            name: *const ::std::os::raw::c_char,
            plugin: *mut VSPlugin,
        ) -> *mut VSPluginFunction,
    >,
    pub getPluginFunctionName: ::std::option::Option<
        unsafe extern "C" fn(func: *mut VSPluginFunction) -> *const ::std::os::raw::c_char,
    >,
    pub getPluginFunctionArguments: ::std::option::Option<
        unsafe extern "C" fn(func: *mut VSPluginFunction) -> *const ::std::os::raw::c_char,
    >,
    pub getPluginFunctionReturnType: ::std::option::Option<
        unsafe extern "C" fn(func: *mut VSPluginFunction) -> *const ::std::os::raw::c_char,
    >,
    pub getPluginPath: ::std::option::Option<
        unsafe extern "C" fn(plugin: *const VSPlugin) -> *const ::std::os::raw::c_char,
    >,
    pub getPluginVersion: ::std::option::Option<
        unsafe extern "C" fn(plugin: *const VSPlugin) -> ::std::os::raw::c_int,
    >,
    pub invoke: ::std::option::Option<
        unsafe extern "C" fn(
            plugin: *mut VSPlugin,
            name: *const ::std::os::raw::c_char,
            args: *const VSMap,
        ) -> *mut VSMap,
    >,
    pub createCore:
        ::std::option::Option<unsafe extern "C" fn(flags: ::std::os::raw::c_int) -> *mut VSCore>,
    pub freeCore: ::std::option::Option<unsafe extern "C" fn(core: *mut VSCore)>,
    pub setMaxCacheSize:
        ::std::option::Option<unsafe extern "C" fn(bytes: i64, core: *mut VSCore) -> i64>,
    pub setThreadCount: ::std::option::Option<
        unsafe extern "C" fn(
            threads: ::std::os::raw::c_int,
            core: *mut VSCore,
        ) -> ::std::os::raw::c_int,
    >,
    pub getCoreInfo:
        ::std::option::Option<unsafe extern "C" fn(core: *mut VSCore, info: *mut VSCoreInfo)>,
    pub getAPIVersion: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
    pub logMessage: ::std::option::Option<
        unsafe extern "C" fn(
            msgType: ::std::os::raw::c_int,
            msg: *const ::std::os::raw::c_char,
            core: *mut VSCore,
        ),
    >,
    pub addLogHandler: ::std::option::Option<
        unsafe extern "C" fn(
            handler: VSLogHandler,
            free: VSLogHandlerFree,
            userData: *mut ::std::os::raw::c_void,
            core: *mut VSCore,
        ) -> *mut VSLogHandle,
    >,
    pub removeLogHandler: ::std::option::Option<
        unsafe extern "C" fn(handle: *mut VSLogHandle, core: *mut VSCore) -> ::std::os::raw::c_int,
    >,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of VSAPI"][::std::mem::size_of::<VSAPI>() - 848usize];
    ["Alignment of VSAPI"][::std::mem::align_of::<VSAPI>() - 8usize];
    ["Offset of field: VSAPI::createVideoFilter"]
        [::std::mem::offset_of!(VSAPI, createVideoFilter) - 0usize];
    ["Offset of field: VSAPI::createVideoFilter2"]
        [::std::mem::offset_of!(VSAPI, createVideoFilter2) - 8usize];
    ["Offset of field: VSAPI::createAudioFilter"]
        [::std::mem::offset_of!(VSAPI, createAudioFilter) - 16usize];
    ["Offset of field: VSAPI::createAudioFilter2"]
        [::std::mem::offset_of!(VSAPI, createAudioFilter2) - 24usize];
    ["Offset of field: VSAPI::setLinearFilter"]
        [::std::mem::offset_of!(VSAPI, setLinearFilter) - 32usize];
    ["Offset of field: VSAPI::setCacheMode"][::std::mem::offset_of!(VSAPI, setCacheMode) - 40usize];
    ["Offset of field: VSAPI::setCacheOptions"]
        [::std::mem::offset_of!(VSAPI, setCacheOptions) - 48usize];
    ["Offset of field: VSAPI::freeNode"][::std::mem::offset_of!(VSAPI, freeNode) - 56usize];
    ["Offset of field: VSAPI::addNodeRef"][::std::mem::offset_of!(VSAPI, addNodeRef) - 64usize];
    ["Offset of field: VSAPI::getNodeType"][::std::mem::offset_of!(VSAPI, getNodeType) - 72usize];
    ["Offset of field: VSAPI::getVideoInfo"][::std::mem::offset_of!(VSAPI, getVideoInfo) - 80usize];
    ["Offset of field: VSAPI::getAudioInfo"][::std::mem::offset_of!(VSAPI, getAudioInfo) - 88usize];
    ["Offset of field: VSAPI::newVideoFrame"]
        [::std::mem::offset_of!(VSAPI, newVideoFrame) - 96usize];
    ["Offset of field: VSAPI::newVideoFrame2"]
        [::std::mem::offset_of!(VSAPI, newVideoFrame2) - 104usize];
    ["Offset of field: VSAPI::newAudioFrame"]
        [::std::mem::offset_of!(VSAPI, newAudioFrame) - 112usize];
    ["Offset of field: VSAPI::newAudioFrame2"]
        [::std::mem::offset_of!(VSAPI, newAudioFrame2) - 120usize];
    ["Offset of field: VSAPI::freeFrame"][::std::mem::offset_of!(VSAPI, freeFrame) - 128usize];
    ["Offset of field: VSAPI::addFrameRef"][::std::mem::offset_of!(VSAPI, addFrameRef) - 136usize];
    ["Offset of field: VSAPI::copyFrame"][::std::mem::offset_of!(VSAPI, copyFrame) - 144usize];
    ["Offset of field: VSAPI::getFramePropertiesRO"]
        [::std::mem::offset_of!(VSAPI, getFramePropertiesRO) - 152usize];
    ["Offset of field: VSAPI::getFramePropertiesRW"]
        [::std::mem::offset_of!(VSAPI, getFramePropertiesRW) - 160usize];
    ["Offset of field: VSAPI::getStride"][::std::mem::offset_of!(VSAPI, getStride) - 168usize];
    ["Offset of field: VSAPI::getReadPtr"][::std::mem::offset_of!(VSAPI, getReadPtr) - 176usize];
    ["Offset of field: VSAPI::getWritePtr"][::std::mem::offset_of!(VSAPI, getWritePtr) - 184usize];
    ["Offset of field: VSAPI::getVideoFrameFormat"]
        [::std::mem::offset_of!(VSAPI, getVideoFrameFormat) - 192usize];
    ["Offset of field: VSAPI::getAudioFrameFormat"]
        [::std::mem::offset_of!(VSAPI, getAudioFrameFormat) - 200usize];
    ["Offset of field: VSAPI::getFrameType"]
        [::std::mem::offset_of!(VSAPI, getFrameType) - 208usize];
    ["Offset of field: VSAPI::getFrameWidth"]
        [::std::mem::offset_of!(VSAPI, getFrameWidth) - 216usize];
    ["Offset of field: VSAPI::getFrameHeight"]
        [::std::mem::offset_of!(VSAPI, getFrameHeight) - 224usize];
    ["Offset of field: VSAPI::getFrameLength"]
        [::std::mem::offset_of!(VSAPI, getFrameLength) - 232usize];
    ["Offset of field: VSAPI::getVideoFormatName"]
        [::std::mem::offset_of!(VSAPI, getVideoFormatName) - 240usize];
    ["Offset of field: VSAPI::getAudioFormatName"]
        [::std::mem::offset_of!(VSAPI, getAudioFormatName) - 248usize];
    ["Offset of field: VSAPI::queryVideoFormat"]
        [::std::mem::offset_of!(VSAPI, queryVideoFormat) - 256usize];
    ["Offset of field: VSAPI::queryAudioFormat"]
        [::std::mem::offset_of!(VSAPI, queryAudioFormat) - 264usize];
    ["Offset of field: VSAPI::queryVideoFormatID"]
        [::std::mem::offset_of!(VSAPI, queryVideoFormatID) - 272usize];
    ["Offset of field: VSAPI::getVideoFormatByID"]
        [::std::mem::offset_of!(VSAPI, getVideoFormatByID) - 280usize];
    ["Offset of field: VSAPI::getFrame"][::std::mem::offset_of!(VSAPI, getFrame) - 288usize];
    ["Offset of field: VSAPI::getFrameAsync"]
        [::std::mem::offset_of!(VSAPI, getFrameAsync) - 296usize];
    ["Offset of field: VSAPI::getFrameFilter"]
        [::std::mem::offset_of!(VSAPI, getFrameFilter) - 304usize];
    ["Offset of field: VSAPI::requestFrameFilter"]
        [::std::mem::offset_of!(VSAPI, requestFrameFilter) - 312usize];
    ["Offset of field: VSAPI::releaseFrameEarly"]
        [::std::mem::offset_of!(VSAPI, releaseFrameEarly) - 320usize];
    ["Offset of field: VSAPI::cacheFrame"][::std::mem::offset_of!(VSAPI, cacheFrame) - 328usize];
    ["Offset of field: VSAPI::setFilterError"]
        [::std::mem::offset_of!(VSAPI, setFilterError) - 336usize];
    ["Offset of field: VSAPI::createFunction"]
        [::std::mem::offset_of!(VSAPI, createFunction) - 344usize];
    ["Offset of field: VSAPI::freeFunction"]
        [::std::mem::offset_of!(VSAPI, freeFunction) - 352usize];
    ["Offset of field: VSAPI::addFunctionRef"]
        [::std::mem::offset_of!(VSAPI, addFunctionRef) - 360usize];
    ["Offset of field: VSAPI::callFunction"]
        [::std::mem::offset_of!(VSAPI, callFunction) - 368usize];
    ["Offset of field: VSAPI::createMap"][::std::mem::offset_of!(VSAPI, createMap) - 376usize];
    ["Offset of field: VSAPI::freeMap"][::std::mem::offset_of!(VSAPI, freeMap) - 384usize];
    ["Offset of field: VSAPI::clearMap"][::std::mem::offset_of!(VSAPI, clearMap) - 392usize];
    ["Offset of field: VSAPI::copyMap"][::std::mem::offset_of!(VSAPI, copyMap) - 400usize];
    ["Offset of field: VSAPI::mapSetError"][::std::mem::offset_of!(VSAPI, mapSetError) - 408usize];
    ["Offset of field: VSAPI::mapGetError"][::std::mem::offset_of!(VSAPI, mapGetError) - 416usize];
    ["Offset of field: VSAPI::mapNumKeys"][::std::mem::offset_of!(VSAPI, mapNumKeys) - 424usize];
    ["Offset of field: VSAPI::mapGetKey"][::std::mem::offset_of!(VSAPI, mapGetKey) - 432usize];
    ["Offset of field: VSAPI::mapDeleteKey"]
        [::std::mem::offset_of!(VSAPI, mapDeleteKey) - 440usize];
    ["Offset of field: VSAPI::mapNumElements"]
        [::std::mem::offset_of!(VSAPI, mapNumElements) - 448usize];
    ["Offset of field: VSAPI::mapGetType"][::std::mem::offset_of!(VSAPI, mapGetType) - 456usize];
    ["Offset of field: VSAPI::mapSetEmpty"][::std::mem::offset_of!(VSAPI, mapSetEmpty) - 464usize];
    ["Offset of field: VSAPI::mapGetInt"][::std::mem::offset_of!(VSAPI, mapGetInt) - 472usize];
    ["Offset of field: VSAPI::mapGetIntSaturated"]
        [::std::mem::offset_of!(VSAPI, mapGetIntSaturated) - 480usize];
    ["Offset of field: VSAPI::mapGetIntArray"]
        [::std::mem::offset_of!(VSAPI, mapGetIntArray) - 488usize];
    ["Offset of field: VSAPI::mapSetInt"][::std::mem::offset_of!(VSAPI, mapSetInt) - 496usize];
    ["Offset of field: VSAPI::mapSetIntArray"]
        [::std::mem::offset_of!(VSAPI, mapSetIntArray) - 504usize];
    ["Offset of field: VSAPI::mapGetFloat"][::std::mem::offset_of!(VSAPI, mapGetFloat) - 512usize];
    ["Offset of field: VSAPI::mapGetFloatSaturated"]
        [::std::mem::offset_of!(VSAPI, mapGetFloatSaturated) - 520usize];
    ["Offset of field: VSAPI::mapGetFloatArray"]
        [::std::mem::offset_of!(VSAPI, mapGetFloatArray) - 528usize];
    ["Offset of field: VSAPI::mapSetFloat"][::std::mem::offset_of!(VSAPI, mapSetFloat) - 536usize];
    ["Offset of field: VSAPI::mapSetFloatArray"]
        [::std::mem::offset_of!(VSAPI, mapSetFloatArray) - 544usize];
    ["Offset of field: VSAPI::mapGetData"][::std::mem::offset_of!(VSAPI, mapGetData) - 552usize];
    ["Offset of field: VSAPI::mapGetDataSize"]
        [::std::mem::offset_of!(VSAPI, mapGetDataSize) - 560usize];
    ["Offset of field: VSAPI::mapGetDataTypeHint"]
        [::std::mem::offset_of!(VSAPI, mapGetDataTypeHint) - 568usize];
    ["Offset of field: VSAPI::mapSetData"][::std::mem::offset_of!(VSAPI, mapSetData) - 576usize];
    ["Offset of field: VSAPI::mapGetNode"][::std::mem::offset_of!(VSAPI, mapGetNode) - 584usize];
    ["Offset of field: VSAPI::mapSetNode"][::std::mem::offset_of!(VSAPI, mapSetNode) - 592usize];
    ["Offset of field: VSAPI::mapConsumeNode"]
        [::std::mem::offset_of!(VSAPI, mapConsumeNode) - 600usize];
    ["Offset of field: VSAPI::mapGetFrame"][::std::mem::offset_of!(VSAPI, mapGetFrame) - 608usize];
    ["Offset of field: VSAPI::mapSetFrame"][::std::mem::offset_of!(VSAPI, mapSetFrame) - 616usize];
    ["Offset of field: VSAPI::mapConsumeFrame"]
        [::std::mem::offset_of!(VSAPI, mapConsumeFrame) - 624usize];
    ["Offset of field: VSAPI::mapGetFunction"]
        [::std::mem::offset_of!(VSAPI, mapGetFunction) - 632usize];
    ["Offset of field: VSAPI::mapSetFunction"]
        [::std::mem::offset_of!(VSAPI, mapSetFunction) - 640usize];
    ["Offset of field: VSAPI::mapConsumeFunction"]
        [::std::mem::offset_of!(VSAPI, mapConsumeFunction) - 648usize];
    ["Offset of field: VSAPI::registerFunction"]
        [::std::mem::offset_of!(VSAPI, registerFunction) - 656usize];
    ["Offset of field: VSAPI::getPluginByID"]
        [::std::mem::offset_of!(VSAPI, getPluginByID) - 664usize];
    ["Offset of field: VSAPI::getPluginByNamespace"]
        [::std::mem::offset_of!(VSAPI, getPluginByNamespace) - 672usize];
    ["Offset of field: VSAPI::getNextPlugin"]
        [::std::mem::offset_of!(VSAPI, getNextPlugin) - 680usize];
    ["Offset of field: VSAPI::getPluginName"]
        [::std::mem::offset_of!(VSAPI, getPluginName) - 688usize];
    ["Offset of field: VSAPI::getPluginID"][::std::mem::offset_of!(VSAPI, getPluginID) - 696usize];
    ["Offset of field: VSAPI::getPluginNamespace"]
        [::std::mem::offset_of!(VSAPI, getPluginNamespace) - 704usize];
    ["Offset of field: VSAPI::getNextPluginFunction"]
        [::std::mem::offset_of!(VSAPI, getNextPluginFunction) - 712usize];
    ["Offset of field: VSAPI::getPluginFunctionByName"]
        [::std::mem::offset_of!(VSAPI, getPluginFunctionByName) - 720usize];
    ["Offset of field: VSAPI::getPluginFunctionName"]
        [::std::mem::offset_of!(VSAPI, getPluginFunctionName) - 728usize];
    ["Offset of field: VSAPI::getPluginFunctionArguments"]
        [::std::mem::offset_of!(VSAPI, getPluginFunctionArguments) - 736usize];
    ["Offset of field: VSAPI::getPluginFunctionReturnType"]
        [::std::mem::offset_of!(VSAPI, getPluginFunctionReturnType) - 744usize];
    ["Offset of field: VSAPI::getPluginPath"]
        [::std::mem::offset_of!(VSAPI, getPluginPath) - 752usize];
    ["Offset of field: VSAPI::getPluginVersion"]
        [::std::mem::offset_of!(VSAPI, getPluginVersion) - 760usize];
    ["Offset of field: VSAPI::invoke"][::std::mem::offset_of!(VSAPI, invoke) - 768usize];
    ["Offset of field: VSAPI::createCore"][::std::mem::offset_of!(VSAPI, createCore) - 776usize];
    ["Offset of field: VSAPI::freeCore"][::std::mem::offset_of!(VSAPI, freeCore) - 784usize];
    ["Offset of field: VSAPI::setMaxCacheSize"]
        [::std::mem::offset_of!(VSAPI, setMaxCacheSize) - 792usize];
    ["Offset of field: VSAPI::setThreadCount"]
        [::std::mem::offset_of!(VSAPI, setThreadCount) - 800usize];
    ["Offset of field: VSAPI::getCoreInfo"][::std::mem::offset_of!(VSAPI, getCoreInfo) - 808usize];
    ["Offset of field: VSAPI::getAPIVersion"]
        [::std::mem::offset_of!(VSAPI, getAPIVersion) - 816usize];
    ["Offset of field: VSAPI::logMessage"][::std::mem::offset_of!(VSAPI, logMessage) - 824usize];
    ["Offset of field: VSAPI::addLogHandler"]
        [::std::mem::offset_of!(VSAPI, addLogHandler) - 832usize];
    ["Offset of field: VSAPI::removeLogHandler"]
        [::std::mem::offset_of!(VSAPI, removeLogHandler) - 840usize];
};
unsafe extern "C" {
    pub fn getVapourSynthAPI(version: ::std::os::raw::c_int) -> *const VSAPI;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSScript {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VSSCRIPTAPI {
    pub getAPIVersion: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
    pub getVSAPI:
        ::std::option::Option<unsafe extern "C" fn(version: ::std::os::raw::c_int) -> *const VSAPI>,
    pub createScript:
        ::std::option::Option<unsafe extern "C" fn(core: *mut VSCore) -> *mut VSScript>,
    pub getCore: ::std::option::Option<unsafe extern "C" fn(handle: *mut VSScript) -> *mut VSCore>,
    pub evaluateBuffer: ::std::option::Option<
        unsafe extern "C" fn(
            handle: *mut VSScript,
            buffer: *const ::std::os::raw::c_char,
            scriptFilename: *const ::std::os::raw::c_char,
        ) -> ::std::os::raw::c_int,
    >,
    pub evaluateFile: ::std::option::Option<
        unsafe extern "C" fn(
            handle: *mut VSScript,
            scriptFilename: *const ::std::os::raw::c_char,
        ) -> ::std::os::raw::c_int,
    >,
    pub getError: ::std::option::Option<
        unsafe extern "C" fn(handle: *mut VSScript) -> *const ::std::os::raw::c_char,
    >,
    pub getExitCode:
        ::std::option::Option<unsafe extern "C" fn(handle: *mut VSScript) -> ::std::os::raw::c_int>,
    pub getVariable: ::std::option::Option<
        unsafe extern "C" fn(
            handle: *mut VSScript,
            name: *const ::std::os::raw::c_char,
            dst: *mut VSMap,
        ) -> ::std::os::raw::c_int,
    >,
    pub setVariables: ::std::option::Option<
        unsafe extern "C" fn(handle: *mut VSScript, vars: *const VSMap) -> ::std::os::raw::c_int,
    >,
    pub getOutputNode: ::std::option::Option<
        unsafe extern "C" fn(handle: *mut VSScript, index: ::std::os::raw::c_int) -> *mut VSNode,
    >,
    pub getOutputAlphaNode: ::std::option::Option<
        unsafe extern "C" fn(handle: *mut VSScript, index: ::std::os::raw::c_int) -> *mut VSNode,
    >,
    pub getAltOutputMode: ::std::option::Option<
        unsafe extern "C" fn(
            handle: *mut VSScript,
            index: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,
    pub freeScript: ::std::option::Option<unsafe extern "C" fn(handle: *mut VSScript)>,
    pub evalSetWorkingDir: ::std::option::Option<
        unsafe extern "C" fn(handle: *mut VSScript, setCWD: ::std::os::raw::c_int),
    >,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of VSSCRIPTAPI"][::std::mem::size_of::<VSSCRIPTAPI>() - 120usize];
    ["Alignment of VSSCRIPTAPI"][::std::mem::align_of::<VSSCRIPTAPI>() - 8usize];
    ["Offset of field: VSSCRIPTAPI::getAPIVersion"]
        [::std::mem::offset_of!(VSSCRIPTAPI, getAPIVersion) - 0usize];
    ["Offset of field: VSSCRIPTAPI::getVSAPI"]
        [::std::mem::offset_of!(VSSCRIPTAPI, getVSAPI) - 8usize];
    ["Offset of field: VSSCRIPTAPI::createScript"]
        [::std::mem::offset_of!(VSSCRIPTAPI, createScript) - 16usize];
    ["Offset of field: VSSCRIPTAPI::getCore"]
        [::std::mem::offset_of!(VSSCRIPTAPI, getCore) - 24usize];
    ["Offset of field: VSSCRIPTAPI::evaluateBuffer"]
        [::std::mem::offset_of!(VSSCRIPTAPI, evaluateBuffer) - 32usize];
    ["Offset of field: VSSCRIPTAPI::evaluateFile"]
        [::std::mem::offset_of!(VSSCRIPTAPI, evaluateFile) - 40usize];
    ["Offset of field: VSSCRIPTAPI::getError"]
        [::std::mem::offset_of!(VSSCRIPTAPI, getError) - 48usize];
    ["Offset of field: VSSCRIPTAPI::getExitCode"]
        [::std::mem::offset_of!(VSSCRIPTAPI, getExitCode) - 56usize];
    ["Offset of field: VSSCRIPTAPI::getVariable"]
        [::std::mem::offset_of!(VSSCRIPTAPI, getVariable) - 64usize];
    ["Offset of field: VSSCRIPTAPI::setVariables"]
        [::std::mem::offset_of!(VSSCRIPTAPI, setVariables) - 72usize];
    ["Offset of field: VSSCRIPTAPI::getOutputNode"]
        [::std::mem::offset_of!(VSSCRIPTAPI, getOutputNode) - 80usize];
    ["Offset of field: VSSCRIPTAPI::getOutputAlphaNode"]
        [::std::mem::offset_of!(VSSCRIPTAPI, getOutputAlphaNode) - 88usize];
    ["Offset of field: VSSCRIPTAPI::getAltOutputMode"]
        [::std::mem::offset_of!(VSSCRIPTAPI, getAltOutputMode) - 96usize];
    ["Offset of field: VSSCRIPTAPI::freeScript"]
        [::std::mem::offset_of!(VSSCRIPTAPI, freeScript) - 104usize];
    ["Offset of field: VSSCRIPTAPI::evalSetWorkingDir"]
        [::std::mem::offset_of!(VSSCRIPTAPI, evalSetWorkingDir) - 112usize];
};