libobs 5.0.1+32.0.4

LibOBS bindings for Rust
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
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
/* automatically generated by rust-bindgen 0.72.1 */

#[doc = " If Bindgen could only determine the size and alignment of a"]
#[doc = " type, it is represented like this."]
#[derive(PartialEq, Copy, Clone, Debug, Hash)]
#[repr(C)]
pub struct __BindgenOpaqueArray<T: Copy, const N: usize>(pub [T; N]);
impl<T: Copy + Default, const N: usize> Default for __BindgenOpaqueArray<T, N> {
    fn default() -> Self {
        Self([<T as Default>::default(); N])
    }
}
#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)]
#[repr(transparent)]
pub struct __BindgenFloat16(pub u16);
#[repr(C)]
pub struct __BindgenUnionField<T>(::std::marker::PhantomData<T>);
impl<T> __BindgenUnionField<T> {
    #[inline]
    pub const fn new() -> Self {
        __BindgenUnionField(::std::marker::PhantomData)
    }
    #[inline]
    pub unsafe fn as_ref(&self) -> &T {
        ::std::mem::transmute(self)
    }
    #[inline]
    pub unsafe fn as_mut(&mut self) -> &mut T {
        ::std::mem::transmute(self)
    }
}
impl<T> ::std::default::Default for __BindgenUnionField<T> {
    #[inline]
    fn default() -> Self {
        Self::new()
    }
}
impl<T> ::std::clone::Clone for __BindgenUnionField<T> {
    #[inline]
    fn clone(&self) -> Self {
        *self
    }
}
impl<T> ::std::marker::Copy for __BindgenUnionField<T> {}
impl<T> ::std::fmt::Debug for __BindgenUnionField<T> {
    fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        fmt.write_str("__BindgenUnionField")
    }
}
impl<T> ::std::hash::Hash for __BindgenUnionField<T> {
    fn hash<H: ::std::hash::Hasher>(&self, _state: &mut H) {}
}
impl<T> ::std::cmp::PartialEq for __BindgenUnionField<T> {
    fn eq(&self, _other: &__BindgenUnionField<T>) -> bool {
        true
    }
}
impl<T> ::std::cmp::Eq for __BindgenUnionField<T> {}
pub const _CRT_PACKING: u32 = 8;
pub const __bool_true_false_are_defined: u32 = 1;
pub const true_: u32 = 1;
pub const false_: u32 = 0;
pub const __SAVE_GPRBX: &[u8; 30] = b"mov {%%rbx, %%rax |rax, rbx};\0";
pub const __RESTORE_GPRBX: &[u8; 30] = b"mov {%%rax, %%rbx |rbx, rax};\0";
pub const __TMPGPR: &[u8; 4] = b"rax\0";
pub const _MM_HINT_ET0: u32 = 7;
pub const _MM_HINT_ET1: u32 = 6;
pub const _MM_HINT_T0: u32 = 3;
pub const _MM_HINT_T1: u32 = 2;
pub const _MM_HINT_T2: u32 = 1;
pub const _MM_HINT_NTA: u32 = 0;
pub const _CMP_EQ_OQ: u32 = 0;
pub const _CMP_LT_OS: u32 = 1;
pub const _CMP_LE_OS: u32 = 2;
pub const _CMP_UNORD_Q: u32 = 3;
pub const _CMP_NEQ_UQ: u32 = 4;
pub const _CMP_NLT_US: u32 = 5;
pub const _CMP_NLE_US: u32 = 6;
pub const _CMP_ORD_Q: u32 = 7;
pub const _MM_EXCEPT_INVALID: u32 = 1;
pub const _MM_EXCEPT_DENORM: u32 = 2;
pub const _MM_EXCEPT_DIV_ZERO: u32 = 4;
pub const _MM_EXCEPT_OVERFLOW: u32 = 8;
pub const _MM_EXCEPT_UNDERFLOW: u32 = 16;
pub const _MM_EXCEPT_INEXACT: u32 = 32;
pub const _MM_EXCEPT_MASK: u32 = 63;
pub const _MM_MASK_INVALID: u32 = 128;
pub const _MM_MASK_DENORM: u32 = 256;
pub const _MM_MASK_DIV_ZERO: u32 = 512;
pub const _MM_MASK_OVERFLOW: u32 = 1024;
pub const _MM_MASK_UNDERFLOW: u32 = 2048;
pub const _MM_MASK_INEXACT: u32 = 4096;
pub const _MM_MASK_MASK: u32 = 8064;
pub const _MM_ROUND_NEAREST: u32 = 0;
pub const _MM_ROUND_DOWN: u32 = 8192;
pub const _MM_ROUND_UP: u32 = 16384;
pub const _MM_ROUND_TOWARD_ZERO: u32 = 24576;
pub const _MM_ROUND_MASK: u32 = 24576;
pub const _MM_FLUSH_ZERO_MASK: u32 = 32768;
pub const _MM_FLUSH_ZERO_ON: u32 = 32768;
pub const _MM_FLUSH_ZERO_OFF: u32 = 0;
pub const _MM_DENORMALS_ZERO_ON: u32 = 64;
pub const _MM_DENORMALS_ZERO_OFF: u32 = 0;
pub const _MM_DENORMALS_ZERO_MASK: u32 = 64;
pub const _MM_FROUND_TO_NEAREST_INT: u32 = 0;
pub const _MM_FROUND_TO_NEG_INF: u32 = 1;
pub const _MM_FROUND_TO_POS_INF: u32 = 2;
pub const _MM_FROUND_TO_ZERO: u32 = 3;
pub const _MM_FROUND_CUR_DIRECTION: u32 = 4;
pub const _MM_FROUND_RAISE_EXC: u32 = 0;
pub const _MM_FROUND_NO_EXC: u32 = 8;
pub const _MM_FROUND_NINT: u32 = 0;
pub const _MM_FROUND_FLOOR: u32 = 1;
pub const _MM_FROUND_CEIL: u32 = 2;
pub const _MM_FROUND_TRUNC: u32 = 3;
pub const _MM_FROUND_RINT: u32 = 4;
pub const _MM_FROUND_NEARBYINT: u32 = 12;
pub const _SIDD_UBYTE_OPS: u32 = 0;
pub const _SIDD_UWORD_OPS: u32 = 1;
pub const _SIDD_SBYTE_OPS: u32 = 2;
pub const _SIDD_SWORD_OPS: u32 = 3;
pub const _SIDD_CMP_EQUAL_ANY: u32 = 0;
pub const _SIDD_CMP_RANGES: u32 = 4;
pub const _SIDD_CMP_EQUAL_EACH: u32 = 8;
pub const _SIDD_CMP_EQUAL_ORDERED: u32 = 12;
pub const _SIDD_POSITIVE_POLARITY: u32 = 0;
pub const _SIDD_NEGATIVE_POLARITY: u32 = 16;
pub const _SIDD_MASKED_POSITIVE_POLARITY: u32 = 32;
pub const _SIDD_MASKED_NEGATIVE_POLARITY: u32 = 48;
pub const _SIDD_LEAST_SIGNIFICANT: u32 = 0;
pub const _SIDD_MOST_SIGNIFICANT: u32 = 64;
pub const _SIDD_BIT_MASK: u32 = 0;
pub const _SIDD_UNIT_MASK: u32 = 64;
pub const _CMP_EQ_UQ: u32 = 8;
pub const _CMP_NGE_US: u32 = 9;
pub const _CMP_NGT_US: u32 = 10;
pub const _CMP_FALSE_OQ: u32 = 11;
pub const _CMP_NEQ_OQ: u32 = 12;
pub const _CMP_GE_OS: u32 = 13;
pub const _CMP_GT_OS: u32 = 14;
pub const _CMP_TRUE_UQ: u32 = 15;
pub const _CMP_EQ_OS: u32 = 16;
pub const _CMP_LT_OQ: u32 = 17;
pub const _CMP_LE_OQ: u32 = 18;
pub const _CMP_UNORD_S: u32 = 19;
pub const _CMP_NEQ_US: u32 = 20;
pub const _CMP_NLT_UQ: u32 = 21;
pub const _CMP_NLE_UQ: u32 = 22;
pub const _CMP_ORD_S: u32 = 23;
pub const _CMP_EQ_US: u32 = 24;
pub const _CMP_NGE_UQ: u32 = 25;
pub const _CMP_NGT_UQ: u32 = 26;
pub const _CMP_FALSE_OS: u32 = 27;
pub const _CMP_NEQ_OS: u32 = 28;
pub const _CMP_GE_OQ: u32 = 29;
pub const _CMP_GT_OQ: u32 = 30;
pub const _CMP_TRUE_US: u32 = 31;
pub const _XBEGIN_STARTED: i32 = -1;
pub const _XABORT_EXPLICIT: u32 = 1;
pub const _XABORT_RETRY: u32 = 2;
pub const _XABORT_CONFLICT: u32 = 4;
pub const _XABORT_CAPACITY: u32 = 8;
pub const _XABORT_DEBUG: u32 = 16;
pub const _XABORT_NESTED: u32 = 32;
pub const _XCR_XFEATURE_ENABLED_MASK: u32 = 0;
pub const __PCONFIG_KEY_PROGRAM: u32 = 1;
pub const _MM_PCOMCTRL_LT: u32 = 0;
pub const _MM_PCOMCTRL_LE: u32 = 1;
pub const _MM_PCOMCTRL_GT: u32 = 2;
pub const _MM_PCOMCTRL_GE: u32 = 3;
pub const _MM_PCOMCTRL_EQ: u32 = 4;
pub const _MM_PCOMCTRL_NEQ: u32 = 5;
pub const _MM_PCOMCTRL_FALSE: u32 = 6;
pub const _MM_PCOMCTRL_TRUE: u32 = 7;
pub const __RDPRU_MPERF: u32 = 0;
pub const __RDPRU_APERF: u32 = 1;
pub const GS_MAX_TEXTURES: u32 = 8;
pub const GS_BUILD_MIPMAPS: u32 = 1;
pub const GS_DYNAMIC: u32 = 2;
pub const GS_RENDER_TARGET: u32 = 4;
pub const GS_GL_DUMMYTEX: u32 = 8;
pub const GS_DUP_BUFFER: u32 = 16;
pub const GS_SHARED_TEX: u32 = 32;
pub const GS_SHARED_KM_TEX: u32 = 64;
pub const GS_SUCCESS: u32 = 0;
pub const GS_ERROR_FAIL: i32 = -1;
pub const GS_ERROR_MODULE_NOT_FOUND: i32 = -2;
pub const GS_ERROR_NOT_SUPPORTED: i32 = -3;
pub const GS_DEVICE_OPENGL: u32 = 1;
pub const GS_DEVICE_DIRECT3D_11: u32 = 2;
pub const GS_DEVICE_METAL: u32 = 3;
pub const GS_FLIP_U: u32 = 1;
pub const GS_FLIP_V: u32 = 2;
pub const GS_CLEAR_COLOR: u32 = 1;
pub const GS_CLEAR_DEPTH: u32 = 2;
pub const GS_CLEAR_STENCIL: u32 = 4;
pub const GS_USE_DEBUG_MARKERS: u32 = 0;
pub const M_PI: f64 = 3.141592653589793;
pub const LARGE_EPSILON: f64 = 0.01;
pub const EPSILON: f64 = 0.0001;
pub const TINY_EPSILON: f64 = 0.00001;
pub const MAX_AV_PLANES: u32 = 8;
pub const MAX_AUDIO_MIXES: u32 = 6;
pub const MAX_AUDIO_CHANNELS: u32 = 8;
pub const MAX_DEVICE_INPUT_CHANNELS: u32 = 64;
pub const AUDIO_OUTPUT_FRAMES: u32 = 1024;
pub const AUDIO_OUTPUT_SUCCESS: u32 = 0;
pub const AUDIO_OUTPUT_INVALIDPARAM: i32 = -1;
pub const AUDIO_OUTPUT_FAIL: i32 = -2;
pub const VIDEO_OUTPUT_SUCCESS: u32 = 0;
pub const VIDEO_OUTPUT_INVALIDPARAM: i32 = -1;
pub const VIDEO_OUTPUT_FAIL: i32 = -2;
pub const CALL_PARAM_IN: u32 = 1;
pub const CALL_PARAM_OUT: u32 = 2;
pub const LIBOBS_API_MAJOR_VER: u32 = 32;
pub const LIBOBS_API_MINOR_VER: u32 = 0;
pub const LIBOBS_API_PATCH_VER: u32 = 4;
pub const OBS_VERSION: &[u8; 8] = b"unknown\0";
pub const OBS_DATA_PATH: &[u8; 11] = b"../../data\0";
pub const OBS_INSTALL_PREFIX: &[u8; 1] = b"\0";
pub const OBS_PLUGIN_DESTINATION: &[u8; 12] = b"obs-plugins\0";
pub const OBS_RELATIVE_PREFIX: &[u8; 7] = b"../../\0";
pub const OBS_RELEASE_CANDIDATE: u32 = 0;
pub const OBS_BETA: u32 = 0;
pub const OBS_INSTALL_DATA_PATH: &[u8; 12] = b"/../../data\0";
pub const MAX_CHANNELS: u32 = 64;
pub const OBS_ALIGN_CENTER: u32 = 0;
pub const OBS_ALIGN_LEFT: u32 = 1;
pub const OBS_ALIGN_RIGHT: u32 = 2;
pub const OBS_ALIGN_TOP: u32 = 4;
pub const OBS_ALIGN_BOTTOM: u32 = 8;
pub const MODULE_SUCCESS: u32 = 0;
pub const MODULE_ERROR: i32 = -1;
pub const MODULE_FAILED_TO_OPEN: i32 = -2;
pub const MODULE_FILE_NOT_FOUND: i32 = -2;
pub const MODULE_MISSING_EXPORTS: i32 = -3;
pub const MODULE_INCOMPATIBLE_VER: i32 = -4;
pub const MODULE_HARDCODED_SKIP: i32 = -5;
pub const OBS_OUTPUT_SUCCESS: u32 = 0;
pub const OBS_OUTPUT_BAD_PATH: i32 = -1;
pub const OBS_OUTPUT_CONNECT_FAILED: i32 = -2;
pub const OBS_OUTPUT_INVALID_STREAM: i32 = -3;
pub const OBS_OUTPUT_ERROR: i32 = -4;
pub const OBS_OUTPUT_DISCONNECTED: i32 = -5;
pub const OBS_OUTPUT_UNSUPPORTED: i32 = -6;
pub const OBS_OUTPUT_NO_SPACE: i32 = -7;
pub const OBS_OUTPUT_ENCODE_ERROR: i32 = -8;
pub const OBS_OUTPUT_HDR_DISABLED: i32 = -9;
pub const OBS_VIDEO_SUCCESS: u32 = 0;
pub const OBS_VIDEO_FAIL: i32 = -1;
pub const OBS_VIDEO_NOT_SUPPORTED: i32 = -2;
pub const OBS_VIDEO_INVALID_PARAM: i32 = -3;
pub const OBS_VIDEO_CURRENTLY_ACTIVE: i32 = -4;
pub const OBS_VIDEO_MODULE_NOT_FOUND: i32 = -5;
pub const OBS_PROPERTIES_DEFER_UPDATE: u32 = 1;
pub const OBS_FONT_BOLD: u32 = 1;
pub const OBS_FONT_ITALIC: u32 = 2;
pub const OBS_FONT_UNDERLINE: u32 = 4;
pub const OBS_FONT_STRIKEOUT: u32 = 8;
pub const OBS_SOURCE_VIDEO: u32 = 1;
pub const OBS_SOURCE_AUDIO: u32 = 2;
pub const OBS_SOURCE_ASYNC: u32 = 4;
pub const OBS_SOURCE_ASYNC_VIDEO: u32 = 5;
pub const OBS_SOURCE_CUSTOM_DRAW: u32 = 8;
pub const OBS_SOURCE_INTERACTION: u32 = 32;
pub const OBS_SOURCE_COMPOSITE: u32 = 64;
pub const OBS_SOURCE_DO_NOT_DUPLICATE: u32 = 128;
pub const OBS_SOURCE_DEPRECATED: u32 = 256;
pub const OBS_SOURCE_DO_NOT_SELF_MONITOR: u32 = 512;
pub const OBS_SOURCE_CAP_DISABLED: u32 = 1024;
pub const OBS_SOURCE_CAP_OBSOLETE: u32 = 1024;
pub const OBS_SOURCE_MONITOR_BY_DEFAULT: u32 = 2048;
pub const OBS_SOURCE_SUBMIX: u32 = 4096;
pub const OBS_SOURCE_CONTROLLABLE_MEDIA: u32 = 8192;
pub const OBS_SOURCE_CEA_708: u32 = 16384;
pub const OBS_SOURCE_SRGB: u32 = 32768;
pub const OBS_SOURCE_CAP_DONT_SHOW_PROPERTIES: u32 = 65536;
pub const OBS_SOURCE_REQUIRES_CANVAS: u32 = 131072;
pub const OBS_ENCODER_CAP_DEPRECATED: u32 = 1;
pub const OBS_ENCODER_CAP_PASS_TEXTURE: u32 = 2;
pub const OBS_ENCODER_CAP_DYN_BITRATE: u32 = 4;
pub const OBS_ENCODER_CAP_INTERNAL: u32 = 8;
pub const OBS_ENCODER_CAP_ROI: u32 = 16;
pub const OBS_ENCODER_CAP_SCALING: u32 = 32;
pub const OBS_OUTPUT_VIDEO: u32 = 1;
pub const OBS_OUTPUT_AUDIO: u32 = 2;
pub const OBS_OUTPUT_AV: u32 = 3;
pub const OBS_OUTPUT_ENCODED: u32 = 4;
pub const OBS_OUTPUT_SERVICE: u32 = 8;
pub const OBS_OUTPUT_MULTI_TRACK: u32 = 16;
pub const OBS_OUTPUT_CAN_PAUSE: u32 = 32;
pub const OBS_OUTPUT_MULTI_TRACK_AUDIO: u32 = 16;
pub const OBS_OUTPUT_MULTI_TRACK_VIDEO: u32 = 64;
pub const OBS_OUTPUT_MULTI_TRACK_AV: u32 = 80;
pub const MAX_OUTPUT_AUDIO_ENCODERS: u32 = 6;
pub const MAX_OUTPUT_VIDEO_ENCODERS: u32 = 10;
pub const XINPUT_MOUSE_LEN: u32 = 33;
pub const OBS_MOUSE_BUTTON_DEFAULT: u32 = 1;
pub const OBS_SOURCE_FRAME_LINEAR_ALPHA: u32 = 1;
pub const OBS_SOURCE_FLAG_UNUSED_1: u32 = 1;
pub const OBS_SOURCE_FLAG_FORCE_MONO: u32 = 2;
pub const OBS_OUTPUT_DELAY_PRESERVE: u32 = 1;
pub type wchar_t = ::std::os::raw::c_ushort;
pub type max_align_t = f64;
pub type va_list = *mut ::std::os::raw::c_char;
pub type __gnuc_va_list = __builtin_va_list;
#[doc = " Use if there's a problem that can potentially affect the program,\n but isn't enough to require termination of the program.\n\n Use in creation functions and core subsystem functions.  Places that\n should definitely not fail."]
pub const LOG_ERROR: _bindgen_ty_1 = 100;
#[doc = " Use if a problem occurs that doesn't affect the program and is\n recoverable.\n\n Use in places where failure isn't entirely unexpected, and can\n be handled safely."]
pub const LOG_WARNING: _bindgen_ty_1 = 200;
#[doc = " Informative message to be displayed in the log."]
pub const LOG_INFO: _bindgen_ty_1 = 300;
#[doc = " Debug message to be used mostly by developers."]
pub const LOG_DEBUG: _bindgen_ty_1 = 400;
pub type _bindgen_ty_1 = ::std::os::raw::c_int;
pub type log_handler_t = ::std::option::Option<
    unsafe extern "C" fn(
        lvl: ::std::os::raw::c_int,
        msg: *const ::std::os::raw::c_char,
        args: va_list,
        p: *mut ::std::os::raw::c_void,
    ),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __uintr_frame {
    pub rip: ::std::os::raw::c_ulonglong,
    pub rflags: ::std::os::raw::c_ulonglong,
    pub rsp: ::std::os::raw::c_ulonglong,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of __uintr_frame"][::std::mem::size_of::<__uintr_frame>() - 24usize];
    ["Alignment of __uintr_frame"][::std::mem::align_of::<__uintr_frame>() - 8usize];
    ["Offset of field: __uintr_frame::rip"][::std::mem::offset_of!(__uintr_frame, rip) - 0usize];
    ["Offset of field: __uintr_frame::rflags"]
        [::std::mem::offset_of!(__uintr_frame, rflags) - 8usize];
    ["Offset of field: __uintr_frame::rsp"][::std::mem::offset_of!(__uintr_frame, rsp) - 16usize];
};
pub const _CMPCCX_ENUM__CMPCCX_O: _CMPCCX_ENUM = 0;
pub const _CMPCCX_ENUM__CMPCCX_NO: _CMPCCX_ENUM = 1;
pub const _CMPCCX_ENUM__CMPCCX_B: _CMPCCX_ENUM = 2;
pub const _CMPCCX_ENUM__CMPCCX_NB: _CMPCCX_ENUM = 3;
pub const _CMPCCX_ENUM__CMPCCX_Z: _CMPCCX_ENUM = 4;
pub const _CMPCCX_ENUM__CMPCCX_NZ: _CMPCCX_ENUM = 5;
pub const _CMPCCX_ENUM__CMPCCX_BE: _CMPCCX_ENUM = 6;
pub const _CMPCCX_ENUM__CMPCCX_NBE: _CMPCCX_ENUM = 7;
pub const _CMPCCX_ENUM__CMPCCX_S: _CMPCCX_ENUM = 8;
pub const _CMPCCX_ENUM__CMPCCX_NS: _CMPCCX_ENUM = 9;
pub const _CMPCCX_ENUM__CMPCCX_P: _CMPCCX_ENUM = 10;
pub const _CMPCCX_ENUM__CMPCCX_NP: _CMPCCX_ENUM = 11;
pub const _CMPCCX_ENUM__CMPCCX_L: _CMPCCX_ENUM = 12;
pub const _CMPCCX_ENUM__CMPCCX_NL: _CMPCCX_ENUM = 13;
pub const _CMPCCX_ENUM__CMPCCX_LE: _CMPCCX_ENUM = 14;
pub const _CMPCCX_ENUM__CMPCCX_NLE: _CMPCCX_ENUM = 15;
pub type _CMPCCX_ENUM = ::std::os::raw::c_int;
pub type __m64 = [::std::os::raw::c_longlong; 1usize];
pub type __v1di = [::std::os::raw::c_longlong; 1usize];
pub type __v2si = [::std::os::raw::c_int; 2usize];
pub type __v4hi = [::std::os::raw::c_short; 4usize];
pub type __v8qi = [::std::os::raw::c_char; 8usize];
pub type __v1du = [::std::os::raw::c_ulonglong; 1usize];
pub type __v2su = [::std::os::raw::c_uint; 2usize];
pub type __v4hu = [::std::os::raw::c_ushort; 4usize];
pub type __v8qu = [::std::os::raw::c_uchar; 8usize];
pub type __v8qs = [::std::os::raw::c_schar; 8usize];
pub type __m128i = [::std::os::raw::c_longlong; 2usize];
pub type __v2di = [::std::os::raw::c_longlong; 2usize];
pub type __v4si = [::std::os::raw::c_int; 4usize];
pub type __v8hi = [::std::os::raw::c_short; 8usize];
pub type __v16qi = [::std::os::raw::c_char; 16usize];
pub type __v4sf = [f32; 4usize];
pub type __m128 = [f32; 4usize];
pub type __m128_u = [f32; 4usize];
pub type __v4su = [::std::os::raw::c_uint; 4usize];
pub type __m128d = [f64; 2usize];
pub type __m128d_u = [f64; 2usize];
pub type __m128i_u = [::std::os::raw::c_longlong; 2usize];
pub type __v2df = [f64; 2usize];
pub type __v2du = [::std::os::raw::c_ulonglong; 2usize];
pub type __v8hu = [::std::os::raw::c_ushort; 8usize];
pub type __v16qu = [::std::os::raw::c_uchar; 16usize];
pub type __v16qs = [::std::os::raw::c_schar; 16usize];
pub type __v8hf = [__BindgenFloat16; 8usize];
pub type __m128h = [__BindgenFloat16; 8usize];
pub type __m128h_u = [__BindgenFloat16; 8usize];
pub type __v8bf = u128;
pub type __m128bh = u128;
pub type __v4df = [f64; 4usize];
pub type __v8sf = [f32; 8usize];
pub type __v4di = [::std::os::raw::c_longlong; 4usize];
pub type __v8si = [::std::os::raw::c_int; 8usize];
pub type __v16hi = [::std::os::raw::c_short; 16usize];
pub type __v32qi = [::std::os::raw::c_char; 32usize];
pub type __v4du = [::std::os::raw::c_ulonglong; 4usize];
pub type __v8su = [::std::os::raw::c_uint; 8usize];
pub type __v16hu = [::std::os::raw::c_ushort; 16usize];
pub type __v32qu = [::std::os::raw::c_uchar; 32usize];
pub type __v32qs = [::std::os::raw::c_schar; 32usize];
pub type __m256 = [f32; 8usize];
pub type __m256d = [f64; 4usize];
pub type __m256i = [::std::os::raw::c_longlong; 4usize];
pub type __m256_u = [f32; 8usize];
pub type __m256d_u = [f64; 4usize];
pub type __m256i_u = [::std::os::raw::c_longlong; 4usize];
pub type __v16hf = [__BindgenFloat16; 16usize];
pub type __m256h = [__BindgenFloat16; 16usize];
pub type __m256h_u = [__BindgenFloat16; 16usize];
pub type __v16bf = __BindgenOpaqueArray<u8, 32usize>;
pub type __m256bh = __BindgenOpaqueArray<u8, 32usize>;
pub type __v64qi = [::std::os::raw::c_char; 64usize];
pub type __v32hi = [::std::os::raw::c_short; 32usize];
pub type __v8df = [f64; 8usize];
pub type __v16sf = [f32; 16usize];
pub type __v8di = [::std::os::raw::c_longlong; 8usize];
pub type __v16si = [::std::os::raw::c_int; 16usize];
pub type __v64qu = [::std::os::raw::c_uchar; 64usize];
pub type __v32hu = [::std::os::raw::c_ushort; 32usize];
pub type __v8du = [::std::os::raw::c_ulonglong; 8usize];
pub type __v16su = [::std::os::raw::c_uint; 16usize];
pub type __v64qs = [::std::os::raw::c_schar; 64usize];
pub type __m512 = [f32; 16usize];
pub type __m512d = [f64; 8usize];
pub type __m512i = [::std::os::raw::c_longlong; 8usize];
pub type __m512_u = [f32; 16usize];
pub type __m512d_u = [f64; 8usize];
pub type __m512i_u = [::std::os::raw::c_longlong; 8usize];
pub type __mmask8 = ::std::os::raw::c_uchar;
pub type __mmask16 = ::std::os::raw::c_ushort;
pub const _MM_CMPINT_ENUM__MM_CMPINT_EQ: _MM_CMPINT_ENUM = 0;
pub const _MM_CMPINT_ENUM__MM_CMPINT_LT: _MM_CMPINT_ENUM = 1;
pub const _MM_CMPINT_ENUM__MM_CMPINT_LE: _MM_CMPINT_ENUM = 2;
pub const _MM_CMPINT_ENUM__MM_CMPINT_UNUSED: _MM_CMPINT_ENUM = 3;
pub const _MM_CMPINT_ENUM__MM_CMPINT_NE: _MM_CMPINT_ENUM = 4;
pub const _MM_CMPINT_ENUM__MM_CMPINT_NLT: _MM_CMPINT_ENUM = 5;
pub const _MM_CMPINT_ENUM__MM_CMPINT_NLE: _MM_CMPINT_ENUM = 6;
pub type _MM_CMPINT_ENUM = ::std::os::raw::c_int;
pub const _MM_PERM_ENUM__MM_PERM_AAAA: _MM_PERM_ENUM = 0;
pub const _MM_PERM_ENUM__MM_PERM_AAAB: _MM_PERM_ENUM = 1;
pub const _MM_PERM_ENUM__MM_PERM_AAAC: _MM_PERM_ENUM = 2;
pub const _MM_PERM_ENUM__MM_PERM_AAAD: _MM_PERM_ENUM = 3;
pub const _MM_PERM_ENUM__MM_PERM_AABA: _MM_PERM_ENUM = 4;
pub const _MM_PERM_ENUM__MM_PERM_AABB: _MM_PERM_ENUM = 5;
pub const _MM_PERM_ENUM__MM_PERM_AABC: _MM_PERM_ENUM = 6;
pub const _MM_PERM_ENUM__MM_PERM_AABD: _MM_PERM_ENUM = 7;
pub const _MM_PERM_ENUM__MM_PERM_AACA: _MM_PERM_ENUM = 8;
pub const _MM_PERM_ENUM__MM_PERM_AACB: _MM_PERM_ENUM = 9;
pub const _MM_PERM_ENUM__MM_PERM_AACC: _MM_PERM_ENUM = 10;
pub const _MM_PERM_ENUM__MM_PERM_AACD: _MM_PERM_ENUM = 11;
pub const _MM_PERM_ENUM__MM_PERM_AADA: _MM_PERM_ENUM = 12;
pub const _MM_PERM_ENUM__MM_PERM_AADB: _MM_PERM_ENUM = 13;
pub const _MM_PERM_ENUM__MM_PERM_AADC: _MM_PERM_ENUM = 14;
pub const _MM_PERM_ENUM__MM_PERM_AADD: _MM_PERM_ENUM = 15;
pub const _MM_PERM_ENUM__MM_PERM_ABAA: _MM_PERM_ENUM = 16;
pub const _MM_PERM_ENUM__MM_PERM_ABAB: _MM_PERM_ENUM = 17;
pub const _MM_PERM_ENUM__MM_PERM_ABAC: _MM_PERM_ENUM = 18;
pub const _MM_PERM_ENUM__MM_PERM_ABAD: _MM_PERM_ENUM = 19;
pub const _MM_PERM_ENUM__MM_PERM_ABBA: _MM_PERM_ENUM = 20;
pub const _MM_PERM_ENUM__MM_PERM_ABBB: _MM_PERM_ENUM = 21;
pub const _MM_PERM_ENUM__MM_PERM_ABBC: _MM_PERM_ENUM = 22;
pub const _MM_PERM_ENUM__MM_PERM_ABBD: _MM_PERM_ENUM = 23;
pub const _MM_PERM_ENUM__MM_PERM_ABCA: _MM_PERM_ENUM = 24;
pub const _MM_PERM_ENUM__MM_PERM_ABCB: _MM_PERM_ENUM = 25;
pub const _MM_PERM_ENUM__MM_PERM_ABCC: _MM_PERM_ENUM = 26;
pub const _MM_PERM_ENUM__MM_PERM_ABCD: _MM_PERM_ENUM = 27;
pub const _MM_PERM_ENUM__MM_PERM_ABDA: _MM_PERM_ENUM = 28;
pub const _MM_PERM_ENUM__MM_PERM_ABDB: _MM_PERM_ENUM = 29;
pub const _MM_PERM_ENUM__MM_PERM_ABDC: _MM_PERM_ENUM = 30;
pub const _MM_PERM_ENUM__MM_PERM_ABDD: _MM_PERM_ENUM = 31;
pub const _MM_PERM_ENUM__MM_PERM_ACAA: _MM_PERM_ENUM = 32;
pub const _MM_PERM_ENUM__MM_PERM_ACAB: _MM_PERM_ENUM = 33;
pub const _MM_PERM_ENUM__MM_PERM_ACAC: _MM_PERM_ENUM = 34;
pub const _MM_PERM_ENUM__MM_PERM_ACAD: _MM_PERM_ENUM = 35;
pub const _MM_PERM_ENUM__MM_PERM_ACBA: _MM_PERM_ENUM = 36;
pub const _MM_PERM_ENUM__MM_PERM_ACBB: _MM_PERM_ENUM = 37;
pub const _MM_PERM_ENUM__MM_PERM_ACBC: _MM_PERM_ENUM = 38;
pub const _MM_PERM_ENUM__MM_PERM_ACBD: _MM_PERM_ENUM = 39;
pub const _MM_PERM_ENUM__MM_PERM_ACCA: _MM_PERM_ENUM = 40;
pub const _MM_PERM_ENUM__MM_PERM_ACCB: _MM_PERM_ENUM = 41;
pub const _MM_PERM_ENUM__MM_PERM_ACCC: _MM_PERM_ENUM = 42;
pub const _MM_PERM_ENUM__MM_PERM_ACCD: _MM_PERM_ENUM = 43;
pub const _MM_PERM_ENUM__MM_PERM_ACDA: _MM_PERM_ENUM = 44;
pub const _MM_PERM_ENUM__MM_PERM_ACDB: _MM_PERM_ENUM = 45;
pub const _MM_PERM_ENUM__MM_PERM_ACDC: _MM_PERM_ENUM = 46;
pub const _MM_PERM_ENUM__MM_PERM_ACDD: _MM_PERM_ENUM = 47;
pub const _MM_PERM_ENUM__MM_PERM_ADAA: _MM_PERM_ENUM = 48;
pub const _MM_PERM_ENUM__MM_PERM_ADAB: _MM_PERM_ENUM = 49;
pub const _MM_PERM_ENUM__MM_PERM_ADAC: _MM_PERM_ENUM = 50;
pub const _MM_PERM_ENUM__MM_PERM_ADAD: _MM_PERM_ENUM = 51;
pub const _MM_PERM_ENUM__MM_PERM_ADBA: _MM_PERM_ENUM = 52;
pub const _MM_PERM_ENUM__MM_PERM_ADBB: _MM_PERM_ENUM = 53;
pub const _MM_PERM_ENUM__MM_PERM_ADBC: _MM_PERM_ENUM = 54;
pub const _MM_PERM_ENUM__MM_PERM_ADBD: _MM_PERM_ENUM = 55;
pub const _MM_PERM_ENUM__MM_PERM_ADCA: _MM_PERM_ENUM = 56;
pub const _MM_PERM_ENUM__MM_PERM_ADCB: _MM_PERM_ENUM = 57;
pub const _MM_PERM_ENUM__MM_PERM_ADCC: _MM_PERM_ENUM = 58;
pub const _MM_PERM_ENUM__MM_PERM_ADCD: _MM_PERM_ENUM = 59;
pub const _MM_PERM_ENUM__MM_PERM_ADDA: _MM_PERM_ENUM = 60;
pub const _MM_PERM_ENUM__MM_PERM_ADDB: _MM_PERM_ENUM = 61;
pub const _MM_PERM_ENUM__MM_PERM_ADDC: _MM_PERM_ENUM = 62;
pub const _MM_PERM_ENUM__MM_PERM_ADDD: _MM_PERM_ENUM = 63;
pub const _MM_PERM_ENUM__MM_PERM_BAAA: _MM_PERM_ENUM = 64;
pub const _MM_PERM_ENUM__MM_PERM_BAAB: _MM_PERM_ENUM = 65;
pub const _MM_PERM_ENUM__MM_PERM_BAAC: _MM_PERM_ENUM = 66;
pub const _MM_PERM_ENUM__MM_PERM_BAAD: _MM_PERM_ENUM = 67;
pub const _MM_PERM_ENUM__MM_PERM_BABA: _MM_PERM_ENUM = 68;
pub const _MM_PERM_ENUM__MM_PERM_BABB: _MM_PERM_ENUM = 69;
pub const _MM_PERM_ENUM__MM_PERM_BABC: _MM_PERM_ENUM = 70;
pub const _MM_PERM_ENUM__MM_PERM_BABD: _MM_PERM_ENUM = 71;
pub const _MM_PERM_ENUM__MM_PERM_BACA: _MM_PERM_ENUM = 72;
pub const _MM_PERM_ENUM__MM_PERM_BACB: _MM_PERM_ENUM = 73;
pub const _MM_PERM_ENUM__MM_PERM_BACC: _MM_PERM_ENUM = 74;
pub const _MM_PERM_ENUM__MM_PERM_BACD: _MM_PERM_ENUM = 75;
pub const _MM_PERM_ENUM__MM_PERM_BADA: _MM_PERM_ENUM = 76;
pub const _MM_PERM_ENUM__MM_PERM_BADB: _MM_PERM_ENUM = 77;
pub const _MM_PERM_ENUM__MM_PERM_BADC: _MM_PERM_ENUM = 78;
pub const _MM_PERM_ENUM__MM_PERM_BADD: _MM_PERM_ENUM = 79;
pub const _MM_PERM_ENUM__MM_PERM_BBAA: _MM_PERM_ENUM = 80;
pub const _MM_PERM_ENUM__MM_PERM_BBAB: _MM_PERM_ENUM = 81;
pub const _MM_PERM_ENUM__MM_PERM_BBAC: _MM_PERM_ENUM = 82;
pub const _MM_PERM_ENUM__MM_PERM_BBAD: _MM_PERM_ENUM = 83;
pub const _MM_PERM_ENUM__MM_PERM_BBBA: _MM_PERM_ENUM = 84;
pub const _MM_PERM_ENUM__MM_PERM_BBBB: _MM_PERM_ENUM = 85;
pub const _MM_PERM_ENUM__MM_PERM_BBBC: _MM_PERM_ENUM = 86;
pub const _MM_PERM_ENUM__MM_PERM_BBBD: _MM_PERM_ENUM = 87;
pub const _MM_PERM_ENUM__MM_PERM_BBCA: _MM_PERM_ENUM = 88;
pub const _MM_PERM_ENUM__MM_PERM_BBCB: _MM_PERM_ENUM = 89;
pub const _MM_PERM_ENUM__MM_PERM_BBCC: _MM_PERM_ENUM = 90;
pub const _MM_PERM_ENUM__MM_PERM_BBCD: _MM_PERM_ENUM = 91;
pub const _MM_PERM_ENUM__MM_PERM_BBDA: _MM_PERM_ENUM = 92;
pub const _MM_PERM_ENUM__MM_PERM_BBDB: _MM_PERM_ENUM = 93;
pub const _MM_PERM_ENUM__MM_PERM_BBDC: _MM_PERM_ENUM = 94;
pub const _MM_PERM_ENUM__MM_PERM_BBDD: _MM_PERM_ENUM = 95;
pub const _MM_PERM_ENUM__MM_PERM_BCAA: _MM_PERM_ENUM = 96;
pub const _MM_PERM_ENUM__MM_PERM_BCAB: _MM_PERM_ENUM = 97;
pub const _MM_PERM_ENUM__MM_PERM_BCAC: _MM_PERM_ENUM = 98;
pub const _MM_PERM_ENUM__MM_PERM_BCAD: _MM_PERM_ENUM = 99;
pub const _MM_PERM_ENUM__MM_PERM_BCBA: _MM_PERM_ENUM = 100;
pub const _MM_PERM_ENUM__MM_PERM_BCBB: _MM_PERM_ENUM = 101;
pub const _MM_PERM_ENUM__MM_PERM_BCBC: _MM_PERM_ENUM = 102;
pub const _MM_PERM_ENUM__MM_PERM_BCBD: _MM_PERM_ENUM = 103;
pub const _MM_PERM_ENUM__MM_PERM_BCCA: _MM_PERM_ENUM = 104;
pub const _MM_PERM_ENUM__MM_PERM_BCCB: _MM_PERM_ENUM = 105;
pub const _MM_PERM_ENUM__MM_PERM_BCCC: _MM_PERM_ENUM = 106;
pub const _MM_PERM_ENUM__MM_PERM_BCCD: _MM_PERM_ENUM = 107;
pub const _MM_PERM_ENUM__MM_PERM_BCDA: _MM_PERM_ENUM = 108;
pub const _MM_PERM_ENUM__MM_PERM_BCDB: _MM_PERM_ENUM = 109;
pub const _MM_PERM_ENUM__MM_PERM_BCDC: _MM_PERM_ENUM = 110;
pub const _MM_PERM_ENUM__MM_PERM_BCDD: _MM_PERM_ENUM = 111;
pub const _MM_PERM_ENUM__MM_PERM_BDAA: _MM_PERM_ENUM = 112;
pub const _MM_PERM_ENUM__MM_PERM_BDAB: _MM_PERM_ENUM = 113;
pub const _MM_PERM_ENUM__MM_PERM_BDAC: _MM_PERM_ENUM = 114;
pub const _MM_PERM_ENUM__MM_PERM_BDAD: _MM_PERM_ENUM = 115;
pub const _MM_PERM_ENUM__MM_PERM_BDBA: _MM_PERM_ENUM = 116;
pub const _MM_PERM_ENUM__MM_PERM_BDBB: _MM_PERM_ENUM = 117;
pub const _MM_PERM_ENUM__MM_PERM_BDBC: _MM_PERM_ENUM = 118;
pub const _MM_PERM_ENUM__MM_PERM_BDBD: _MM_PERM_ENUM = 119;
pub const _MM_PERM_ENUM__MM_PERM_BDCA: _MM_PERM_ENUM = 120;
pub const _MM_PERM_ENUM__MM_PERM_BDCB: _MM_PERM_ENUM = 121;
pub const _MM_PERM_ENUM__MM_PERM_BDCC: _MM_PERM_ENUM = 122;
pub const _MM_PERM_ENUM__MM_PERM_BDCD: _MM_PERM_ENUM = 123;
pub const _MM_PERM_ENUM__MM_PERM_BDDA: _MM_PERM_ENUM = 124;
pub const _MM_PERM_ENUM__MM_PERM_BDDB: _MM_PERM_ENUM = 125;
pub const _MM_PERM_ENUM__MM_PERM_BDDC: _MM_PERM_ENUM = 126;
pub const _MM_PERM_ENUM__MM_PERM_BDDD: _MM_PERM_ENUM = 127;
pub const _MM_PERM_ENUM__MM_PERM_CAAA: _MM_PERM_ENUM = 128;
pub const _MM_PERM_ENUM__MM_PERM_CAAB: _MM_PERM_ENUM = 129;
pub const _MM_PERM_ENUM__MM_PERM_CAAC: _MM_PERM_ENUM = 130;
pub const _MM_PERM_ENUM__MM_PERM_CAAD: _MM_PERM_ENUM = 131;
pub const _MM_PERM_ENUM__MM_PERM_CABA: _MM_PERM_ENUM = 132;
pub const _MM_PERM_ENUM__MM_PERM_CABB: _MM_PERM_ENUM = 133;
pub const _MM_PERM_ENUM__MM_PERM_CABC: _MM_PERM_ENUM = 134;
pub const _MM_PERM_ENUM__MM_PERM_CABD: _MM_PERM_ENUM = 135;
pub const _MM_PERM_ENUM__MM_PERM_CACA: _MM_PERM_ENUM = 136;
pub const _MM_PERM_ENUM__MM_PERM_CACB: _MM_PERM_ENUM = 137;
pub const _MM_PERM_ENUM__MM_PERM_CACC: _MM_PERM_ENUM = 138;
pub const _MM_PERM_ENUM__MM_PERM_CACD: _MM_PERM_ENUM = 139;
pub const _MM_PERM_ENUM__MM_PERM_CADA: _MM_PERM_ENUM = 140;
pub const _MM_PERM_ENUM__MM_PERM_CADB: _MM_PERM_ENUM = 141;
pub const _MM_PERM_ENUM__MM_PERM_CADC: _MM_PERM_ENUM = 142;
pub const _MM_PERM_ENUM__MM_PERM_CADD: _MM_PERM_ENUM = 143;
pub const _MM_PERM_ENUM__MM_PERM_CBAA: _MM_PERM_ENUM = 144;
pub const _MM_PERM_ENUM__MM_PERM_CBAB: _MM_PERM_ENUM = 145;
pub const _MM_PERM_ENUM__MM_PERM_CBAC: _MM_PERM_ENUM = 146;
pub const _MM_PERM_ENUM__MM_PERM_CBAD: _MM_PERM_ENUM = 147;
pub const _MM_PERM_ENUM__MM_PERM_CBBA: _MM_PERM_ENUM = 148;
pub const _MM_PERM_ENUM__MM_PERM_CBBB: _MM_PERM_ENUM = 149;
pub const _MM_PERM_ENUM__MM_PERM_CBBC: _MM_PERM_ENUM = 150;
pub const _MM_PERM_ENUM__MM_PERM_CBBD: _MM_PERM_ENUM = 151;
pub const _MM_PERM_ENUM__MM_PERM_CBCA: _MM_PERM_ENUM = 152;
pub const _MM_PERM_ENUM__MM_PERM_CBCB: _MM_PERM_ENUM = 153;
pub const _MM_PERM_ENUM__MM_PERM_CBCC: _MM_PERM_ENUM = 154;
pub const _MM_PERM_ENUM__MM_PERM_CBCD: _MM_PERM_ENUM = 155;
pub const _MM_PERM_ENUM__MM_PERM_CBDA: _MM_PERM_ENUM = 156;
pub const _MM_PERM_ENUM__MM_PERM_CBDB: _MM_PERM_ENUM = 157;
pub const _MM_PERM_ENUM__MM_PERM_CBDC: _MM_PERM_ENUM = 158;
pub const _MM_PERM_ENUM__MM_PERM_CBDD: _MM_PERM_ENUM = 159;
pub const _MM_PERM_ENUM__MM_PERM_CCAA: _MM_PERM_ENUM = 160;
pub const _MM_PERM_ENUM__MM_PERM_CCAB: _MM_PERM_ENUM = 161;
pub const _MM_PERM_ENUM__MM_PERM_CCAC: _MM_PERM_ENUM = 162;
pub const _MM_PERM_ENUM__MM_PERM_CCAD: _MM_PERM_ENUM = 163;
pub const _MM_PERM_ENUM__MM_PERM_CCBA: _MM_PERM_ENUM = 164;
pub const _MM_PERM_ENUM__MM_PERM_CCBB: _MM_PERM_ENUM = 165;
pub const _MM_PERM_ENUM__MM_PERM_CCBC: _MM_PERM_ENUM = 166;
pub const _MM_PERM_ENUM__MM_PERM_CCBD: _MM_PERM_ENUM = 167;
pub const _MM_PERM_ENUM__MM_PERM_CCCA: _MM_PERM_ENUM = 168;
pub const _MM_PERM_ENUM__MM_PERM_CCCB: _MM_PERM_ENUM = 169;
pub const _MM_PERM_ENUM__MM_PERM_CCCC: _MM_PERM_ENUM = 170;
pub const _MM_PERM_ENUM__MM_PERM_CCCD: _MM_PERM_ENUM = 171;
pub const _MM_PERM_ENUM__MM_PERM_CCDA: _MM_PERM_ENUM = 172;
pub const _MM_PERM_ENUM__MM_PERM_CCDB: _MM_PERM_ENUM = 173;
pub const _MM_PERM_ENUM__MM_PERM_CCDC: _MM_PERM_ENUM = 174;
pub const _MM_PERM_ENUM__MM_PERM_CCDD: _MM_PERM_ENUM = 175;
pub const _MM_PERM_ENUM__MM_PERM_CDAA: _MM_PERM_ENUM = 176;
pub const _MM_PERM_ENUM__MM_PERM_CDAB: _MM_PERM_ENUM = 177;
pub const _MM_PERM_ENUM__MM_PERM_CDAC: _MM_PERM_ENUM = 178;
pub const _MM_PERM_ENUM__MM_PERM_CDAD: _MM_PERM_ENUM = 179;
pub const _MM_PERM_ENUM__MM_PERM_CDBA: _MM_PERM_ENUM = 180;
pub const _MM_PERM_ENUM__MM_PERM_CDBB: _MM_PERM_ENUM = 181;
pub const _MM_PERM_ENUM__MM_PERM_CDBC: _MM_PERM_ENUM = 182;
pub const _MM_PERM_ENUM__MM_PERM_CDBD: _MM_PERM_ENUM = 183;
pub const _MM_PERM_ENUM__MM_PERM_CDCA: _MM_PERM_ENUM = 184;
pub const _MM_PERM_ENUM__MM_PERM_CDCB: _MM_PERM_ENUM = 185;
pub const _MM_PERM_ENUM__MM_PERM_CDCC: _MM_PERM_ENUM = 186;
pub const _MM_PERM_ENUM__MM_PERM_CDCD: _MM_PERM_ENUM = 187;
pub const _MM_PERM_ENUM__MM_PERM_CDDA: _MM_PERM_ENUM = 188;
pub const _MM_PERM_ENUM__MM_PERM_CDDB: _MM_PERM_ENUM = 189;
pub const _MM_PERM_ENUM__MM_PERM_CDDC: _MM_PERM_ENUM = 190;
pub const _MM_PERM_ENUM__MM_PERM_CDDD: _MM_PERM_ENUM = 191;
pub const _MM_PERM_ENUM__MM_PERM_DAAA: _MM_PERM_ENUM = 192;
pub const _MM_PERM_ENUM__MM_PERM_DAAB: _MM_PERM_ENUM = 193;
pub const _MM_PERM_ENUM__MM_PERM_DAAC: _MM_PERM_ENUM = 194;
pub const _MM_PERM_ENUM__MM_PERM_DAAD: _MM_PERM_ENUM = 195;
pub const _MM_PERM_ENUM__MM_PERM_DABA: _MM_PERM_ENUM = 196;
pub const _MM_PERM_ENUM__MM_PERM_DABB: _MM_PERM_ENUM = 197;
pub const _MM_PERM_ENUM__MM_PERM_DABC: _MM_PERM_ENUM = 198;
pub const _MM_PERM_ENUM__MM_PERM_DABD: _MM_PERM_ENUM = 199;
pub const _MM_PERM_ENUM__MM_PERM_DACA: _MM_PERM_ENUM = 200;
pub const _MM_PERM_ENUM__MM_PERM_DACB: _MM_PERM_ENUM = 201;
pub const _MM_PERM_ENUM__MM_PERM_DACC: _MM_PERM_ENUM = 202;
pub const _MM_PERM_ENUM__MM_PERM_DACD: _MM_PERM_ENUM = 203;
pub const _MM_PERM_ENUM__MM_PERM_DADA: _MM_PERM_ENUM = 204;
pub const _MM_PERM_ENUM__MM_PERM_DADB: _MM_PERM_ENUM = 205;
pub const _MM_PERM_ENUM__MM_PERM_DADC: _MM_PERM_ENUM = 206;
pub const _MM_PERM_ENUM__MM_PERM_DADD: _MM_PERM_ENUM = 207;
pub const _MM_PERM_ENUM__MM_PERM_DBAA: _MM_PERM_ENUM = 208;
pub const _MM_PERM_ENUM__MM_PERM_DBAB: _MM_PERM_ENUM = 209;
pub const _MM_PERM_ENUM__MM_PERM_DBAC: _MM_PERM_ENUM = 210;
pub const _MM_PERM_ENUM__MM_PERM_DBAD: _MM_PERM_ENUM = 211;
pub const _MM_PERM_ENUM__MM_PERM_DBBA: _MM_PERM_ENUM = 212;
pub const _MM_PERM_ENUM__MM_PERM_DBBB: _MM_PERM_ENUM = 213;
pub const _MM_PERM_ENUM__MM_PERM_DBBC: _MM_PERM_ENUM = 214;
pub const _MM_PERM_ENUM__MM_PERM_DBBD: _MM_PERM_ENUM = 215;
pub const _MM_PERM_ENUM__MM_PERM_DBCA: _MM_PERM_ENUM = 216;
pub const _MM_PERM_ENUM__MM_PERM_DBCB: _MM_PERM_ENUM = 217;
pub const _MM_PERM_ENUM__MM_PERM_DBCC: _MM_PERM_ENUM = 218;
pub const _MM_PERM_ENUM__MM_PERM_DBCD: _MM_PERM_ENUM = 219;
pub const _MM_PERM_ENUM__MM_PERM_DBDA: _MM_PERM_ENUM = 220;
pub const _MM_PERM_ENUM__MM_PERM_DBDB: _MM_PERM_ENUM = 221;
pub const _MM_PERM_ENUM__MM_PERM_DBDC: _MM_PERM_ENUM = 222;
pub const _MM_PERM_ENUM__MM_PERM_DBDD: _MM_PERM_ENUM = 223;
pub const _MM_PERM_ENUM__MM_PERM_DCAA: _MM_PERM_ENUM = 224;
pub const _MM_PERM_ENUM__MM_PERM_DCAB: _MM_PERM_ENUM = 225;
pub const _MM_PERM_ENUM__MM_PERM_DCAC: _MM_PERM_ENUM = 226;
pub const _MM_PERM_ENUM__MM_PERM_DCAD: _MM_PERM_ENUM = 227;
pub const _MM_PERM_ENUM__MM_PERM_DCBA: _MM_PERM_ENUM = 228;
pub const _MM_PERM_ENUM__MM_PERM_DCBB: _MM_PERM_ENUM = 229;
pub const _MM_PERM_ENUM__MM_PERM_DCBC: _MM_PERM_ENUM = 230;
pub const _MM_PERM_ENUM__MM_PERM_DCBD: _MM_PERM_ENUM = 231;
pub const _MM_PERM_ENUM__MM_PERM_DCCA: _MM_PERM_ENUM = 232;
pub const _MM_PERM_ENUM__MM_PERM_DCCB: _MM_PERM_ENUM = 233;
pub const _MM_PERM_ENUM__MM_PERM_DCCC: _MM_PERM_ENUM = 234;
pub const _MM_PERM_ENUM__MM_PERM_DCCD: _MM_PERM_ENUM = 235;
pub const _MM_PERM_ENUM__MM_PERM_DCDA: _MM_PERM_ENUM = 236;
pub const _MM_PERM_ENUM__MM_PERM_DCDB: _MM_PERM_ENUM = 237;
pub const _MM_PERM_ENUM__MM_PERM_DCDC: _MM_PERM_ENUM = 238;
pub const _MM_PERM_ENUM__MM_PERM_DCDD: _MM_PERM_ENUM = 239;
pub const _MM_PERM_ENUM__MM_PERM_DDAA: _MM_PERM_ENUM = 240;
pub const _MM_PERM_ENUM__MM_PERM_DDAB: _MM_PERM_ENUM = 241;
pub const _MM_PERM_ENUM__MM_PERM_DDAC: _MM_PERM_ENUM = 242;
pub const _MM_PERM_ENUM__MM_PERM_DDAD: _MM_PERM_ENUM = 243;
pub const _MM_PERM_ENUM__MM_PERM_DDBA: _MM_PERM_ENUM = 244;
pub const _MM_PERM_ENUM__MM_PERM_DDBB: _MM_PERM_ENUM = 245;
pub const _MM_PERM_ENUM__MM_PERM_DDBC: _MM_PERM_ENUM = 246;
pub const _MM_PERM_ENUM__MM_PERM_DDBD: _MM_PERM_ENUM = 247;
pub const _MM_PERM_ENUM__MM_PERM_DDCA: _MM_PERM_ENUM = 248;
pub const _MM_PERM_ENUM__MM_PERM_DDCB: _MM_PERM_ENUM = 249;
pub const _MM_PERM_ENUM__MM_PERM_DDCC: _MM_PERM_ENUM = 250;
pub const _MM_PERM_ENUM__MM_PERM_DDCD: _MM_PERM_ENUM = 251;
pub const _MM_PERM_ENUM__MM_PERM_DDDA: _MM_PERM_ENUM = 252;
pub const _MM_PERM_ENUM__MM_PERM_DDDB: _MM_PERM_ENUM = 253;
pub const _MM_PERM_ENUM__MM_PERM_DDDC: _MM_PERM_ENUM = 254;
pub const _MM_PERM_ENUM__MM_PERM_DDDD: _MM_PERM_ENUM = 255;
pub type _MM_PERM_ENUM = ::std::os::raw::c_int;
pub const _MM_MANTISSA_NORM_ENUM__MM_MANT_NORM_1_2: _MM_MANTISSA_NORM_ENUM = 0;
pub const _MM_MANTISSA_NORM_ENUM__MM_MANT_NORM_p5_2: _MM_MANTISSA_NORM_ENUM = 1;
pub const _MM_MANTISSA_NORM_ENUM__MM_MANT_NORM_p5_1: _MM_MANTISSA_NORM_ENUM = 2;
pub const _MM_MANTISSA_NORM_ENUM__MM_MANT_NORM_p75_1p5: _MM_MANTISSA_NORM_ENUM = 3;
pub type _MM_MANTISSA_NORM_ENUM = ::std::os::raw::c_int;
pub const _MM_MANTISSA_SIGN_ENUM__MM_MANT_SIGN_src: _MM_MANTISSA_SIGN_ENUM = 0;
pub const _MM_MANTISSA_SIGN_ENUM__MM_MANT_SIGN_zero: _MM_MANTISSA_SIGN_ENUM = 1;
pub const _MM_MANTISSA_SIGN_ENUM__MM_MANT_SIGN_nan: _MM_MANTISSA_SIGN_ENUM = 2;
pub type _MM_MANTISSA_SIGN_ENUM = ::std::os::raw::c_int;
pub const _MM_TERNLOG_ENUM__MM_TERNLOG_A: _MM_TERNLOG_ENUM = 240;
pub const _MM_TERNLOG_ENUM__MM_TERNLOG_B: _MM_TERNLOG_ENUM = 204;
pub const _MM_TERNLOG_ENUM__MM_TERNLOG_C: _MM_TERNLOG_ENUM = 170;
pub type _MM_TERNLOG_ENUM = ::std::os::raw::c_int;
pub type __v2hi = [::std::os::raw::c_short; 2usize];
pub type __v4qi = [::std::os::raw::c_char; 4usize];
pub type __v2qi = [::std::os::raw::c_char; 2usize];
pub type __mmask32 = ::std::os::raw::c_uint;
pub type __mmask64 = ::std::os::raw::c_ulonglong;
pub type __v32hf = [__BindgenFloat16; 32usize];
pub type __m512h = [__BindgenFloat16; 32usize];
pub type __m512h_u = [__BindgenFloat16; 32usize];
pub type __v32bf = __BindgenOpaqueArray<u8, 64usize>;
pub type __m512bh = __BindgenOpaqueArray<u8, 64usize>;
pub type __bfloat16 = u16;
pub type _tile1024i = [::std::os::raw::c_int; 256usize];
pub type _tile1024i_1024a = [::std::os::raw::c_int; 256usize];
#[repr(C)]
#[repr(align(1024))]
#[derive(Debug, Copy, Clone)]
pub struct __tile1024i_str {
    pub row: ::std::os::raw::c_ushort,
    pub col: ::std::os::raw::c_ushort,
    pub __bindgen_padding_0: [u64; 127usize],
    pub tile: _tile1024i,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of __tile1024i_str"][::std::mem::size_of::<__tile1024i_str>() - 2048usize];
    ["Alignment of __tile1024i_str"][::std::mem::align_of::<__tile1024i_str>() - 1024usize];
    ["Offset of field: __tile1024i_str::row"]
        [::std::mem::offset_of!(__tile1024i_str, row) - 0usize];
    ["Offset of field: __tile1024i_str::col"]
        [::std::mem::offset_of!(__tile1024i_str, col) - 2usize];
    ["Offset of field: __tile1024i_str::tile"]
        [::std::mem::offset_of!(__tile1024i_str, tile) - 1024usize];
};
pub type __tile1024i = __tile1024i_str;
pub type __m128bh_u = u128;
pub type __m256bh_u = __BindgenOpaqueArray<u8, 32usize>;
pub type __m512bh_u = __BindgenOpaqueArray<u8, 64usize>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct base_allocator {
    pub malloc:
        ::std::option::Option<unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void>,
    pub realloc: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *mut ::std::os::raw::c_void,
            arg2: usize,
        ) -> *mut ::std::os::raw::c_void,
    >,
    pub free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of base_allocator"][::std::mem::size_of::<base_allocator>() - 24usize];
    ["Alignment of base_allocator"][::std::mem::align_of::<base_allocator>() - 8usize];
    ["Offset of field: base_allocator::malloc"]
        [::std::mem::offset_of!(base_allocator, malloc) - 0usize];
    ["Offset of field: base_allocator::realloc"]
        [::std::mem::offset_of!(base_allocator, realloc) - 8usize];
    ["Offset of field: base_allocator::free"]
        [::std::mem::offset_of!(base_allocator, free) - 16usize];
};
#[repr(C)]
pub struct darray {
    pub array: *mut ::std::os::raw::c_void,
    pub num: usize,
    pub capacity: usize,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of darray"][::std::mem::size_of::<darray>() - 24usize];
    ["Alignment of darray"][::std::mem::align_of::<darray>() - 8usize];
    ["Offset of field: darray::array"][::std::mem::offset_of!(darray, array) - 0usize];
    ["Offset of field: darray::num"][::std::mem::offset_of!(darray, num) - 8usize];
    ["Offset of field: darray::capacity"][::std::mem::offset_of!(darray, capacity) - 16usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct profiler_snapshot {
    _unused: [u8; 0],
}
pub type profiler_snapshot_t = profiler_snapshot;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct profiler_snapshot_entry {
    _unused: [u8; 0],
}
pub type profiler_snapshot_entry_t = profiler_snapshot_entry;
pub type profiler_time_entry_t = profiler_time_entry;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct profiler_name_store {
    _unused: [u8; 0],
}
pub type profiler_name_store_t = profiler_name_store;
#[repr(C)]
pub struct profiler_time_entry {
    pub time_delta: u64,
    pub count: u64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of profiler_time_entry"][::std::mem::size_of::<profiler_time_entry>() - 16usize];
    ["Alignment of profiler_time_entry"][::std::mem::align_of::<profiler_time_entry>() - 8usize];
    ["Offset of field: profiler_time_entry::time_delta"]
        [::std::mem::offset_of!(profiler_time_entry, time_delta) - 0usize];
    ["Offset of field: profiler_time_entry::count"]
        [::std::mem::offset_of!(profiler_time_entry, count) - 8usize];
};
#[repr(C)]
pub struct profiler_time_entries_t {
    pub da: __BindgenUnionField<darray>,
    pub __bindgen_anon_1: __BindgenUnionField<profiler_time_entries_t__bindgen_ty_1>,
    pub bindgen_union_field: [u64; 3usize],
}
#[repr(C)]
pub struct profiler_time_entries_t__bindgen_ty_1 {
    pub array: *mut profiler_time_entry_t,
    pub num: usize,
    pub capacity: usize,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of profiler_time_entries_t__bindgen_ty_1"]
        [::std::mem::size_of::<profiler_time_entries_t__bindgen_ty_1>() - 24usize];
    ["Alignment of profiler_time_entries_t__bindgen_ty_1"]
        [::std::mem::align_of::<profiler_time_entries_t__bindgen_ty_1>() - 8usize];
    ["Offset of field: profiler_time_entries_t__bindgen_ty_1::array"]
        [::std::mem::offset_of!(profiler_time_entries_t__bindgen_ty_1, array) - 0usize];
    ["Offset of field: profiler_time_entries_t__bindgen_ty_1::num"]
        [::std::mem::offset_of!(profiler_time_entries_t__bindgen_ty_1, num) - 8usize];
    ["Offset of field: profiler_time_entries_t__bindgen_ty_1::capacity"]
        [::std::mem::offset_of!(profiler_time_entries_t__bindgen_ty_1, capacity) - 16usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of profiler_time_entries_t"][::std::mem::size_of::<profiler_time_entries_t>() - 24usize];
    ["Alignment of profiler_time_entries_t"]
        [::std::mem::align_of::<profiler_time_entries_t>() - 8usize];
    ["Offset of field: profiler_time_entries_t::da"]
        [::std::mem::offset_of!(profiler_time_entries_t, da) - 0usize];
};
pub type profiler_entry_enum_func = ::std::option::Option<
    unsafe extern "C" fn(
        context: *mut ::std::os::raw::c_void,
        entry: *mut profiler_snapshot_entry_t,
    ) -> bool,
>;
pub type profiler_name_filter_func = ::std::option::Option<
    unsafe extern "C" fn(
        data: *mut ::std::os::raw::c_void,
        name: *const ::std::os::raw::c_char,
        remove: *mut bool,
    ) -> bool,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct text_lookup {
    _unused: [u8; 0],
}
pub type lookup_t = text_lookup;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct input_subsystem {
    _unused: [u8; 0],
}
pub type input_t = input_subsystem;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct quat {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct axisang {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct plane {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct matrix3 {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct matrix4 {
    _unused: [u8; 0],
}
pub const gs_draw_mode_GS_POINTS: gs_draw_mode = 0;
pub const gs_draw_mode_GS_LINES: gs_draw_mode = 1;
pub const gs_draw_mode_GS_LINESTRIP: gs_draw_mode = 2;
pub const gs_draw_mode_GS_TRIS: gs_draw_mode = 3;
pub const gs_draw_mode_GS_TRISTRIP: gs_draw_mode = 4;
pub type gs_draw_mode = ::std::os::raw::c_int;
pub const gs_color_format_GS_UNKNOWN: gs_color_format = 0;
pub const gs_color_format_GS_A8: gs_color_format = 1;
pub const gs_color_format_GS_R8: gs_color_format = 2;
pub const gs_color_format_GS_RGBA: gs_color_format = 3;
pub const gs_color_format_GS_BGRX: gs_color_format = 4;
pub const gs_color_format_GS_BGRA: gs_color_format = 5;
pub const gs_color_format_GS_R10G10B10A2: gs_color_format = 6;
pub const gs_color_format_GS_RGBA16: gs_color_format = 7;
pub const gs_color_format_GS_R16: gs_color_format = 8;
pub const gs_color_format_GS_RGBA16F: gs_color_format = 9;
pub const gs_color_format_GS_RGBA32F: gs_color_format = 10;
pub const gs_color_format_GS_RG16F: gs_color_format = 11;
pub const gs_color_format_GS_RG32F: gs_color_format = 12;
pub const gs_color_format_GS_R16F: gs_color_format = 13;
pub const gs_color_format_GS_R32F: gs_color_format = 14;
pub const gs_color_format_GS_DXT1: gs_color_format = 15;
pub const gs_color_format_GS_DXT3: gs_color_format = 16;
pub const gs_color_format_GS_DXT5: gs_color_format = 17;
pub const gs_color_format_GS_R8G8: gs_color_format = 18;
pub const gs_color_format_GS_RGBA_UNORM: gs_color_format = 19;
pub const gs_color_format_GS_BGRX_UNORM: gs_color_format = 20;
pub const gs_color_format_GS_BGRA_UNORM: gs_color_format = 21;
pub const gs_color_format_GS_RG16: gs_color_format = 22;
pub type gs_color_format = ::std::os::raw::c_int;
pub const gs_color_space_GS_CS_SRGB: gs_color_space = 0;
pub const gs_color_space_GS_CS_SRGB_16F: gs_color_space = 1;
pub const gs_color_space_GS_CS_709_EXTENDED: gs_color_space = 2;
pub const gs_color_space_GS_CS_709_SCRGB: gs_color_space = 3;
pub type gs_color_space = ::std::os::raw::c_int;
pub const gs_zstencil_format_GS_ZS_NONE: gs_zstencil_format = 0;
pub const gs_zstencil_format_GS_Z16: gs_zstencil_format = 1;
pub const gs_zstencil_format_GS_Z24_S8: gs_zstencil_format = 2;
pub const gs_zstencil_format_GS_Z32F: gs_zstencil_format = 3;
pub const gs_zstencil_format_GS_Z32F_S8X24: gs_zstencil_format = 4;
pub type gs_zstencil_format = ::std::os::raw::c_int;
pub const gs_index_type_GS_UNSIGNED_SHORT: gs_index_type = 0;
pub const gs_index_type_GS_UNSIGNED_LONG: gs_index_type = 1;
pub type gs_index_type = ::std::os::raw::c_int;
pub const gs_cull_mode_GS_BACK: gs_cull_mode = 0;
pub const gs_cull_mode_GS_FRONT: gs_cull_mode = 1;
pub const gs_cull_mode_GS_NEITHER: gs_cull_mode = 2;
pub type gs_cull_mode = ::std::os::raw::c_int;
pub const gs_blend_type_GS_BLEND_ZERO: gs_blend_type = 0;
pub const gs_blend_type_GS_BLEND_ONE: gs_blend_type = 1;
pub const gs_blend_type_GS_BLEND_SRCCOLOR: gs_blend_type = 2;
pub const gs_blend_type_GS_BLEND_INVSRCCOLOR: gs_blend_type = 3;
pub const gs_blend_type_GS_BLEND_SRCALPHA: gs_blend_type = 4;
pub const gs_blend_type_GS_BLEND_INVSRCALPHA: gs_blend_type = 5;
pub const gs_blend_type_GS_BLEND_DSTCOLOR: gs_blend_type = 6;
pub const gs_blend_type_GS_BLEND_INVDSTCOLOR: gs_blend_type = 7;
pub const gs_blend_type_GS_BLEND_DSTALPHA: gs_blend_type = 8;
pub const gs_blend_type_GS_BLEND_INVDSTALPHA: gs_blend_type = 9;
pub const gs_blend_type_GS_BLEND_SRCALPHASAT: gs_blend_type = 10;
pub type gs_blend_type = ::std::os::raw::c_int;
pub const gs_blend_op_type_GS_BLEND_OP_ADD: gs_blend_op_type = 0;
pub const gs_blend_op_type_GS_BLEND_OP_SUBTRACT: gs_blend_op_type = 1;
pub const gs_blend_op_type_GS_BLEND_OP_REVERSE_SUBTRACT: gs_blend_op_type = 2;
pub const gs_blend_op_type_GS_BLEND_OP_MIN: gs_blend_op_type = 3;
pub const gs_blend_op_type_GS_BLEND_OP_MAX: gs_blend_op_type = 4;
pub type gs_blend_op_type = ::std::os::raw::c_int;
pub const gs_depth_test_GS_NEVER: gs_depth_test = 0;
pub const gs_depth_test_GS_LESS: gs_depth_test = 1;
pub const gs_depth_test_GS_LEQUAL: gs_depth_test = 2;
pub const gs_depth_test_GS_EQUAL: gs_depth_test = 3;
pub const gs_depth_test_GS_GEQUAL: gs_depth_test = 4;
pub const gs_depth_test_GS_GREATER: gs_depth_test = 5;
pub const gs_depth_test_GS_NOTEQUAL: gs_depth_test = 6;
pub const gs_depth_test_GS_ALWAYS: gs_depth_test = 7;
pub type gs_depth_test = ::std::os::raw::c_int;
pub const gs_stencil_side_GS_STENCIL_FRONT: gs_stencil_side = 1;
pub const gs_stencil_side_GS_STENCIL_BACK: gs_stencil_side = 2;
pub const gs_stencil_side_GS_STENCIL_BOTH: gs_stencil_side = 3;
pub type gs_stencil_side = ::std::os::raw::c_int;
pub const gs_stencil_op_type_GS_KEEP: gs_stencil_op_type = 0;
pub const gs_stencil_op_type_GS_ZERO: gs_stencil_op_type = 1;
pub const gs_stencil_op_type_GS_REPLACE: gs_stencil_op_type = 2;
pub const gs_stencil_op_type_GS_INCR: gs_stencil_op_type = 3;
pub const gs_stencil_op_type_GS_DECR: gs_stencil_op_type = 4;
pub const gs_stencil_op_type_GS_INVERT: gs_stencil_op_type = 5;
pub type gs_stencil_op_type = ::std::os::raw::c_int;
pub const gs_cube_sides_GS_POSITIVE_X: gs_cube_sides = 0;
pub const gs_cube_sides_GS_NEGATIVE_X: gs_cube_sides = 1;
pub const gs_cube_sides_GS_POSITIVE_Y: gs_cube_sides = 2;
pub const gs_cube_sides_GS_NEGATIVE_Y: gs_cube_sides = 3;
pub const gs_cube_sides_GS_POSITIVE_Z: gs_cube_sides = 4;
pub const gs_cube_sides_GS_NEGATIVE_Z: gs_cube_sides = 5;
pub type gs_cube_sides = ::std::os::raw::c_int;
pub const gs_sample_filter_GS_FILTER_POINT: gs_sample_filter = 0;
pub const gs_sample_filter_GS_FILTER_LINEAR: gs_sample_filter = 1;
pub const gs_sample_filter_GS_FILTER_ANISOTROPIC: gs_sample_filter = 2;
pub const gs_sample_filter_GS_FILTER_MIN_MAG_POINT_MIP_LINEAR: gs_sample_filter = 3;
pub const gs_sample_filter_GS_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT: gs_sample_filter = 4;
pub const gs_sample_filter_GS_FILTER_MIN_POINT_MAG_MIP_LINEAR: gs_sample_filter = 5;
pub const gs_sample_filter_GS_FILTER_MIN_LINEAR_MAG_MIP_POINT: gs_sample_filter = 6;
pub const gs_sample_filter_GS_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR: gs_sample_filter = 7;
pub const gs_sample_filter_GS_FILTER_MIN_MAG_LINEAR_MIP_POINT: gs_sample_filter = 8;
pub type gs_sample_filter = ::std::os::raw::c_int;
pub const gs_address_mode_GS_ADDRESS_CLAMP: gs_address_mode = 0;
pub const gs_address_mode_GS_ADDRESS_WRAP: gs_address_mode = 1;
pub const gs_address_mode_GS_ADDRESS_MIRROR: gs_address_mode = 2;
pub const gs_address_mode_GS_ADDRESS_BORDER: gs_address_mode = 3;
pub const gs_address_mode_GS_ADDRESS_MIRRORONCE: gs_address_mode = 4;
pub type gs_address_mode = ::std::os::raw::c_int;
pub const gs_texture_type_GS_TEXTURE_2D: gs_texture_type = 0;
pub const gs_texture_type_GS_TEXTURE_3D: gs_texture_type = 1;
pub const gs_texture_type_GS_TEXTURE_CUBE: gs_texture_type = 2;
pub type gs_texture_type = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_device_loss {
    pub device_loss_release:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
    pub device_loss_rebuild: ::std::option::Option<
        unsafe extern "C" fn(
            device: *mut ::std::os::raw::c_void,
            data: *mut ::std::os::raw::c_void,
        ),
    >,
    pub data: *mut ::std::os::raw::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of gs_device_loss"][::std::mem::size_of::<gs_device_loss>() - 24usize];
    ["Alignment of gs_device_loss"][::std::mem::align_of::<gs_device_loss>() - 8usize];
    ["Offset of field: gs_device_loss::device_loss_release"]
        [::std::mem::offset_of!(gs_device_loss, device_loss_release) - 0usize];
    ["Offset of field: gs_device_loss::device_loss_rebuild"]
        [::std::mem::offset_of!(gs_device_loss, device_loss_rebuild) - 8usize];
    ["Offset of field: gs_device_loss::data"]
        [::std::mem::offset_of!(gs_device_loss, data) - 16usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_monitor_info {
    pub rotation_degrees: ::std::os::raw::c_int,
    pub x: ::std::os::raw::c_long,
    pub y: ::std::os::raw::c_long,
    pub cx: ::std::os::raw::c_long,
    pub cy: ::std::os::raw::c_long,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of gs_monitor_info"][::std::mem::size_of::<gs_monitor_info>() - 20usize];
    ["Alignment of gs_monitor_info"][::std::mem::align_of::<gs_monitor_info>() - 4usize];
    ["Offset of field: gs_monitor_info::rotation_degrees"]
        [::std::mem::offset_of!(gs_monitor_info, rotation_degrees) - 0usize];
    ["Offset of field: gs_monitor_info::x"][::std::mem::offset_of!(gs_monitor_info, x) - 4usize];
    ["Offset of field: gs_monitor_info::y"][::std::mem::offset_of!(gs_monitor_info, y) - 8usize];
    ["Offset of field: gs_monitor_info::cx"][::std::mem::offset_of!(gs_monitor_info, cx) - 12usize];
    ["Offset of field: gs_monitor_info::cy"][::std::mem::offset_of!(gs_monitor_info, cy) - 16usize];
};
#[repr(C)]
pub struct gs_tvertarray {
    pub width: usize,
    pub array: *mut ::std::os::raw::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of gs_tvertarray"][::std::mem::size_of::<gs_tvertarray>() - 16usize];
    ["Alignment of gs_tvertarray"][::std::mem::align_of::<gs_tvertarray>() - 8usize];
    ["Offset of field: gs_tvertarray::width"]
        [::std::mem::offset_of!(gs_tvertarray, width) - 0usize];
    ["Offset of field: gs_tvertarray::array"]
        [::std::mem::offset_of!(gs_tvertarray, array) - 8usize];
};
#[repr(C)]
pub struct gs_vb_data {
    pub num: usize,
    pub points: *mut vec3,
    pub normals: *mut vec3,
    pub tangents: *mut vec3,
    pub colors: *mut u32,
    pub num_tex: usize,
    pub tvarray: *mut gs_tvertarray,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of gs_vb_data"][::std::mem::size_of::<gs_vb_data>() - 56usize];
    ["Alignment of gs_vb_data"][::std::mem::align_of::<gs_vb_data>() - 8usize];
    ["Offset of field: gs_vb_data::num"][::std::mem::offset_of!(gs_vb_data, num) - 0usize];
    ["Offset of field: gs_vb_data::points"][::std::mem::offset_of!(gs_vb_data, points) - 8usize];
    ["Offset of field: gs_vb_data::normals"][::std::mem::offset_of!(gs_vb_data, normals) - 16usize];
    ["Offset of field: gs_vb_data::tangents"]
        [::std::mem::offset_of!(gs_vb_data, tangents) - 24usize];
    ["Offset of field: gs_vb_data::colors"][::std::mem::offset_of!(gs_vb_data, colors) - 32usize];
    ["Offset of field: gs_vb_data::num_tex"][::std::mem::offset_of!(gs_vb_data, num_tex) - 40usize];
    ["Offset of field: gs_vb_data::tvarray"][::std::mem::offset_of!(gs_vb_data, tvarray) - 48usize];
};
#[repr(C)]
pub struct gs_sampler_info {
    pub filter: gs_sample_filter,
    pub address_u: gs_address_mode,
    pub address_v: gs_address_mode,
    pub address_w: gs_address_mode,
    pub max_anisotropy: ::std::os::raw::c_int,
    pub border_color: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of gs_sampler_info"][::std::mem::size_of::<gs_sampler_info>() - 24usize];
    ["Alignment of gs_sampler_info"][::std::mem::align_of::<gs_sampler_info>() - 4usize];
    ["Offset of field: gs_sampler_info::filter"]
        [::std::mem::offset_of!(gs_sampler_info, filter) - 0usize];
    ["Offset of field: gs_sampler_info::address_u"]
        [::std::mem::offset_of!(gs_sampler_info, address_u) - 4usize];
    ["Offset of field: gs_sampler_info::address_v"]
        [::std::mem::offset_of!(gs_sampler_info, address_v) - 8usize];
    ["Offset of field: gs_sampler_info::address_w"]
        [::std::mem::offset_of!(gs_sampler_info, address_w) - 12usize];
    ["Offset of field: gs_sampler_info::max_anisotropy"]
        [::std::mem::offset_of!(gs_sampler_info, max_anisotropy) - 16usize];
    ["Offset of field: gs_sampler_info::border_color"]
        [::std::mem::offset_of!(gs_sampler_info, border_color) - 20usize];
};
#[repr(C)]
pub struct gs_display_mode {
    pub width: u32,
    pub height: u32,
    pub bits: u32,
    pub freq: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of gs_display_mode"][::std::mem::size_of::<gs_display_mode>() - 16usize];
    ["Alignment of gs_display_mode"][::std::mem::align_of::<gs_display_mode>() - 4usize];
    ["Offset of field: gs_display_mode::width"]
        [::std::mem::offset_of!(gs_display_mode, width) - 0usize];
    ["Offset of field: gs_display_mode::height"]
        [::std::mem::offset_of!(gs_display_mode, height) - 4usize];
    ["Offset of field: gs_display_mode::bits"]
        [::std::mem::offset_of!(gs_display_mode, bits) - 8usize];
    ["Offset of field: gs_display_mode::freq"]
        [::std::mem::offset_of!(gs_display_mode, freq) - 12usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_rect {
    pub x: ::std::os::raw::c_int,
    pub y: ::std::os::raw::c_int,
    pub cx: ::std::os::raw::c_int,
    pub cy: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of gs_rect"][::std::mem::size_of::<gs_rect>() - 16usize];
    ["Alignment of gs_rect"][::std::mem::align_of::<gs_rect>() - 4usize];
    ["Offset of field: gs_rect::x"][::std::mem::offset_of!(gs_rect, x) - 0usize];
    ["Offset of field: gs_rect::y"][::std::mem::offset_of!(gs_rect, y) - 4usize];
    ["Offset of field: gs_rect::cx"][::std::mem::offset_of!(gs_rect, cx) - 8usize];
    ["Offset of field: gs_rect::cy"][::std::mem::offset_of!(gs_rect, cy) - 12usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_texture {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_stage_surface {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_zstencil_buffer {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_vertex_buffer {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_index_buffer {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_sampler_state {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_shader {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_swap_chain {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_timer {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_texrender {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_shader_param {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_effect {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_effect_technique {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_effect_pass {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_effect_param {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_device {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct graphics_subsystem {
    _unused: [u8; 0],
}
pub type gs_texture_t = gs_texture;
pub type gs_stagesurf_t = gs_stage_surface;
pub type gs_zstencil_t = gs_zstencil_buffer;
pub type gs_vertbuffer_t = gs_vertex_buffer;
pub type gs_indexbuffer_t = gs_index_buffer;
pub type gs_samplerstate_t = gs_sampler_state;
pub type gs_swapchain_t = gs_swap_chain;
pub type gs_timer_t = gs_timer;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_timer_range {
    _unused: [u8; 0],
}
pub type gs_timer_range_t = gs_timer_range;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_texture_render {
    _unused: [u8; 0],
}
pub type gs_texrender_t = gs_texture_render;
pub type gs_shader_t = gs_shader;
pub type gs_sparam_t = gs_shader_param;
pub type gs_effect_t = gs_effect;
pub type gs_technique_t = gs_effect_technique;
pub type gs_epass_t = gs_effect_pass;
pub type gs_eparam_t = gs_effect_param;
pub type gs_device_t = gs_device;
pub type gs_sync_t = ::std::os::raw::c_void;
pub type graphics_t = graphics_subsystem;
pub const gs_shader_param_type_GS_SHADER_PARAM_UNKNOWN: gs_shader_param_type = 0;
pub const gs_shader_param_type_GS_SHADER_PARAM_BOOL: gs_shader_param_type = 1;
pub const gs_shader_param_type_GS_SHADER_PARAM_FLOAT: gs_shader_param_type = 2;
pub const gs_shader_param_type_GS_SHADER_PARAM_INT: gs_shader_param_type = 3;
pub const gs_shader_param_type_GS_SHADER_PARAM_STRING: gs_shader_param_type = 4;
pub const gs_shader_param_type_GS_SHADER_PARAM_VEC2: gs_shader_param_type = 5;
pub const gs_shader_param_type_GS_SHADER_PARAM_VEC3: gs_shader_param_type = 6;
pub const gs_shader_param_type_GS_SHADER_PARAM_VEC4: gs_shader_param_type = 7;
pub const gs_shader_param_type_GS_SHADER_PARAM_INT2: gs_shader_param_type = 8;
pub const gs_shader_param_type_GS_SHADER_PARAM_INT3: gs_shader_param_type = 9;
pub const gs_shader_param_type_GS_SHADER_PARAM_INT4: gs_shader_param_type = 10;
pub const gs_shader_param_type_GS_SHADER_PARAM_MATRIX4X4: gs_shader_param_type = 11;
pub const gs_shader_param_type_GS_SHADER_PARAM_TEXTURE: gs_shader_param_type = 12;
pub type gs_shader_param_type = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_shader_texture {
    pub tex: *mut gs_texture_t,
    pub srgb: bool,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of gs_shader_texture"][::std::mem::size_of::<gs_shader_texture>() - 16usize];
    ["Alignment of gs_shader_texture"][::std::mem::align_of::<gs_shader_texture>() - 8usize];
    ["Offset of field: gs_shader_texture::tex"]
        [::std::mem::offset_of!(gs_shader_texture, tex) - 0usize];
    ["Offset of field: gs_shader_texture::srgb"]
        [::std::mem::offset_of!(gs_shader_texture, srgb) - 8usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_shader_param_info {
    pub type_: gs_shader_param_type,
    pub name: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of gs_shader_param_info"][::std::mem::size_of::<gs_shader_param_info>() - 16usize];
    ["Alignment of gs_shader_param_info"][::std::mem::align_of::<gs_shader_param_info>() - 8usize];
    ["Offset of field: gs_shader_param_info::type_"]
        [::std::mem::offset_of!(gs_shader_param_info, type_) - 0usize];
    ["Offset of field: gs_shader_param_info::name"]
        [::std::mem::offset_of!(gs_shader_param_info, name) - 8usize];
};
pub const gs_shader_type_GS_SHADER_VERTEX: gs_shader_type = 0;
pub const gs_shader_type_GS_SHADER_PIXEL: gs_shader_type = 1;
pub type gs_shader_type = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_effect_param_info {
    pub name: *const ::std::os::raw::c_char,
    pub type_: gs_shader_param_type,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of gs_effect_param_info"][::std::mem::size_of::<gs_effect_param_info>() - 16usize];
    ["Alignment of gs_effect_param_info"][::std::mem::align_of::<gs_effect_param_info>() - 8usize];
    ["Offset of field: gs_effect_param_info::name"]
        [::std::mem::offset_of!(gs_effect_param_info, name) - 0usize];
    ["Offset of field: gs_effect_param_info::type_"]
        [::std::mem::offset_of!(gs_effect_param_info, type_) - 8usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_window {
    pub hwnd: *mut ::std::os::raw::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of gs_window"][::std::mem::size_of::<gs_window>() - 8usize];
    ["Alignment of gs_window"][::std::mem::align_of::<gs_window>() - 8usize];
    ["Offset of field: gs_window::hwnd"][::std::mem::offset_of!(gs_window, hwnd) - 0usize];
};
#[repr(C)]
pub struct gs_init_data {
    pub window: gs_window,
    pub cx: u32,
    pub cy: u32,
    pub num_backbuffers: u32,
    pub format: gs_color_format,
    pub zsformat: gs_zstencil_format,
    pub adapter: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of gs_init_data"][::std::mem::size_of::<gs_init_data>() - 32usize];
    ["Alignment of gs_init_data"][::std::mem::align_of::<gs_init_data>() - 8usize];
    ["Offset of field: gs_init_data::window"]
        [::std::mem::offset_of!(gs_init_data, window) - 0usize];
    ["Offset of field: gs_init_data::cx"][::std::mem::offset_of!(gs_init_data, cx) - 8usize];
    ["Offset of field: gs_init_data::cy"][::std::mem::offset_of!(gs_init_data, cy) - 12usize];
    ["Offset of field: gs_init_data::num_backbuffers"]
        [::std::mem::offset_of!(gs_init_data, num_backbuffers) - 16usize];
    ["Offset of field: gs_init_data::format"]
        [::std::mem::offset_of!(gs_init_data, format) - 20usize];
    ["Offset of field: gs_init_data::zsformat"]
        [::std::mem::offset_of!(gs_init_data, zsformat) - 24usize];
    ["Offset of field: gs_init_data::adapter"]
        [::std::mem::offset_of!(gs_init_data, adapter) - 28usize];
};
pub const gs_image_alpha_mode_GS_IMAGE_ALPHA_STRAIGHT: gs_image_alpha_mode = 0;
pub const gs_image_alpha_mode_GS_IMAGE_ALPHA_PREMULTIPLY_SRGB: gs_image_alpha_mode = 1;
pub const gs_image_alpha_mode_GS_IMAGE_ALPHA_PREMULTIPLY: gs_image_alpha_mode = 2;
pub type gs_image_alpha_mode = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct gs_duplicator {
    _unused: [u8; 0],
}
pub type gs_duplicator_t = gs_duplicator;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct vec2 {
    pub __bindgen_anon_1: vec2__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union vec2__bindgen_ty_1 {
    pub __bindgen_anon_1: vec2__bindgen_ty_1__bindgen_ty_1,
    pub ptr: [f32; 2usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct vec2__bindgen_ty_1__bindgen_ty_1 {
    pub x: f32,
    pub y: f32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of vec2__bindgen_ty_1__bindgen_ty_1"]
        [::std::mem::size_of::<vec2__bindgen_ty_1__bindgen_ty_1>() - 8usize];
    ["Alignment of vec2__bindgen_ty_1__bindgen_ty_1"]
        [::std::mem::align_of::<vec2__bindgen_ty_1__bindgen_ty_1>() - 4usize];
    ["Offset of field: vec2__bindgen_ty_1__bindgen_ty_1::x"]
        [::std::mem::offset_of!(vec2__bindgen_ty_1__bindgen_ty_1, x) - 0usize];
    ["Offset of field: vec2__bindgen_ty_1__bindgen_ty_1::y"]
        [::std::mem::offset_of!(vec2__bindgen_ty_1__bindgen_ty_1, y) - 4usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of vec2__bindgen_ty_1"][::std::mem::size_of::<vec2__bindgen_ty_1>() - 8usize];
    ["Alignment of vec2__bindgen_ty_1"][::std::mem::align_of::<vec2__bindgen_ty_1>() - 4usize];
    ["Offset of field: vec2__bindgen_ty_1::ptr"]
        [::std::mem::offset_of!(vec2__bindgen_ty_1, ptr) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of vec2"][::std::mem::size_of::<vec2>() - 8usize];
    ["Alignment of vec2"][::std::mem::align_of::<vec2>() - 4usize];
};
#[repr(C)]
#[repr(align(16))]
#[derive(Copy, Clone)]
pub struct vec4 {
    pub __bindgen_anon_1: vec4__bindgen_ty_1,
}
#[repr(C)]
#[repr(align(16))]
#[derive(Copy, Clone)]
pub union vec4__bindgen_ty_1 {
    pub __bindgen_anon_1: vec4__bindgen_ty_1__bindgen_ty_1,
    pub ptr: [f32; 4usize],
    pub m: __m128,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct vec4__bindgen_ty_1__bindgen_ty_1 {
    pub x: f32,
    pub y: f32,
    pub z: f32,
    pub w: f32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of vec4__bindgen_ty_1__bindgen_ty_1"]
        [::std::mem::size_of::<vec4__bindgen_ty_1__bindgen_ty_1>() - 16usize];
    ["Alignment of vec4__bindgen_ty_1__bindgen_ty_1"]
        [::std::mem::align_of::<vec4__bindgen_ty_1__bindgen_ty_1>() - 4usize];
    ["Offset of field: vec4__bindgen_ty_1__bindgen_ty_1::x"]
        [::std::mem::offset_of!(vec4__bindgen_ty_1__bindgen_ty_1, x) - 0usize];
    ["Offset of field: vec4__bindgen_ty_1__bindgen_ty_1::y"]
        [::std::mem::offset_of!(vec4__bindgen_ty_1__bindgen_ty_1, y) - 4usize];
    ["Offset of field: vec4__bindgen_ty_1__bindgen_ty_1::z"]
        [::std::mem::offset_of!(vec4__bindgen_ty_1__bindgen_ty_1, z) - 8usize];
    ["Offset of field: vec4__bindgen_ty_1__bindgen_ty_1::w"]
        [::std::mem::offset_of!(vec4__bindgen_ty_1__bindgen_ty_1, w) - 12usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of vec4__bindgen_ty_1"][::std::mem::size_of::<vec4__bindgen_ty_1>() - 16usize];
    ["Alignment of vec4__bindgen_ty_1"][::std::mem::align_of::<vec4__bindgen_ty_1>() - 16usize];
    ["Offset of field: vec4__bindgen_ty_1::ptr"]
        [::std::mem::offset_of!(vec4__bindgen_ty_1, ptr) - 0usize];
    ["Offset of field: vec4__bindgen_ty_1::m"]
        [::std::mem::offset_of!(vec4__bindgen_ty_1, m) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of vec4"][::std::mem::size_of::<vec4>() - 16usize];
    ["Alignment of vec4"][::std::mem::align_of::<vec4>() - 16usize];
};
#[repr(C)]
#[repr(align(16))]
#[derive(Copy, Clone)]
pub struct vec3 {
    pub __bindgen_anon_1: vec3__bindgen_ty_1,
}
#[repr(C)]
#[repr(align(16))]
#[derive(Copy, Clone)]
pub union vec3__bindgen_ty_1 {
    pub __bindgen_anon_1: vec3__bindgen_ty_1__bindgen_ty_1,
    pub ptr: [f32; 4usize],
    pub m: __m128,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct vec3__bindgen_ty_1__bindgen_ty_1 {
    pub x: f32,
    pub y: f32,
    pub z: f32,
    pub w: f32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of vec3__bindgen_ty_1__bindgen_ty_1"]
        [::std::mem::size_of::<vec3__bindgen_ty_1__bindgen_ty_1>() - 16usize];
    ["Alignment of vec3__bindgen_ty_1__bindgen_ty_1"]
        [::std::mem::align_of::<vec3__bindgen_ty_1__bindgen_ty_1>() - 4usize];
    ["Offset of field: vec3__bindgen_ty_1__bindgen_ty_1::x"]
        [::std::mem::offset_of!(vec3__bindgen_ty_1__bindgen_ty_1, x) - 0usize];
    ["Offset of field: vec3__bindgen_ty_1__bindgen_ty_1::y"]
        [::std::mem::offset_of!(vec3__bindgen_ty_1__bindgen_ty_1, y) - 4usize];
    ["Offset of field: vec3__bindgen_ty_1__bindgen_ty_1::z"]
        [::std::mem::offset_of!(vec3__bindgen_ty_1__bindgen_ty_1, z) - 8usize];
    ["Offset of field: vec3__bindgen_ty_1__bindgen_ty_1::w"]
        [::std::mem::offset_of!(vec3__bindgen_ty_1__bindgen_ty_1, w) - 12usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of vec3__bindgen_ty_1"][::std::mem::size_of::<vec3__bindgen_ty_1>() - 16usize];
    ["Alignment of vec3__bindgen_ty_1"][::std::mem::align_of::<vec3__bindgen_ty_1>() - 16usize];
    ["Offset of field: vec3__bindgen_ty_1::ptr"]
        [::std::mem::offset_of!(vec3__bindgen_ty_1, ptr) - 0usize];
    ["Offset of field: vec3__bindgen_ty_1::m"]
        [::std::mem::offset_of!(vec3__bindgen_ty_1, m) - 0usize];
};
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of vec3"][::std::mem::size_of::<vec3>() - 16usize];
    ["Alignment of vec3"][::std::mem::align_of::<vec3>() - 16usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct audio_output {
    _unused: [u8; 0],
}
pub type audio_t = audio_output;
pub const audio_format_AUDIO_FORMAT_UNKNOWN: audio_format = 0;
pub const audio_format_AUDIO_FORMAT_U8BIT: audio_format = 1;
pub const audio_format_AUDIO_FORMAT_16BIT: audio_format = 2;
pub const audio_format_AUDIO_FORMAT_32BIT: audio_format = 3;
pub const audio_format_AUDIO_FORMAT_FLOAT: audio_format = 4;
pub const audio_format_AUDIO_FORMAT_U8BIT_PLANAR: audio_format = 5;
pub const audio_format_AUDIO_FORMAT_16BIT_PLANAR: audio_format = 6;
pub const audio_format_AUDIO_FORMAT_32BIT_PLANAR: audio_format = 7;
pub const audio_format_AUDIO_FORMAT_FLOAT_PLANAR: audio_format = 8;
pub type audio_format = ::std::os::raw::c_int;
#[doc = "< Unknown setting, fallback is stereo."]
pub const speaker_layout_SPEAKERS_UNKNOWN: speaker_layout = 0;
#[doc = "< Channels: MONO"]
pub const speaker_layout_SPEAKERS_MONO: speaker_layout = 1;
#[doc = "< Channels: FL, FR"]
pub const speaker_layout_SPEAKERS_STEREO: speaker_layout = 2;
#[doc = "< Channels: FL, FR, LFE"]
pub const speaker_layout_SPEAKERS_2POINT1: speaker_layout = 3;
#[doc = "< Channels: FL, FR, FC, RC"]
pub const speaker_layout_SPEAKERS_4POINT0: speaker_layout = 4;
#[doc = "< Channels: FL, FR, FC, LFE, RC"]
pub const speaker_layout_SPEAKERS_4POINT1: speaker_layout = 5;
#[doc = "< Channels: FL, FR, FC, LFE, RL, RR"]
pub const speaker_layout_SPEAKERS_5POINT1: speaker_layout = 6;
#[doc = "< Channels: FL, FR, FC, LFE, RL, RR, SL, SR"]
pub const speaker_layout_SPEAKERS_7POINT1: speaker_layout = 8;
#[doc = " The speaker layout describes where the speakers are located in the room.\n For OBS it dictates:\n  *  how many channels are available and\n  *  which channels are used for which speakers.\n\n Standard channel layouts where retrieved from ffmpeg documentation at:\n     https://trac.ffmpeg.org/wiki/AudioChannelManipulation"]
pub type speaker_layout = ::std::os::raw::c_int;
#[repr(C)]
pub struct audio_data {
    pub data: [*mut u8; 8usize],
    pub frames: u32,
    pub timestamp: u64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of audio_data"][::std::mem::size_of::<audio_data>() - 80usize];
    ["Alignment of audio_data"][::std::mem::align_of::<audio_data>() - 8usize];
    ["Offset of field: audio_data::data"][::std::mem::offset_of!(audio_data, data) - 0usize];
    ["Offset of field: audio_data::frames"][::std::mem::offset_of!(audio_data, frames) - 64usize];
    ["Offset of field: audio_data::timestamp"]
        [::std::mem::offset_of!(audio_data, timestamp) - 72usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct audio_output_data {
    pub data: [*mut f32; 8usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of audio_output_data"][::std::mem::size_of::<audio_output_data>() - 64usize];
    ["Alignment of audio_output_data"][::std::mem::align_of::<audio_output_data>() - 8usize];
    ["Offset of field: audio_output_data::data"]
        [::std::mem::offset_of!(audio_output_data, data) - 0usize];
};
pub type audio_input_callback_t = ::std::option::Option<
    unsafe extern "C" fn(
        param: *mut ::std::os::raw::c_void,
        start_ts: u64,
        end_ts: u64,
        new_ts: *mut u64,
        active_mixers: u32,
        mixes: *mut audio_output_data,
    ) -> bool,
>;
#[repr(C)]
pub struct audio_output_info {
    pub name: *const ::std::os::raw::c_char,
    pub samples_per_sec: u32,
    pub format: audio_format,
    pub speakers: speaker_layout,
    pub input_callback: audio_input_callback_t,
    pub input_param: *mut ::std::os::raw::c_void,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of audio_output_info"][::std::mem::size_of::<audio_output_info>() - 40usize];
    ["Alignment of audio_output_info"][::std::mem::align_of::<audio_output_info>() - 8usize];
    ["Offset of field: audio_output_info::name"]
        [::std::mem::offset_of!(audio_output_info, name) - 0usize];
    ["Offset of field: audio_output_info::samples_per_sec"]
        [::std::mem::offset_of!(audio_output_info, samples_per_sec) - 8usize];
    ["Offset of field: audio_output_info::format"]
        [::std::mem::offset_of!(audio_output_info, format) - 12usize];
    ["Offset of field: audio_output_info::speakers"]
        [::std::mem::offset_of!(audio_output_info, speakers) - 16usize];
    ["Offset of field: audio_output_info::input_callback"]
        [::std::mem::offset_of!(audio_output_info, input_callback) - 24usize];
    ["Offset of field: audio_output_info::input_param"]
        [::std::mem::offset_of!(audio_output_info, input_param) - 32usize];
};
#[repr(C)]
pub struct audio_convert_info {
    pub samples_per_sec: u32,
    pub format: audio_format,
    pub speakers: speaker_layout,
    pub allow_clipping: bool,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of audio_convert_info"][::std::mem::size_of::<audio_convert_info>() - 16usize];
    ["Alignment of audio_convert_info"][::std::mem::align_of::<audio_convert_info>() - 4usize];
    ["Offset of field: audio_convert_info::samples_per_sec"]
        [::std::mem::offset_of!(audio_convert_info, samples_per_sec) - 0usize];
    ["Offset of field: audio_convert_info::format"]
        [::std::mem::offset_of!(audio_convert_info, format) - 4usize];
    ["Offset of field: audio_convert_info::speakers"]
        [::std::mem::offset_of!(audio_convert_info, speakers) - 8usize];
    ["Offset of field: audio_convert_info::allow_clipping"]
        [::std::mem::offset_of!(audio_convert_info, allow_clipping) - 12usize];
};
pub type audio_output_callback_t = ::std::option::Option<
    unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, mix_idx: usize, data: *mut audio_data),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct video_frame {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct video_output {
    _unused: [u8; 0],
}
pub type video_t = video_output;
pub const video_format_VIDEO_FORMAT_NONE: video_format = 0;
pub const video_format_VIDEO_FORMAT_I420: video_format = 1;
pub const video_format_VIDEO_FORMAT_NV12: video_format = 2;
pub const video_format_VIDEO_FORMAT_YVYU: video_format = 3;
pub const video_format_VIDEO_FORMAT_YUY2: video_format = 4;
pub const video_format_VIDEO_FORMAT_UYVY: video_format = 5;
pub const video_format_VIDEO_FORMAT_RGBA: video_format = 6;
pub const video_format_VIDEO_FORMAT_BGRA: video_format = 7;
pub const video_format_VIDEO_FORMAT_BGRX: video_format = 8;
pub const video_format_VIDEO_FORMAT_Y800: video_format = 9;
pub const video_format_VIDEO_FORMAT_I444: video_format = 10;
pub const video_format_VIDEO_FORMAT_BGR3: video_format = 11;
pub const video_format_VIDEO_FORMAT_I422: video_format = 12;
pub const video_format_VIDEO_FORMAT_I40A: video_format = 13;
pub const video_format_VIDEO_FORMAT_I42A: video_format = 14;
pub const video_format_VIDEO_FORMAT_YUVA: video_format = 15;
pub const video_format_VIDEO_FORMAT_AYUV: video_format = 16;
pub const video_format_VIDEO_FORMAT_I010: video_format = 17;
pub const video_format_VIDEO_FORMAT_P010: video_format = 18;
pub const video_format_VIDEO_FORMAT_I210: video_format = 19;
pub const video_format_VIDEO_FORMAT_I412: video_format = 20;
pub const video_format_VIDEO_FORMAT_YA2L: video_format = 21;
pub const video_format_VIDEO_FORMAT_P216: video_format = 22;
pub const video_format_VIDEO_FORMAT_P416: video_format = 23;
pub const video_format_VIDEO_FORMAT_V210: video_format = 24;
pub const video_format_VIDEO_FORMAT_R10L: video_format = 25;
pub type video_format = ::std::os::raw::c_int;
pub const video_trc_VIDEO_TRC_DEFAULT: video_trc = 0;
pub const video_trc_VIDEO_TRC_SRGB: video_trc = 1;
pub const video_trc_VIDEO_TRC_PQ: video_trc = 2;
pub const video_trc_VIDEO_TRC_HLG: video_trc = 3;
pub type video_trc = ::std::os::raw::c_int;
pub const video_colorspace_VIDEO_CS_DEFAULT: video_colorspace = 0;
pub const video_colorspace_VIDEO_CS_601: video_colorspace = 1;
pub const video_colorspace_VIDEO_CS_709: video_colorspace = 2;
pub const video_colorspace_VIDEO_CS_SRGB: video_colorspace = 3;
pub const video_colorspace_VIDEO_CS_2100_PQ: video_colorspace = 4;
pub const video_colorspace_VIDEO_CS_2100_HLG: video_colorspace = 5;
pub type video_colorspace = ::std::os::raw::c_int;
pub const video_range_type_VIDEO_RANGE_DEFAULT: video_range_type = 0;
pub const video_range_type_VIDEO_RANGE_PARTIAL: video_range_type = 1;
pub const video_range_type_VIDEO_RANGE_FULL: video_range_type = 2;
pub type video_range_type = ::std::os::raw::c_int;
#[repr(C)]
pub struct video_data {
    pub data: [*mut u8; 8usize],
    pub linesize: [u32; 8usize],
    pub timestamp: u64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of video_data"][::std::mem::size_of::<video_data>() - 104usize];
    ["Alignment of video_data"][::std::mem::align_of::<video_data>() - 8usize];
    ["Offset of field: video_data::data"][::std::mem::offset_of!(video_data, data) - 0usize];
    ["Offset of field: video_data::linesize"]
        [::std::mem::offset_of!(video_data, linesize) - 64usize];
    ["Offset of field: video_data::timestamp"]
        [::std::mem::offset_of!(video_data, timestamp) - 96usize];
};
#[repr(C)]
pub struct video_output_info {
    pub name: *const ::std::os::raw::c_char,
    pub format: video_format,
    pub fps_num: u32,
    pub fps_den: u32,
    pub width: u32,
    pub height: u32,
    pub cache_size: usize,
    pub colorspace: video_colorspace,
    pub range: video_range_type,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of video_output_info"][::std::mem::size_of::<video_output_info>() - 48usize];
    ["Alignment of video_output_info"][::std::mem::align_of::<video_output_info>() - 8usize];
    ["Offset of field: video_output_info::name"]
        [::std::mem::offset_of!(video_output_info, name) - 0usize];
    ["Offset of field: video_output_info::format"]
        [::std::mem::offset_of!(video_output_info, format) - 8usize];
    ["Offset of field: video_output_info::fps_num"]
        [::std::mem::offset_of!(video_output_info, fps_num) - 12usize];
    ["Offset of field: video_output_info::fps_den"]
        [::std::mem::offset_of!(video_output_info, fps_den) - 16usize];
    ["Offset of field: video_output_info::width"]
        [::std::mem::offset_of!(video_output_info, width) - 20usize];
    ["Offset of field: video_output_info::height"]
        [::std::mem::offset_of!(video_output_info, height) - 24usize];
    ["Offset of field: video_output_info::cache_size"]
        [::std::mem::offset_of!(video_output_info, cache_size) - 32usize];
    ["Offset of field: video_output_info::colorspace"]
        [::std::mem::offset_of!(video_output_info, colorspace) - 40usize];
    ["Offset of field: video_output_info::range"]
        [::std::mem::offset_of!(video_output_info, range) - 44usize];
};
pub const video_scale_type_VIDEO_SCALE_DEFAULT: video_scale_type = 0;
pub const video_scale_type_VIDEO_SCALE_POINT: video_scale_type = 1;
pub const video_scale_type_VIDEO_SCALE_FAST_BILINEAR: video_scale_type = 2;
pub const video_scale_type_VIDEO_SCALE_BILINEAR: video_scale_type = 3;
pub const video_scale_type_VIDEO_SCALE_BICUBIC: video_scale_type = 4;
pub type video_scale_type = ::std::os::raw::c_int;
#[repr(C)]
pub struct video_scale_info {
    pub format: video_format,
    pub width: u32,
    pub height: u32,
    pub range: video_range_type,
    pub colorspace: video_colorspace,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of video_scale_info"][::std::mem::size_of::<video_scale_info>() - 20usize];
    ["Alignment of video_scale_info"][::std::mem::align_of::<video_scale_info>() - 4usize];
    ["Offset of field: video_scale_info::format"]
        [::std::mem::offset_of!(video_scale_info, format) - 0usize];
    ["Offset of field: video_scale_info::width"]
        [::std::mem::offset_of!(video_scale_info, width) - 4usize];
    ["Offset of field: video_scale_info::height"]
        [::std::mem::offset_of!(video_scale_info, height) - 8usize];
    ["Offset of field: video_scale_info::range"]
        [::std::mem::offset_of!(video_scale_info, range) - 12usize];
    ["Offset of field: video_scale_info::colorspace"]
        [::std::mem::offset_of!(video_scale_info, colorspace) - 16usize];
};
pub const call_param_type_CALL_PARAM_TYPE_VOID: call_param_type = 0;
pub const call_param_type_CALL_PARAM_TYPE_INT: call_param_type = 1;
pub const call_param_type_CALL_PARAM_TYPE_FLOAT: call_param_type = 2;
pub const call_param_type_CALL_PARAM_TYPE_BOOL: call_param_type = 3;
pub const call_param_type_CALL_PARAM_TYPE_PTR: call_param_type = 4;
pub const call_param_type_CALL_PARAM_TYPE_STRING: call_param_type = 5;
pub type call_param_type = ::std::os::raw::c_int;
#[repr(C)]
pub struct calldata {
    pub stack: *mut u8,
    pub size: usize,
    pub capacity: usize,
    pub fixed: bool,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of calldata"][::std::mem::size_of::<calldata>() - 32usize];
    ["Alignment of calldata"][::std::mem::align_of::<calldata>() - 8usize];
    ["Offset of field: calldata::stack"][::std::mem::offset_of!(calldata, stack) - 0usize];
    ["Offset of field: calldata::size"][::std::mem::offset_of!(calldata, size) - 8usize];
    ["Offset of field: calldata::capacity"][::std::mem::offset_of!(calldata, capacity) - 16usize];
    ["Offset of field: calldata::fixed"][::std::mem::offset_of!(calldata, fixed) - 24usize];
};
pub type calldata_t = calldata;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct signal_handler {
    _unused: [u8; 0],
}
pub type signal_handler_t = signal_handler;
pub type global_signal_callback_t = ::std::option::Option<
    unsafe extern "C" fn(
        arg1: *mut ::std::os::raw::c_void,
        arg2: *const ::std::os::raw::c_char,
        arg3: *mut calldata_t,
    ),
>;
pub type signal_callback_t = ::std::option::Option<
    unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: *mut calldata_t),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct proc_handler {
    _unused: [u8; 0],
}
pub type proc_handler_t = proc_handler;
pub type proc_handler_proc_t = ::std::option::Option<
    unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: *mut calldata_t),
>;
#[repr(C)]
pub struct media_frames_per_second {
    pub numerator: u32,
    pub denominator: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of media_frames_per_second"][::std::mem::size_of::<media_frames_per_second>() - 8usize];
    ["Alignment of media_frames_per_second"]
        [::std::mem::align_of::<media_frames_per_second>() - 4usize];
    ["Offset of field: media_frames_per_second::numerator"]
        [::std::mem::offset_of!(media_frames_per_second, numerator) - 0usize];
    ["Offset of field: media_frames_per_second::denominator"]
        [::std::mem::offset_of!(media_frames_per_second, denominator) - 4usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_data {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_data_item {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_data_array {
    _unused: [u8; 0],
}
pub type obs_data_t = obs_data;
pub type obs_data_item_t = obs_data_item;
pub type obs_data_array_t = obs_data_array;
pub const obs_data_type_OBS_DATA_NULL: obs_data_type = 0;
pub const obs_data_type_OBS_DATA_STRING: obs_data_type = 1;
pub const obs_data_type_OBS_DATA_NUMBER: obs_data_type = 2;
pub const obs_data_type_OBS_DATA_BOOLEAN: obs_data_type = 3;
pub const obs_data_type_OBS_DATA_OBJECT: obs_data_type = 4;
pub const obs_data_type_OBS_DATA_ARRAY: obs_data_type = 5;
pub type obs_data_type = ::std::os::raw::c_int;
pub const obs_data_number_type_OBS_DATA_NUM_INVALID: obs_data_number_type = 0;
pub const obs_data_number_type_OBS_DATA_NUM_INT: obs_data_number_type = 1;
pub const obs_data_number_type_OBS_DATA_NUM_DOUBLE: obs_data_number_type = 2;
pub type obs_data_number_type = ::std::os::raw::c_int;
pub const obs_property_type_OBS_PROPERTY_INVALID: obs_property_type = 0;
pub const obs_property_type_OBS_PROPERTY_BOOL: obs_property_type = 1;
pub const obs_property_type_OBS_PROPERTY_INT: obs_property_type = 2;
pub const obs_property_type_OBS_PROPERTY_FLOAT: obs_property_type = 3;
pub const obs_property_type_OBS_PROPERTY_TEXT: obs_property_type = 4;
pub const obs_property_type_OBS_PROPERTY_PATH: obs_property_type = 5;
pub const obs_property_type_OBS_PROPERTY_LIST: obs_property_type = 6;
pub const obs_property_type_OBS_PROPERTY_COLOR: obs_property_type = 7;
pub const obs_property_type_OBS_PROPERTY_BUTTON: obs_property_type = 8;
pub const obs_property_type_OBS_PROPERTY_FONT: obs_property_type = 9;
pub const obs_property_type_OBS_PROPERTY_EDITABLE_LIST: obs_property_type = 10;
pub const obs_property_type_OBS_PROPERTY_FRAME_RATE: obs_property_type = 11;
pub const obs_property_type_OBS_PROPERTY_GROUP: obs_property_type = 12;
pub const obs_property_type_OBS_PROPERTY_COLOR_ALPHA: obs_property_type = 13;
pub type obs_property_type = ::std::os::raw::c_int;
pub const obs_combo_format_OBS_COMBO_FORMAT_INVALID: obs_combo_format = 0;
pub const obs_combo_format_OBS_COMBO_FORMAT_INT: obs_combo_format = 1;
pub const obs_combo_format_OBS_COMBO_FORMAT_FLOAT: obs_combo_format = 2;
pub const obs_combo_format_OBS_COMBO_FORMAT_STRING: obs_combo_format = 3;
pub const obs_combo_format_OBS_COMBO_FORMAT_BOOL: obs_combo_format = 4;
pub type obs_combo_format = ::std::os::raw::c_int;
pub const obs_combo_type_OBS_COMBO_TYPE_INVALID: obs_combo_type = 0;
pub const obs_combo_type_OBS_COMBO_TYPE_EDITABLE: obs_combo_type = 1;
pub const obs_combo_type_OBS_COMBO_TYPE_LIST: obs_combo_type = 2;
pub const obs_combo_type_OBS_COMBO_TYPE_RADIO: obs_combo_type = 3;
pub type obs_combo_type = ::std::os::raw::c_int;
pub const obs_editable_list_type_OBS_EDITABLE_LIST_TYPE_STRINGS: obs_editable_list_type = 0;
pub const obs_editable_list_type_OBS_EDITABLE_LIST_TYPE_FILES: obs_editable_list_type = 1;
pub const obs_editable_list_type_OBS_EDITABLE_LIST_TYPE_FILES_AND_URLS: obs_editable_list_type = 2;
pub type obs_editable_list_type = ::std::os::raw::c_int;
pub const obs_path_type_OBS_PATH_FILE: obs_path_type = 0;
pub const obs_path_type_OBS_PATH_FILE_SAVE: obs_path_type = 1;
pub const obs_path_type_OBS_PATH_DIRECTORY: obs_path_type = 2;
pub type obs_path_type = ::std::os::raw::c_int;
pub const obs_text_type_OBS_TEXT_DEFAULT: obs_text_type = 0;
pub const obs_text_type_OBS_TEXT_PASSWORD: obs_text_type = 1;
pub const obs_text_type_OBS_TEXT_MULTILINE: obs_text_type = 2;
pub const obs_text_type_OBS_TEXT_INFO: obs_text_type = 3;
pub type obs_text_type = ::std::os::raw::c_int;
pub const obs_text_info_type_OBS_TEXT_INFO_NORMAL: obs_text_info_type = 0;
pub const obs_text_info_type_OBS_TEXT_INFO_WARNING: obs_text_info_type = 1;
pub const obs_text_info_type_OBS_TEXT_INFO_ERROR: obs_text_info_type = 2;
pub type obs_text_info_type = ::std::os::raw::c_int;
pub const obs_number_type_OBS_NUMBER_SCROLLER: obs_number_type = 0;
pub const obs_number_type_OBS_NUMBER_SLIDER: obs_number_type = 1;
pub type obs_number_type = ::std::os::raw::c_int;
pub const obs_group_type_OBS_COMBO_INVALID: obs_group_type = 0;
pub const obs_group_type_OBS_GROUP_NORMAL: obs_group_type = 1;
pub const obs_group_type_OBS_GROUP_CHECKABLE: obs_group_type = 2;
pub type obs_group_type = ::std::os::raw::c_int;
pub const obs_button_type_OBS_BUTTON_DEFAULT: obs_button_type = 0;
pub const obs_button_type_OBS_BUTTON_URL: obs_button_type = 1;
pub type obs_button_type = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_properties {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_property {
    _unused: [u8; 0],
}
pub type obs_properties_t = obs_properties;
pub type obs_property_t = obs_property;
#[doc = " Callback for when a button property is clicked.  If the properties\n need to be refreshed due to changes to the property layout, return true,\n otherwise return false."]
pub type obs_property_clicked_t = ::std::option::Option<
    unsafe extern "C" fn(
        props: *mut obs_properties_t,
        property: *mut obs_property_t,
        data: *mut ::std::os::raw::c_void,
    ) -> bool,
>;
#[doc = " Optional callback for when a property is modified.  If the properties\n need to be refreshed due to changes to the property layout, return true,\n otherwise return false."]
pub type obs_property_modified_t = ::std::option::Option<
    unsafe extern "C" fn(
        props: *mut obs_properties_t,
        property: *mut obs_property_t,
        settings: *mut obs_data_t,
    ) -> bool,
>;
pub type obs_property_modified2_t = ::std::option::Option<
    unsafe extern "C" fn(
        priv_: *mut ::std::os::raw::c_void,
        props: *mut obs_properties_t,
        property: *mut obs_property_t,
        settings: *mut obs_data_t,
    ) -> bool,
>;
pub const obs_interaction_flags_INTERACT_NONE: obs_interaction_flags = 0;
pub const obs_interaction_flags_INTERACT_CAPS_KEY: obs_interaction_flags = 1;
pub const obs_interaction_flags_INTERACT_SHIFT_KEY: obs_interaction_flags = 2;
pub const obs_interaction_flags_INTERACT_CONTROL_KEY: obs_interaction_flags = 4;
pub const obs_interaction_flags_INTERACT_ALT_KEY: obs_interaction_flags = 8;
pub const obs_interaction_flags_INTERACT_MOUSE_LEFT: obs_interaction_flags = 16;
pub const obs_interaction_flags_INTERACT_MOUSE_MIDDLE: obs_interaction_flags = 32;
pub const obs_interaction_flags_INTERACT_MOUSE_RIGHT: obs_interaction_flags = 64;
pub const obs_interaction_flags_INTERACT_COMMAND_KEY: obs_interaction_flags = 128;
pub const obs_interaction_flags_INTERACT_NUMLOCK_KEY: obs_interaction_flags = 256;
pub const obs_interaction_flags_INTERACT_IS_KEY_PAD: obs_interaction_flags = 512;
pub const obs_interaction_flags_INTERACT_IS_LEFT: obs_interaction_flags = 1024;
pub const obs_interaction_flags_INTERACT_IS_RIGHT: obs_interaction_flags = 2048;
pub type obs_interaction_flags = ::std::os::raw::c_int;
pub const obs_mouse_button_type_MOUSE_LEFT: obs_mouse_button_type = 0;
pub const obs_mouse_button_type_MOUSE_MIDDLE: obs_mouse_button_type = 1;
pub const obs_mouse_button_type_MOUSE_RIGHT: obs_mouse_button_type = 2;
pub type obs_mouse_button_type = ::std::os::raw::c_int;
#[repr(C)]
pub struct obs_mouse_event {
    pub modifiers: u32,
    pub x: i32,
    pub y: i32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_mouse_event"][::std::mem::size_of::<obs_mouse_event>() - 12usize];
    ["Alignment of obs_mouse_event"][::std::mem::align_of::<obs_mouse_event>() - 4usize];
    ["Offset of field: obs_mouse_event::modifiers"]
        [::std::mem::offset_of!(obs_mouse_event, modifiers) - 0usize];
    ["Offset of field: obs_mouse_event::x"][::std::mem::offset_of!(obs_mouse_event, x) - 4usize];
    ["Offset of field: obs_mouse_event::y"][::std::mem::offset_of!(obs_mouse_event, y) - 8usize];
};
#[repr(C)]
pub struct obs_key_event {
    pub modifiers: u32,
    pub text: *mut ::std::os::raw::c_char,
    pub native_modifiers: u32,
    pub native_scancode: u32,
    pub native_vkey: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_key_event"][::std::mem::size_of::<obs_key_event>() - 32usize];
    ["Alignment of obs_key_event"][::std::mem::align_of::<obs_key_event>() - 8usize];
    ["Offset of field: obs_key_event::modifiers"]
        [::std::mem::offset_of!(obs_key_event, modifiers) - 0usize];
    ["Offset of field: obs_key_event::text"][::std::mem::offset_of!(obs_key_event, text) - 8usize];
    ["Offset of field: obs_key_event::native_modifiers"]
        [::std::mem::offset_of!(obs_key_event, native_modifiers) - 16usize];
    ["Offset of field: obs_key_event::native_scancode"]
        [::std::mem::offset_of!(obs_key_event, native_scancode) - 20usize];
    ["Offset of field: obs_key_event::native_vkey"]
        [::std::mem::offset_of!(obs_key_event, native_vkey) - 24usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_context_data {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_display {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_view {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_source {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_scene {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_scene_item {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_output {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_encoder {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_encoder_group {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_service {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_module {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_module_metadata {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_fader {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_volmeter {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_canvas {
    _unused: [u8; 0],
}
pub type obs_object_t = obs_context_data;
pub type obs_display_t = obs_display;
pub type obs_view_t = obs_view;
pub type obs_source_t = obs_source;
pub type obs_scene_t = obs_scene;
pub type obs_sceneitem_t = obs_scene_item;
pub type obs_output_t = obs_output;
pub type obs_encoder_t = obs_encoder;
pub type obs_encoder_group_t = obs_encoder_group;
pub type obs_service_t = obs_service;
pub type obs_module_t = obs_module;
pub type obs_module_metadata_t = obs_module_metadata;
pub type obs_fader_t = obs_fader;
pub type obs_volmeter_t = obs_volmeter;
pub type obs_canvas_t = obs_canvas;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_weak_object {
    _unused: [u8; 0],
}
pub type obs_weak_object_t = obs_weak_object;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_weak_source {
    _unused: [u8; 0],
}
pub type obs_weak_source_t = obs_weak_source;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_weak_output {
    _unused: [u8; 0],
}
pub type obs_weak_output_t = obs_weak_output;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_weak_encoder {
    _unused: [u8; 0],
}
pub type obs_weak_encoder_t = obs_weak_encoder;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_weak_service {
    _unused: [u8; 0],
}
pub type obs_weak_service_t = obs_weak_service;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_weak_canvas {
    _unused: [u8; 0],
}
pub type obs_weak_canvas_t = obs_weak_canvas;
pub type obs_missing_file_cb = ::std::option::Option<
    unsafe extern "C" fn(
        src: *mut ::std::os::raw::c_void,
        new_path: *const ::std::os::raw::c_char,
        data: *mut ::std::os::raw::c_void,
    ),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_missing_file {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_missing_files {
    _unused: [u8; 0],
}
pub type obs_missing_file_t = obs_missing_file;
pub type obs_missing_files_t = obs_missing_files;
pub const obs_missing_file_src_OBS_MISSING_FILE_SOURCE: obs_missing_file_src = 0;
pub const obs_missing_file_src_OBS_MISSING_FILE_SCRIPT: obs_missing_file_src = 1;
pub type obs_missing_file_src = ::std::os::raw::c_int;
pub const obs_source_type_OBS_SOURCE_TYPE_INPUT: obs_source_type = 0;
pub const obs_source_type_OBS_SOURCE_TYPE_FILTER: obs_source_type = 1;
pub const obs_source_type_OBS_SOURCE_TYPE_TRANSITION: obs_source_type = 2;
pub const obs_source_type_OBS_SOURCE_TYPE_SCENE: obs_source_type = 3;
pub type obs_source_type = ::std::os::raw::c_int;
pub const obs_balance_type_OBS_BALANCE_TYPE_SINE_LAW: obs_balance_type = 0;
pub const obs_balance_type_OBS_BALANCE_TYPE_SQUARE_LAW: obs_balance_type = 1;
pub const obs_balance_type_OBS_BALANCE_TYPE_LINEAR: obs_balance_type = 2;
pub type obs_balance_type = ::std::os::raw::c_int;
pub const obs_icon_type_OBS_ICON_TYPE_UNKNOWN: obs_icon_type = 0;
pub const obs_icon_type_OBS_ICON_TYPE_IMAGE: obs_icon_type = 1;
pub const obs_icon_type_OBS_ICON_TYPE_COLOR: obs_icon_type = 2;
pub const obs_icon_type_OBS_ICON_TYPE_SLIDESHOW: obs_icon_type = 3;
pub const obs_icon_type_OBS_ICON_TYPE_AUDIO_INPUT: obs_icon_type = 4;
pub const obs_icon_type_OBS_ICON_TYPE_AUDIO_OUTPUT: obs_icon_type = 5;
pub const obs_icon_type_OBS_ICON_TYPE_DESKTOP_CAPTURE: obs_icon_type = 6;
pub const obs_icon_type_OBS_ICON_TYPE_WINDOW_CAPTURE: obs_icon_type = 7;
pub const obs_icon_type_OBS_ICON_TYPE_GAME_CAPTURE: obs_icon_type = 8;
pub const obs_icon_type_OBS_ICON_TYPE_CAMERA: obs_icon_type = 9;
pub const obs_icon_type_OBS_ICON_TYPE_TEXT: obs_icon_type = 10;
pub const obs_icon_type_OBS_ICON_TYPE_MEDIA: obs_icon_type = 11;
pub const obs_icon_type_OBS_ICON_TYPE_BROWSER: obs_icon_type = 12;
pub const obs_icon_type_OBS_ICON_TYPE_CUSTOM: obs_icon_type = 13;
pub const obs_icon_type_OBS_ICON_TYPE_PROCESS_AUDIO_OUTPUT: obs_icon_type = 14;
pub type obs_icon_type = ::std::os::raw::c_int;
pub const obs_media_state_OBS_MEDIA_STATE_NONE: obs_media_state = 0;
pub const obs_media_state_OBS_MEDIA_STATE_PLAYING: obs_media_state = 1;
pub const obs_media_state_OBS_MEDIA_STATE_OPENING: obs_media_state = 2;
pub const obs_media_state_OBS_MEDIA_STATE_BUFFERING: obs_media_state = 3;
pub const obs_media_state_OBS_MEDIA_STATE_PAUSED: obs_media_state = 4;
pub const obs_media_state_OBS_MEDIA_STATE_STOPPED: obs_media_state = 5;
pub const obs_media_state_OBS_MEDIA_STATE_ENDED: obs_media_state = 6;
pub const obs_media_state_OBS_MEDIA_STATE_ERROR: obs_media_state = 7;
pub type obs_media_state = ::std::os::raw::c_int;
#[doc = " @}"]
pub type obs_source_enum_proc_t = ::std::option::Option<
    unsafe extern "C" fn(
        parent: *mut obs_source_t,
        child: *mut obs_source_t,
        param: *mut ::std::os::raw::c_void,
    ),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_source_audio_mix {
    pub output: [audio_output_data; 6usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_source_audio_mix"][::std::mem::size_of::<obs_source_audio_mix>() - 384usize];
    ["Alignment of obs_source_audio_mix"][::std::mem::align_of::<obs_source_audio_mix>() - 8usize];
    ["Offset of field: obs_source_audio_mix::output"]
        [::std::mem::offset_of!(obs_source_audio_mix, output) - 0usize];
};
#[doc = " Source definition structure"]
#[repr(C)]
pub struct obs_source_info {
#[doc = " Unique string identifier for the source"]
    pub id: *const ::std::os::raw::c_char,
#[doc = " Type of source.\n\n OBS_SOURCE_TYPE_INPUT for input sources,\n OBS_SOURCE_TYPE_FILTER for filter sources, and\n OBS_SOURCE_TYPE_TRANSITION for transition sources."]
    pub type_: obs_source_type,
#[doc = " Source output flags"]
    pub output_flags: u32,
#[doc = " Get the translated name of the source type\n\n @param  type_data  The type_data variable of this structure\n @return               The translated name of the source type"]
    pub get_name: ::std::option::Option<
        unsafe extern "C" fn(
            type_data: *mut ::std::os::raw::c_void,
        ) -> *const ::std::os::raw::c_char,
    >,
#[doc = " Creates the source data for the source\n\n @param  settings  Settings to initialize the source with\n @param  source    Source that this data is associated with\n @return           The data associated with this source"]
    pub create: ::std::option::Option<
        unsafe extern "C" fn(
            settings: *mut obs_data_t,
            source: *mut obs_source_t,
        ) -> *mut ::std::os::raw::c_void,
    >,
#[doc = " Destroys the private data for the source\n\n Async sources must not call obs_source_output_video after returning\n from destroy"]
    pub destroy: ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
#[doc = " Returns the width of the source.  Required if this is an input\n source and has non-async video"]
    pub get_width:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> u32>,
#[doc = " Returns the height of the source.  Required if this is an input\n source and has non-async video"]
    pub get_height:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> u32>,
#[doc = " Gets the default settings for this source\n\n @param\\[out\\]  settings  Data to assign default settings to\n @deprecated            Use get_defaults2 if type_data is needed"]
    pub get_defaults: ::std::option::Option<unsafe extern "C" fn(settings: *mut obs_data_t)>,
#[doc = " Gets the property information of this source\n\n @return         The properties data\n @deprecated     Use get_properties2 if type_data is needed"]
    pub get_properties: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> *mut obs_properties_t,
    >,
#[doc = " Updates the settings for this source\n\n @param data      Source data\n @param settings  New settings for this source"]
    pub update: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, settings: *mut obs_data_t),
    >,
#[doc = " Called when the source has been activated in the main view"]
    pub activate: ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
#[doc = " Called when the source has been deactivated from the main view\n (no longer being played/displayed)"]
    pub deactivate: ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
#[doc = " Called when the source is visible"]
    pub show: ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
#[doc = " Called when the source is no longer visible"]
    pub hide: ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
#[doc = " Called each video frame with the time elapsed\n\n @param  data     Source data\n @param  seconds  Seconds elapsed since the last frame"]
    pub video_tick: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, seconds: f32),
    >,
#[doc = " Called when rendering the source with the graphics subsystem.\n\n If this is an input/transition source, this is called to draw the\n source texture with the graphics subsystem using the specified\n effect.\n\n If this is a filter source, it wraps source draw calls (for\n example applying a custom effect with custom parameters to a\n source).  In this case, it's highly recommended to use the\n obs_source_process_filter function to automatically handle\n effect-based filter processing.  However, you can implement custom\n draw handling as desired as well.\n\n If the source output flags do not include SOURCE_CUSTOM_DRAW, all\n a source needs to do is set the \"image\" parameter of the effect to\n the desired texture, and then draw.  If the output flags include\n SOURCE_COLOR_MATRIX, you may optionally set the \"color_matrix\"\n parameter of the effect to a custom 4x4 conversion matrix (by\n default it will be set to an YUV->RGB conversion matrix)\n\n @param data    Source data\n @param effect  Effect to be used with this source.  If the source\n                output flags include SOURCE_CUSTOM_DRAW, this will\n                be NULL, and the source is expected to process with\n                an effect manually."]
    pub video_render: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, effect: *mut gs_effect_t),
    >,
#[doc = " Called to filter raw async video data.\n\n @note          This function is only used with filter sources.\n\n @param  data   Filter data\n @param  frame  Video frame to filter\n @return        New video frame data.  This can defer video data to\n                be drawn later if time is needed for processing"]
    pub filter_video: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            frame: *mut obs_source_frame,
        ) -> *mut obs_source_frame,
    >,
#[doc = " Called to filter raw audio data.\n\n @note          This function is only used with filter sources.\n\n @param  data   Filter data\n @param  audio  Audio data to filter.\n @return        Modified or new audio data.  You can directly modify\n                the data passed and return it, or you can defer audio\n                data for later if time is needed for processing.  If\n                you are returning new data, that data must exist\n                until the next call to the filter_audio callback or\n                until the filter is removed/destroyed."]
    pub filter_audio: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            audio: *mut obs_audio_data,
        ) -> *mut obs_audio_data,
    >,
#[doc = " Called to enumerate all active sources being used within this\n source.  If the source has children that render audio/video it must\n implement this callback.\n\n @param  data           Filter data\n @param  enum_callback  Enumeration callback\n @param  param          User data to pass to callback"]
    pub enum_active_sources: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            enum_callback: obs_source_enum_proc_t,
            param: *mut ::std::os::raw::c_void,
        ),
    >,
#[doc = " Called when saving a source.  This is a separate function because\n sometimes a source needs to know when it is being saved so it\n doesn't always have to update the current settings until a certain\n point.\n\n @param  data      Source data\n @param  settings  Settings"]
    pub save: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, settings: *mut obs_data_t),
    >,
#[doc = " Called when loading a source from saved data.  This should be called\n after all the loading sources have actually been created because\n sometimes there are sources that depend on each other.\n\n @param  data      Source data\n @param  settings  Settings"]
    pub load: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, settings: *mut obs_data_t),
    >,
#[doc = " Called when interacting with a source and a mouse-down or mouse-up\n occurs.\n\n @param data         Source data\n @param event        Mouse event properties\n @param type         Mouse button pushed\n @param mouse_up     Mouse event type (true if mouse-up)\n @param click_count  Mouse click count (1 for single click, etc.)"]
    pub mouse_click: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            event: *const obs_mouse_event,
            type_: i32,
            mouse_up: bool,
            click_count: u32,
        ),
    >,
#[doc = " Called when interacting with a source and a mouse-move occurs.\n\n @param data         Source data\n @param event        Mouse event properties\n @param mouse_leave  Mouse leave state (true if mouse left source)"]
    pub mouse_move: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            event: *const obs_mouse_event,
            mouse_leave: bool,
        ),
    >,
#[doc = " Called when interacting with a source and a mouse-wheel occurs.\n\n @param data         Source data\n @param event        Mouse event properties\n @param x_delta      Movement delta in the horizontal direction\n @param y_delta      Movement delta in the vertical direction"]
    pub mouse_wheel: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            event: *const obs_mouse_event,
            x_delta: ::std::os::raw::c_int,
            y_delta: ::std::os::raw::c_int,
        ),
    >,
#[doc = " Called when interacting with a source and gain focus/lost focus event\n occurs.\n\n @param data         Source data\n @param focus        Focus state (true if focus gained)"]
    pub focus:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, focus: bool)>,
#[doc = " Called when interacting with a source and a key-up or key-down\n occurs.\n\n @param data         Source data\n @param event        Key event properties\n @param focus        Key event type (true if mouse-up)"]
    pub key_click: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            event: *const obs_key_event,
            key_up: bool,
        ),
    >,
#[doc = " Called when the filter is removed from a source\n\n @param  data    Filter data\n @param  source  Source that the filter being removed from"]
    pub filter_remove: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, source: *mut obs_source_t),
    >,
#[doc = " Private data associated with this entry"]
    pub type_data: *mut ::std::os::raw::c_void,
#[doc = " If defined, called to free private data on shutdown"]
    pub free_type_data:
        ::std::option::Option<unsafe extern "C" fn(type_data: *mut ::std::os::raw::c_void)>,
    pub audio_render: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            ts_out: *mut u64,
            audio_output: *mut obs_source_audio_mix,
            mixers: u32,
            channels: usize,
            sample_rate: usize,
        ) -> bool,
    >,
#[doc = " Called to enumerate all active and inactive sources being used\n within this source.  If this callback isn't implemented,\n enum_active_sources will be called instead.\n\n This is typically used if a source can have inactive child sources.\n\n @param  data           Filter data\n @param  enum_callback  Enumeration callback\n @param  param          User data to pass to callback"]
    pub enum_all_sources: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            enum_callback: obs_source_enum_proc_t,
            param: *mut ::std::os::raw::c_void,
        ),
    >,
    pub transition_start:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
    pub transition_stop:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
#[doc = " Gets the default settings for this source\n\n If get_defaults is also defined both will be called, and the first\n call will be to get_defaults, then to get_defaults2.\n\n @param       type_data The type_data variable of this structure\n @param\\[out\\]  settings  Data to assign default settings to"]
    pub get_defaults2: ::std::option::Option<
        unsafe extern "C" fn(type_data: *mut ::std::os::raw::c_void, settings: *mut obs_data_t),
    >,
#[doc = " Gets the property information of this source\n\n @param data      Source data\n @param type_data The type_data variable of this structure\n @return          The properties data"]
    pub get_properties2: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            type_data: *mut ::std::os::raw::c_void,
        ) -> *mut obs_properties_t,
    >,
    pub audio_mix: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            ts_out: *mut u64,
            audio_output: *mut audio_output_data,
            channels: usize,
            sample_rate: usize,
        ) -> bool,
    >,
#[doc = " Icon type for the source"]
    pub icon_type: obs_icon_type,
#[doc = " Media controls"]
    pub media_play_pause:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, pause: bool)>,
    pub media_restart:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
    pub media_stop: ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
    pub media_next: ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
    pub media_previous:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
    pub media_get_duration:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> i64>,
    pub media_get_time:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> i64>,
    pub media_set_time: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, miliseconds: i64),
    >,
    pub media_get_state: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> obs_media_state,
    >,
    pub version: u32,
    pub unversioned_id: *const ::std::os::raw::c_char,
#[doc = " Missing files"]
    pub missing_files: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> *mut obs_missing_files_t,
    >,
#[doc = " Get color space"]
    pub video_get_color_space: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            count: usize,
            preferred_spaces: *const gs_color_space,
        ) -> gs_color_space,
    >,
#[doc = " Called when the filter is added to a source\n\n @param  data    Filter data\n @param  source  Source that the filter is being added to"]
    pub filter_add: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, source: *mut obs_source_t),
    >,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_source_info"][::std::mem::size_of::<obs_source_info>() - 408usize];
    ["Alignment of obs_source_info"][::std::mem::align_of::<obs_source_info>() - 8usize];
    ["Offset of field: obs_source_info::id"][::std::mem::offset_of!(obs_source_info, id) - 0usize];
    ["Offset of field: obs_source_info::type_"]
        [::std::mem::offset_of!(obs_source_info, type_) - 8usize];
    ["Offset of field: obs_source_info::output_flags"]
        [::std::mem::offset_of!(obs_source_info, output_flags) - 12usize];
    ["Offset of field: obs_source_info::get_name"]
        [::std::mem::offset_of!(obs_source_info, get_name) - 16usize];
    ["Offset of field: obs_source_info::create"]
        [::std::mem::offset_of!(obs_source_info, create) - 24usize];
    ["Offset of field: obs_source_info::destroy"]
        [::std::mem::offset_of!(obs_source_info, destroy) - 32usize];
    ["Offset of field: obs_source_info::get_width"]
        [::std::mem::offset_of!(obs_source_info, get_width) - 40usize];
    ["Offset of field: obs_source_info::get_height"]
        [::std::mem::offset_of!(obs_source_info, get_height) - 48usize];
    ["Offset of field: obs_source_info::get_defaults"]
        [::std::mem::offset_of!(obs_source_info, get_defaults) - 56usize];
    ["Offset of field: obs_source_info::get_properties"]
        [::std::mem::offset_of!(obs_source_info, get_properties) - 64usize];
    ["Offset of field: obs_source_info::update"]
        [::std::mem::offset_of!(obs_source_info, update) - 72usize];
    ["Offset of field: obs_source_info::activate"]
        [::std::mem::offset_of!(obs_source_info, activate) - 80usize];
    ["Offset of field: obs_source_info::deactivate"]
        [::std::mem::offset_of!(obs_source_info, deactivate) - 88usize];
    ["Offset of field: obs_source_info::show"]
        [::std::mem::offset_of!(obs_source_info, show) - 96usize];
    ["Offset of field: obs_source_info::hide"]
        [::std::mem::offset_of!(obs_source_info, hide) - 104usize];
    ["Offset of field: obs_source_info::video_tick"]
        [::std::mem::offset_of!(obs_source_info, video_tick) - 112usize];
    ["Offset of field: obs_source_info::video_render"]
        [::std::mem::offset_of!(obs_source_info, video_render) - 120usize];
    ["Offset of field: obs_source_info::filter_video"]
        [::std::mem::offset_of!(obs_source_info, filter_video) - 128usize];
    ["Offset of field: obs_source_info::filter_audio"]
        [::std::mem::offset_of!(obs_source_info, filter_audio) - 136usize];
    ["Offset of field: obs_source_info::enum_active_sources"]
        [::std::mem::offset_of!(obs_source_info, enum_active_sources) - 144usize];
    ["Offset of field: obs_source_info::save"]
        [::std::mem::offset_of!(obs_source_info, save) - 152usize];
    ["Offset of field: obs_source_info::load"]
        [::std::mem::offset_of!(obs_source_info, load) - 160usize];
    ["Offset of field: obs_source_info::mouse_click"]
        [::std::mem::offset_of!(obs_source_info, mouse_click) - 168usize];
    ["Offset of field: obs_source_info::mouse_move"]
        [::std::mem::offset_of!(obs_source_info, mouse_move) - 176usize];
    ["Offset of field: obs_source_info::mouse_wheel"]
        [::std::mem::offset_of!(obs_source_info, mouse_wheel) - 184usize];
    ["Offset of field: obs_source_info::focus"]
        [::std::mem::offset_of!(obs_source_info, focus) - 192usize];
    ["Offset of field: obs_source_info::key_click"]
        [::std::mem::offset_of!(obs_source_info, key_click) - 200usize];
    ["Offset of field: obs_source_info::filter_remove"]
        [::std::mem::offset_of!(obs_source_info, filter_remove) - 208usize];
    ["Offset of field: obs_source_info::type_data"]
        [::std::mem::offset_of!(obs_source_info, type_data) - 216usize];
    ["Offset of field: obs_source_info::free_type_data"]
        [::std::mem::offset_of!(obs_source_info, free_type_data) - 224usize];
    ["Offset of field: obs_source_info::audio_render"]
        [::std::mem::offset_of!(obs_source_info, audio_render) - 232usize];
    ["Offset of field: obs_source_info::enum_all_sources"]
        [::std::mem::offset_of!(obs_source_info, enum_all_sources) - 240usize];
    ["Offset of field: obs_source_info::transition_start"]
        [::std::mem::offset_of!(obs_source_info, transition_start) - 248usize];
    ["Offset of field: obs_source_info::transition_stop"]
        [::std::mem::offset_of!(obs_source_info, transition_stop) - 256usize];
    ["Offset of field: obs_source_info::get_defaults2"]
        [::std::mem::offset_of!(obs_source_info, get_defaults2) - 264usize];
    ["Offset of field: obs_source_info::get_properties2"]
        [::std::mem::offset_of!(obs_source_info, get_properties2) - 272usize];
    ["Offset of field: obs_source_info::audio_mix"]
        [::std::mem::offset_of!(obs_source_info, audio_mix) - 280usize];
    ["Offset of field: obs_source_info::icon_type"]
        [::std::mem::offset_of!(obs_source_info, icon_type) - 288usize];
    ["Offset of field: obs_source_info::media_play_pause"]
        [::std::mem::offset_of!(obs_source_info, media_play_pause) - 296usize];
    ["Offset of field: obs_source_info::media_restart"]
        [::std::mem::offset_of!(obs_source_info, media_restart) - 304usize];
    ["Offset of field: obs_source_info::media_stop"]
        [::std::mem::offset_of!(obs_source_info, media_stop) - 312usize];
    ["Offset of field: obs_source_info::media_next"]
        [::std::mem::offset_of!(obs_source_info, media_next) - 320usize];
    ["Offset of field: obs_source_info::media_previous"]
        [::std::mem::offset_of!(obs_source_info, media_previous) - 328usize];
    ["Offset of field: obs_source_info::media_get_duration"]
        [::std::mem::offset_of!(obs_source_info, media_get_duration) - 336usize];
    ["Offset of field: obs_source_info::media_get_time"]
        [::std::mem::offset_of!(obs_source_info, media_get_time) - 344usize];
    ["Offset of field: obs_source_info::media_set_time"]
        [::std::mem::offset_of!(obs_source_info, media_set_time) - 352usize];
    ["Offset of field: obs_source_info::media_get_state"]
        [::std::mem::offset_of!(obs_source_info, media_get_state) - 360usize];
    ["Offset of field: obs_source_info::version"]
        [::std::mem::offset_of!(obs_source_info, version) - 368usize];
    ["Offset of field: obs_source_info::unversioned_id"]
        [::std::mem::offset_of!(obs_source_info, unversioned_id) - 376usize];
    ["Offset of field: obs_source_info::missing_files"]
        [::std::mem::offset_of!(obs_source_info, missing_files) - 384usize];
    ["Offset of field: obs_source_info::video_get_color_space"]
        [::std::mem::offset_of!(obs_source_info, video_get_color_space) - 392usize];
    ["Offset of field: obs_source_info::filter_add"]
        [::std::mem::offset_of!(obs_source_info, filter_add) - 400usize];
};
#[doc = "< The encoder provides an audio codec"]
pub const obs_encoder_type_OBS_ENCODER_AUDIO: obs_encoder_type = 0;
#[doc = "< The encoder provides a video codec"]
pub const obs_encoder_type_OBS_ENCODER_VIDEO: obs_encoder_type = 1;
#[doc = " Specifies the encoder type"]
pub type obs_encoder_type = ::std::os::raw::c_int;
#[repr(C)]
pub struct encoder_packet_time {
    pub pts: i64,
    pub cts: u64,
    pub fer: u64,
    pub ferc: u64,
    pub pir: u64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of encoder_packet_time"][::std::mem::size_of::<encoder_packet_time>() - 40usize];
    ["Alignment of encoder_packet_time"][::std::mem::align_of::<encoder_packet_time>() - 8usize];
    ["Offset of field: encoder_packet_time::pts"]
        [::std::mem::offset_of!(encoder_packet_time, pts) - 0usize];
    ["Offset of field: encoder_packet_time::cts"]
        [::std::mem::offset_of!(encoder_packet_time, cts) - 8usize];
    ["Offset of field: encoder_packet_time::fer"]
        [::std::mem::offset_of!(encoder_packet_time, fer) - 16usize];
    ["Offset of field: encoder_packet_time::ferc"]
        [::std::mem::offset_of!(encoder_packet_time, ferc) - 24usize];
    ["Offset of field: encoder_packet_time::pir"]
        [::std::mem::offset_of!(encoder_packet_time, pir) - 32usize];
};
#[doc = " Encoder output packet"]
#[repr(C)]
pub struct encoder_packet {
#[doc = "< Packet data"]
    pub data: *mut u8,
#[doc = "< Packet size"]
    pub size: usize,
#[doc = "< Presentation timestamp"]
    pub pts: i64,
#[doc = "< Decode timestamp"]
    pub dts: i64,
#[doc = "< Timebase numerator"]
    pub timebase_num: i32,
#[doc = "< Timebase denominator"]
    pub timebase_den: i32,
#[doc = "< Encoder type"]
    pub type_: obs_encoder_type,
#[doc = "< Is a keyframe"]
    pub keyframe: bool,
    pub dts_usec: i64,
    pub sys_dts_usec: i64,
#[doc = " Packet priority\n\n This is generally use by video encoders to specify the priority\n of the packet."]
    pub priority: ::std::os::raw::c_int,
#[doc = " Dropped packet priority\n\n If this packet needs to be dropped, the next packet must be of this\n priority or higher to continue transmission."]
    pub drop_priority: ::std::os::raw::c_int,
#[doc = " Audio track index (used with outputs)"]
    pub track_idx: usize,
#[doc = " Encoder from which the track originated from"]
    pub encoder: *mut obs_encoder_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of encoder_packet"][::std::mem::size_of::<encoder_packet>() - 88usize];
    ["Alignment of encoder_packet"][::std::mem::align_of::<encoder_packet>() - 8usize];
    ["Offset of field: encoder_packet::data"]
        [::std::mem::offset_of!(encoder_packet, data) - 0usize];
    ["Offset of field: encoder_packet::size"]
        [::std::mem::offset_of!(encoder_packet, size) - 8usize];
    ["Offset of field: encoder_packet::pts"][::std::mem::offset_of!(encoder_packet, pts) - 16usize];
    ["Offset of field: encoder_packet::dts"][::std::mem::offset_of!(encoder_packet, dts) - 24usize];
    ["Offset of field: encoder_packet::timebase_num"]
        [::std::mem::offset_of!(encoder_packet, timebase_num) - 32usize];
    ["Offset of field: encoder_packet::timebase_den"]
        [::std::mem::offset_of!(encoder_packet, timebase_den) - 36usize];
    ["Offset of field: encoder_packet::type_"]
        [::std::mem::offset_of!(encoder_packet, type_) - 40usize];
    ["Offset of field: encoder_packet::keyframe"]
        [::std::mem::offset_of!(encoder_packet, keyframe) - 44usize];
    ["Offset of field: encoder_packet::dts_usec"]
        [::std::mem::offset_of!(encoder_packet, dts_usec) - 48usize];
    ["Offset of field: encoder_packet::sys_dts_usec"]
        [::std::mem::offset_of!(encoder_packet, sys_dts_usec) - 56usize];
    ["Offset of field: encoder_packet::priority"]
        [::std::mem::offset_of!(encoder_packet, priority) - 64usize];
    ["Offset of field: encoder_packet::drop_priority"]
        [::std::mem::offset_of!(encoder_packet, drop_priority) - 68usize];
    ["Offset of field: encoder_packet::track_idx"]
        [::std::mem::offset_of!(encoder_packet, track_idx) - 72usize];
    ["Offset of field: encoder_packet::encoder"]
        [::std::mem::offset_of!(encoder_packet, encoder) - 80usize];
};
#[doc = " Encoder input frame"]
#[repr(C)]
pub struct encoder_frame {
#[doc = " Data for the frame/audio"]
    pub data: [*mut u8; 8usize],
#[doc = " size of each plane"]
    pub linesize: [u32; 8usize],
#[doc = " Number of frames (audio only)"]
    pub frames: u32,
#[doc = " Presentation timestamp"]
    pub pts: i64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of encoder_frame"][::std::mem::size_of::<encoder_frame>() - 112usize];
    ["Alignment of encoder_frame"][::std::mem::align_of::<encoder_frame>() - 8usize];
    ["Offset of field: encoder_frame::data"][::std::mem::offset_of!(encoder_frame, data) - 0usize];
    ["Offset of field: encoder_frame::linesize"]
        [::std::mem::offset_of!(encoder_frame, linesize) - 64usize];
    ["Offset of field: encoder_frame::frames"]
        [::std::mem::offset_of!(encoder_frame, frames) - 96usize];
    ["Offset of field: encoder_frame::pts"][::std::mem::offset_of!(encoder_frame, pts) - 104usize];
};
#[doc = " Encoder region of interest"]
#[repr(C)]
pub struct obs_encoder_roi {
    pub top: u32,
    pub bottom: u32,
    pub left: u32,
    pub right: u32,
    pub priority: f32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_encoder_roi"][::std::mem::size_of::<obs_encoder_roi>() - 20usize];
    ["Alignment of obs_encoder_roi"][::std::mem::align_of::<obs_encoder_roi>() - 4usize];
    ["Offset of field: obs_encoder_roi::top"]
        [::std::mem::offset_of!(obs_encoder_roi, top) - 0usize];
    ["Offset of field: obs_encoder_roi::bottom"]
        [::std::mem::offset_of!(obs_encoder_roi, bottom) - 4usize];
    ["Offset of field: obs_encoder_roi::left"]
        [::std::mem::offset_of!(obs_encoder_roi, left) - 8usize];
    ["Offset of field: obs_encoder_roi::right"]
        [::std::mem::offset_of!(obs_encoder_roi, right) - 12usize];
    ["Offset of field: obs_encoder_roi::priority"]
        [::std::mem::offset_of!(obs_encoder_roi, priority) - 16usize];
};
#[doc = " Encoder input texture"]
#[repr(C)]
pub struct encoder_texture {
#[doc = " Shared texture handle, only set on Windows"]
    pub handle: u32,
#[doc = " Textures, length determined by format"]
    pub tex: [*mut gs_texture; 4usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of encoder_texture"][::std::mem::size_of::<encoder_texture>() - 40usize];
    ["Alignment of encoder_texture"][::std::mem::align_of::<encoder_texture>() - 8usize];
    ["Offset of field: encoder_texture::handle"]
        [::std::mem::offset_of!(encoder_texture, handle) - 0usize];
    ["Offset of field: encoder_texture::tex"]
        [::std::mem::offset_of!(encoder_texture, tex) - 8usize];
};
#[doc = " Encoder interface\n\n Encoders have a limited usage with OBS.  You are not generally supposed to\n implement every encoder out there.  Generally, these are limited or specific\n encoders for h264/aac for streaming and recording.  It doesn't have to be\n *just* h264 or aac of course, but generally those are the expected encoders.\n\n That being said, other encoders will be kept in mind for future use."]
#[repr(C)]
pub struct obs_encoder_info {
#[doc = " Specifies the named identifier of this encoder"]
    pub id: *const ::std::os::raw::c_char,
#[doc = " Specifies the encoder type (video or audio)"]
    pub type_: obs_encoder_type,
#[doc = " Specifies the codec"]
    pub codec: *const ::std::os::raw::c_char,
#[doc = " Gets the full translated name of this encoder\n\n @param  type_data  The type_data variable of this structure\n @return            Translated name of the encoder"]
    pub get_name: ::std::option::Option<
        unsafe extern "C" fn(
            type_data: *mut ::std::os::raw::c_void,
        ) -> *const ::std::os::raw::c_char,
    >,
#[doc = " Creates the encoder with the specified settings\n\n @param  settings  Settings for the encoder\n @param  encoder   OBS encoder context\n @return           Data associated with this encoder context, or\n                   NULL if initialization failed."]
    pub create: ::std::option::Option<
        unsafe extern "C" fn(
            settings: *mut obs_data_t,
            encoder: *mut obs_encoder_t,
        ) -> *mut ::std::os::raw::c_void,
    >,
#[doc = " Destroys the encoder data\n\n @param  data  Data associated with this encoder context"]
    pub destroy: ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
#[doc = " Encodes frame(s), and outputs encoded packets as they become\n available.\n\n @param       data             Data associated with this encoder\n                               context\n @param\\[in\\]   frame            Raw audio/video data to encode\n @param\\[out\\]  packet           Encoder packet output, if any\n @param\\[out\\]  received_packet  Set to true if a packet was received,\n                               false otherwise\n @return                       true if successful, false otherwise."]
    pub encode: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            frame: *mut encoder_frame,
            packet: *mut encoder_packet,
            received_packet: *mut bool,
        ) -> bool,
    >,
#[doc = " Audio encoder only:  Returns the frame size for this encoder"]
    pub get_frame_size:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> usize>,
#[doc = " Gets the default settings for this encoder\n\n @param\\[out\\]  settings  Data to assign default settings to"]
    pub get_defaults: ::std::option::Option<unsafe extern "C" fn(settings: *mut obs_data_t)>,
#[doc = " Gets the property information of this encoder\n\n @return         The properties data"]
    pub get_properties: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> *mut obs_properties_t,
    >,
#[doc = " Updates the settings for this encoder (usually used for things like\n changing bitrate while active)\n\n @param  data      Data associated with this encoder context\n @param  settings  New settings for this encoder\n @return           true if successful, false otherwise"]
    pub update: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, settings: *mut obs_data_t) -> bool,
    >,
#[doc = " Returns extra data associated with this encoder (usually header)\n\n @param  data             Data associated with this encoder context\n @param\\[out\\]  extra_data  Pointer to receive the extra data\n @param\\[out\\]  size        Pointer to receive the size of the extra\n                          data\n @return                  true if extra data available, false\n                          otherwise"]
    pub get_extra_data: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            extra_data: *mut *mut u8,
            size: *mut usize,
        ) -> bool,
    >,
#[doc = " Gets the SEI data, if any\n\n @param       data      Data associated with this encoder context\n @param\\[out\\]  sei_data  Pointer to receive the SEI data\n @param\\[out\\]  size      Pointer to receive the SEI data size\n @return                true if SEI data available, false otherwise"]
    pub get_sei_data: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            sei_data: *mut *mut u8,
            size: *mut usize,
        ) -> bool,
    >,
#[doc = " Returns desired audio format and sample information\n\n @param          data  Data associated with this encoder context\n @param\\[in/out\\]  info  Audio format information"]
    pub get_audio_info: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, info: *mut audio_convert_info),
    >,
#[doc = " Returns desired video format information\n\n @param          data  Data associated with this encoder context\n @param\\[in/out\\]  info  Video format information"]
    pub get_video_info: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, info: *mut video_scale_info),
    >,
    pub type_data: *mut ::std::os::raw::c_void,
    pub free_type_data:
        ::std::option::Option<unsafe extern "C" fn(type_data: *mut ::std::os::raw::c_void)>,
    pub caps: u32,
#[doc = " Gets the default settings for this encoder\n\n If get_defaults is also defined both will be called, and the first\n call will be to get_defaults, then to get_defaults2.\n\n @param\\[out\\]  settings  Data to assign default settings to\n @param\\[in\\]   typedata  Type Data"]
    pub get_defaults2: ::std::option::Option<
        unsafe extern "C" fn(settings: *mut obs_data_t, type_data: *mut ::std::os::raw::c_void),
    >,
#[doc = " Gets the property information of this encoder\n\n @param\\[in\\]   data      Pointer from create (or null)\n @param\\[in\\]   typedata  Type Data\n @return                The properties data"]
    pub get_properties2: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            type_data: *mut ::std::os::raw::c_void,
        ) -> *mut obs_properties_t,
    >,
    pub encode_texture: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            handle: u32,
            pts: i64,
            lock_key: u64,
            next_key: *mut u64,
            packet: *mut encoder_packet,
            received_packet: *mut bool,
        ) -> bool,
    >,
    pub encode_texture2: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            texture: *mut encoder_texture,
            pts: i64,
            lock_key: u64,
            next_key: *mut u64,
            packet: *mut encoder_packet,
            received_packet: *mut bool,
        ) -> bool,
    >,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_encoder_info"][::std::mem::size_of::<obs_encoder_info>() - 176usize];
    ["Alignment of obs_encoder_info"][::std::mem::align_of::<obs_encoder_info>() - 8usize];
    ["Offset of field: obs_encoder_info::id"]
        [::std::mem::offset_of!(obs_encoder_info, id) - 0usize];
    ["Offset of field: obs_encoder_info::type_"]
        [::std::mem::offset_of!(obs_encoder_info, type_) - 8usize];
    ["Offset of field: obs_encoder_info::codec"]
        [::std::mem::offset_of!(obs_encoder_info, codec) - 16usize];
    ["Offset of field: obs_encoder_info::get_name"]
        [::std::mem::offset_of!(obs_encoder_info, get_name) - 24usize];
    ["Offset of field: obs_encoder_info::create"]
        [::std::mem::offset_of!(obs_encoder_info, create) - 32usize];
    ["Offset of field: obs_encoder_info::destroy"]
        [::std::mem::offset_of!(obs_encoder_info, destroy) - 40usize];
    ["Offset of field: obs_encoder_info::encode"]
        [::std::mem::offset_of!(obs_encoder_info, encode) - 48usize];
    ["Offset of field: obs_encoder_info::get_frame_size"]
        [::std::mem::offset_of!(obs_encoder_info, get_frame_size) - 56usize];
    ["Offset of field: obs_encoder_info::get_defaults"]
        [::std::mem::offset_of!(obs_encoder_info, get_defaults) - 64usize];
    ["Offset of field: obs_encoder_info::get_properties"]
        [::std::mem::offset_of!(obs_encoder_info, get_properties) - 72usize];
    ["Offset of field: obs_encoder_info::update"]
        [::std::mem::offset_of!(obs_encoder_info, update) - 80usize];
    ["Offset of field: obs_encoder_info::get_extra_data"]
        [::std::mem::offset_of!(obs_encoder_info, get_extra_data) - 88usize];
    ["Offset of field: obs_encoder_info::get_sei_data"]
        [::std::mem::offset_of!(obs_encoder_info, get_sei_data) - 96usize];
    ["Offset of field: obs_encoder_info::get_audio_info"]
        [::std::mem::offset_of!(obs_encoder_info, get_audio_info) - 104usize];
    ["Offset of field: obs_encoder_info::get_video_info"]
        [::std::mem::offset_of!(obs_encoder_info, get_video_info) - 112usize];
    ["Offset of field: obs_encoder_info::type_data"]
        [::std::mem::offset_of!(obs_encoder_info, type_data) - 120usize];
    ["Offset of field: obs_encoder_info::free_type_data"]
        [::std::mem::offset_of!(obs_encoder_info, free_type_data) - 128usize];
    ["Offset of field: obs_encoder_info::caps"]
        [::std::mem::offset_of!(obs_encoder_info, caps) - 136usize];
    ["Offset of field: obs_encoder_info::get_defaults2"]
        [::std::mem::offset_of!(obs_encoder_info, get_defaults2) - 144usize];
    ["Offset of field: obs_encoder_info::get_properties2"]
        [::std::mem::offset_of!(obs_encoder_info, get_properties2) - 152usize];
    ["Offset of field: obs_encoder_info::encode_texture"]
        [::std::mem::offset_of!(obs_encoder_info, encode_texture) - 160usize];
    ["Offset of field: obs_encoder_info::encode_texture2"]
        [::std::mem::offset_of!(obs_encoder_info, encode_texture2) - 168usize];
};
#[repr(C)]
pub struct obs_output_info {
    pub id: *const ::std::os::raw::c_char,
    pub flags: u32,
    pub get_name: ::std::option::Option<
        unsafe extern "C" fn(
            type_data: *mut ::std::os::raw::c_void,
        ) -> *const ::std::os::raw::c_char,
    >,
    pub create: ::std::option::Option<
        unsafe extern "C" fn(
            settings: *mut obs_data_t,
            output: *mut obs_output_t,
        ) -> *mut ::std::os::raw::c_void,
    >,
    pub destroy: ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
    pub start:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> bool>,
    pub stop:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, ts: u64)>,
    pub raw_video: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, frame: *mut video_data),
    >,
    pub raw_audio: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, frames: *mut audio_data),
    >,
    pub encoded_packet: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, packet: *mut encoder_packet),
    >,
    pub update: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, settings: *mut obs_data_t),
    >,
    pub get_defaults: ::std::option::Option<unsafe extern "C" fn(settings: *mut obs_data_t)>,
    pub get_properties: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> *mut obs_properties_t,
    >,
    pub unused1: ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
    pub get_total_bytes:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> u64>,
    pub get_dropped_frames: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
    >,
    pub type_data: *mut ::std::os::raw::c_void,
    pub free_type_data:
        ::std::option::Option<unsafe extern "C" fn(type_data: *mut ::std::os::raw::c_void)>,
    pub get_congestion:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> f32>,
    pub get_connect_time_ms: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
    >,
    pub encoded_video_codecs: *const ::std::os::raw::c_char,
    pub encoded_audio_codecs: *const ::std::os::raw::c_char,
    pub raw_audio2: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            idx: usize,
            frames: *mut audio_data,
        ),
    >,
    pub protocols: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_output_info"][::std::mem::size_of::<obs_output_info>() - 192usize];
    ["Alignment of obs_output_info"][::std::mem::align_of::<obs_output_info>() - 8usize];
    ["Offset of field: obs_output_info::id"][::std::mem::offset_of!(obs_output_info, id) - 0usize];
    ["Offset of field: obs_output_info::flags"]
        [::std::mem::offset_of!(obs_output_info, flags) - 8usize];
    ["Offset of field: obs_output_info::get_name"]
        [::std::mem::offset_of!(obs_output_info, get_name) - 16usize];
    ["Offset of field: obs_output_info::create"]
        [::std::mem::offset_of!(obs_output_info, create) - 24usize];
    ["Offset of field: obs_output_info::destroy"]
        [::std::mem::offset_of!(obs_output_info, destroy) - 32usize];
    ["Offset of field: obs_output_info::start"]
        [::std::mem::offset_of!(obs_output_info, start) - 40usize];
    ["Offset of field: obs_output_info::stop"]
        [::std::mem::offset_of!(obs_output_info, stop) - 48usize];
    ["Offset of field: obs_output_info::raw_video"]
        [::std::mem::offset_of!(obs_output_info, raw_video) - 56usize];
    ["Offset of field: obs_output_info::raw_audio"]
        [::std::mem::offset_of!(obs_output_info, raw_audio) - 64usize];
    ["Offset of field: obs_output_info::encoded_packet"]
        [::std::mem::offset_of!(obs_output_info, encoded_packet) - 72usize];
    ["Offset of field: obs_output_info::update"]
        [::std::mem::offset_of!(obs_output_info, update) - 80usize];
    ["Offset of field: obs_output_info::get_defaults"]
        [::std::mem::offset_of!(obs_output_info, get_defaults) - 88usize];
    ["Offset of field: obs_output_info::get_properties"]
        [::std::mem::offset_of!(obs_output_info, get_properties) - 96usize];
    ["Offset of field: obs_output_info::unused1"]
        [::std::mem::offset_of!(obs_output_info, unused1) - 104usize];
    ["Offset of field: obs_output_info::get_total_bytes"]
        [::std::mem::offset_of!(obs_output_info, get_total_bytes) - 112usize];
    ["Offset of field: obs_output_info::get_dropped_frames"]
        [::std::mem::offset_of!(obs_output_info, get_dropped_frames) - 120usize];
    ["Offset of field: obs_output_info::type_data"]
        [::std::mem::offset_of!(obs_output_info, type_data) - 128usize];
    ["Offset of field: obs_output_info::free_type_data"]
        [::std::mem::offset_of!(obs_output_info, free_type_data) - 136usize];
    ["Offset of field: obs_output_info::get_congestion"]
        [::std::mem::offset_of!(obs_output_info, get_congestion) - 144usize];
    ["Offset of field: obs_output_info::get_connect_time_ms"]
        [::std::mem::offset_of!(obs_output_info, get_connect_time_ms) - 152usize];
    ["Offset of field: obs_output_info::encoded_video_codecs"]
        [::std::mem::offset_of!(obs_output_info, encoded_video_codecs) - 160usize];
    ["Offset of field: obs_output_info::encoded_audio_codecs"]
        [::std::mem::offset_of!(obs_output_info, encoded_audio_codecs) - 168usize];
    ["Offset of field: obs_output_info::raw_audio2"]
        [::std::mem::offset_of!(obs_output_info, raw_audio2) - 176usize];
    ["Offset of field: obs_output_info::protocols"]
        [::std::mem::offset_of!(obs_output_info, protocols) - 184usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_service_resolution {
    pub cx: ::std::os::raw::c_int,
    pub cy: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_service_resolution"][::std::mem::size_of::<obs_service_resolution>() - 8usize];
    ["Alignment of obs_service_resolution"]
        [::std::mem::align_of::<obs_service_resolution>() - 4usize];
    ["Offset of field: obs_service_resolution::cx"]
        [::std::mem::offset_of!(obs_service_resolution, cx) - 0usize];
    ["Offset of field: obs_service_resolution::cy"]
        [::std::mem::offset_of!(obs_service_resolution, cy) - 4usize];
};
pub const obs_service_connect_info_OBS_SERVICE_CONNECT_INFO_SERVER_URL: obs_service_connect_info =
    0;
pub const obs_service_connect_info_OBS_SERVICE_CONNECT_INFO_STREAM_ID: obs_service_connect_info = 2;
pub const obs_service_connect_info_OBS_SERVICE_CONNECT_INFO_STREAM_KEY: obs_service_connect_info =
    2;
pub const obs_service_connect_info_OBS_SERVICE_CONNECT_INFO_USERNAME: obs_service_connect_info = 4;
pub const obs_service_connect_info_OBS_SERVICE_CONNECT_INFO_PASSWORD: obs_service_connect_info = 6;
pub const obs_service_connect_info_OBS_SERVICE_CONNECT_INFO_ENCRYPT_PASSPHRASE:
    obs_service_connect_info = 8;
pub const obs_service_connect_info_OBS_SERVICE_CONNECT_INFO_BEARER_TOKEN: obs_service_connect_info =
    10;
pub type obs_service_connect_info = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_service_info {
    pub id: *const ::std::os::raw::c_char,
    pub get_name: ::std::option::Option<
        unsafe extern "C" fn(
            type_data: *mut ::std::os::raw::c_void,
        ) -> *const ::std::os::raw::c_char,
    >,
    pub create: ::std::option::Option<
        unsafe extern "C" fn(
            settings: *mut obs_data_t,
            service: *mut obs_service_t,
        ) -> *mut ::std::os::raw::c_void,
    >,
    pub destroy: ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
    pub activate: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, settings: *mut obs_data_t),
    >,
    pub deactivate: ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void)>,
    pub update: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, settings: *mut obs_data_t),
    >,
    pub get_defaults: ::std::option::Option<unsafe extern "C" fn(settings: *mut obs_data_t)>,
    pub get_properties: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> *mut obs_properties_t,
    >,
#[doc = " Called when getting ready to start up an output, before the encoders\n and output are initialized\n\n @param  data    Internal service data\n @param  output  Output context\n @return         true to allow the output to start up,\n                 false to prevent output from starting up"]
    pub initialize: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, output: *mut obs_output_t) -> bool,
    >,
    pub get_url: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char,
    >,
    pub get_key: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char,
    >,
    pub get_username: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char,
    >,
    pub get_password: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char,
    >,
    pub deprecated_1: ::std::option::Option<unsafe extern "C" fn() -> bool>,
    pub apply_encoder_settings: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            video_encoder_settings: *mut obs_data_t,
            audio_encoder_settings: *mut obs_data_t,
        ),
    >,
    pub type_data: *mut ::std::os::raw::c_void,
    pub free_type_data:
        ::std::option::Option<unsafe extern "C" fn(type_data: *mut ::std::os::raw::c_void)>,
    pub get_output_type: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char,
    >,
    pub get_supported_resolutions: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            resolutions: *mut *mut obs_service_resolution,
            count: *mut usize,
        ),
    >,
    pub get_max_fps: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, fps: *mut ::std::os::raw::c_int),
    >,
    pub get_max_bitrate: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            video_bitrate: *mut ::std::os::raw::c_int,
            audio_bitrate: *mut ::std::os::raw::c_int,
        ),
    >,
    pub get_supported_video_codecs: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
        ) -> *mut *const ::std::os::raw::c_char,
    >,
    pub get_protocol: ::std::option::Option<
        unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char,
    >,
    pub get_supported_audio_codecs: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
        ) -> *mut *const ::std::os::raw::c_char,
    >,
    pub get_connect_info: ::std::option::Option<
        unsafe extern "C" fn(
            data: *mut ::std::os::raw::c_void,
            type_: u32,
        ) -> *const ::std::os::raw::c_char,
    >,
    pub can_try_to_connect:
        ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> bool>,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_service_info"][::std::mem::size_of::<obs_service_info>() - 216usize];
    ["Alignment of obs_service_info"][::std::mem::align_of::<obs_service_info>() - 8usize];
    ["Offset of field: obs_service_info::id"]
        [::std::mem::offset_of!(obs_service_info, id) - 0usize];
    ["Offset of field: obs_service_info::get_name"]
        [::std::mem::offset_of!(obs_service_info, get_name) - 8usize];
    ["Offset of field: obs_service_info::create"]
        [::std::mem::offset_of!(obs_service_info, create) - 16usize];
    ["Offset of field: obs_service_info::destroy"]
        [::std::mem::offset_of!(obs_service_info, destroy) - 24usize];
    ["Offset of field: obs_service_info::activate"]
        [::std::mem::offset_of!(obs_service_info, activate) - 32usize];
    ["Offset of field: obs_service_info::deactivate"]
        [::std::mem::offset_of!(obs_service_info, deactivate) - 40usize];
    ["Offset of field: obs_service_info::update"]
        [::std::mem::offset_of!(obs_service_info, update) - 48usize];
    ["Offset of field: obs_service_info::get_defaults"]
        [::std::mem::offset_of!(obs_service_info, get_defaults) - 56usize];
    ["Offset of field: obs_service_info::get_properties"]
        [::std::mem::offset_of!(obs_service_info, get_properties) - 64usize];
    ["Offset of field: obs_service_info::initialize"]
        [::std::mem::offset_of!(obs_service_info, initialize) - 72usize];
    ["Offset of field: obs_service_info::get_url"]
        [::std::mem::offset_of!(obs_service_info, get_url) - 80usize];
    ["Offset of field: obs_service_info::get_key"]
        [::std::mem::offset_of!(obs_service_info, get_key) - 88usize];
    ["Offset of field: obs_service_info::get_username"]
        [::std::mem::offset_of!(obs_service_info, get_username) - 96usize];
    ["Offset of field: obs_service_info::get_password"]
        [::std::mem::offset_of!(obs_service_info, get_password) - 104usize];
    ["Offset of field: obs_service_info::deprecated_1"]
        [::std::mem::offset_of!(obs_service_info, deprecated_1) - 112usize];
    ["Offset of field: obs_service_info::apply_encoder_settings"]
        [::std::mem::offset_of!(obs_service_info, apply_encoder_settings) - 120usize];
    ["Offset of field: obs_service_info::type_data"]
        [::std::mem::offset_of!(obs_service_info, type_data) - 128usize];
    ["Offset of field: obs_service_info::free_type_data"]
        [::std::mem::offset_of!(obs_service_info, free_type_data) - 136usize];
    ["Offset of field: obs_service_info::get_output_type"]
        [::std::mem::offset_of!(obs_service_info, get_output_type) - 144usize];
    ["Offset of field: obs_service_info::get_supported_resolutions"]
        [::std::mem::offset_of!(obs_service_info, get_supported_resolutions) - 152usize];
    ["Offset of field: obs_service_info::get_max_fps"]
        [::std::mem::offset_of!(obs_service_info, get_max_fps) - 160usize];
    ["Offset of field: obs_service_info::get_max_bitrate"]
        [::std::mem::offset_of!(obs_service_info, get_max_bitrate) - 168usize];
    ["Offset of field: obs_service_info::get_supported_video_codecs"]
        [::std::mem::offset_of!(obs_service_info, get_supported_video_codecs) - 176usize];
    ["Offset of field: obs_service_info::get_protocol"]
        [::std::mem::offset_of!(obs_service_info, get_protocol) - 184usize];
    ["Offset of field: obs_service_info::get_supported_audio_codecs"]
        [::std::mem::offset_of!(obs_service_info, get_supported_audio_codecs) - 192usize];
    ["Offset of field: obs_service_info::get_connect_info"]
        [::std::mem::offset_of!(obs_service_info, get_connect_info) - 200usize];
    ["Offset of field: obs_service_info::can_try_to_connect"]
        [::std::mem::offset_of!(obs_service_info, can_try_to_connect) - 208usize];
};
#[doc = " @brief A simple cubic fader for controlling audio levels\n\n This is a very common type of software fader since it yields good\n results while being quite performant.\n The input value is mapped to mul values with the simple formula x^3."]
pub const obs_fader_type_OBS_FADER_CUBIC: obs_fader_type = 0;
#[doc = " @brief A fader compliant to IEC 60-268-18\n\n This type of fader has several segments with different slopes that\n map deflection linearly to dB values. The segments are defined as\n in the following table:\n\n@code\nDeflection           | Volume\n------------------------------------------\n\\[ 100   %, 75   % \\]  | \\[   0 dB,   -9 dB \\]\n\\[  75   %, 50   % \\]  | \\[  -9 dB,  -20 dB \\]\n\\[  50   %, 30   % \\]  | \\[ -20 dB,  -30 dB \\]\n\\[  30   %, 15   % \\]  | \\[ -30 dB,  -40 dB \\]\n\\[  15   %,  7.5 % \\]  | \\[ -40 dB,  -50 dB \\]\n\\[   7.5 %,  2.5 % \\]  | \\[ -50 dB,  -60 dB \\]\n\\[   2.5 %,  0   % \\]  | \\[ -60 dB, -inf dB \\]\n@endcode"]
pub const obs_fader_type_OBS_FADER_IEC: obs_fader_type = 1;
#[doc = " @brief Logarithmic fader"]
pub const obs_fader_type_OBS_FADER_LOG: obs_fader_type = 2;
#[doc = " @brief Fader types"]
pub type obs_fader_type = ::std::os::raw::c_int;
#[doc = " @brief A simple peak meter measuring the maximum of all samples.\n\n This was a very common type of peak meter used for audio, but\n is not very accurate with regards to further audio processing."]
pub const obs_peak_meter_type_SAMPLE_PEAK_METER: obs_peak_meter_type = 0;
#[doc = " @brief An accurate peak meter measure the maximum of inter-samples.\n\n This meter is more computational intensive due to 4x oversampling\n to determine the true peak to an accuracy of +/- 0.5 dB."]
pub const obs_peak_meter_type_TRUE_PEAK_METER: obs_peak_meter_type = 1;
#[doc = " @brief Peak meter types"]
pub type obs_peak_meter_type = ::std::os::raw::c_int;
pub type obs_fader_changed_t =
    ::std::option::Option<unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, db: f32)>;
pub type obs_volmeter_updated_t = ::std::option::Option<
    unsafe extern "C" fn(
        param: *mut ::std::os::raw::c_void,
        magnitude: *const f32,
        peak: *const f32,
        input_peak: *const f32,
    ),
>;
pub type obs_fader_conversion_t = ::std::option::Option<unsafe extern "C" fn(val: f32) -> f32>;
pub type obs_hotkey_id = usize;
pub type obs_hotkey_pair_id = usize;
pub const obs_key_OBS_KEY_NONE: obs_key = 0;
pub const obs_key_OBS_KEY_RETURN: obs_key = 1;
pub const obs_key_OBS_KEY_ENTER: obs_key = 2;
pub const obs_key_OBS_KEY_ESCAPE: obs_key = 3;
pub const obs_key_OBS_KEY_TAB: obs_key = 4;
pub const obs_key_OBS_KEY_BACKTAB: obs_key = 5;
pub const obs_key_OBS_KEY_BACKSPACE: obs_key = 6;
pub const obs_key_OBS_KEY_INSERT: obs_key = 7;
pub const obs_key_OBS_KEY_DELETE: obs_key = 8;
pub const obs_key_OBS_KEY_PAUSE: obs_key = 9;
pub const obs_key_OBS_KEY_PRINT: obs_key = 10;
pub const obs_key_OBS_KEY_SYSREQ: obs_key = 11;
pub const obs_key_OBS_KEY_CLEAR: obs_key = 12;
pub const obs_key_OBS_KEY_HOME: obs_key = 13;
pub const obs_key_OBS_KEY_END: obs_key = 14;
pub const obs_key_OBS_KEY_LEFT: obs_key = 15;
pub const obs_key_OBS_KEY_UP: obs_key = 16;
pub const obs_key_OBS_KEY_RIGHT: obs_key = 17;
pub const obs_key_OBS_KEY_DOWN: obs_key = 18;
pub const obs_key_OBS_KEY_PAGEUP: obs_key = 19;
pub const obs_key_OBS_KEY_PAGEDOWN: obs_key = 20;
pub const obs_key_OBS_KEY_SHIFT: obs_key = 21;
pub const obs_key_OBS_KEY_CONTROL: obs_key = 22;
pub const obs_key_OBS_KEY_META: obs_key = 23;
pub const obs_key_OBS_KEY_ALT: obs_key = 24;
pub const obs_key_OBS_KEY_ALTGR: obs_key = 25;
pub const obs_key_OBS_KEY_CAPSLOCK: obs_key = 26;
pub const obs_key_OBS_KEY_NUMLOCK: obs_key = 27;
pub const obs_key_OBS_KEY_SCROLLLOCK: obs_key = 28;
pub const obs_key_OBS_KEY_F1: obs_key = 29;
pub const obs_key_OBS_KEY_F2: obs_key = 30;
pub const obs_key_OBS_KEY_F3: obs_key = 31;
pub const obs_key_OBS_KEY_F4: obs_key = 32;
pub const obs_key_OBS_KEY_F5: obs_key = 33;
pub const obs_key_OBS_KEY_F6: obs_key = 34;
pub const obs_key_OBS_KEY_F7: obs_key = 35;
pub const obs_key_OBS_KEY_F8: obs_key = 36;
pub const obs_key_OBS_KEY_F9: obs_key = 37;
pub const obs_key_OBS_KEY_F10: obs_key = 38;
pub const obs_key_OBS_KEY_F11: obs_key = 39;
pub const obs_key_OBS_KEY_F12: obs_key = 40;
pub const obs_key_OBS_KEY_F13: obs_key = 41;
pub const obs_key_OBS_KEY_F14: obs_key = 42;
pub const obs_key_OBS_KEY_F15: obs_key = 43;
pub const obs_key_OBS_KEY_F16: obs_key = 44;
pub const obs_key_OBS_KEY_F17: obs_key = 45;
pub const obs_key_OBS_KEY_F18: obs_key = 46;
pub const obs_key_OBS_KEY_F19: obs_key = 47;
pub const obs_key_OBS_KEY_F20: obs_key = 48;
pub const obs_key_OBS_KEY_F21: obs_key = 49;
pub const obs_key_OBS_KEY_F22: obs_key = 50;
pub const obs_key_OBS_KEY_F23: obs_key = 51;
pub const obs_key_OBS_KEY_F24: obs_key = 52;
pub const obs_key_OBS_KEY_F25: obs_key = 53;
pub const obs_key_OBS_KEY_F26: obs_key = 54;
pub const obs_key_OBS_KEY_F27: obs_key = 55;
pub const obs_key_OBS_KEY_F28: obs_key = 56;
pub const obs_key_OBS_KEY_F29: obs_key = 57;
pub const obs_key_OBS_KEY_F30: obs_key = 58;
pub const obs_key_OBS_KEY_F31: obs_key = 59;
pub const obs_key_OBS_KEY_F32: obs_key = 60;
pub const obs_key_OBS_KEY_F33: obs_key = 61;
pub const obs_key_OBS_KEY_F34: obs_key = 62;
pub const obs_key_OBS_KEY_F35: obs_key = 63;
pub const obs_key_OBS_KEY_MENU: obs_key = 64;
pub const obs_key_OBS_KEY_HYPER_L: obs_key = 65;
pub const obs_key_OBS_KEY_HYPER_R: obs_key = 66;
pub const obs_key_OBS_KEY_HELP: obs_key = 67;
pub const obs_key_OBS_KEY_DIRECTION_L: obs_key = 68;
pub const obs_key_OBS_KEY_DIRECTION_R: obs_key = 69;
pub const obs_key_OBS_KEY_SPACE: obs_key = 70;
pub const obs_key_OBS_KEY_EXCLAM: obs_key = 71;
pub const obs_key_OBS_KEY_QUOTEDBL: obs_key = 72;
pub const obs_key_OBS_KEY_NUMBERSIGN: obs_key = 73;
pub const obs_key_OBS_KEY_DOLLAR: obs_key = 74;
pub const obs_key_OBS_KEY_PERCENT: obs_key = 75;
pub const obs_key_OBS_KEY_AMPERSAND: obs_key = 76;
pub const obs_key_OBS_KEY_APOSTROPHE: obs_key = 77;
pub const obs_key_OBS_KEY_PARENLEFT: obs_key = 78;
pub const obs_key_OBS_KEY_PARENRIGHT: obs_key = 79;
pub const obs_key_OBS_KEY_ASTERISK: obs_key = 80;
pub const obs_key_OBS_KEY_PLUS: obs_key = 81;
pub const obs_key_OBS_KEY_COMMA: obs_key = 82;
pub const obs_key_OBS_KEY_MINUS: obs_key = 83;
pub const obs_key_OBS_KEY_PERIOD: obs_key = 84;
pub const obs_key_OBS_KEY_SLASH: obs_key = 85;
pub const obs_key_OBS_KEY_0: obs_key = 86;
pub const obs_key_OBS_KEY_1: obs_key = 87;
pub const obs_key_OBS_KEY_2: obs_key = 88;
pub const obs_key_OBS_KEY_3: obs_key = 89;
pub const obs_key_OBS_KEY_4: obs_key = 90;
pub const obs_key_OBS_KEY_5: obs_key = 91;
pub const obs_key_OBS_KEY_6: obs_key = 92;
pub const obs_key_OBS_KEY_7: obs_key = 93;
pub const obs_key_OBS_KEY_8: obs_key = 94;
pub const obs_key_OBS_KEY_9: obs_key = 95;
pub const obs_key_OBS_KEY_NUMEQUAL: obs_key = 96;
pub const obs_key_OBS_KEY_NUMASTERISK: obs_key = 97;
pub const obs_key_OBS_KEY_NUMPLUS: obs_key = 98;
pub const obs_key_OBS_KEY_NUMCOMMA: obs_key = 99;
pub const obs_key_OBS_KEY_NUMMINUS: obs_key = 100;
pub const obs_key_OBS_KEY_NUMPERIOD: obs_key = 101;
pub const obs_key_OBS_KEY_NUMSLASH: obs_key = 102;
pub const obs_key_OBS_KEY_NUM0: obs_key = 103;
pub const obs_key_OBS_KEY_NUM1: obs_key = 104;
pub const obs_key_OBS_KEY_NUM2: obs_key = 105;
pub const obs_key_OBS_KEY_NUM3: obs_key = 106;
pub const obs_key_OBS_KEY_NUM4: obs_key = 107;
pub const obs_key_OBS_KEY_NUM5: obs_key = 108;
pub const obs_key_OBS_KEY_NUM6: obs_key = 109;
pub const obs_key_OBS_KEY_NUM7: obs_key = 110;
pub const obs_key_OBS_KEY_NUM8: obs_key = 111;
pub const obs_key_OBS_KEY_NUM9: obs_key = 112;
pub const obs_key_OBS_KEY_COLON: obs_key = 113;
pub const obs_key_OBS_KEY_SEMICOLON: obs_key = 114;
pub const obs_key_OBS_KEY_QUOTE: obs_key = 115;
pub const obs_key_OBS_KEY_LESS: obs_key = 116;
pub const obs_key_OBS_KEY_EQUAL: obs_key = 117;
pub const obs_key_OBS_KEY_GREATER: obs_key = 118;
pub const obs_key_OBS_KEY_QUESTION: obs_key = 119;
pub const obs_key_OBS_KEY_AT: obs_key = 120;
pub const obs_key_OBS_KEY_A: obs_key = 121;
pub const obs_key_OBS_KEY_B: obs_key = 122;
pub const obs_key_OBS_KEY_C: obs_key = 123;
pub const obs_key_OBS_KEY_D: obs_key = 124;
pub const obs_key_OBS_KEY_E: obs_key = 125;
pub const obs_key_OBS_KEY_F: obs_key = 126;
pub const obs_key_OBS_KEY_G: obs_key = 127;
pub const obs_key_OBS_KEY_H: obs_key = 128;
pub const obs_key_OBS_KEY_I: obs_key = 129;
pub const obs_key_OBS_KEY_J: obs_key = 130;
pub const obs_key_OBS_KEY_K: obs_key = 131;
pub const obs_key_OBS_KEY_L: obs_key = 132;
pub const obs_key_OBS_KEY_M: obs_key = 133;
pub const obs_key_OBS_KEY_N: obs_key = 134;
pub const obs_key_OBS_KEY_O: obs_key = 135;
pub const obs_key_OBS_KEY_P: obs_key = 136;
pub const obs_key_OBS_KEY_Q: obs_key = 137;
pub const obs_key_OBS_KEY_R: obs_key = 138;
pub const obs_key_OBS_KEY_S: obs_key = 139;
pub const obs_key_OBS_KEY_T: obs_key = 140;
pub const obs_key_OBS_KEY_U: obs_key = 141;
pub const obs_key_OBS_KEY_V: obs_key = 142;
pub const obs_key_OBS_KEY_W: obs_key = 143;
pub const obs_key_OBS_KEY_X: obs_key = 144;
pub const obs_key_OBS_KEY_Y: obs_key = 145;
pub const obs_key_OBS_KEY_Z: obs_key = 146;
pub const obs_key_OBS_KEY_BRACKETLEFT: obs_key = 147;
pub const obs_key_OBS_KEY_BACKSLASH: obs_key = 148;
pub const obs_key_OBS_KEY_BRACKETRIGHT: obs_key = 149;
pub const obs_key_OBS_KEY_ASCIICIRCUM: obs_key = 150;
pub const obs_key_OBS_KEY_UNDERSCORE: obs_key = 151;
pub const obs_key_OBS_KEY_QUOTELEFT: obs_key = 152;
pub const obs_key_OBS_KEY_BRACELEFT: obs_key = 153;
pub const obs_key_OBS_KEY_BAR: obs_key = 154;
pub const obs_key_OBS_KEY_BRACERIGHT: obs_key = 155;
pub const obs_key_OBS_KEY_ASCIITILDE: obs_key = 156;
pub const obs_key_OBS_KEY_NOBREAKSPACE: obs_key = 157;
pub const obs_key_OBS_KEY_EXCLAMDOWN: obs_key = 158;
pub const obs_key_OBS_KEY_CENT: obs_key = 159;
pub const obs_key_OBS_KEY_STERLING: obs_key = 160;
pub const obs_key_OBS_KEY_CURRENCY: obs_key = 161;
pub const obs_key_OBS_KEY_YEN: obs_key = 162;
pub const obs_key_OBS_KEY_BROKENBAR: obs_key = 163;
pub const obs_key_OBS_KEY_SECTION: obs_key = 164;
pub const obs_key_OBS_KEY_DIAERESIS: obs_key = 165;
pub const obs_key_OBS_KEY_COPYRIGHT: obs_key = 166;
pub const obs_key_OBS_KEY_ORDFEMININE: obs_key = 167;
pub const obs_key_OBS_KEY_GUILLEMOTLEFT: obs_key = 168;
pub const obs_key_OBS_KEY_NOTSIGN: obs_key = 169;
pub const obs_key_OBS_KEY_HYPHEN: obs_key = 170;
pub const obs_key_OBS_KEY_REGISTERED: obs_key = 171;
pub const obs_key_OBS_KEY_MACRON: obs_key = 172;
pub const obs_key_OBS_KEY_DEGREE: obs_key = 173;
pub const obs_key_OBS_KEY_PLUSMINUS: obs_key = 174;
pub const obs_key_OBS_KEY_TWOSUPERIOR: obs_key = 175;
pub const obs_key_OBS_KEY_THREESUPERIOR: obs_key = 176;
pub const obs_key_OBS_KEY_ACUTE: obs_key = 177;
pub const obs_key_OBS_KEY_MU: obs_key = 178;
pub const obs_key_OBS_KEY_PARAGRAPH: obs_key = 179;
pub const obs_key_OBS_KEY_PERIODCENTERED: obs_key = 180;
pub const obs_key_OBS_KEY_CEDILLA: obs_key = 181;
pub const obs_key_OBS_KEY_ONESUPERIOR: obs_key = 182;
pub const obs_key_OBS_KEY_MASCULINE: obs_key = 183;
pub const obs_key_OBS_KEY_GUILLEMOTRIGHT: obs_key = 184;
pub const obs_key_OBS_KEY_ONEQUARTER: obs_key = 185;
pub const obs_key_OBS_KEY_ONEHALF: obs_key = 186;
pub const obs_key_OBS_KEY_THREEQUARTERS: obs_key = 187;
pub const obs_key_OBS_KEY_QUESTIONDOWN: obs_key = 188;
pub const obs_key_OBS_KEY_AGRAVE: obs_key = 189;
pub const obs_key_OBS_KEY_AACUTE: obs_key = 190;
pub const obs_key_OBS_KEY_ACIRCUMFLEX: obs_key = 191;
pub const obs_key_OBS_KEY_ATILDE: obs_key = 192;
pub const obs_key_OBS_KEY_ADIAERESIS: obs_key = 193;
pub const obs_key_OBS_KEY_ARING: obs_key = 194;
pub const obs_key_OBS_KEY_AE: obs_key = 195;
pub const obs_key_OBS_KEY_CCEDILLA: obs_key = 196;
pub const obs_key_OBS_KEY_EGRAVE: obs_key = 197;
pub const obs_key_OBS_KEY_EACUTE: obs_key = 198;
pub const obs_key_OBS_KEY_ECIRCUMFLEX: obs_key = 199;
pub const obs_key_OBS_KEY_EDIAERESIS: obs_key = 200;
pub const obs_key_OBS_KEY_IGRAVE: obs_key = 201;
pub const obs_key_OBS_KEY_IACUTE: obs_key = 202;
pub const obs_key_OBS_KEY_ICIRCUMFLEX: obs_key = 203;
pub const obs_key_OBS_KEY_IDIAERESIS: obs_key = 204;
pub const obs_key_OBS_KEY_ETH: obs_key = 205;
pub const obs_key_OBS_KEY_NTILDE: obs_key = 206;
pub const obs_key_OBS_KEY_OGRAVE: obs_key = 207;
pub const obs_key_OBS_KEY_OACUTE: obs_key = 208;
pub const obs_key_OBS_KEY_OCIRCUMFLEX: obs_key = 209;
pub const obs_key_OBS_KEY_OTILDE: obs_key = 210;
pub const obs_key_OBS_KEY_ODIAERESIS: obs_key = 211;
pub const obs_key_OBS_KEY_MULTIPLY: obs_key = 212;
pub const obs_key_OBS_KEY_OOBLIQUE: obs_key = 213;
pub const obs_key_OBS_KEY_UGRAVE: obs_key = 214;
pub const obs_key_OBS_KEY_UACUTE: obs_key = 215;
pub const obs_key_OBS_KEY_UCIRCUMFLEX: obs_key = 216;
pub const obs_key_OBS_KEY_UDIAERESIS: obs_key = 217;
pub const obs_key_OBS_KEY_YACUTE: obs_key = 218;
pub const obs_key_OBS_KEY_THORN: obs_key = 219;
pub const obs_key_OBS_KEY_SSHARP: obs_key = 220;
pub const obs_key_OBS_KEY_DIVISION: obs_key = 221;
pub const obs_key_OBS_KEY_YDIAERESIS: obs_key = 222;
pub const obs_key_OBS_KEY_MULTI_KEY: obs_key = 223;
pub const obs_key_OBS_KEY_CODEINPUT: obs_key = 224;
pub const obs_key_OBS_KEY_SINGLECANDIDATE: obs_key = 225;
pub const obs_key_OBS_KEY_MULTIPLECANDIDATE: obs_key = 226;
pub const obs_key_OBS_KEY_PREVIOUSCANDIDATE: obs_key = 227;
pub const obs_key_OBS_KEY_MODE_SWITCH: obs_key = 228;
pub const obs_key_OBS_KEY_KANJI: obs_key = 229;
pub const obs_key_OBS_KEY_MUHENKAN: obs_key = 230;
pub const obs_key_OBS_KEY_HENKAN: obs_key = 231;
pub const obs_key_OBS_KEY_ROMAJI: obs_key = 232;
pub const obs_key_OBS_KEY_HIRAGANA: obs_key = 233;
pub const obs_key_OBS_KEY_KATAKANA: obs_key = 234;
pub const obs_key_OBS_KEY_HIRAGANA_KATAKANA: obs_key = 235;
pub const obs_key_OBS_KEY_ZENKAKU: obs_key = 236;
pub const obs_key_OBS_KEY_HANKAKU: obs_key = 237;
pub const obs_key_OBS_KEY_ZENKAKU_HANKAKU: obs_key = 238;
pub const obs_key_OBS_KEY_TOUROKU: obs_key = 239;
pub const obs_key_OBS_KEY_MASSYO: obs_key = 240;
pub const obs_key_OBS_KEY_KANA_LOCK: obs_key = 241;
pub const obs_key_OBS_KEY_KANA_SHIFT: obs_key = 242;
pub const obs_key_OBS_KEY_EISU_SHIFT: obs_key = 243;
pub const obs_key_OBS_KEY_EISU_TOGGLE: obs_key = 244;
pub const obs_key_OBS_KEY_HANGUL: obs_key = 245;
pub const obs_key_OBS_KEY_HANGUL_START: obs_key = 246;
pub const obs_key_OBS_KEY_HANGUL_END: obs_key = 247;
pub const obs_key_OBS_KEY_HANGUL_HANJA: obs_key = 248;
pub const obs_key_OBS_KEY_HANGUL_JAMO: obs_key = 249;
pub const obs_key_OBS_KEY_HANGUL_ROMAJA: obs_key = 250;
pub const obs_key_OBS_KEY_HANGUL_JEONJA: obs_key = 251;
pub const obs_key_OBS_KEY_HANGUL_BANJA: obs_key = 252;
pub const obs_key_OBS_KEY_HANGUL_PREHANJA: obs_key = 253;
pub const obs_key_OBS_KEY_HANGUL_POSTHANJA: obs_key = 254;
pub const obs_key_OBS_KEY_HANGUL_SPECIAL: obs_key = 255;
pub const obs_key_OBS_KEY_DEAD_GRAVE: obs_key = 256;
pub const obs_key_OBS_KEY_DEAD_ACUTE: obs_key = 257;
pub const obs_key_OBS_KEY_DEAD_CIRCUMFLEX: obs_key = 258;
pub const obs_key_OBS_KEY_DEAD_TILDE: obs_key = 259;
pub const obs_key_OBS_KEY_DEAD_MACRON: obs_key = 260;
pub const obs_key_OBS_KEY_DEAD_BREVE: obs_key = 261;
pub const obs_key_OBS_KEY_DEAD_ABOVEDOT: obs_key = 262;
pub const obs_key_OBS_KEY_DEAD_DIAERESIS: obs_key = 263;
pub const obs_key_OBS_KEY_DEAD_ABOVERING: obs_key = 264;
pub const obs_key_OBS_KEY_DEAD_DOUBLEACUTE: obs_key = 265;
pub const obs_key_OBS_KEY_DEAD_CARON: obs_key = 266;
pub const obs_key_OBS_KEY_DEAD_CEDILLA: obs_key = 267;
pub const obs_key_OBS_KEY_DEAD_OGONEK: obs_key = 268;
pub const obs_key_OBS_KEY_DEAD_IOTA: obs_key = 269;
pub const obs_key_OBS_KEY_DEAD_VOICED_SOUND: obs_key = 270;
pub const obs_key_OBS_KEY_DEAD_SEMIVOICED_SOUND: obs_key = 271;
pub const obs_key_OBS_KEY_DEAD_BELOWDOT: obs_key = 272;
pub const obs_key_OBS_KEY_DEAD_HOOK: obs_key = 273;
pub const obs_key_OBS_KEY_DEAD_HORN: obs_key = 274;
pub const obs_key_OBS_KEY_BACK: obs_key = 275;
pub const obs_key_OBS_KEY_FORWARD: obs_key = 276;
pub const obs_key_OBS_KEY_STOP: obs_key = 277;
pub const obs_key_OBS_KEY_REFRESH: obs_key = 278;
pub const obs_key_OBS_KEY_VOLUMEDOWN: obs_key = 279;
pub const obs_key_OBS_KEY_VOLUMEMUTE: obs_key = 280;
pub const obs_key_OBS_KEY_VOLUMEUP: obs_key = 281;
pub const obs_key_OBS_KEY_BASSBOOST: obs_key = 282;
pub const obs_key_OBS_KEY_BASSUP: obs_key = 283;
pub const obs_key_OBS_KEY_BASSDOWN: obs_key = 284;
pub const obs_key_OBS_KEY_TREBLEUP: obs_key = 285;
pub const obs_key_OBS_KEY_TREBLEDOWN: obs_key = 286;
pub const obs_key_OBS_KEY_MEDIAPLAY: obs_key = 287;
pub const obs_key_OBS_KEY_MEDIASTOP: obs_key = 288;
pub const obs_key_OBS_KEY_MEDIAPREVIOUS: obs_key = 289;
pub const obs_key_OBS_KEY_MEDIANEXT: obs_key = 290;
pub const obs_key_OBS_KEY_MEDIARECORD: obs_key = 291;
pub const obs_key_OBS_KEY_MEDIAPAUSE: obs_key = 292;
pub const obs_key_OBS_KEY_MEDIATOGGLEPLAYPAUSE: obs_key = 293;
pub const obs_key_OBS_KEY_HOMEPAGE: obs_key = 294;
pub const obs_key_OBS_KEY_FAVORITES: obs_key = 295;
pub const obs_key_OBS_KEY_SEARCH: obs_key = 296;
pub const obs_key_OBS_KEY_STANDBY: obs_key = 297;
pub const obs_key_OBS_KEY_OPENURL: obs_key = 298;
pub const obs_key_OBS_KEY_LAUNCHMAIL: obs_key = 299;
pub const obs_key_OBS_KEY_LAUNCHMEDIA: obs_key = 300;
pub const obs_key_OBS_KEY_LAUNCH0: obs_key = 301;
pub const obs_key_OBS_KEY_LAUNCH1: obs_key = 302;
pub const obs_key_OBS_KEY_LAUNCH2: obs_key = 303;
pub const obs_key_OBS_KEY_LAUNCH3: obs_key = 304;
pub const obs_key_OBS_KEY_LAUNCH4: obs_key = 305;
pub const obs_key_OBS_KEY_LAUNCH5: obs_key = 306;
pub const obs_key_OBS_KEY_LAUNCH6: obs_key = 307;
pub const obs_key_OBS_KEY_LAUNCH7: obs_key = 308;
pub const obs_key_OBS_KEY_LAUNCH8: obs_key = 309;
pub const obs_key_OBS_KEY_LAUNCH9: obs_key = 310;
pub const obs_key_OBS_KEY_LAUNCHA: obs_key = 311;
pub const obs_key_OBS_KEY_LAUNCHB: obs_key = 312;
pub const obs_key_OBS_KEY_LAUNCHC: obs_key = 313;
pub const obs_key_OBS_KEY_LAUNCHD: obs_key = 314;
pub const obs_key_OBS_KEY_LAUNCHE: obs_key = 315;
pub const obs_key_OBS_KEY_LAUNCHF: obs_key = 316;
pub const obs_key_OBS_KEY_LAUNCHG: obs_key = 317;
pub const obs_key_OBS_KEY_LAUNCHH: obs_key = 318;
pub const obs_key_OBS_KEY_MONBRIGHTNESSUP: obs_key = 319;
pub const obs_key_OBS_KEY_MONBRIGHTNESSDOWN: obs_key = 320;
pub const obs_key_OBS_KEY_KEYBOARDLIGHTONOFF: obs_key = 321;
pub const obs_key_OBS_KEY_KEYBOARDBRIGHTNESSUP: obs_key = 322;
pub const obs_key_OBS_KEY_KEYBOARDBRIGHTNESSDOWN: obs_key = 323;
pub const obs_key_OBS_KEY_POWEROFF: obs_key = 324;
pub const obs_key_OBS_KEY_WAKEUP: obs_key = 325;
pub const obs_key_OBS_KEY_EJECT: obs_key = 326;
pub const obs_key_OBS_KEY_SCREENSAVER: obs_key = 327;
pub const obs_key_OBS_KEY_WWW: obs_key = 328;
pub const obs_key_OBS_KEY_MEMO: obs_key = 329;
pub const obs_key_OBS_KEY_LIGHTBULB: obs_key = 330;
pub const obs_key_OBS_KEY_SHOP: obs_key = 331;
pub const obs_key_OBS_KEY_HISTORY: obs_key = 332;
pub const obs_key_OBS_KEY_ADDFAVORITE: obs_key = 333;
pub const obs_key_OBS_KEY_HOTLINKS: obs_key = 334;
pub const obs_key_OBS_KEY_BRIGHTNESSADJUST: obs_key = 335;
pub const obs_key_OBS_KEY_FINANCE: obs_key = 336;
pub const obs_key_OBS_KEY_COMMUNITY: obs_key = 337;
pub const obs_key_OBS_KEY_AUDIOREWIND: obs_key = 338;
pub const obs_key_OBS_KEY_BACKFORWARD: obs_key = 339;
pub const obs_key_OBS_KEY_APPLICATIONLEFT: obs_key = 340;
pub const obs_key_OBS_KEY_APPLICATIONRIGHT: obs_key = 341;
pub const obs_key_OBS_KEY_BOOK: obs_key = 342;
pub const obs_key_OBS_KEY_CD: obs_key = 343;
pub const obs_key_OBS_KEY_CALCULATOR: obs_key = 344;
pub const obs_key_OBS_KEY_TODOLIST: obs_key = 345;
pub const obs_key_OBS_KEY_CLEARGRAB: obs_key = 346;
pub const obs_key_OBS_KEY_CLOSE: obs_key = 347;
pub const obs_key_OBS_KEY_COPY: obs_key = 348;
pub const obs_key_OBS_KEY_CUT: obs_key = 349;
pub const obs_key_OBS_KEY_DISPLAY: obs_key = 350;
pub const obs_key_OBS_KEY_DOS: obs_key = 351;
pub const obs_key_OBS_KEY_DOCUMENTS: obs_key = 352;
pub const obs_key_OBS_KEY_EXCEL: obs_key = 353;
pub const obs_key_OBS_KEY_EXPLORER: obs_key = 354;
pub const obs_key_OBS_KEY_GAME: obs_key = 355;
pub const obs_key_OBS_KEY_GO: obs_key = 356;
pub const obs_key_OBS_KEY_ITOUCH: obs_key = 357;
pub const obs_key_OBS_KEY_LOGOFF: obs_key = 358;
pub const obs_key_OBS_KEY_MARKET: obs_key = 359;
pub const obs_key_OBS_KEY_MEETING: obs_key = 360;
pub const obs_key_OBS_KEY_MENUKB: obs_key = 361;
pub const obs_key_OBS_KEY_MENUPB: obs_key = 362;
pub const obs_key_OBS_KEY_MYSITES: obs_key = 363;
pub const obs_key_OBS_KEY_NEWS: obs_key = 364;
pub const obs_key_OBS_KEY_OFFICEHOME: obs_key = 365;
pub const obs_key_OBS_KEY_OPTION: obs_key = 366;
pub const obs_key_OBS_KEY_PASTE: obs_key = 367;
pub const obs_key_OBS_KEY_PHONE: obs_key = 368;
pub const obs_key_OBS_KEY_CALENDAR: obs_key = 369;
pub const obs_key_OBS_KEY_REPLY: obs_key = 370;
pub const obs_key_OBS_KEY_RELOAD: obs_key = 371;
pub const obs_key_OBS_KEY_ROTATEWINDOWS: obs_key = 372;
pub const obs_key_OBS_KEY_ROTATIONPB: obs_key = 373;
pub const obs_key_OBS_KEY_ROTATIONKB: obs_key = 374;
pub const obs_key_OBS_KEY_SAVE: obs_key = 375;
pub const obs_key_OBS_KEY_SEND: obs_key = 376;
pub const obs_key_OBS_KEY_SPELL: obs_key = 377;
pub const obs_key_OBS_KEY_SPLITSCREEN: obs_key = 378;
pub const obs_key_OBS_KEY_SUPPORT: obs_key = 379;
pub const obs_key_OBS_KEY_TASKPANE: obs_key = 380;
pub const obs_key_OBS_KEY_TERMINAL: obs_key = 381;
pub const obs_key_OBS_KEY_TOOLS: obs_key = 382;
pub const obs_key_OBS_KEY_TRAVEL: obs_key = 383;
pub const obs_key_OBS_KEY_VIDEO: obs_key = 384;
pub const obs_key_OBS_KEY_WORD: obs_key = 385;
pub const obs_key_OBS_KEY_XFER: obs_key = 386;
pub const obs_key_OBS_KEY_ZOOMIN: obs_key = 387;
pub const obs_key_OBS_KEY_ZOOMOUT: obs_key = 388;
pub const obs_key_OBS_KEY_AWAY: obs_key = 389;
pub const obs_key_OBS_KEY_MESSENGER: obs_key = 390;
pub const obs_key_OBS_KEY_WEBCAM: obs_key = 391;
pub const obs_key_OBS_KEY_MAILFORWARD: obs_key = 392;
pub const obs_key_OBS_KEY_PICTURES: obs_key = 393;
pub const obs_key_OBS_KEY_MUSIC: obs_key = 394;
pub const obs_key_OBS_KEY_BATTERY: obs_key = 395;
pub const obs_key_OBS_KEY_BLUETOOTH: obs_key = 396;
pub const obs_key_OBS_KEY_WLAN: obs_key = 397;
pub const obs_key_OBS_KEY_UWB: obs_key = 398;
pub const obs_key_OBS_KEY_AUDIOFORWARD: obs_key = 399;
pub const obs_key_OBS_KEY_AUDIOREPEAT: obs_key = 400;
pub const obs_key_OBS_KEY_AUDIORANDOMPLAY: obs_key = 401;
pub const obs_key_OBS_KEY_SUBTITLE: obs_key = 402;
pub const obs_key_OBS_KEY_AUDIOCYCLETRACK: obs_key = 403;
pub const obs_key_OBS_KEY_TIME: obs_key = 404;
pub const obs_key_OBS_KEY_HIBERNATE: obs_key = 405;
pub const obs_key_OBS_KEY_VIEW: obs_key = 406;
pub const obs_key_OBS_KEY_TOPMENU: obs_key = 407;
pub const obs_key_OBS_KEY_POWERDOWN: obs_key = 408;
pub const obs_key_OBS_KEY_SUSPEND: obs_key = 409;
pub const obs_key_OBS_KEY_CONTRASTADJUST: obs_key = 410;
pub const obs_key_OBS_KEY_MEDIALAST: obs_key = 411;
pub const obs_key_OBS_KEY_CALL: obs_key = 412;
pub const obs_key_OBS_KEY_CAMERA: obs_key = 413;
pub const obs_key_OBS_KEY_CAMERAFOCUS: obs_key = 414;
pub const obs_key_OBS_KEY_CONTEXT1: obs_key = 415;
pub const obs_key_OBS_KEY_CONTEXT2: obs_key = 416;
pub const obs_key_OBS_KEY_CONTEXT3: obs_key = 417;
pub const obs_key_OBS_KEY_CONTEXT4: obs_key = 418;
pub const obs_key_OBS_KEY_FLIP: obs_key = 419;
pub const obs_key_OBS_KEY_HANGUP: obs_key = 420;
pub const obs_key_OBS_KEY_NO: obs_key = 421;
pub const obs_key_OBS_KEY_SELECT: obs_key = 422;
pub const obs_key_OBS_KEY_YES: obs_key = 423;
pub const obs_key_OBS_KEY_TOGGLECALLHANGUP: obs_key = 424;
pub const obs_key_OBS_KEY_VOICEDIAL: obs_key = 425;
pub const obs_key_OBS_KEY_LASTNUMBERREDIAL: obs_key = 426;
pub const obs_key_OBS_KEY_EXECUTE: obs_key = 427;
pub const obs_key_OBS_KEY_PRINTER: obs_key = 428;
pub const obs_key_OBS_KEY_PLAY: obs_key = 429;
pub const obs_key_OBS_KEY_SLEEP: obs_key = 430;
pub const obs_key_OBS_KEY_ZOOM: obs_key = 431;
pub const obs_key_OBS_KEY_CANCEL: obs_key = 432;
pub const obs_key_OBS_KEY_MOUSE1: obs_key = 433;
pub const obs_key_OBS_KEY_MOUSE2: obs_key = 434;
pub const obs_key_OBS_KEY_MOUSE3: obs_key = 435;
pub const obs_key_OBS_KEY_MOUSE4: obs_key = 436;
pub const obs_key_OBS_KEY_MOUSE5: obs_key = 437;
pub const obs_key_OBS_KEY_MOUSE6: obs_key = 438;
pub const obs_key_OBS_KEY_MOUSE7: obs_key = 439;
pub const obs_key_OBS_KEY_MOUSE8: obs_key = 440;
pub const obs_key_OBS_KEY_MOUSE9: obs_key = 441;
pub const obs_key_OBS_KEY_MOUSE10: obs_key = 442;
pub const obs_key_OBS_KEY_MOUSE11: obs_key = 443;
pub const obs_key_OBS_KEY_MOUSE12: obs_key = 444;
pub const obs_key_OBS_KEY_MOUSE13: obs_key = 445;
pub const obs_key_OBS_KEY_MOUSE14: obs_key = 446;
pub const obs_key_OBS_KEY_MOUSE15: obs_key = 447;
pub const obs_key_OBS_KEY_MOUSE16: obs_key = 448;
pub const obs_key_OBS_KEY_MOUSE17: obs_key = 449;
pub const obs_key_OBS_KEY_MOUSE18: obs_key = 450;
pub const obs_key_OBS_KEY_MOUSE19: obs_key = 451;
pub const obs_key_OBS_KEY_MOUSE20: obs_key = 452;
pub const obs_key_OBS_KEY_MOUSE21: obs_key = 453;
pub const obs_key_OBS_KEY_MOUSE22: obs_key = 454;
pub const obs_key_OBS_KEY_MOUSE23: obs_key = 455;
pub const obs_key_OBS_KEY_MOUSE24: obs_key = 456;
pub const obs_key_OBS_KEY_MOUSE25: obs_key = 457;
pub const obs_key_OBS_KEY_MOUSE26: obs_key = 458;
pub const obs_key_OBS_KEY_MOUSE27: obs_key = 459;
pub const obs_key_OBS_KEY_MOUSE28: obs_key = 460;
pub const obs_key_OBS_KEY_MOUSE29: obs_key = 461;
pub const obs_key_OBS_KEY_BACKSLASH_RT102: obs_key = 462;
pub const obs_key_OBS_KEY_OPEN: obs_key = 463;
pub const obs_key_OBS_KEY_FIND: obs_key = 464;
pub const obs_key_OBS_KEY_REDO: obs_key = 465;
pub const obs_key_OBS_KEY_UNDO: obs_key = 466;
pub const obs_key_OBS_KEY_FRONT: obs_key = 467;
pub const obs_key_OBS_KEY_PROPS: obs_key = 468;
pub const obs_key_OBS_KEY_VK_CANCEL: obs_key = 469;
pub const obs_key_OBS_KEY_0x07: obs_key = 470;
pub const obs_key_OBS_KEY_0x0A: obs_key = 471;
pub const obs_key_OBS_KEY_0x0B: obs_key = 472;
pub const obs_key_OBS_KEY_0x0E: obs_key = 473;
pub const obs_key_OBS_KEY_0x0F: obs_key = 474;
pub const obs_key_OBS_KEY_0x16: obs_key = 475;
pub const obs_key_OBS_KEY_VK_JUNJA: obs_key = 476;
pub const obs_key_OBS_KEY_VK_FINAL: obs_key = 477;
pub const obs_key_OBS_KEY_0x1A: obs_key = 478;
pub const obs_key_OBS_KEY_VK_ACCEPT: obs_key = 479;
pub const obs_key_OBS_KEY_VK_MODECHANGE: obs_key = 480;
pub const obs_key_OBS_KEY_VK_SELECT: obs_key = 481;
pub const obs_key_OBS_KEY_VK_PRINT: obs_key = 482;
pub const obs_key_OBS_KEY_VK_EXECUTE: obs_key = 483;
pub const obs_key_OBS_KEY_VK_HELP: obs_key = 484;
pub const obs_key_OBS_KEY_0x30: obs_key = 485;
pub const obs_key_OBS_KEY_0x31: obs_key = 486;
pub const obs_key_OBS_KEY_0x32: obs_key = 487;
pub const obs_key_OBS_KEY_0x33: obs_key = 488;
pub const obs_key_OBS_KEY_0x34: obs_key = 489;
pub const obs_key_OBS_KEY_0x35: obs_key = 490;
pub const obs_key_OBS_KEY_0x36: obs_key = 491;
pub const obs_key_OBS_KEY_0x37: obs_key = 492;
pub const obs_key_OBS_KEY_0x38: obs_key = 493;
pub const obs_key_OBS_KEY_0x39: obs_key = 494;
pub const obs_key_OBS_KEY_0x3A: obs_key = 495;
pub const obs_key_OBS_KEY_0x3B: obs_key = 496;
pub const obs_key_OBS_KEY_0x3C: obs_key = 497;
pub const obs_key_OBS_KEY_0x3D: obs_key = 498;
pub const obs_key_OBS_KEY_0x3E: obs_key = 499;
pub const obs_key_OBS_KEY_0x3F: obs_key = 500;
pub const obs_key_OBS_KEY_0x40: obs_key = 501;
pub const obs_key_OBS_KEY_0x41: obs_key = 502;
pub const obs_key_OBS_KEY_0x42: obs_key = 503;
pub const obs_key_OBS_KEY_0x43: obs_key = 504;
pub const obs_key_OBS_KEY_0x44: obs_key = 505;
pub const obs_key_OBS_KEY_0x45: obs_key = 506;
pub const obs_key_OBS_KEY_0x46: obs_key = 507;
pub const obs_key_OBS_KEY_0x47: obs_key = 508;
pub const obs_key_OBS_KEY_0x48: obs_key = 509;
pub const obs_key_OBS_KEY_0x49: obs_key = 510;
pub const obs_key_OBS_KEY_0x4A: obs_key = 511;
pub const obs_key_OBS_KEY_0x4B: obs_key = 512;
pub const obs_key_OBS_KEY_0x4C: obs_key = 513;
pub const obs_key_OBS_KEY_0x4D: obs_key = 514;
pub const obs_key_OBS_KEY_0x4E: obs_key = 515;
pub const obs_key_OBS_KEY_0x4F: obs_key = 516;
pub const obs_key_OBS_KEY_0x50: obs_key = 517;
pub const obs_key_OBS_KEY_0x51: obs_key = 518;
pub const obs_key_OBS_KEY_0x52: obs_key = 519;
pub const obs_key_OBS_KEY_0x53: obs_key = 520;
pub const obs_key_OBS_KEY_0x54: obs_key = 521;
pub const obs_key_OBS_KEY_0x55: obs_key = 522;
pub const obs_key_OBS_KEY_0x56: obs_key = 523;
pub const obs_key_OBS_KEY_0x57: obs_key = 524;
pub const obs_key_OBS_KEY_0x58: obs_key = 525;
pub const obs_key_OBS_KEY_0x59: obs_key = 526;
pub const obs_key_OBS_KEY_0x5A: obs_key = 527;
pub const obs_key_OBS_KEY_VK_LWIN: obs_key = 528;
pub const obs_key_OBS_KEY_VK_RWIN: obs_key = 529;
pub const obs_key_OBS_KEY_VK_APPS: obs_key = 530;
pub const obs_key_OBS_KEY_0x5E: obs_key = 531;
pub const obs_key_OBS_KEY_VK_SLEEP: obs_key = 532;
pub const obs_key_OBS_KEY_VK_SEPARATOR: obs_key = 533;
pub const obs_key_OBS_KEY_0x88: obs_key = 534;
pub const obs_key_OBS_KEY_0x89: obs_key = 535;
pub const obs_key_OBS_KEY_0x8A: obs_key = 536;
pub const obs_key_OBS_KEY_0x8B: obs_key = 537;
pub const obs_key_OBS_KEY_0x8C: obs_key = 538;
pub const obs_key_OBS_KEY_0x8D: obs_key = 539;
pub const obs_key_OBS_KEY_0x8E: obs_key = 540;
pub const obs_key_OBS_KEY_0x8F: obs_key = 541;
pub const obs_key_OBS_KEY_VK_OEM_FJ_JISHO: obs_key = 542;
pub const obs_key_OBS_KEY_VK_OEM_FJ_LOYA: obs_key = 543;
pub const obs_key_OBS_KEY_VK_OEM_FJ_ROYA: obs_key = 544;
pub const obs_key_OBS_KEY_0x97: obs_key = 545;
pub const obs_key_OBS_KEY_0x98: obs_key = 546;
pub const obs_key_OBS_KEY_0x99: obs_key = 547;
pub const obs_key_OBS_KEY_0x9A: obs_key = 548;
pub const obs_key_OBS_KEY_0x9B: obs_key = 549;
pub const obs_key_OBS_KEY_0x9C: obs_key = 550;
pub const obs_key_OBS_KEY_0x9D: obs_key = 551;
pub const obs_key_OBS_KEY_0x9E: obs_key = 552;
pub const obs_key_OBS_KEY_0x9F: obs_key = 553;
pub const obs_key_OBS_KEY_VK_LSHIFT: obs_key = 554;
pub const obs_key_OBS_KEY_VK_RSHIFT: obs_key = 555;
pub const obs_key_OBS_KEY_VK_LCONTROL: obs_key = 556;
pub const obs_key_OBS_KEY_VK_RCONTROL: obs_key = 557;
pub const obs_key_OBS_KEY_VK_LMENU: obs_key = 558;
pub const obs_key_OBS_KEY_VK_RMENU: obs_key = 559;
pub const obs_key_OBS_KEY_VK_BROWSER_BACK: obs_key = 560;
pub const obs_key_OBS_KEY_VK_BROWSER_FORWARD: obs_key = 561;
pub const obs_key_OBS_KEY_VK_BROWSER_REFRESH: obs_key = 562;
pub const obs_key_OBS_KEY_VK_BROWSER_STOP: obs_key = 563;
pub const obs_key_OBS_KEY_VK_BROWSER_SEARCH: obs_key = 564;
pub const obs_key_OBS_KEY_VK_BROWSER_FAVORITES: obs_key = 565;
pub const obs_key_OBS_KEY_VK_BROWSER_HOME: obs_key = 566;
pub const obs_key_OBS_KEY_VK_VOLUME_MUTE: obs_key = 567;
pub const obs_key_OBS_KEY_VK_VOLUME_DOWN: obs_key = 568;
pub const obs_key_OBS_KEY_VK_VOLUME_UP: obs_key = 569;
pub const obs_key_OBS_KEY_VK_MEDIA_NEXT_TRACK: obs_key = 570;
pub const obs_key_OBS_KEY_VK_MEDIA_PREV_TRACK: obs_key = 571;
pub const obs_key_OBS_KEY_VK_MEDIA_STOP: obs_key = 572;
pub const obs_key_OBS_KEY_VK_MEDIA_PLAY_PAUSE: obs_key = 573;
pub const obs_key_OBS_KEY_VK_LAUNCH_MAIL: obs_key = 574;
pub const obs_key_OBS_KEY_VK_LAUNCH_MEDIA_SELECT: obs_key = 575;
pub const obs_key_OBS_KEY_VK_LAUNCH_APP1: obs_key = 576;
pub const obs_key_OBS_KEY_VK_LAUNCH_APP2: obs_key = 577;
pub const obs_key_OBS_KEY_0xB8: obs_key = 578;
pub const obs_key_OBS_KEY_0xB9: obs_key = 579;
pub const obs_key_OBS_KEY_0xC1: obs_key = 580;
pub const obs_key_OBS_KEY_0xC2: obs_key = 581;
pub const obs_key_OBS_KEY_0xC3: obs_key = 582;
pub const obs_key_OBS_KEY_0xC4: obs_key = 583;
pub const obs_key_OBS_KEY_0xC5: obs_key = 584;
pub const obs_key_OBS_KEY_0xC6: obs_key = 585;
pub const obs_key_OBS_KEY_0xC7: obs_key = 586;
pub const obs_key_OBS_KEY_0xC8: obs_key = 587;
pub const obs_key_OBS_KEY_0xC9: obs_key = 588;
pub const obs_key_OBS_KEY_0xCA: obs_key = 589;
pub const obs_key_OBS_KEY_0xCB: obs_key = 590;
pub const obs_key_OBS_KEY_0xCC: obs_key = 591;
pub const obs_key_OBS_KEY_0xCD: obs_key = 592;
pub const obs_key_OBS_KEY_0xCE: obs_key = 593;
pub const obs_key_OBS_KEY_0xCF: obs_key = 594;
pub const obs_key_OBS_KEY_0xD0: obs_key = 595;
pub const obs_key_OBS_KEY_0xD1: obs_key = 596;
pub const obs_key_OBS_KEY_0xD2: obs_key = 597;
pub const obs_key_OBS_KEY_0xD3: obs_key = 598;
pub const obs_key_OBS_KEY_0xD4: obs_key = 599;
pub const obs_key_OBS_KEY_0xD5: obs_key = 600;
pub const obs_key_OBS_KEY_0xD6: obs_key = 601;
pub const obs_key_OBS_KEY_0xD7: obs_key = 602;
pub const obs_key_OBS_KEY_0xD8: obs_key = 603;
pub const obs_key_OBS_KEY_0xD9: obs_key = 604;
pub const obs_key_OBS_KEY_0xDA: obs_key = 605;
pub const obs_key_OBS_KEY_VK_OEM_8: obs_key = 606;
pub const obs_key_OBS_KEY_0xE0: obs_key = 607;
pub const obs_key_OBS_KEY_VK_OEM_AX: obs_key = 608;
pub const obs_key_OBS_KEY_VK_ICO_HELP: obs_key = 609;
pub const obs_key_OBS_KEY_VK_ICO_00: obs_key = 610;
pub const obs_key_OBS_KEY_VK_PROCESSKEY: obs_key = 611;
pub const obs_key_OBS_KEY_VK_ICO_CLEAR: obs_key = 612;
pub const obs_key_OBS_KEY_VK_PACKET: obs_key = 613;
pub const obs_key_OBS_KEY_0xE8: obs_key = 614;
pub const obs_key_OBS_KEY_VK_OEM_RESET: obs_key = 615;
pub const obs_key_OBS_KEY_VK_OEM_JUMP: obs_key = 616;
pub const obs_key_OBS_KEY_VK_OEM_PA1: obs_key = 617;
pub const obs_key_OBS_KEY_VK_OEM_PA2: obs_key = 618;
pub const obs_key_OBS_KEY_VK_OEM_PA3: obs_key = 619;
pub const obs_key_OBS_KEY_VK_OEM_WSCTRL: obs_key = 620;
pub const obs_key_OBS_KEY_VK_OEM_CUSEL: obs_key = 621;
pub const obs_key_OBS_KEY_VK_OEM_ATTN: obs_key = 622;
pub const obs_key_OBS_KEY_VK_OEM_FINISH: obs_key = 623;
pub const obs_key_OBS_KEY_VK_OEM_COPY: obs_key = 624;
pub const obs_key_OBS_KEY_VK_OEM_AUTO: obs_key = 625;
pub const obs_key_OBS_KEY_VK_OEM_ENLW: obs_key = 626;
pub const obs_key_OBS_KEY_VK_ATTN: obs_key = 627;
pub const obs_key_OBS_KEY_VK_CRSEL: obs_key = 628;
pub const obs_key_OBS_KEY_VK_EXSEL: obs_key = 629;
pub const obs_key_OBS_KEY_VK_EREOF: obs_key = 630;
pub const obs_key_OBS_KEY_VK_PLAY: obs_key = 631;
pub const obs_key_OBS_KEY_VK_ZOOM: obs_key = 632;
pub const obs_key_OBS_KEY_VK_NONAME: obs_key = 633;
pub const obs_key_OBS_KEY_VK_PA1: obs_key = 634;
pub const obs_key_OBS_KEY_VK_OEM_CLEAR: obs_key = 635;
pub const obs_key_OBS_KEY_LAST_VALUE: obs_key = 636;
pub type obs_key = ::std::os::raw::c_int;
pub use self::obs_key as obs_key_t;
#[repr(C)]
pub struct obs_key_combination {
    pub modifiers: u32,
    pub key: obs_key_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_key_combination"][::std::mem::size_of::<obs_key_combination>() - 8usize];
    ["Alignment of obs_key_combination"][::std::mem::align_of::<obs_key_combination>() - 4usize];
    ["Offset of field: obs_key_combination::modifiers"]
        [::std::mem::offset_of!(obs_key_combination, modifiers) - 0usize];
    ["Offset of field: obs_key_combination::key"]
        [::std::mem::offset_of!(obs_key_combination, key) - 4usize];
};
pub type obs_key_combination_t = obs_key_combination;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_hotkey {
    _unused: [u8; 0],
}
pub type obs_hotkey_t = obs_hotkey;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_hotkey_binding {
    _unused: [u8; 0],
}
pub type obs_hotkey_binding_t = obs_hotkey_binding;
pub const obs_hotkey_registerer_type_OBS_HOTKEY_REGISTERER_FRONTEND: obs_hotkey_registerer_type = 0;
pub const obs_hotkey_registerer_type_OBS_HOTKEY_REGISTERER_SOURCE: obs_hotkey_registerer_type = 1;
pub const obs_hotkey_registerer_type_OBS_HOTKEY_REGISTERER_OUTPUT: obs_hotkey_registerer_type = 2;
pub const obs_hotkey_registerer_type_OBS_HOTKEY_REGISTERER_ENCODER: obs_hotkey_registerer_type = 3;
pub const obs_hotkey_registerer_type_OBS_HOTKEY_REGISTERER_SERVICE: obs_hotkey_registerer_type = 4;
pub type obs_hotkey_registerer_type = ::std::os::raw::c_int;
pub use self::obs_hotkey_registerer_type as obs_hotkey_registerer_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_hotkeys_translations {
    pub insert: *const ::std::os::raw::c_char,
    pub del: *const ::std::os::raw::c_char,
    pub home: *const ::std::os::raw::c_char,
    pub end: *const ::std::os::raw::c_char,
    pub page_up: *const ::std::os::raw::c_char,
    pub page_down: *const ::std::os::raw::c_char,
    pub num_lock: *const ::std::os::raw::c_char,
    pub scroll_lock: *const ::std::os::raw::c_char,
    pub caps_lock: *const ::std::os::raw::c_char,
    pub backspace: *const ::std::os::raw::c_char,
    pub tab: *const ::std::os::raw::c_char,
    pub print: *const ::std::os::raw::c_char,
    pub pause: *const ::std::os::raw::c_char,
    pub left: *const ::std::os::raw::c_char,
    pub right: *const ::std::os::raw::c_char,
    pub up: *const ::std::os::raw::c_char,
    pub down: *const ::std::os::raw::c_char,
    pub shift: *const ::std::os::raw::c_char,
    pub alt: *const ::std::os::raw::c_char,
    pub control: *const ::std::os::raw::c_char,
    pub meta: *const ::std::os::raw::c_char,
    pub menu: *const ::std::os::raw::c_char,
    pub space: *const ::std::os::raw::c_char,
    pub numpad_num: *const ::std::os::raw::c_char,
    pub numpad_divide: *const ::std::os::raw::c_char,
    pub numpad_multiply: *const ::std::os::raw::c_char,
    pub numpad_minus: *const ::std::os::raw::c_char,
    pub numpad_plus: *const ::std::os::raw::c_char,
    pub numpad_decimal: *const ::std::os::raw::c_char,
    pub apple_keypad_num: *const ::std::os::raw::c_char,
    pub apple_keypad_divide: *const ::std::os::raw::c_char,
    pub apple_keypad_multiply: *const ::std::os::raw::c_char,
    pub apple_keypad_minus: *const ::std::os::raw::c_char,
    pub apple_keypad_plus: *const ::std::os::raw::c_char,
    pub apple_keypad_decimal: *const ::std::os::raw::c_char,
    pub apple_keypad_equal: *const ::std::os::raw::c_char,
    pub mouse_num: *const ::std::os::raw::c_char,
    pub escape: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_hotkeys_translations"]
        [::std::mem::size_of::<obs_hotkeys_translations>() - 304usize];
    ["Alignment of obs_hotkeys_translations"]
        [::std::mem::align_of::<obs_hotkeys_translations>() - 8usize];
    ["Offset of field: obs_hotkeys_translations::insert"]
        [::std::mem::offset_of!(obs_hotkeys_translations, insert) - 0usize];
    ["Offset of field: obs_hotkeys_translations::del"]
        [::std::mem::offset_of!(obs_hotkeys_translations, del) - 8usize];
    ["Offset of field: obs_hotkeys_translations::home"]
        [::std::mem::offset_of!(obs_hotkeys_translations, home) - 16usize];
    ["Offset of field: obs_hotkeys_translations::end"]
        [::std::mem::offset_of!(obs_hotkeys_translations, end) - 24usize];
    ["Offset of field: obs_hotkeys_translations::page_up"]
        [::std::mem::offset_of!(obs_hotkeys_translations, page_up) - 32usize];
    ["Offset of field: obs_hotkeys_translations::page_down"]
        [::std::mem::offset_of!(obs_hotkeys_translations, page_down) - 40usize];
    ["Offset of field: obs_hotkeys_translations::num_lock"]
        [::std::mem::offset_of!(obs_hotkeys_translations, num_lock) - 48usize];
    ["Offset of field: obs_hotkeys_translations::scroll_lock"]
        [::std::mem::offset_of!(obs_hotkeys_translations, scroll_lock) - 56usize];
    ["Offset of field: obs_hotkeys_translations::caps_lock"]
        [::std::mem::offset_of!(obs_hotkeys_translations, caps_lock) - 64usize];
    ["Offset of field: obs_hotkeys_translations::backspace"]
        [::std::mem::offset_of!(obs_hotkeys_translations, backspace) - 72usize];
    ["Offset of field: obs_hotkeys_translations::tab"]
        [::std::mem::offset_of!(obs_hotkeys_translations, tab) - 80usize];
    ["Offset of field: obs_hotkeys_translations::print"]
        [::std::mem::offset_of!(obs_hotkeys_translations, print) - 88usize];
    ["Offset of field: obs_hotkeys_translations::pause"]
        [::std::mem::offset_of!(obs_hotkeys_translations, pause) - 96usize];
    ["Offset of field: obs_hotkeys_translations::left"]
        [::std::mem::offset_of!(obs_hotkeys_translations, left) - 104usize];
    ["Offset of field: obs_hotkeys_translations::right"]
        [::std::mem::offset_of!(obs_hotkeys_translations, right) - 112usize];
    ["Offset of field: obs_hotkeys_translations::up"]
        [::std::mem::offset_of!(obs_hotkeys_translations, up) - 120usize];
    ["Offset of field: obs_hotkeys_translations::down"]
        [::std::mem::offset_of!(obs_hotkeys_translations, down) - 128usize];
    ["Offset of field: obs_hotkeys_translations::shift"]
        [::std::mem::offset_of!(obs_hotkeys_translations, shift) - 136usize];
    ["Offset of field: obs_hotkeys_translations::alt"]
        [::std::mem::offset_of!(obs_hotkeys_translations, alt) - 144usize];
    ["Offset of field: obs_hotkeys_translations::control"]
        [::std::mem::offset_of!(obs_hotkeys_translations, control) - 152usize];
    ["Offset of field: obs_hotkeys_translations::meta"]
        [::std::mem::offset_of!(obs_hotkeys_translations, meta) - 160usize];
    ["Offset of field: obs_hotkeys_translations::menu"]
        [::std::mem::offset_of!(obs_hotkeys_translations, menu) - 168usize];
    ["Offset of field: obs_hotkeys_translations::space"]
        [::std::mem::offset_of!(obs_hotkeys_translations, space) - 176usize];
    ["Offset of field: obs_hotkeys_translations::numpad_num"]
        [::std::mem::offset_of!(obs_hotkeys_translations, numpad_num) - 184usize];
    ["Offset of field: obs_hotkeys_translations::numpad_divide"]
        [::std::mem::offset_of!(obs_hotkeys_translations, numpad_divide) - 192usize];
    ["Offset of field: obs_hotkeys_translations::numpad_multiply"]
        [::std::mem::offset_of!(obs_hotkeys_translations, numpad_multiply) - 200usize];
    ["Offset of field: obs_hotkeys_translations::numpad_minus"]
        [::std::mem::offset_of!(obs_hotkeys_translations, numpad_minus) - 208usize];
    ["Offset of field: obs_hotkeys_translations::numpad_plus"]
        [::std::mem::offset_of!(obs_hotkeys_translations, numpad_plus) - 216usize];
    ["Offset of field: obs_hotkeys_translations::numpad_decimal"]
        [::std::mem::offset_of!(obs_hotkeys_translations, numpad_decimal) - 224usize];
    ["Offset of field: obs_hotkeys_translations::apple_keypad_num"]
        [::std::mem::offset_of!(obs_hotkeys_translations, apple_keypad_num) - 232usize];
    ["Offset of field: obs_hotkeys_translations::apple_keypad_divide"]
        [::std::mem::offset_of!(obs_hotkeys_translations, apple_keypad_divide) - 240usize];
    ["Offset of field: obs_hotkeys_translations::apple_keypad_multiply"]
        [::std::mem::offset_of!(obs_hotkeys_translations, apple_keypad_multiply) - 248usize];
    ["Offset of field: obs_hotkeys_translations::apple_keypad_minus"]
        [::std::mem::offset_of!(obs_hotkeys_translations, apple_keypad_minus) - 256usize];
    ["Offset of field: obs_hotkeys_translations::apple_keypad_plus"]
        [::std::mem::offset_of!(obs_hotkeys_translations, apple_keypad_plus) - 264usize];
    ["Offset of field: obs_hotkeys_translations::apple_keypad_decimal"]
        [::std::mem::offset_of!(obs_hotkeys_translations, apple_keypad_decimal) - 272usize];
    ["Offset of field: obs_hotkeys_translations::apple_keypad_equal"]
        [::std::mem::offset_of!(obs_hotkeys_translations, apple_keypad_equal) - 280usize];
    ["Offset of field: obs_hotkeys_translations::mouse_num"]
        [::std::mem::offset_of!(obs_hotkeys_translations, mouse_num) - 288usize];
    ["Offset of field: obs_hotkeys_translations::escape"]
        [::std::mem::offset_of!(obs_hotkeys_translations, escape) - 296usize];
};
pub type obs_hotkey_func = ::std::option::Option<
    unsafe extern "C" fn(
        data: *mut ::std::os::raw::c_void,
        id: obs_hotkey_id,
        hotkey: *mut obs_hotkey_t,
        pressed: bool,
    ),
>;
pub type obs_hotkey_active_func = ::std::option::Option<
    unsafe extern "C" fn(
        data: *mut ::std::os::raw::c_void,
        id: obs_hotkey_pair_id,
        hotkey: *mut obs_hotkey_t,
        pressed: bool,
    ) -> bool,
>;
pub type obs_hotkey_enum_func = ::std::option::Option<
    unsafe extern "C" fn(
        data: *mut ::std::os::raw::c_void,
        id: obs_hotkey_id,
        key: *mut obs_hotkey_t,
    ) -> bool,
>;
pub type obs_hotkey_binding_enum_func = ::std::option::Option<
    unsafe extern "C" fn(
        data: *mut ::std::os::raw::c_void,
        idx: usize,
        binding: *mut obs_hotkey_binding_t,
    ) -> bool,
>;
pub type obs_hotkey_callback_router_func = ::std::option::Option<
    unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, id: obs_hotkey_id, pressed: bool),
>;
pub type obs_hotkey_atomic_update_func =
    ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct dstr {
    _unused: [u8; 0],
}
pub const obs_order_movement_OBS_ORDER_MOVE_UP: obs_order_movement = 0;
pub const obs_order_movement_OBS_ORDER_MOVE_DOWN: obs_order_movement = 1;
pub const obs_order_movement_OBS_ORDER_MOVE_TOP: obs_order_movement = 2;
pub const obs_order_movement_OBS_ORDER_MOVE_BOTTOM: obs_order_movement = 3;
#[doc = " Used for changing the order of items (for example, filters in a source,\n or items in a scene)"]
pub type obs_order_movement = ::std::os::raw::c_int;
pub const obs_allow_direct_render_OBS_NO_DIRECT_RENDERING: obs_allow_direct_render = 0;
pub const obs_allow_direct_render_OBS_ALLOW_DIRECT_RENDERING: obs_allow_direct_render = 1;
#[doc = " Used with obs_source_process_filter to specify whether the filter should\n render the source directly with the specified effect, or whether it should\n render it to a texture"]
pub type obs_allow_direct_render = ::std::os::raw::c_int;
pub const obs_scale_type_OBS_SCALE_DISABLE: obs_scale_type = 0;
pub const obs_scale_type_OBS_SCALE_POINT: obs_scale_type = 1;
pub const obs_scale_type_OBS_SCALE_BICUBIC: obs_scale_type = 2;
pub const obs_scale_type_OBS_SCALE_BILINEAR: obs_scale_type = 3;
pub const obs_scale_type_OBS_SCALE_LANCZOS: obs_scale_type = 4;
pub const obs_scale_type_OBS_SCALE_AREA: obs_scale_type = 5;
pub type obs_scale_type = ::std::os::raw::c_int;
pub const obs_blending_method_OBS_BLEND_METHOD_DEFAULT: obs_blending_method = 0;
pub const obs_blending_method_OBS_BLEND_METHOD_SRGB_OFF: obs_blending_method = 1;
pub type obs_blending_method = ::std::os::raw::c_int;
pub const obs_blending_type_OBS_BLEND_NORMAL: obs_blending_type = 0;
pub const obs_blending_type_OBS_BLEND_ADDITIVE: obs_blending_type = 1;
pub const obs_blending_type_OBS_BLEND_SUBTRACT: obs_blending_type = 2;
pub const obs_blending_type_OBS_BLEND_SCREEN: obs_blending_type = 3;
pub const obs_blending_type_OBS_BLEND_MULTIPLY: obs_blending_type = 4;
pub const obs_blending_type_OBS_BLEND_LIGHTEN: obs_blending_type = 5;
pub const obs_blending_type_OBS_BLEND_DARKEN: obs_blending_type = 6;
pub type obs_blending_type = ::std::os::raw::c_int;
#[doc = "< no bounds"]
pub const obs_bounds_type_OBS_BOUNDS_NONE: obs_bounds_type = 0;
#[doc = "< stretch (ignores base scale)"]
pub const obs_bounds_type_OBS_BOUNDS_STRETCH: obs_bounds_type = 1;
#[doc = "< scales to inner rectangle"]
pub const obs_bounds_type_OBS_BOUNDS_SCALE_INNER: obs_bounds_type = 2;
#[doc = "< scales to outer rectangle"]
pub const obs_bounds_type_OBS_BOUNDS_SCALE_OUTER: obs_bounds_type = 3;
#[doc = "< scales to the width"]
pub const obs_bounds_type_OBS_BOUNDS_SCALE_TO_WIDTH: obs_bounds_type = 4;
#[doc = "< scales to the height"]
pub const obs_bounds_type_OBS_BOUNDS_SCALE_TO_HEIGHT: obs_bounds_type = 5;
#[doc = "< no scaling, maximum size only"]
pub const obs_bounds_type_OBS_BOUNDS_MAX_ONLY: obs_bounds_type = 6;
#[doc = " Used with scene items to indicate the type of bounds to use for scene items.\n Mostly determines how the image will be scaled within those bounds, or\n whether to use bounds at all."]
pub type obs_bounds_type = ::std::os::raw::c_int;
pub const obs_module_load_state_OBS_MODULE_INVALID: obs_module_load_state = 0;
pub const obs_module_load_state_OBS_MODULE_ENABLED: obs_module_load_state = 1;
pub const obs_module_load_state_OBS_MODULE_MISSING: obs_module_load_state = 2;
pub const obs_module_load_state_OBS_MODULE_DISABLED: obs_module_load_state = 3;
pub const obs_module_load_state_OBS_MODULE_DISABLED_SAFE: obs_module_load_state = 4;
pub const obs_module_load_state_OBS_MODULE_FAILED_TO_OPEN: obs_module_load_state = 5;
pub const obs_module_load_state_OBS_MODULE_FAILED_TO_INITIALIZE: obs_module_load_state = 6;
#[doc = " Used by libobs to define the state of a plugin/module."]
pub type obs_module_load_state = ::std::os::raw::c_int;
#[repr(C)]
pub struct obs_transform_info {
    pub pos: vec2,
    pub rot: f32,
    pub scale: vec2,
    pub alignment: u32,
    pub bounds_type: obs_bounds_type,
    pub bounds_alignment: u32,
    pub bounds: vec2,
    pub crop_to_bounds: bool,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_transform_info"][::std::mem::size_of::<obs_transform_info>() - 44usize];
    ["Alignment of obs_transform_info"][::std::mem::align_of::<obs_transform_info>() - 4usize];
    ["Offset of field: obs_transform_info::pos"]
        [::std::mem::offset_of!(obs_transform_info, pos) - 0usize];
    ["Offset of field: obs_transform_info::rot"]
        [::std::mem::offset_of!(obs_transform_info, rot) - 8usize];
    ["Offset of field: obs_transform_info::scale"]
        [::std::mem::offset_of!(obs_transform_info, scale) - 12usize];
    ["Offset of field: obs_transform_info::alignment"]
        [::std::mem::offset_of!(obs_transform_info, alignment) - 20usize];
    ["Offset of field: obs_transform_info::bounds_type"]
        [::std::mem::offset_of!(obs_transform_info, bounds_type) - 24usize];
    ["Offset of field: obs_transform_info::bounds_alignment"]
        [::std::mem::offset_of!(obs_transform_info, bounds_alignment) - 28usize];
    ["Offset of field: obs_transform_info::bounds"]
        [::std::mem::offset_of!(obs_transform_info, bounds) - 32usize];
    ["Offset of field: obs_transform_info::crop_to_bounds"]
        [::std::mem::offset_of!(obs_transform_info, crop_to_bounds) - 40usize];
};
#[doc = " Video initialization structure"]
#[repr(C)]
pub struct obs_video_info {
#[doc = " Graphics module to use (usually \"libobs-opengl\" or \"libobs-d3d11\")"]
    pub graphics_module: *const ::std::os::raw::c_char,
#[doc = "< Output FPS numerator"]
    pub fps_num: u32,
#[doc = "< Output FPS denominator"]
    pub fps_den: u32,
#[doc = "< Base compositing width"]
    pub base_width: u32,
#[doc = "< Base compositing height"]
    pub base_height: u32,
#[doc = "< Output width"]
    pub output_width: u32,
#[doc = "< Output height"]
    pub output_height: u32,
#[doc = "< Output format"]
    pub output_format: video_format,
#[doc = " Video adapter index to use (NOTE: avoid for optimus laptops)"]
    pub adapter: u32,
#[doc = " Use shaders to convert to different color formats"]
    pub gpu_conversion: bool,
#[doc = "< YUV type (if YUV)"]
    pub colorspace: video_colorspace,
#[doc = "< YUV range (if YUV)"]
    pub range: video_range_type,
#[doc = "< How to scale if scaling"]
    pub scale_type: obs_scale_type,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_video_info"][::std::mem::size_of::<obs_video_info>() - 56usize];
    ["Alignment of obs_video_info"][::std::mem::align_of::<obs_video_info>() - 8usize];
    ["Offset of field: obs_video_info::graphics_module"]
        [::std::mem::offset_of!(obs_video_info, graphics_module) - 0usize];
    ["Offset of field: obs_video_info::fps_num"]
        [::std::mem::offset_of!(obs_video_info, fps_num) - 8usize];
    ["Offset of field: obs_video_info::fps_den"]
        [::std::mem::offset_of!(obs_video_info, fps_den) - 12usize];
    ["Offset of field: obs_video_info::base_width"]
        [::std::mem::offset_of!(obs_video_info, base_width) - 16usize];
    ["Offset of field: obs_video_info::base_height"]
        [::std::mem::offset_of!(obs_video_info, base_height) - 20usize];
    ["Offset of field: obs_video_info::output_width"]
        [::std::mem::offset_of!(obs_video_info, output_width) - 24usize];
    ["Offset of field: obs_video_info::output_height"]
        [::std::mem::offset_of!(obs_video_info, output_height) - 28usize];
    ["Offset of field: obs_video_info::output_format"]
        [::std::mem::offset_of!(obs_video_info, output_format) - 32usize];
    ["Offset of field: obs_video_info::adapter"]
        [::std::mem::offset_of!(obs_video_info, adapter) - 36usize];
    ["Offset of field: obs_video_info::gpu_conversion"]
        [::std::mem::offset_of!(obs_video_info, gpu_conversion) - 40usize];
    ["Offset of field: obs_video_info::colorspace"]
        [::std::mem::offset_of!(obs_video_info, colorspace) - 44usize];
    ["Offset of field: obs_video_info::range"]
        [::std::mem::offset_of!(obs_video_info, range) - 48usize];
    ["Offset of field: obs_video_info::scale_type"]
        [::std::mem::offset_of!(obs_video_info, scale_type) - 52usize];
};
#[doc = " Audio initialization structure"]
#[repr(C)]
pub struct obs_audio_info {
    pub samples_per_sec: u32,
    pub speakers: speaker_layout,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_audio_info"][::std::mem::size_of::<obs_audio_info>() - 8usize];
    ["Alignment of obs_audio_info"][::std::mem::align_of::<obs_audio_info>() - 4usize];
    ["Offset of field: obs_audio_info::samples_per_sec"]
        [::std::mem::offset_of!(obs_audio_info, samples_per_sec) - 0usize];
    ["Offset of field: obs_audio_info::speakers"]
        [::std::mem::offset_of!(obs_audio_info, speakers) - 4usize];
};
#[repr(C)]
pub struct obs_audio_info2 {
    pub samples_per_sec: u32,
    pub speakers: speaker_layout,
    pub max_buffering_ms: u32,
    pub fixed_buffering: bool,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_audio_info2"][::std::mem::size_of::<obs_audio_info2>() - 16usize];
    ["Alignment of obs_audio_info2"][::std::mem::align_of::<obs_audio_info2>() - 4usize];
    ["Offset of field: obs_audio_info2::samples_per_sec"]
        [::std::mem::offset_of!(obs_audio_info2, samples_per_sec) - 0usize];
    ["Offset of field: obs_audio_info2::speakers"]
        [::std::mem::offset_of!(obs_audio_info2, speakers) - 4usize];
    ["Offset of field: obs_audio_info2::max_buffering_ms"]
        [::std::mem::offset_of!(obs_audio_info2, max_buffering_ms) - 8usize];
    ["Offset of field: obs_audio_info2::fixed_buffering"]
        [::std::mem::offset_of!(obs_audio_info2, fixed_buffering) - 12usize];
};
#[doc = " Sent to source filters via the filter_audio callback to allow filtering of\n audio data"]
#[repr(C)]
pub struct obs_audio_data {
    pub data: [*mut u8; 8usize],
    pub frames: u32,
    pub timestamp: u64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_audio_data"][::std::mem::size_of::<obs_audio_data>() - 80usize];
    ["Alignment of obs_audio_data"][::std::mem::align_of::<obs_audio_data>() - 8usize];
    ["Offset of field: obs_audio_data::data"]
        [::std::mem::offset_of!(obs_audio_data, data) - 0usize];
    ["Offset of field: obs_audio_data::frames"]
        [::std::mem::offset_of!(obs_audio_data, frames) - 64usize];
    ["Offset of field: obs_audio_data::timestamp"]
        [::std::mem::offset_of!(obs_audio_data, timestamp) - 72usize];
};
#[doc = " Source audio output structure.  Used with obs_source_output_audio to output\n source audio.  Audio is automatically resampled and remixed as necessary."]
#[repr(C)]
pub struct obs_source_audio {
    pub data: [*const u8; 8usize],
    pub frames: u32,
    pub speakers: speaker_layout,
    pub format: audio_format,
    pub samples_per_sec: u32,
    pub timestamp: u64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_source_audio"][::std::mem::size_of::<obs_source_audio>() - 88usize];
    ["Alignment of obs_source_audio"][::std::mem::align_of::<obs_source_audio>() - 8usize];
    ["Offset of field: obs_source_audio::data"]
        [::std::mem::offset_of!(obs_source_audio, data) - 0usize];
    ["Offset of field: obs_source_audio::frames"]
        [::std::mem::offset_of!(obs_source_audio, frames) - 64usize];
    ["Offset of field: obs_source_audio::speakers"]
        [::std::mem::offset_of!(obs_source_audio, speakers) - 68usize];
    ["Offset of field: obs_source_audio::format"]
        [::std::mem::offset_of!(obs_source_audio, format) - 72usize];
    ["Offset of field: obs_source_audio::samples_per_sec"]
        [::std::mem::offset_of!(obs_source_audio, samples_per_sec) - 76usize];
    ["Offset of field: obs_source_audio::timestamp"]
        [::std::mem::offset_of!(obs_source_audio, timestamp) - 80usize];
};
#[repr(C)]
pub struct obs_source_cea_708 {
    pub data: *const u8,
    pub packets: u32,
    pub timestamp: u64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_source_cea_708"][::std::mem::size_of::<obs_source_cea_708>() - 24usize];
    ["Alignment of obs_source_cea_708"][::std::mem::align_of::<obs_source_cea_708>() - 8usize];
    ["Offset of field: obs_source_cea_708::data"]
        [::std::mem::offset_of!(obs_source_cea_708, data) - 0usize];
    ["Offset of field: obs_source_cea_708::packets"]
        [::std::mem::offset_of!(obs_source_cea_708, packets) - 8usize];
    ["Offset of field: obs_source_cea_708::timestamp"]
        [::std::mem::offset_of!(obs_source_cea_708, timestamp) - 16usize];
};
#[doc = " Source asynchronous video output structure.  Used with\n obs_source_output_video to output asynchronous video.  Video is buffered as\n necessary to play according to timestamps.  When used with audio output,\n audio is synced to video as it is played.\n\n If a YUV format is specified, it will be automatically upsampled and\n converted to RGB via shader on the graphics processor.\n\n NOTE: Non-YUV formats will always be treated as full range with this\n structure!  Use obs_source_frame2 along with obs_source_output_video2\n instead if partial range support is desired for non-YUV video formats."]
#[repr(C)]
pub struct obs_source_frame {
    pub data: [*mut u8; 8usize],
    pub linesize: [u32; 8usize],
    pub width: u32,
    pub height: u32,
    pub timestamp: u64,
    pub format: video_format,
    pub color_matrix: [f32; 16usize],
    pub full_range: bool,
    pub max_luminance: u16,
    pub color_range_min: [f32; 3usize],
    pub color_range_max: [f32; 3usize],
    pub flip: bool,
    pub flags: u8,
    pub trc: u8,
    pub refs: ::std::os::raw::c_long,
    pub prev_frame: bool,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_source_frame"][::std::mem::size_of::<obs_source_frame>() - 224usize];
    ["Alignment of obs_source_frame"][::std::mem::align_of::<obs_source_frame>() - 8usize];
    ["Offset of field: obs_source_frame::data"]
        [::std::mem::offset_of!(obs_source_frame, data) - 0usize];
    ["Offset of field: obs_source_frame::linesize"]
        [::std::mem::offset_of!(obs_source_frame, linesize) - 64usize];
    ["Offset of field: obs_source_frame::width"]
        [::std::mem::offset_of!(obs_source_frame, width) - 96usize];
    ["Offset of field: obs_source_frame::height"]
        [::std::mem::offset_of!(obs_source_frame, height) - 100usize];
    ["Offset of field: obs_source_frame::timestamp"]
        [::std::mem::offset_of!(obs_source_frame, timestamp) - 104usize];
    ["Offset of field: obs_source_frame::format"]
        [::std::mem::offset_of!(obs_source_frame, format) - 112usize];
    ["Offset of field: obs_source_frame::color_matrix"]
        [::std::mem::offset_of!(obs_source_frame, color_matrix) - 116usize];
    ["Offset of field: obs_source_frame::full_range"]
        [::std::mem::offset_of!(obs_source_frame, full_range) - 180usize];
    ["Offset of field: obs_source_frame::max_luminance"]
        [::std::mem::offset_of!(obs_source_frame, max_luminance) - 182usize];
    ["Offset of field: obs_source_frame::color_range_min"]
        [::std::mem::offset_of!(obs_source_frame, color_range_min) - 184usize];
    ["Offset of field: obs_source_frame::color_range_max"]
        [::std::mem::offset_of!(obs_source_frame, color_range_max) - 196usize];
    ["Offset of field: obs_source_frame::flip"]
        [::std::mem::offset_of!(obs_source_frame, flip) - 208usize];
    ["Offset of field: obs_source_frame::flags"]
        [::std::mem::offset_of!(obs_source_frame, flags) - 209usize];
    ["Offset of field: obs_source_frame::trc"]
        [::std::mem::offset_of!(obs_source_frame, trc) - 210usize];
    ["Offset of field: obs_source_frame::refs"]
        [::std::mem::offset_of!(obs_source_frame, refs) - 212usize];
    ["Offset of field: obs_source_frame::prev_frame"]
        [::std::mem::offset_of!(obs_source_frame, prev_frame) - 216usize];
};
#[repr(C)]
pub struct obs_source_frame2 {
    pub data: [*mut u8; 8usize],
    pub linesize: [u32; 8usize],
    pub width: u32,
    pub height: u32,
    pub timestamp: u64,
    pub format: video_format,
    pub range: video_range_type,
    pub color_matrix: [f32; 16usize],
    pub color_range_min: [f32; 3usize],
    pub color_range_max: [f32; 3usize],
    pub flip: bool,
    pub flags: u8,
    pub trc: u8,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_source_frame2"][::std::mem::size_of::<obs_source_frame2>() - 216usize];
    ["Alignment of obs_source_frame2"][::std::mem::align_of::<obs_source_frame2>() - 8usize];
    ["Offset of field: obs_source_frame2::data"]
        [::std::mem::offset_of!(obs_source_frame2, data) - 0usize];
    ["Offset of field: obs_source_frame2::linesize"]
        [::std::mem::offset_of!(obs_source_frame2, linesize) - 64usize];
    ["Offset of field: obs_source_frame2::width"]
        [::std::mem::offset_of!(obs_source_frame2, width) - 96usize];
    ["Offset of field: obs_source_frame2::height"]
        [::std::mem::offset_of!(obs_source_frame2, height) - 100usize];
    ["Offset of field: obs_source_frame2::timestamp"]
        [::std::mem::offset_of!(obs_source_frame2, timestamp) - 104usize];
    ["Offset of field: obs_source_frame2::format"]
        [::std::mem::offset_of!(obs_source_frame2, format) - 112usize];
    ["Offset of field: obs_source_frame2::range"]
        [::std::mem::offset_of!(obs_source_frame2, range) - 116usize];
    ["Offset of field: obs_source_frame2::color_matrix"]
        [::std::mem::offset_of!(obs_source_frame2, color_matrix) - 120usize];
    ["Offset of field: obs_source_frame2::color_range_min"]
        [::std::mem::offset_of!(obs_source_frame2, color_range_min) - 184usize];
    ["Offset of field: obs_source_frame2::color_range_max"]
        [::std::mem::offset_of!(obs_source_frame2, color_range_max) - 196usize];
    ["Offset of field: obs_source_frame2::flip"]
        [::std::mem::offset_of!(obs_source_frame2, flip) - 208usize];
    ["Offset of field: obs_source_frame2::flags"]
        [::std::mem::offset_of!(obs_source_frame2, flags) - 209usize];
    ["Offset of field: obs_source_frame2::trc"]
        [::std::mem::offset_of!(obs_source_frame2, trc) - 210usize];
};
#[doc = " Access to the argc/argv used to start OBS. What you see is what you get."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_cmdline_args {
    pub argc: ::std::os::raw::c_int,
    pub argv: *mut *mut ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_cmdline_args"][::std::mem::size_of::<obs_cmdline_args>() - 16usize];
    ["Alignment of obs_cmdline_args"][::std::mem::align_of::<obs_cmdline_args>() - 8usize];
    ["Offset of field: obs_cmdline_args::argc"]
        [::std::mem::offset_of!(obs_cmdline_args, argc) - 0usize];
    ["Offset of field: obs_cmdline_args::argv"]
        [::std::mem::offset_of!(obs_cmdline_args, argv) - 8usize];
};
#[repr(C)]
pub struct obs_module_failure_info {
    pub failed_modules: *mut *mut ::std::os::raw::c_char,
    pub count: usize,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_module_failure_info"][::std::mem::size_of::<obs_module_failure_info>() - 16usize];
    ["Alignment of obs_module_failure_info"]
        [::std::mem::align_of::<obs_module_failure_info>() - 8usize];
    ["Offset of field: obs_module_failure_info::failed_modules"]
        [::std::mem::offset_of!(obs_module_failure_info, failed_modules) - 0usize];
    ["Offset of field: obs_module_failure_info::count"]
        [::std::mem::offset_of!(obs_module_failure_info, count) - 8usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_module_info {
    pub bin_path: *const ::std::os::raw::c_char,
    pub data_path: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_module_info"][::std::mem::size_of::<obs_module_info>() - 16usize];
    ["Alignment of obs_module_info"][::std::mem::align_of::<obs_module_info>() - 8usize];
    ["Offset of field: obs_module_info::bin_path"]
        [::std::mem::offset_of!(obs_module_info, bin_path) - 0usize];
    ["Offset of field: obs_module_info::data_path"]
        [::std::mem::offset_of!(obs_module_info, data_path) - 8usize];
};
pub type obs_find_module_callback_t = ::std::option::Option<
    unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, info: *const obs_module_info),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_module_info2 {
    pub bin_path: *const ::std::os::raw::c_char,
    pub data_path: *const ::std::os::raw::c_char,
    pub name: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_module_info2"][::std::mem::size_of::<obs_module_info2>() - 24usize];
    ["Alignment of obs_module_info2"][::std::mem::align_of::<obs_module_info2>() - 8usize];
    ["Offset of field: obs_module_info2::bin_path"]
        [::std::mem::offset_of!(obs_module_info2, bin_path) - 0usize];
    ["Offset of field: obs_module_info2::data_path"]
        [::std::mem::offset_of!(obs_module_info2, data_path) - 8usize];
    ["Offset of field: obs_module_info2::name"]
        [::std::mem::offset_of!(obs_module_info2, name) - 16usize];
};
pub type obs_find_module_callback2_t = ::std::option::Option<
    unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, info: *const obs_module_info2),
>;
pub type obs_enum_module_callback_t = ::std::option::Option<
    unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, module: *mut obs_module_t),
>;
#[doc = "< RGB/YUV"]
pub const obs_base_effect_OBS_EFFECT_DEFAULT: obs_base_effect = 0;
#[doc = "< RGB/YUV (using texture_rect)"]
pub const obs_base_effect_OBS_EFFECT_DEFAULT_RECT: obs_base_effect = 1;
#[doc = "< RGB/YUV (alpha set to 1.0)"]
pub const obs_base_effect_OBS_EFFECT_OPAQUE: obs_base_effect = 2;
#[doc = "< RGB/YUV (solid color only)"]
pub const obs_base_effect_OBS_EFFECT_SOLID: obs_base_effect = 3;
#[doc = "< Bicubic downscale"]
pub const obs_base_effect_OBS_EFFECT_BICUBIC: obs_base_effect = 4;
#[doc = "< Lanczos downscale"]
pub const obs_base_effect_OBS_EFFECT_LANCZOS: obs_base_effect = 5;
#[doc = "< Bilinear low resolution downscale"]
pub const obs_base_effect_OBS_EFFECT_BILINEAR_LOWRES: obs_base_effect = 6;
#[doc = "< Premultiplied alpha"]
pub const obs_base_effect_OBS_EFFECT_PREMULTIPLIED_ALPHA: obs_base_effect = 7;
#[doc = "< RGB/YUV (repeating)"]
pub const obs_base_effect_OBS_EFFECT_REPEAT: obs_base_effect = 8;
#[doc = "< Area rescale"]
pub const obs_base_effect_OBS_EFFECT_AREA: obs_base_effect = 9;
pub type obs_base_effect = ::std::os::raw::c_int;
pub type obs_load_source_cb = ::std::option::Option<
    unsafe extern "C" fn(private_data: *mut ::std::os::raw::c_void, source: *mut obs_source_t),
>;
pub type obs_save_source_filter_cb = ::std::option::Option<
    unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, source: *mut obs_source_t) -> bool,
>;
pub const obs_obj_type_OBS_OBJ_TYPE_INVALID: obs_obj_type = 0;
pub const obs_obj_type_OBS_OBJ_TYPE_SOURCE: obs_obj_type = 1;
pub const obs_obj_type_OBS_OBJ_TYPE_OUTPUT: obs_obj_type = 2;
pub const obs_obj_type_OBS_OBJ_TYPE_ENCODER: obs_obj_type = 3;
pub const obs_obj_type_OBS_OBJ_TYPE_SERVICE: obs_obj_type = 4;
pub const obs_obj_type_OBS_OBJ_TYPE_CANVAS: obs_obj_type = 5;
pub type obs_obj_type = ::std::os::raw::c_int;
pub type obs_enum_audio_device_cb = ::std::option::Option<
    unsafe extern "C" fn(
        data: *mut ::std::os::raw::c_void,
        name: *const ::std::os::raw::c_char,
        id: *const ::std::os::raw::c_char,
    ) -> bool,
>;
pub type obs_task_t =
    ::std::option::Option<unsafe extern "C" fn(param: *mut ::std::os::raw::c_void)>;
pub const obs_task_type_OBS_TASK_UI: obs_task_type = 0;
pub const obs_task_type_OBS_TASK_GRAPHICS: obs_task_type = 1;
pub const obs_task_type_OBS_TASK_AUDIO: obs_task_type = 2;
pub const obs_task_type_OBS_TASK_DESTROY: obs_task_type = 3;
pub type obs_task_type = ::std::os::raw::c_int;
pub type obs_task_handler_t = ::std::option::Option<
    unsafe extern "C" fn(task: obs_task_t, param: *mut ::std::os::raw::c_void, wait: bool),
>;
pub type obs_source_audio_capture_t = ::std::option::Option<
    unsafe extern "C" fn(
        param: *mut ::std::os::raw::c_void,
        source: *mut obs_source_t,
        audio_data: *const audio_data,
        muted: bool,
    ),
>;
pub type obs_source_caption_t = ::std::option::Option<
    unsafe extern "C" fn(
        param: *mut ::std::os::raw::c_void,
        source: *mut obs_source_t,
        captions: *const obs_source_cea_708,
    ),
>;
pub const obs_deinterlace_mode_OBS_DEINTERLACE_MODE_DISABLE: obs_deinterlace_mode = 0;
pub const obs_deinterlace_mode_OBS_DEINTERLACE_MODE_DISCARD: obs_deinterlace_mode = 1;
pub const obs_deinterlace_mode_OBS_DEINTERLACE_MODE_RETRO: obs_deinterlace_mode = 2;
pub const obs_deinterlace_mode_OBS_DEINTERLACE_MODE_BLEND: obs_deinterlace_mode = 3;
pub const obs_deinterlace_mode_OBS_DEINTERLACE_MODE_BLEND_2X: obs_deinterlace_mode = 4;
pub const obs_deinterlace_mode_OBS_DEINTERLACE_MODE_LINEAR: obs_deinterlace_mode = 5;
pub const obs_deinterlace_mode_OBS_DEINTERLACE_MODE_LINEAR_2X: obs_deinterlace_mode = 6;
pub const obs_deinterlace_mode_OBS_DEINTERLACE_MODE_YADIF: obs_deinterlace_mode = 7;
pub const obs_deinterlace_mode_OBS_DEINTERLACE_MODE_YADIF_2X: obs_deinterlace_mode = 8;
pub type obs_deinterlace_mode = ::std::os::raw::c_int;
pub const obs_deinterlace_field_order_OBS_DEINTERLACE_FIELD_ORDER_TOP: obs_deinterlace_field_order =
    0;
pub const obs_deinterlace_field_order_OBS_DEINTERLACE_FIELD_ORDER_BOTTOM:
    obs_deinterlace_field_order = 1;
pub type obs_deinterlace_field_order = ::std::os::raw::c_int;
pub const obs_monitoring_type_OBS_MONITORING_TYPE_NONE: obs_monitoring_type = 0;
pub const obs_monitoring_type_OBS_MONITORING_TYPE_MONITOR_ONLY: obs_monitoring_type = 1;
pub const obs_monitoring_type_OBS_MONITORING_TYPE_MONITOR_AND_OUTPUT: obs_monitoring_type = 2;
pub type obs_monitoring_type = ::std::os::raw::c_int;
pub const obs_transition_target_OBS_TRANSITION_SOURCE_A: obs_transition_target = 0;
pub const obs_transition_target_OBS_TRANSITION_SOURCE_B: obs_transition_target = 1;
pub type obs_transition_target = ::std::os::raw::c_int;
pub const obs_transition_mode_OBS_TRANSITION_MODE_AUTO: obs_transition_mode = 0;
pub const obs_transition_mode_OBS_TRANSITION_MODE_MANUAL: obs_transition_mode = 1;
pub type obs_transition_mode = ::std::os::raw::c_int;
pub const obs_transition_scale_type_OBS_TRANSITION_SCALE_MAX_ONLY: obs_transition_scale_type = 0;
pub const obs_transition_scale_type_OBS_TRANSITION_SCALE_ASPECT: obs_transition_scale_type = 1;
pub const obs_transition_scale_type_OBS_TRANSITION_SCALE_STRETCH: obs_transition_scale_type = 2;
pub type obs_transition_scale_type = ::std::os::raw::c_int;
pub type obs_transition_video_render_callback_t = ::std::option::Option<
    unsafe extern "C" fn(
        data: *mut ::std::os::raw::c_void,
        a: *mut gs_texture_t,
        b: *mut gs_texture_t,
        t: f32,
        cx: u32,
        cy: u32,
    ),
>;
pub type obs_transition_audio_mix_callback_t =
    ::std::option::Option<unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, t: f32) -> f32>;
#[doc = "< Source refs only"]
pub const obs_scene_duplicate_type_OBS_SCENE_DUP_REFS: obs_scene_duplicate_type = 0;
#[doc = "< Fully duplicate"]
pub const obs_scene_duplicate_type_OBS_SCENE_DUP_COPY: obs_scene_duplicate_type = 1;
#[doc = "< Source refs only (as private)"]
pub const obs_scene_duplicate_type_OBS_SCENE_DUP_PRIVATE_REFS: obs_scene_duplicate_type = 2;
#[doc = "< Fully duplicate (as private)"]
pub const obs_scene_duplicate_type_OBS_SCENE_DUP_PRIVATE_COPY: obs_scene_duplicate_type = 3;
pub type obs_scene_duplicate_type = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_sceneitem_order_info {
    pub group: *mut obs_sceneitem_t,
    pub item: *mut obs_sceneitem_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_sceneitem_order_info"]
        [::std::mem::size_of::<obs_sceneitem_order_info>() - 16usize];
    ["Alignment of obs_sceneitem_order_info"]
        [::std::mem::align_of::<obs_sceneitem_order_info>() - 8usize];
    ["Offset of field: obs_sceneitem_order_info::group"]
        [::std::mem::offset_of!(obs_sceneitem_order_info, group) - 0usize];
    ["Offset of field: obs_sceneitem_order_info::item"]
        [::std::mem::offset_of!(obs_sceneitem_order_info, item) - 8usize];
};
pub type obs_scene_atomic_update_func = ::std::option::Option<
    unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, scene: *mut obs_scene_t),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obs_sceneitem_crop {
    pub left: ::std::os::raw::c_int,
    pub top: ::std::os::raw::c_int,
    pub right: ::std::os::raw::c_int,
    pub bottom: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of obs_sceneitem_crop"][::std::mem::size_of::<obs_sceneitem_crop>() - 16usize];
    ["Alignment of obs_sceneitem_crop"][::std::mem::align_of::<obs_sceneitem_crop>() - 4usize];
    ["Offset of field: obs_sceneitem_crop::left"]
        [::std::mem::offset_of!(obs_sceneitem_crop, left) - 0usize];
    ["Offset of field: obs_sceneitem_crop::top"]
        [::std::mem::offset_of!(obs_sceneitem_crop, top) - 4usize];
    ["Offset of field: obs_sceneitem_crop::right"]
        [::std::mem::offset_of!(obs_sceneitem_crop, right) - 8usize];
    ["Offset of field: obs_sceneitem_crop::bottom"]
        [::std::mem::offset_of!(obs_sceneitem_crop, bottom) - 12usize];
};
pub const obs_canvas_flags_MAIN: obs_canvas_flags = 1;
pub const obs_canvas_flags_ACTIVATE: obs_canvas_flags = 2;
pub const obs_canvas_flags_MIX_AUDIO: obs_canvas_flags = 4;
pub const obs_canvas_flags_SCENE_REF: obs_canvas_flags = 8;
pub const obs_canvas_flags_EPHEMERAL: obs_canvas_flags = 16;
pub const obs_canvas_flags_PROGRAM: obs_canvas_flags = 14;
pub const obs_canvas_flags_PREVIEW: obs_canvas_flags = 16;
pub const obs_canvas_flags_DEVICE: obs_canvas_flags = 18;
pub type obs_canvas_flags = ::std::os::raw::c_int;
pub const display_capture_method_DISPLAY_METHOD_AUTO: display_capture_method = 0;
pub const display_capture_method_DISPLAY_METHOD_DXGI: display_capture_method = 1;
pub const display_capture_method_DISPLAY_METHOD_WGC: display_capture_method = 2;
pub type display_capture_method = ::std::os::raw::c_int;
pub const capture_mode_CAPTURE_MODE_ANY: capture_mode = 0;
pub const capture_mode_CAPTURE_MODE_WINDOW: capture_mode = 1;
pub const capture_mode_CAPTURE_MODE_HOTKEY: capture_mode = 2;
pub type capture_mode = ::std::os::raw::c_int;
pub const hook_rate_HOOK_RATE_SLOW: hook_rate = 0;
pub const hook_rate_HOOK_RATE_NORMAL: hook_rate = 1;
pub const hook_rate_HOOK_RATE_FAST: hook_rate = 2;
pub const hook_rate_HOOK_RATE_FASTEST: hook_rate = 3;
pub type hook_rate = ::std::os::raw::c_int;
pub const window_priority_WINDOW_PRIORITY_CLASS: window_priority = 0;
pub const window_priority_WINDOW_PRIORITY_TITLE: window_priority = 1;
pub const window_priority_WINDOW_PRIORITY_EXE: window_priority = 2;
pub type window_priority = ::std::os::raw::c_int;
pub const window_search_mode_INCLUDE_MINIMIZED: window_search_mode = 0;
pub const window_search_mode_EXCLUDE_MINIMIZED: window_search_mode = 1;
pub type window_search_mode = ::std::os::raw::c_int;
pub const window_capture_method_METHOD_AUTO: window_capture_method = 0;
pub const window_capture_method_METHOD_BITBLT: window_capture_method = 1;
pub const window_capture_method_METHOD_WGC: window_capture_method = 2;
pub type window_capture_method = ::std::os::raw::c_int;
pub type __builtin_va_list = *mut ::std::os::raw::c_char;
unsafe extern "C" {
    pub fn base_get_log_handler(
        handler: *mut log_handler_t,
        param: *mut *mut ::std::os::raw::c_void,
    );
    pub fn base_set_log_handler(handler: log_handler_t, param: *mut ::std::os::raw::c_void);
    pub fn base_set_crash_handler(
        handler: ::std::option::Option<
            unsafe extern "C" fn(
                arg1: *const ::std::os::raw::c_char,
                arg2: va_list,
                arg3: *mut ::std::os::raw::c_void,
            ),
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn blog(log_level: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
    pub fn bcrash(format: *const ::std::os::raw::c_char, ...) -> !;
    pub fn bmalloc(size: usize) -> *mut ::std::os::raw::c_void;
    pub fn brealloc(ptr: *mut ::std::os::raw::c_void, size: usize) -> *mut ::std::os::raw::c_void;
    pub fn bfree(ptr: *mut ::std::os::raw::c_void);
    pub fn base_get_alignment() -> ::std::os::raw::c_int;
    pub fn bnum_allocs() -> ::std::os::raw::c_long;
    pub fn bmemdup(ptr: *const ::std::os::raw::c_void, size: usize) -> *mut ::std::os::raw::c_void;
    pub fn profile_register_root(
        name: *const ::std::os::raw::c_char,
        expected_time_between_calls: u64,
    );
    pub fn profile_start(name: *const ::std::os::raw::c_char);
    pub fn profile_end(name: *const ::std::os::raw::c_char);
    pub fn profile_reenable_thread();
    pub fn profiler_start();
    pub fn profiler_stop();
    pub fn profiler_print(snap: *mut profiler_snapshot_t);
    pub fn profiler_print_time_between_calls(snap: *mut profiler_snapshot_t);
    pub fn profiler_free();
    pub fn profiler_name_store_create() -> *mut profiler_name_store_t;
    pub fn profiler_name_store_free(store: *mut profiler_name_store_t);
    pub fn profile_store_name(
        store: *mut profiler_name_store_t,
        format: *const ::std::os::raw::c_char,
        ...
    ) -> *const ::std::os::raw::c_char;
    pub fn profile_snapshot_create() -> *mut profiler_snapshot_t;
    pub fn profile_snapshot_free(snap: *mut profiler_snapshot_t);
    pub fn profiler_snapshot_dump_csv(
        snap: *const profiler_snapshot_t,
        filename: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn profiler_snapshot_dump_csv_gz(
        snap: *const profiler_snapshot_t,
        filename: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn profiler_snapshot_num_roots(snap: *mut profiler_snapshot_t) -> usize;
    pub fn profiler_snapshot_enumerate_roots(
        snap: *mut profiler_snapshot_t,
        func: profiler_entry_enum_func,
        context: *mut ::std::os::raw::c_void,
    );
    pub fn profiler_snapshot_filter_roots(
        snap: *mut profiler_snapshot_t,
        func: profiler_name_filter_func,
        data: *mut ::std::os::raw::c_void,
    );
    pub fn profiler_snapshot_num_children(entry: *mut profiler_snapshot_entry_t) -> usize;
    pub fn profiler_snapshot_enumerate_children(
        entry: *mut profiler_snapshot_entry_t,
        func: profiler_entry_enum_func,
        context: *mut ::std::os::raw::c_void,
    );
    pub fn profiler_snapshot_entry_name(
        entry: *mut profiler_snapshot_entry_t,
    ) -> *const ::std::os::raw::c_char;
    pub fn profiler_snapshot_entry_times(
        entry: *mut profiler_snapshot_entry_t,
    ) -> *mut profiler_time_entries_t;
    pub fn profiler_snapshot_entry_min_time(entry: *mut profiler_snapshot_entry_t) -> u64;
    pub fn profiler_snapshot_entry_max_time(entry: *mut profiler_snapshot_entry_t) -> u64;
    pub fn profiler_snapshot_entry_overall_count(entry: *mut profiler_snapshot_entry_t) -> u64;
    pub fn profiler_snapshot_entry_times_between_calls(
        entry: *mut profiler_snapshot_entry_t,
    ) -> *mut profiler_time_entries_t;
    pub fn profiler_snapshot_entry_expected_time_between_calls(
        entry: *mut profiler_snapshot_entry_t,
    ) -> u64;
    pub fn profiler_snapshot_entry_min_time_between_calls(
        entry: *mut profiler_snapshot_entry_t,
    ) -> u64;
    pub fn profiler_snapshot_entry_max_time_between_calls(
        entry: *mut profiler_snapshot_entry_t,
    ) -> u64;
    pub fn profiler_snapshot_entry_overall_between_calls_count(
        entry: *mut profiler_snapshot_entry_t,
    ) -> u64;
    pub fn text_lookup_create(path: *const ::std::os::raw::c_char) -> *mut lookup_t;
    pub fn text_lookup_add(lookup: *mut lookup_t, path: *const ::std::os::raw::c_char) -> bool;
    pub fn text_lookup_destroy(lookup: *mut lookup_t);
    pub fn text_lookup_getstr(
        lookup: *mut lookup_t,
        lookup_val: *const ::std::os::raw::c_char,
        out: *mut *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn input_getbuttonstate(input: *mut input_t, button: u32) -> ::std::os::raw::c_int;
    pub fn gs_shader_destroy(shader: *mut gs_shader_t);
    pub fn gs_shader_get_num_params(shader: *const gs_shader_t) -> ::std::os::raw::c_int;
    pub fn gs_shader_get_param_by_idx(shader: *mut gs_shader_t, param: u32) -> *mut gs_sparam_t;
    pub fn gs_shader_get_param_by_name(
        shader: *mut gs_shader_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut gs_sparam_t;
    pub fn gs_shader_get_viewproj_matrix(shader: *const gs_shader_t) -> *mut gs_sparam_t;
    pub fn gs_shader_get_world_matrix(shader: *const gs_shader_t) -> *mut gs_sparam_t;
    pub fn gs_shader_get_param_info(param: *const gs_sparam_t, info: *mut gs_shader_param_info);
    pub fn gs_shader_set_bool(param: *mut gs_sparam_t, val: bool);
    pub fn gs_shader_set_float(param: *mut gs_sparam_t, val: f32);
    pub fn gs_shader_set_int(param: *mut gs_sparam_t, val: ::std::os::raw::c_int);
    pub fn gs_shader_set_matrix3(param: *mut gs_sparam_t, val: *const matrix3);
    pub fn gs_shader_set_matrix4(param: *mut gs_sparam_t, val: *const matrix4);
    pub fn gs_shader_set_vec2(param: *mut gs_sparam_t, val: *const vec2);
    pub fn gs_shader_set_vec3(param: *mut gs_sparam_t, val: *const vec3);
    pub fn gs_shader_set_vec4(param: *mut gs_sparam_t, val: *const vec4);
    pub fn gs_shader_set_texture(param: *mut gs_sparam_t, val: *mut gs_texture_t);
    pub fn gs_shader_set_val(
        param: *mut gs_sparam_t,
        val: *const ::std::os::raw::c_void,
        size: usize,
    );
    pub fn gs_shader_set_default(param: *mut gs_sparam_t);
    pub fn gs_shader_set_next_sampler(param: *mut gs_sparam_t, sampler: *mut gs_samplerstate_t);
    pub fn gs_effect_destroy(effect: *mut gs_effect_t);
    pub fn gs_effect_get_technique(
        effect: *const gs_effect_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut gs_technique_t;
    pub fn gs_effect_get_current_technique(effect: *const gs_effect_t) -> *mut gs_technique_t;
    pub fn gs_technique_begin(technique: *mut gs_technique_t) -> usize;
    pub fn gs_technique_end(technique: *mut gs_technique_t);
    pub fn gs_technique_begin_pass(technique: *mut gs_technique_t, pass: usize) -> bool;
    pub fn gs_technique_begin_pass_by_name(
        technique: *mut gs_technique_t,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn gs_technique_end_pass(technique: *mut gs_technique_t);
    pub fn gs_technique_get_pass_by_idx(
        technique: *const gs_technique_t,
        pass: usize,
    ) -> *mut gs_epass_t;
    pub fn gs_technique_get_pass_by_name(
        technique: *const gs_technique_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut gs_epass_t;
    pub fn gs_effect_get_num_params(effect: *const gs_effect_t) -> usize;
    pub fn gs_effect_get_param_by_idx(effect: *const gs_effect_t, param: usize)
    -> *mut gs_eparam_t;
    pub fn gs_effect_get_param_by_name(
        effect: *const gs_effect_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut gs_eparam_t;
    pub fn gs_param_get_num_annotations(param: *const gs_eparam_t) -> usize;
    pub fn gs_param_get_annotation_by_idx(
        param: *const gs_eparam_t,
        annotation: usize,
    ) -> *mut gs_eparam_t;
    pub fn gs_param_get_annotation_by_name(
        param: *const gs_eparam_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut gs_eparam_t;
#[doc = " Helper function to simplify effect usage.  Use with a while loop that\n contains drawing functions.  Automatically handles techniques, passes, and\n unloading."]
    pub fn gs_effect_loop(effect: *mut gs_effect_t, name: *const ::std::os::raw::c_char) -> bool;
#[doc = " used internally"]
    pub fn gs_effect_update_params(effect: *mut gs_effect_t);
    pub fn gs_effect_get_viewproj_matrix(effect: *const gs_effect_t) -> *mut gs_eparam_t;
    pub fn gs_effect_get_world_matrix(effect: *const gs_effect_t) -> *mut gs_eparam_t;
    pub fn gs_effect_get_param_info(param: *const gs_eparam_t, info: *mut gs_effect_param_info);
    pub fn gs_effect_set_bool(param: *mut gs_eparam_t, val: bool);
    pub fn gs_effect_set_float(param: *mut gs_eparam_t, val: f32);
    pub fn gs_effect_set_int(param: *mut gs_eparam_t, val: ::std::os::raw::c_int);
    pub fn gs_effect_set_matrix4(param: *mut gs_eparam_t, val: *const matrix4);
    pub fn gs_effect_set_vec2(param: *mut gs_eparam_t, val: *const vec2);
    pub fn gs_effect_set_vec3(param: *mut gs_eparam_t, val: *const vec3);
    pub fn gs_effect_set_vec4(param: *mut gs_eparam_t, val: *const vec4);
    pub fn gs_effect_set_texture(param: *mut gs_eparam_t, val: *mut gs_texture_t);
    pub fn gs_effect_set_texture_srgb(param: *mut gs_eparam_t, val: *mut gs_texture_t);
    pub fn gs_effect_set_val(
        param: *mut gs_eparam_t,
        val: *const ::std::os::raw::c_void,
        size: usize,
    );
    pub fn gs_effect_set_default(param: *mut gs_eparam_t);
    pub fn gs_effect_get_val_size(param: *mut gs_eparam_t) -> usize;
    pub fn gs_effect_get_val(param: *mut gs_eparam_t) -> *mut ::std::os::raw::c_void;
    pub fn gs_effect_get_default_val_size(param: *mut gs_eparam_t) -> usize;
    pub fn gs_effect_get_default_val(param: *mut gs_eparam_t) -> *mut ::std::os::raw::c_void;
    pub fn gs_effect_set_next_sampler(param: *mut gs_eparam_t, sampler: *mut gs_samplerstate_t);
    pub fn gs_effect_set_color(param: *mut gs_eparam_t, argb: u32);
    pub fn gs_texrender_create(
        format: gs_color_format,
        zsformat: gs_zstencil_format,
    ) -> *mut gs_texrender_t;
    pub fn gs_texrender_destroy(texrender: *mut gs_texrender_t);
    pub fn gs_texrender_begin(texrender: *mut gs_texrender_t, cx: u32, cy: u32) -> bool;
    pub fn gs_texrender_begin_with_color_space(
        texrender: *mut gs_texrender_t,
        cx: u32,
        cy: u32,
        space: gs_color_space,
    ) -> bool;
    pub fn gs_texrender_end(texrender: *mut gs_texrender_t);
    pub fn gs_texrender_reset(texrender: *mut gs_texrender_t);
    pub fn gs_texrender_get_texture(texrender: *const gs_texrender_t) -> *mut gs_texture_t;
    pub fn gs_texrender_get_format(texrender: *const gs_texrender_t) -> gs_color_format;
    pub fn gs_get_device_name() -> *const ::std::os::raw::c_char;
    pub fn gs_get_driver_version() -> *const ::std::os::raw::c_char;
    pub fn gs_get_renderer() -> *const ::std::os::raw::c_char;
    pub fn gs_get_gpu_dmem() -> u64;
    pub fn gs_get_gpu_smem() -> u64;
    pub fn gs_get_device_type() -> ::std::os::raw::c_int;
    pub fn gs_get_adapter_count() -> u32;
    pub fn gs_enum_adapters(
        callback: ::std::option::Option<
            unsafe extern "C" fn(
                param: *mut ::std::os::raw::c_void,
                name: *const ::std::os::raw::c_char,
                id: u32,
            ) -> bool,
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn gs_create(
        graphics: *mut *mut graphics_t,
        module: *const ::std::os::raw::c_char,
        adapter: u32,
    ) -> ::std::os::raw::c_int;
    pub fn gs_destroy(graphics: *mut graphics_t);
    pub fn gs_enter_context(graphics: *mut graphics_t);
    pub fn gs_leave_context();
    pub fn gs_get_context() -> *mut graphics_t;
    pub fn gs_get_device_obj() -> *mut ::std::os::raw::c_void;
    pub fn gs_matrix_push();
    pub fn gs_matrix_pop();
    pub fn gs_matrix_identity();
    pub fn gs_matrix_transpose();
    pub fn gs_matrix_set(matrix: *const matrix4);
    pub fn gs_matrix_get(dst: *mut matrix4);
    pub fn gs_matrix_mul(matrix: *const matrix4);
    pub fn gs_matrix_rotquat(rot: *const quat);
    pub fn gs_matrix_rotaa(rot: *const axisang);
    pub fn gs_matrix_translate(pos: *const vec3);
    pub fn gs_matrix_scale(scale: *const vec3);
    pub fn gs_matrix_rotaa4f(x: f32, y: f32, z: f32, angle: f32);
    pub fn gs_matrix_translate3f(x: f32, y: f32, z: f32);
    pub fn gs_matrix_scale3f(x: f32, y: f32, z: f32);
    pub fn gs_render_start(b_new: bool);
    pub fn gs_render_stop(mode: gs_draw_mode);
    pub fn gs_render_save() -> *mut gs_vertbuffer_t;
    pub fn gs_vertex2f(x: f32, y: f32);
    pub fn gs_vertex3f(x: f32, y: f32, z: f32);
    pub fn gs_normal3f(x: f32, y: f32, z: f32);
    pub fn gs_color(color: u32);
    pub fn gs_texcoord(x: f32, y: f32, unit: ::std::os::raw::c_int);
    pub fn gs_vertex2v(v: *const vec2);
    pub fn gs_vertex3v(v: *const vec3);
    pub fn gs_normal3v(v: *const vec3);
    pub fn gs_color4v(v: *const vec4);
    pub fn gs_texcoord2v(v: *const vec2, unit: ::std::os::raw::c_int);
    pub fn gs_get_input() -> *mut input_t;
    pub fn gs_get_effect() -> *mut gs_effect_t;
    pub fn gs_effect_create_from_file(
        file: *const ::std::os::raw::c_char,
        error_string: *mut *mut ::std::os::raw::c_char,
    ) -> *mut gs_effect_t;
    pub fn gs_effect_create(
        effect_string: *const ::std::os::raw::c_char,
        filename: *const ::std::os::raw::c_char,
        error_string: *mut *mut ::std::os::raw::c_char,
    ) -> *mut gs_effect_t;
    pub fn gs_vertexshader_create_from_file(
        file: *const ::std::os::raw::c_char,
        error_string: *mut *mut ::std::os::raw::c_char,
    ) -> *mut gs_shader_t;
    pub fn gs_pixelshader_create_from_file(
        file: *const ::std::os::raw::c_char,
        error_string: *mut *mut ::std::os::raw::c_char,
    ) -> *mut gs_shader_t;
    pub fn gs_texture_create_from_file(file: *const ::std::os::raw::c_char) -> *mut gs_texture_t;
    pub fn gs_create_texture_file_data(
        file: *const ::std::os::raw::c_char,
        format: *mut gs_color_format,
        cx: *mut u32,
        cy: *mut u32,
    ) -> *mut u8;
    pub fn gs_create_texture_file_data2(
        file: *const ::std::os::raw::c_char,
        alpha_mode: gs_image_alpha_mode,
        format: *mut gs_color_format,
        cx: *mut u32,
        cy: *mut u32,
    ) -> *mut u8;
    pub fn gs_create_texture_file_data3(
        file: *const ::std::os::raw::c_char,
        alpha_mode: gs_image_alpha_mode,
        format: *mut gs_color_format,
        cx: *mut u32,
        cy: *mut u32,
        space: *mut gs_color_space,
    ) -> *mut u8;
#[doc = " Draws a 2D sprite\n\n   If width or height is 0, the width or height of the texture will be used.\n The flip value specifies whether the texture should be flipped on the U or V\n axis with GS_FLIP_U and GS_FLIP_V."]
    pub fn gs_draw_sprite(tex: *mut gs_texture_t, flip: u32, width: u32, height: u32);
    pub fn gs_draw_quadf(tex: *mut gs_texture_t, flip: u32, width: f32, height: f32);
    pub fn gs_draw_sprite_subregion(
        tex: *mut gs_texture_t,
        flip: u32,
        x: u32,
        y: u32,
        cx: u32,
        cy: u32,
    );
    pub fn gs_draw_cube_backdrop(
        cubetex: *mut gs_texture_t,
        rot: *const quat,
        left: f32,
        right: f32,
        top: f32,
        bottom: f32,
        znear: f32,
    );
#[doc = " sets the viewport to current swap chain size"]
    pub fn gs_reset_viewport();
#[doc = " sets default screen-sized orthographic mode"]
    pub fn gs_set_2d_mode();
#[doc = " sets default screen-sized perspective mode"]
    pub fn gs_set_3d_mode(fovy: f64, znear: f64, zvar: f64);
    pub fn gs_viewport_push();
    pub fn gs_viewport_pop();
    pub fn gs_texture_set_image(
        tex: *mut gs_texture_t,
        data: *const u8,
        linesize: u32,
        invert: bool,
    );
    pub fn gs_cubetexture_set_image(
        cubetex: *mut gs_texture_t,
        side: u32,
        data: *const ::std::os::raw::c_void,
        linesize: u32,
        invert: bool,
    );
    pub fn gs_perspective(fovy: f32, aspect: f32, znear: f32, zfar: f32);
    pub fn gs_blend_state_push();
    pub fn gs_blend_state_pop();
    pub fn gs_reset_blend_state();
    pub fn gs_swapchain_create(data: *const gs_init_data) -> *mut gs_swapchain_t;
    pub fn gs_resize(x: u32, y: u32);
    pub fn gs_update_color_space();
    pub fn gs_get_size(x: *mut u32, y: *mut u32);
    pub fn gs_get_width() -> u32;
    pub fn gs_get_height() -> u32;
    pub fn gs_texture_create(
        width: u32,
        height: u32,
        color_format: gs_color_format,
        levels: u32,
        data: *mut *const u8,
        flags: u32,
    ) -> *mut gs_texture_t;
    pub fn gs_cubetexture_create(
        size: u32,
        color_format: gs_color_format,
        levels: u32,
        data: *mut *const u8,
        flags: u32,
    ) -> *mut gs_texture_t;
    pub fn gs_voltexture_create(
        width: u32,
        height: u32,
        depth: u32,
        color_format: gs_color_format,
        levels: u32,
        data: *mut *const u8,
        flags: u32,
    ) -> *mut gs_texture_t;
    pub fn gs_zstencil_create(
        width: u32,
        height: u32,
        format: gs_zstencil_format,
    ) -> *mut gs_zstencil_t;
    pub fn gs_stagesurface_create(
        width: u32,
        height: u32,
        color_format: gs_color_format,
    ) -> *mut gs_stagesurf_t;
    pub fn gs_samplerstate_create(info: *const gs_sampler_info) -> *mut gs_samplerstate_t;
    pub fn gs_vertexshader_create(
        shader: *const ::std::os::raw::c_char,
        file: *const ::std::os::raw::c_char,
        error_string: *mut *mut ::std::os::raw::c_char,
    ) -> *mut gs_shader_t;
    pub fn gs_pixelshader_create(
        shader: *const ::std::os::raw::c_char,
        file: *const ::std::os::raw::c_char,
        error_string: *mut *mut ::std::os::raw::c_char,
    ) -> *mut gs_shader_t;
    pub fn gs_vertexbuffer_create(data: *mut gs_vb_data, flags: u32) -> *mut gs_vertbuffer_t;
    pub fn gs_indexbuffer_create(
        type_: gs_index_type,
        indices: *mut ::std::os::raw::c_void,
        num: usize,
        flags: u32,
    ) -> *mut gs_indexbuffer_t;
    pub fn gs_timer_create() -> *mut gs_timer_t;
    pub fn gs_timer_range_create() -> *mut gs_timer_range_t;
    pub fn gs_get_texture_type(texture: *const gs_texture_t) -> gs_texture_type;
    pub fn gs_load_vertexbuffer(vertbuffer: *mut gs_vertbuffer_t);
    pub fn gs_load_indexbuffer(indexbuffer: *mut gs_indexbuffer_t);
    pub fn gs_load_texture(tex: *mut gs_texture_t, unit: ::std::os::raw::c_int);
    pub fn gs_load_samplerstate(samplerstate: *mut gs_samplerstate_t, unit: ::std::os::raw::c_int);
    pub fn gs_load_vertexshader(vertshader: *mut gs_shader_t);
    pub fn gs_load_pixelshader(pixelshader: *mut gs_shader_t);
    pub fn gs_load_default_samplerstate(b_3d: bool, unit: ::std::os::raw::c_int);
    pub fn gs_get_vertex_shader() -> *mut gs_shader_t;
    pub fn gs_get_pixel_shader() -> *mut gs_shader_t;
    pub fn gs_get_color_space() -> gs_color_space;
    pub fn gs_get_render_target() -> *mut gs_texture_t;
    pub fn gs_get_zstencil_target() -> *mut gs_zstencil_t;
    pub fn gs_set_render_target(tex: *mut gs_texture_t, zstencil: *mut gs_zstencil_t);
    pub fn gs_set_render_target_with_color_space(
        tex: *mut gs_texture_t,
        zstencil: *mut gs_zstencil_t,
        space: gs_color_space,
    );
    pub fn gs_set_cube_render_target(
        cubetex: *mut gs_texture_t,
        side: ::std::os::raw::c_int,
        zstencil: *mut gs_zstencil_t,
    );
    pub fn gs_enable_framebuffer_srgb(enable: bool);
    pub fn gs_framebuffer_srgb_enabled() -> bool;
    pub fn gs_get_linear_srgb() -> bool;
    pub fn gs_set_linear_srgb(linear_srgb: bool) -> bool;
    pub fn gs_copy_texture(dst: *mut gs_texture_t, src: *mut gs_texture_t);
    pub fn gs_copy_texture_region(
        dst: *mut gs_texture_t,
        dst_x: u32,
        dst_y: u32,
        src: *mut gs_texture_t,
        src_x: u32,
        src_y: u32,
        src_w: u32,
        src_h: u32,
    );
    pub fn gs_stage_texture(dst: *mut gs_stagesurf_t, src: *mut gs_texture_t);
    pub fn gs_begin_frame();
    pub fn gs_begin_scene();
    pub fn gs_draw(draw_mode: gs_draw_mode, start_vert: u32, num_verts: u32);
    pub fn gs_end_scene();
    pub fn gs_load_swapchain(swapchain: *mut gs_swapchain_t);
    pub fn gs_clear(clear_flags: u32, color: *const vec4, depth: f32, stencil: u8);
    pub fn gs_is_present_ready() -> bool;
    pub fn gs_present();
    pub fn gs_flush();
    pub fn gs_set_cull_mode(mode: gs_cull_mode);
    pub fn gs_get_cull_mode() -> gs_cull_mode;
    pub fn gs_enable_blending(enable: bool);
    pub fn gs_enable_depth_test(enable: bool);
    pub fn gs_enable_stencil_test(enable: bool);
    pub fn gs_enable_stencil_write(enable: bool);
    pub fn gs_enable_color(red: bool, green: bool, blue: bool, alpha: bool);
    pub fn gs_blend_function(src: gs_blend_type, dest: gs_blend_type);
    pub fn gs_blend_function_separate(
        src_c: gs_blend_type,
        dest_c: gs_blend_type,
        src_a: gs_blend_type,
        dest_a: gs_blend_type,
    );
    pub fn gs_blend_op(op: gs_blend_op_type);
    pub fn gs_depth_function(test: gs_depth_test);
    pub fn gs_stencil_function(side: gs_stencil_side, test: gs_depth_test);
    pub fn gs_stencil_op(
        side: gs_stencil_side,
        fail: gs_stencil_op_type,
        zfail: gs_stencil_op_type,
        zpass: gs_stencil_op_type,
    );
    pub fn gs_set_viewport(
        x: ::std::os::raw::c_int,
        y: ::std::os::raw::c_int,
        width: ::std::os::raw::c_int,
        height: ::std::os::raw::c_int,
    );
    pub fn gs_get_viewport(rect: *mut gs_rect);
    pub fn gs_set_scissor_rect(rect: *const gs_rect);
    pub fn gs_ortho(left: f32, right: f32, top: f32, bottom: f32, znear: f32, zfar: f32);
    pub fn gs_frustum(left: f32, right: f32, top: f32, bottom: f32, znear: f32, zfar: f32);
    pub fn gs_projection_push();
    pub fn gs_projection_pop();
    pub fn gs_swapchain_destroy(swapchain: *mut gs_swapchain_t);
    pub fn gs_texture_destroy(tex: *mut gs_texture_t);
    pub fn gs_texture_get_width(tex: *const gs_texture_t) -> u32;
    pub fn gs_texture_get_height(tex: *const gs_texture_t) -> u32;
    pub fn gs_texture_get_color_format(tex: *const gs_texture_t) -> gs_color_format;
    pub fn gs_texture_map(tex: *mut gs_texture_t, ptr: *mut *mut u8, linesize: *mut u32) -> bool;
    pub fn gs_texture_unmap(tex: *mut gs_texture_t);
#[doc = " special-case function (GL only) - specifies whether the texture is a\n GL_TEXTURE_RECTANGLE type, which doesn't use normalized texture\n coordinates, doesn't support mipmapping, and requires address clamping"]
    pub fn gs_texture_is_rect(tex: *const gs_texture_t) -> bool;
#[doc = " Gets a pointer to the context-specific object associated with the texture.\n For example, for GL, this is a GLuint*.  For D3D11, ID3D11Texture2D*."]
    pub fn gs_texture_get_obj(tex: *mut gs_texture_t) -> *mut ::std::os::raw::c_void;
    pub fn gs_cubetexture_destroy(cubetex: *mut gs_texture_t);
    pub fn gs_cubetexture_get_size(cubetex: *const gs_texture_t) -> u32;
    pub fn gs_cubetexture_get_color_format(cubetex: *const gs_texture_t) -> gs_color_format;
    pub fn gs_voltexture_destroy(voltex: *mut gs_texture_t);
    pub fn gs_voltexture_get_width(voltex: *const gs_texture_t) -> u32;
    pub fn gs_voltexture_get_height(voltex: *const gs_texture_t) -> u32;
    pub fn gs_voltexture_get_depth(voltex: *const gs_texture_t) -> u32;
    pub fn gs_voltexture_get_color_format(voltex: *const gs_texture_t) -> gs_color_format;
    pub fn gs_stagesurface_destroy(stagesurf: *mut gs_stagesurf_t);
    pub fn gs_stagesurface_get_width(stagesurf: *const gs_stagesurf_t) -> u32;
    pub fn gs_stagesurface_get_height(stagesurf: *const gs_stagesurf_t) -> u32;
    pub fn gs_stagesurface_get_color_format(stagesurf: *const gs_stagesurf_t) -> gs_color_format;
    pub fn gs_stagesurface_map(
        stagesurf: *mut gs_stagesurf_t,
        data: *mut *mut u8,
        linesize: *mut u32,
    ) -> bool;
    pub fn gs_stagesurface_unmap(stagesurf: *mut gs_stagesurf_t);
    pub fn gs_zstencil_destroy(zstencil: *mut gs_zstencil_t);
    pub fn gs_samplerstate_destroy(samplerstate: *mut gs_samplerstate_t);
    pub fn gs_vertexbuffer_destroy(vertbuffer: *mut gs_vertbuffer_t);
    pub fn gs_vertexbuffer_flush(vertbuffer: *mut gs_vertbuffer_t);
    pub fn gs_vertexbuffer_flush_direct(vertbuffer: *mut gs_vertbuffer_t, data: *const gs_vb_data);
    pub fn gs_vertexbuffer_get_data(vertbuffer: *const gs_vertbuffer_t) -> *mut gs_vb_data;
    pub fn gs_indexbuffer_destroy(indexbuffer: *mut gs_indexbuffer_t);
    pub fn gs_indexbuffer_flush(indexbuffer: *mut gs_indexbuffer_t);
    pub fn gs_indexbuffer_flush_direct(
        indexbuffer: *mut gs_indexbuffer_t,
        data: *const ::std::os::raw::c_void,
    );
    pub fn gs_indexbuffer_get_data(
        indexbuffer: *const gs_indexbuffer_t,
    ) -> *mut ::std::os::raw::c_void;
    pub fn gs_indexbuffer_get_num_indices(indexbuffer: *const gs_indexbuffer_t) -> usize;
    pub fn gs_indexbuffer_get_type(indexbuffer: *const gs_indexbuffer_t) -> gs_index_type;
    pub fn gs_timer_destroy(timer: *mut gs_timer_t);
    pub fn gs_timer_begin(timer: *mut gs_timer_t);
    pub fn gs_timer_end(timer: *mut gs_timer_t);
    pub fn gs_timer_get_data(timer: *mut gs_timer_t, ticks: *mut u64) -> bool;
    pub fn gs_timer_range_destroy(timer: *mut gs_timer_range_t);
    pub fn gs_timer_range_begin(range: *mut gs_timer_range_t);
    pub fn gs_timer_range_end(range: *mut gs_timer_range_t);
    pub fn gs_timer_range_get_data(
        range: *mut gs_timer_range_t,
        disjoint: *mut bool,
        frequency: *mut u64,
    ) -> bool;
    pub fn gs_nv12_available() -> bool;
    pub fn gs_p010_available() -> bool;
    pub fn gs_texture_create_nv12(
        tex_y: *mut *mut gs_texture_t,
        tex_uv: *mut *mut gs_texture_t,
        width: u32,
        height: u32,
        flags: u32,
    ) -> bool;
    pub fn gs_texture_create_p010(
        tex_y: *mut *mut gs_texture_t,
        tex_uv: *mut *mut gs_texture_t,
        width: u32,
        height: u32,
        flags: u32,
    ) -> bool;
    pub fn gs_is_monitor_hdr(monitor: *mut ::std::os::raw::c_void) -> bool;
    pub fn gs_debug_marker_begin(color: *const f32, markername: *const ::std::os::raw::c_char);
    pub fn gs_debug_marker_begin_format(
        color: *const f32,
        format: *const ::std::os::raw::c_char,
        ...
    );
    pub fn gs_debug_marker_end();
    pub fn gs_gdi_texture_available() -> bool;
    pub fn gs_shared_texture_available() -> bool;
#[doc = " Gets information about the monitor at the specific index, returns false\n when there is no monitor at the specified index"]
    pub fn gs_get_duplicator_monitor_info(
        monitor_idx: ::std::os::raw::c_int,
        monitor_info: *mut gs_monitor_info,
    ) -> bool;
    pub fn gs_duplicator_get_monitor_index(
        monitor: *mut ::std::os::raw::c_void,
    ) -> ::std::os::raw::c_int;
#[doc = " creates a windows 8+ output duplicator (monitor capture)"]
    pub fn gs_duplicator_create(monitor_idx: ::std::os::raw::c_int) -> *mut gs_duplicator_t;
    pub fn gs_duplicator_destroy(duplicator: *mut gs_duplicator_t);
    pub fn gs_duplicator_update_frame(duplicator: *mut gs_duplicator_t) -> bool;
    pub fn gs_duplicator_get_texture(duplicator: *mut gs_duplicator_t) -> *mut gs_texture_t;
    pub fn gs_duplicator_get_color_space(duplicator: *mut gs_duplicator_t) -> gs_color_space;
    pub fn gs_duplicator_get_sdr_white_level(duplicator: *mut gs_duplicator_t) -> f32;
    pub fn gs_can_adapter_fast_clear() -> bool;
#[doc = " creates a windows GDI-lockable texture"]
    pub fn gs_texture_create_gdi(width: u32, height: u32) -> *mut gs_texture_t;
    pub fn gs_texture_get_dc(gdi_tex: *mut gs_texture_t) -> *mut ::std::os::raw::c_void;
    pub fn gs_texture_release_dc(gdi_tex: *mut gs_texture_t);
#[doc = " creates a windows shared texture from a texture handle"]
    pub fn gs_texture_open_shared(handle: u32) -> *mut gs_texture_t;
    pub fn gs_texture_open_nt_shared(handle: u32) -> *mut gs_texture_t;
    pub fn gs_texture_get_shared_handle(tex: *mut gs_texture_t) -> u32;
    pub fn gs_texture_wrap_obj(obj: *mut ::std::os::raw::c_void) -> *mut gs_texture_t;
#[doc = " acquires a lock on a keyed mutex texture.\n returns -1 on generic failure, ETIMEDOUT if timed out"]
    pub fn gs_texture_acquire_sync(
        tex: *mut gs_texture_t,
        key: u64,
        ms: u32,
    ) -> ::std::os::raw::c_int;
#[doc = " releases a lock on a keyed mutex texture to another device.\n return 0 on success, -1 on error"]
    pub fn gs_texture_release_sync(tex: *mut gs_texture_t, key: u64) -> ::std::os::raw::c_int;
    pub fn gs_stagesurface_create_nv12(width: u32, height: u32) -> *mut gs_stagesurf_t;
    pub fn gs_stagesurface_create_p010(width: u32, height: u32) -> *mut gs_stagesurf_t;
    pub fn gs_register_loss_callbacks(callbacks: *const gs_device_loss);
    pub fn gs_unregister_loss_callbacks(data: *mut ::std::os::raw::c_void);
    pub fn vec2_abs(dst: *mut vec2, v: *const vec2);
    pub fn vec2_floor(dst: *mut vec2, v: *const vec2);
    pub fn vec2_ceil(dst: *mut vec2, v: *const vec2);
    pub fn vec2_close(v1: *const vec2, v2: *const vec2, epsilon: f32) -> ::std::os::raw::c_int;
    pub fn vec2_norm(dst: *mut vec2, v: *const vec2);
    pub fn vec4_from_vec3(dst: *mut vec4, v: *const vec3);
    pub fn vec4_transform(dst: *mut vec4, v: *const vec4, m: *const matrix4);
    pub fn vec3_from_vec4(dst: *mut vec3, v: *const vec4);
    pub fn vec3_plane_dist(v: *const vec3, p: *const plane) -> f32;
    pub fn vec3_transform(dst: *mut vec3, v: *const vec3, m: *const matrix4);
    pub fn vec3_rotate(dst: *mut vec3, v: *const vec3, m: *const matrix3);
    pub fn vec3_transform3x4(dst: *mut vec3, v: *const vec3, m: *const matrix3);
    pub fn vec3_mirror(dst: *mut vec3, v: *const vec3, p: *const plane);
    pub fn vec3_mirrorv(dst: *mut vec3, v: *const vec3, vec: *const vec3);
    pub fn vec3_rand(dst: *mut vec3, positive_only: ::std::os::raw::c_int);
    pub fn audio_output_open(
        audio: *mut *mut audio_t,
        info: *mut audio_output_info,
    ) -> ::std::os::raw::c_int;
    pub fn audio_output_close(audio: *mut audio_t);
    pub fn audio_output_connect(
        video: *mut audio_t,
        mix_idx: usize,
        conversion: *const audio_convert_info,
        callback: audio_output_callback_t,
        param: *mut ::std::os::raw::c_void,
    ) -> bool;
    pub fn audio_output_disconnect(
        video: *mut audio_t,
        mix_idx: usize,
        callback: audio_output_callback_t,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn audio_output_active(audio: *const audio_t) -> bool;
    pub fn audio_output_get_block_size(audio: *const audio_t) -> usize;
    pub fn audio_output_get_planes(audio: *const audio_t) -> usize;
    pub fn audio_output_get_channels(audio: *const audio_t) -> usize;
    pub fn audio_output_get_sample_rate(audio: *const audio_t) -> u32;
    pub fn audio_output_get_info(audio: *const audio_t) -> *const audio_output_info;
    pub fn video_format_from_fourcc(fourcc: u32) -> video_format;
    pub fn video_format_get_parameters(
        color_space: video_colorspace,
        range: video_range_type,
        matrix: *mut f32,
        min_range: *mut f32,
        max_range: *mut f32,
    ) -> bool;
    pub fn video_format_get_parameters_for_format(
        color_space: video_colorspace,
        range: video_range_type,
        format: video_format,
        matrix: *mut f32,
        min_range: *mut f32,
        max_range: *mut f32,
    ) -> bool;
    pub fn video_output_open(
        video: *mut *mut video_t,
        info: *mut video_output_info,
    ) -> ::std::os::raw::c_int;
    pub fn video_output_close(video: *mut video_t);
    pub fn video_output_connect(
        video: *mut video_t,
        conversion: *const video_scale_info,
        callback: ::std::option::Option<
            unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, frame: *mut video_data),
        >,
        param: *mut ::std::os::raw::c_void,
    ) -> bool;
    pub fn video_output_connect2(
        video: *mut video_t,
        conversion: *const video_scale_info,
        frame_rate_divisor: u32,
        callback: ::std::option::Option<
            unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, frame: *mut video_data),
        >,
        param: *mut ::std::os::raw::c_void,
    ) -> bool;
    pub fn video_output_disconnect(
        video: *mut video_t,
        callback: ::std::option::Option<
            unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, frame: *mut video_data),
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn video_output_disconnect2(
        video: *mut video_t,
        callback: ::std::option::Option<
            unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, frame: *mut video_data),
        >,
        param: *mut ::std::os::raw::c_void,
    ) -> bool;
    pub fn video_output_active(video: *const video_t) -> bool;
    pub fn video_output_get_info(video: *const video_t) -> *const video_output_info;
    pub fn video_output_lock_frame(
        video: *mut video_t,
        frame: *mut video_frame,
        count: ::std::os::raw::c_int,
        timestamp: u64,
    ) -> bool;
    pub fn video_output_unlock_frame(video: *mut video_t);
    pub fn video_output_get_frame_time(video: *const video_t) -> u64;
    pub fn video_output_stop(video: *mut video_t);
    pub fn video_output_stopped(video: *mut video_t) -> bool;
    pub fn video_output_get_format(video: *const video_t) -> video_format;
    pub fn video_output_get_width(video: *const video_t) -> u32;
    pub fn video_output_get_height(video: *const video_t) -> u32;
    pub fn video_output_get_frame_rate(video: *const video_t) -> f64;
    pub fn video_output_get_skipped_frames(video: *const video_t) -> u32;
    pub fn video_output_get_total_frames(video: *const video_t) -> u32;
    pub fn video_output_inc_texture_encoders(video: *mut video_t);
    pub fn video_output_dec_texture_encoders(video: *mut video_t);
    pub fn video_output_inc_texture_frames(video: *mut video_t);
    pub fn video_output_inc_texture_skipped_frames(video: *mut video_t);
    pub fn video_output_create_with_frame_rate_divisor(
        video: *mut video_t,
        divisor: u32,
    ) -> *mut video_t;
    pub fn video_output_free_frame_rate_divisor(video: *mut video_t);
    pub fn calldata_get_data(
        data: *const calldata_t,
        name: *const ::std::os::raw::c_char,
        out: *mut ::std::os::raw::c_void,
        size: usize,
    ) -> bool;
    pub fn calldata_set_data(
        data: *mut calldata_t,
        name: *const ::std::os::raw::c_char,
        in_: *const ::std::os::raw::c_void,
        new_size: usize,
    );
    pub fn calldata_get_string(
        data: *const calldata_t,
        name: *const ::std::os::raw::c_char,
        str_: *mut *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn signal_handler_create() -> *mut signal_handler_t;
    pub fn signal_handler_destroy(handler: *mut signal_handler_t);
    pub fn signal_handler_add(
        handler: *mut signal_handler_t,
        signal_decl: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn signal_handler_connect(
        handler: *mut signal_handler_t,
        signal: *const ::std::os::raw::c_char,
        callback: signal_callback_t,
        data: *mut ::std::os::raw::c_void,
    );
    pub fn signal_handler_connect_ref(
        handler: *mut signal_handler_t,
        signal: *const ::std::os::raw::c_char,
        callback: signal_callback_t,
        data: *mut ::std::os::raw::c_void,
    );
    pub fn signal_handler_disconnect(
        handler: *mut signal_handler_t,
        signal: *const ::std::os::raw::c_char,
        callback: signal_callback_t,
        data: *mut ::std::os::raw::c_void,
    );
    pub fn signal_handler_connect_global(
        handler: *mut signal_handler_t,
        callback: global_signal_callback_t,
        data: *mut ::std::os::raw::c_void,
    );
    pub fn signal_handler_disconnect_global(
        handler: *mut signal_handler_t,
        callback: global_signal_callback_t,
        data: *mut ::std::os::raw::c_void,
    );
    pub fn signal_handler_remove_current();
    pub fn signal_handler_signal(
        handler: *mut signal_handler_t,
        signal: *const ::std::os::raw::c_char,
        params: *mut calldata_t,
    );
    pub fn proc_handler_create() -> *mut proc_handler_t;
    pub fn proc_handler_destroy(handler: *mut proc_handler_t);
    pub fn proc_handler_add(
        handler: *mut proc_handler_t,
        decl_string: *const ::std::os::raw::c_char,
        proc_: proc_handler_proc_t,
        data: *mut ::std::os::raw::c_void,
    );
#[doc = " Calls a function in a procedure handler.  Returns false if the named\n procedure is not found."]
    pub fn proc_handler_call(
        handler: *mut proc_handler_t,
        name: *const ::std::os::raw::c_char,
        params: *mut calldata_t,
    ) -> bool;
    pub fn obs_data_create() -> *mut obs_data_t;
    pub fn obs_data_create_from_json(json_string: *const ::std::os::raw::c_char)
    -> *mut obs_data_t;
    pub fn obs_data_create_from_json_file(
        json_file: *const ::std::os::raw::c_char,
    ) -> *mut obs_data_t;
    pub fn obs_data_create_from_json_file_safe(
        json_file: *const ::std::os::raw::c_char,
        backup_ext: *const ::std::os::raw::c_char,
    ) -> *mut obs_data_t;
    pub fn obs_data_addref(data: *mut obs_data_t);
    pub fn obs_data_release(data: *mut obs_data_t);
    pub fn obs_data_get_json(data: *mut obs_data_t) -> *const ::std::os::raw::c_char;
    pub fn obs_data_get_json_with_defaults(data: *mut obs_data_t) -> *const ::std::os::raw::c_char;
    pub fn obs_data_get_json_pretty(data: *mut obs_data_t) -> *const ::std::os::raw::c_char;
    pub fn obs_data_get_json_pretty_with_defaults(
        data: *mut obs_data_t,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_data_get_last_json(data: *mut obs_data_t) -> *const ::std::os::raw::c_char;
    pub fn obs_data_save_json(data: *mut obs_data_t, file: *const ::std::os::raw::c_char) -> bool;
    pub fn obs_data_save_json_safe(
        data: *mut obs_data_t,
        file: *const ::std::os::raw::c_char,
        temp_ext: *const ::std::os::raw::c_char,
        backup_ext: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_data_save_json_pretty_safe(
        data: *mut obs_data_t,
        file: *const ::std::os::raw::c_char,
        temp_ext: *const ::std::os::raw::c_char,
        backup_ext: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_data_apply(target: *mut obs_data_t, apply_data: *mut obs_data_t);
    pub fn obs_data_erase(data: *mut obs_data_t, name: *const ::std::os::raw::c_char);
    pub fn obs_data_clear(data: *mut obs_data_t);
    pub fn obs_data_set_string(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const ::std::os::raw::c_char,
    );
    pub fn obs_data_set_int(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: ::std::os::raw::c_longlong,
    );
    pub fn obs_data_set_double(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: f64,
    );
    pub fn obs_data_set_bool(data: *mut obs_data_t, name: *const ::std::os::raw::c_char, val: bool);
    pub fn obs_data_set_obj(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        obj: *mut obs_data_t,
    );
    pub fn obs_data_set_array(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        array: *mut obs_data_array_t,
    );
    pub fn obs_data_get_defaults(data: *mut obs_data_t) -> *mut obs_data_t;
    pub fn obs_data_set_default_string(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const ::std::os::raw::c_char,
    );
    pub fn obs_data_set_default_int(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: ::std::os::raw::c_longlong,
    );
    pub fn obs_data_set_default_double(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: f64,
    );
    pub fn obs_data_set_default_bool(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: bool,
    );
    pub fn obs_data_set_default_obj(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        obj: *mut obs_data_t,
    );
    pub fn obs_data_set_default_array(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        arr: *mut obs_data_array_t,
    );
    pub fn obs_data_set_autoselect_string(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const ::std::os::raw::c_char,
    );
    pub fn obs_data_set_autoselect_int(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: ::std::os::raw::c_longlong,
    );
    pub fn obs_data_set_autoselect_double(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: f64,
    );
    pub fn obs_data_set_autoselect_bool(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: bool,
    );
    pub fn obs_data_set_autoselect_obj(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        obj: *mut obs_data_t,
    );
    pub fn obs_data_set_autoselect_array(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        arr: *mut obs_data_array_t,
    );
    pub fn obs_data_get_string(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_data_get_int(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_longlong;
    pub fn obs_data_get_double(data: *mut obs_data_t, name: *const ::std::os::raw::c_char) -> f64;
    pub fn obs_data_get_bool(data: *mut obs_data_t, name: *const ::std::os::raw::c_char) -> bool;
    pub fn obs_data_get_obj(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_data_t;
    pub fn obs_data_get_array(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_data_array_t;
    pub fn obs_data_get_default_string(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_data_get_default_int(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_longlong;
    pub fn obs_data_get_default_double(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> f64;
    pub fn obs_data_get_default_bool(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_data_get_default_obj(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_data_t;
    pub fn obs_data_get_default_array(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_data_array_t;
    pub fn obs_data_get_autoselect_string(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_data_get_autoselect_int(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_longlong;
    pub fn obs_data_get_autoselect_double(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> f64;
    pub fn obs_data_get_autoselect_bool(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_data_get_autoselect_obj(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_data_t;
    pub fn obs_data_get_autoselect_array(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_data_array_t;
    pub fn obs_data_array_create() -> *mut obs_data_array_t;
    pub fn obs_data_array_addref(array: *mut obs_data_array_t);
    pub fn obs_data_array_release(array: *mut obs_data_array_t);
    pub fn obs_data_array_count(array: *mut obs_data_array_t) -> usize;
    pub fn obs_data_array_item(array: *mut obs_data_array_t, idx: usize) -> *mut obs_data_t;
    pub fn obs_data_array_push_back(array: *mut obs_data_array_t, obj: *mut obs_data_t) -> usize;
    pub fn obs_data_array_insert(array: *mut obs_data_array_t, idx: usize, obj: *mut obs_data_t);
    pub fn obs_data_array_push_back_array(
        array: *mut obs_data_array_t,
        array2: *mut obs_data_array_t,
    );
    pub fn obs_data_array_erase(array: *mut obs_data_array_t, idx: usize);
    pub fn obs_data_array_enum(
        array: *mut obs_data_array_t,
        cb: ::std::option::Option<
            unsafe extern "C" fn(data: *mut obs_data_t, param: *mut ::std::os::raw::c_void),
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_data_has_user_value(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_data_has_default_value(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_data_has_autoselect_value(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_data_item_has_user_value(data: *mut obs_data_item_t) -> bool;
    pub fn obs_data_item_has_default_value(data: *mut obs_data_item_t) -> bool;
    pub fn obs_data_item_has_autoselect_value(data: *mut obs_data_item_t) -> bool;
    pub fn obs_data_unset_user_value(data: *mut obs_data_t, name: *const ::std::os::raw::c_char);
    pub fn obs_data_unset_default_value(data: *mut obs_data_t, name: *const ::std::os::raw::c_char);
    pub fn obs_data_unset_autoselect_value(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    );
    pub fn obs_data_item_unset_user_value(data: *mut obs_data_item_t);
    pub fn obs_data_item_unset_default_value(data: *mut obs_data_item_t);
    pub fn obs_data_item_unset_autoselect_value(data: *mut obs_data_item_t);
    pub fn obs_data_first(data: *mut obs_data_t) -> *mut obs_data_item_t;
    pub fn obs_data_item_byname(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_data_item_t;
    pub fn obs_data_item_next(item: *mut *mut obs_data_item_t) -> bool;
    pub fn obs_data_item_release(item: *mut *mut obs_data_item_t);
    pub fn obs_data_item_remove(item: *mut *mut obs_data_item_t);
    pub fn obs_data_item_gettype(item: *mut obs_data_item_t) -> obs_data_type;
    pub fn obs_data_item_numtype(item: *mut obs_data_item_t) -> obs_data_number_type;
    pub fn obs_data_item_get_name(item: *mut obs_data_item_t) -> *const ::std::os::raw::c_char;
    pub fn obs_data_item_set_string(
        item: *mut *mut obs_data_item_t,
        val: *const ::std::os::raw::c_char,
    );
    pub fn obs_data_item_set_int(item: *mut *mut obs_data_item_t, val: ::std::os::raw::c_longlong);
    pub fn obs_data_item_set_double(item: *mut *mut obs_data_item_t, val: f64);
    pub fn obs_data_item_set_bool(item: *mut *mut obs_data_item_t, val: bool);
    pub fn obs_data_item_set_obj(item: *mut *mut obs_data_item_t, val: *mut obs_data_t);
    pub fn obs_data_item_set_array(item: *mut *mut obs_data_item_t, val: *mut obs_data_array_t);
    pub fn obs_data_item_set_default_string(
        item: *mut *mut obs_data_item_t,
        val: *const ::std::os::raw::c_char,
    );
    pub fn obs_data_item_set_default_int(
        item: *mut *mut obs_data_item_t,
        val: ::std::os::raw::c_longlong,
    );
    pub fn obs_data_item_set_default_double(item: *mut *mut obs_data_item_t, val: f64);
    pub fn obs_data_item_set_default_bool(item: *mut *mut obs_data_item_t, val: bool);
    pub fn obs_data_item_set_default_obj(item: *mut *mut obs_data_item_t, val: *mut obs_data_t);
    pub fn obs_data_item_set_default_array(
        item: *mut *mut obs_data_item_t,
        val: *mut obs_data_array_t,
    );
    pub fn obs_data_item_set_autoselect_string(
        item: *mut *mut obs_data_item_t,
        val: *const ::std::os::raw::c_char,
    );
    pub fn obs_data_item_set_autoselect_int(
        item: *mut *mut obs_data_item_t,
        val: ::std::os::raw::c_longlong,
    );
    pub fn obs_data_item_set_autoselect_double(item: *mut *mut obs_data_item_t, val: f64);
    pub fn obs_data_item_set_autoselect_bool(item: *mut *mut obs_data_item_t, val: bool);
    pub fn obs_data_item_set_autoselect_obj(item: *mut *mut obs_data_item_t, val: *mut obs_data_t);
    pub fn obs_data_item_set_autoselect_array(
        item: *mut *mut obs_data_item_t,
        val: *mut obs_data_array_t,
    );
    pub fn obs_data_item_get_string(item: *mut obs_data_item_t) -> *const ::std::os::raw::c_char;
    pub fn obs_data_item_get_int(item: *mut obs_data_item_t) -> ::std::os::raw::c_longlong;
    pub fn obs_data_item_get_double(item: *mut obs_data_item_t) -> f64;
    pub fn obs_data_item_get_bool(item: *mut obs_data_item_t) -> bool;
    pub fn obs_data_item_get_obj(item: *mut obs_data_item_t) -> *mut obs_data_t;
    pub fn obs_data_item_get_array(item: *mut obs_data_item_t) -> *mut obs_data_array_t;
    pub fn obs_data_item_get_default_string(
        item: *mut obs_data_item_t,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_data_item_get_default_int(item: *mut obs_data_item_t) -> ::std::os::raw::c_longlong;
    pub fn obs_data_item_get_default_double(item: *mut obs_data_item_t) -> f64;
    pub fn obs_data_item_get_default_bool(item: *mut obs_data_item_t) -> bool;
    pub fn obs_data_item_get_default_obj(item: *mut obs_data_item_t) -> *mut obs_data_t;
    pub fn obs_data_item_get_default_array(item: *mut obs_data_item_t) -> *mut obs_data_array_t;
    pub fn obs_data_item_get_autoselect_string(
        item: *mut obs_data_item_t,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_data_item_get_autoselect_int(
        item: *mut obs_data_item_t,
    ) -> ::std::os::raw::c_longlong;
    pub fn obs_data_item_get_autoselect_double(item: *mut obs_data_item_t) -> f64;
    pub fn obs_data_item_get_autoselect_bool(item: *mut obs_data_item_t) -> bool;
    pub fn obs_data_item_get_autoselect_obj(item: *mut obs_data_item_t) -> *mut obs_data_t;
    pub fn obs_data_item_get_autoselect_array(item: *mut obs_data_item_t) -> *mut obs_data_array_t;
    pub fn obs_data_set_vec2(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const vec2,
    );
    pub fn obs_data_set_vec3(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const vec3,
    );
    pub fn obs_data_set_vec4(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const vec4,
    );
    pub fn obs_data_set_quat(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const quat,
    );
    pub fn obs_data_set_default_vec2(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const vec2,
    );
    pub fn obs_data_set_default_vec3(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const vec3,
    );
    pub fn obs_data_set_default_vec4(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const vec4,
    );
    pub fn obs_data_set_default_quat(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const quat,
    );
    pub fn obs_data_set_autoselect_vec2(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const vec2,
    );
    pub fn obs_data_set_autoselect_vec3(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const vec3,
    );
    pub fn obs_data_set_autoselect_vec4(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const vec4,
    );
    pub fn obs_data_set_autoselect_quat(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *const quat,
    );
    pub fn obs_data_get_vec2(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *mut vec2,
    );
    pub fn obs_data_get_vec3(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *mut vec3,
    );
    pub fn obs_data_get_vec4(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *mut vec4,
    );
    pub fn obs_data_get_quat(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *mut quat,
    );
    pub fn obs_data_get_default_vec2(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *mut vec2,
    );
    pub fn obs_data_get_default_vec3(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *mut vec3,
    );
    pub fn obs_data_get_default_vec4(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *mut vec4,
    );
    pub fn obs_data_get_default_quat(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *mut quat,
    );
    pub fn obs_data_get_autoselect_vec2(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *mut vec2,
    );
    pub fn obs_data_get_autoselect_vec3(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *mut vec3,
    );
    pub fn obs_data_get_autoselect_vec4(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *mut vec4,
    );
    pub fn obs_data_get_autoselect_quat(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        val: *mut quat,
    );
    pub fn obs_data_set_frames_per_second(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        fps: media_frames_per_second,
        option: *const ::std::os::raw::c_char,
    );
    pub fn obs_data_set_default_frames_per_second(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        fps: media_frames_per_second,
        option: *const ::std::os::raw::c_char,
    );
    pub fn obs_data_set_autoselect_frames_per_second(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        fps: media_frames_per_second,
        option: *const ::std::os::raw::c_char,
    );
    pub fn obs_data_get_frames_per_second(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        fps: *mut media_frames_per_second,
        option: *mut *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_data_get_default_frames_per_second(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        fps: *mut media_frames_per_second,
        option: *mut *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_data_get_autoselect_frames_per_second(
        data: *mut obs_data_t,
        name: *const ::std::os::raw::c_char,
        fps: *mut media_frames_per_second,
        option: *mut *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_data_item_set_frames_per_second(
        item: *mut *mut obs_data_item_t,
        fps: media_frames_per_second,
        option: *const ::std::os::raw::c_char,
    );
    pub fn obs_data_item_set_default_frames_per_second(
        item: *mut *mut obs_data_item_t,
        fps: media_frames_per_second,
        option: *const ::std::os::raw::c_char,
    );
    pub fn obs_data_item_set_autoselect_frames_per_second(
        item: *mut *mut obs_data_item_t,
        fps: media_frames_per_second,
        option: *const ::std::os::raw::c_char,
    );
    pub fn obs_data_item_get_frames_per_second(
        item: *mut obs_data_item_t,
        fps: *mut media_frames_per_second,
        option: *mut *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_data_item_get_default_frames_per_second(
        item: *mut obs_data_item_t,
        fps: *mut media_frames_per_second,
        option: *mut *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_data_item_get_autoselect_frames_per_second(
        item: *mut obs_data_item_t,
        fps: *mut media_frames_per_second,
        option: *mut *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_properties_create() -> *mut obs_properties_t;
    pub fn obs_properties_create_param(
        param: *mut ::std::os::raw::c_void,
        destroy: ::std::option::Option<unsafe extern "C" fn(param: *mut ::std::os::raw::c_void)>,
    ) -> *mut obs_properties_t;
    pub fn obs_properties_destroy(props: *mut obs_properties_t);
    pub fn obs_properties_set_flags(props: *mut obs_properties_t, flags: u32);
    pub fn obs_properties_get_flags(props: *mut obs_properties_t) -> u32;
    pub fn obs_properties_set_param(
        props: *mut obs_properties_t,
        param: *mut ::std::os::raw::c_void,
        destroy: ::std::option::Option<unsafe extern "C" fn(param: *mut ::std::os::raw::c_void)>,
    );
    pub fn obs_properties_get_param(props: *mut obs_properties_t) -> *mut ::std::os::raw::c_void;
    pub fn obs_properties_first(props: *mut obs_properties_t) -> *mut obs_property_t;
    pub fn obs_properties_get(
        props: *mut obs_properties_t,
        property: *const ::std::os::raw::c_char,
    ) -> *mut obs_property_t;
    pub fn obs_properties_get_parent(props: *mut obs_properties_t) -> *mut obs_properties_t;
#[doc = " Remove a property from a properties list.\n\n Removes a property from a properties list. Only valid in either\n get_properties or modified_callback(2). modified_callback(2) must return\n true so that all UI properties are rebuilt and returning false is undefined\n behavior.\n\n @param props Properties to remove from.\n @param property Name of the property to remove."]
    pub fn obs_properties_remove_by_name(
        props: *mut obs_properties_t,
        property: *const ::std::os::raw::c_char,
    );
#[doc = " Applies settings to the properties by calling all the necessary\n modification callbacks"]
    pub fn obs_properties_apply_settings(props: *mut obs_properties_t, settings: *mut obs_data_t);
    pub fn obs_properties_add_bool(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
    ) -> *mut obs_property_t;
    pub fn obs_properties_add_int(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
        min: ::std::os::raw::c_int,
        max: ::std::os::raw::c_int,
        step: ::std::os::raw::c_int,
    ) -> *mut obs_property_t;
    pub fn obs_properties_add_float(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
        min: f64,
        max: f64,
        step: f64,
    ) -> *mut obs_property_t;
    pub fn obs_properties_add_int_slider(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
        min: ::std::os::raw::c_int,
        max: ::std::os::raw::c_int,
        step: ::std::os::raw::c_int,
    ) -> *mut obs_property_t;
    pub fn obs_properties_add_float_slider(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
        min: f64,
        max: f64,
        step: f64,
    ) -> *mut obs_property_t;
    pub fn obs_properties_add_text(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
        type_: obs_text_type,
    ) -> *mut obs_property_t;
#[doc = " Adds a 'path' property.  Can be a directory or a file.\n\n If target is a file path, the filters should be this format, separated by\n double semicolons, and extensions separated by space:\n   \"Example types 1 and 2 (*.ex1 *.ex2);;Example type 3 (*.ex3)\"\n\n @param  props        Properties object\n @param  name         Settings name\n @param  description  Description (display name) of the property\n @param  type         Type of path (directory or file)\n @param  filter       If type is a file path, then describes the file filter\n                      that the user can browse.  Items are separated via\n                      double semicolons.  If multiple file types in a\n                      filter, separate with space."]
    pub fn obs_properties_add_path(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
        type_: obs_path_type,
        filter: *const ::std::os::raw::c_char,
        default_path: *const ::std::os::raw::c_char,
    ) -> *mut obs_property_t;
    pub fn obs_properties_add_list(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
        type_: obs_combo_type,
        format: obs_combo_format,
    ) -> *mut obs_property_t;
    pub fn obs_properties_add_color(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
    ) -> *mut obs_property_t;
    pub fn obs_properties_add_color_alpha(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
    ) -> *mut obs_property_t;
    pub fn obs_properties_add_button(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        text: *const ::std::os::raw::c_char,
        callback: obs_property_clicked_t,
    ) -> *mut obs_property_t;
    pub fn obs_properties_add_button2(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        text: *const ::std::os::raw::c_char,
        callback: obs_property_clicked_t,
        priv_: *mut ::std::os::raw::c_void,
    ) -> *mut obs_property_t;
#[doc = " Adds a font selection property.\n\n A font is an obs_data sub-object which contains the following items:\n   face:   face name string\n   style:  style name string\n   size:   size integer\n   flags:  font flags integer (OBS_FONT_* defined above)"]
    pub fn obs_properties_add_font(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
    ) -> *mut obs_property_t;
    pub fn obs_properties_add_editable_list(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
        type_: obs_editable_list_type,
        filter: *const ::std::os::raw::c_char,
        default_path: *const ::std::os::raw::c_char,
    ) -> *mut obs_property_t;
    pub fn obs_properties_add_frame_rate(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
    ) -> *mut obs_property_t;
    pub fn obs_properties_add_group(
        props: *mut obs_properties_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
        type_: obs_group_type,
        group: *mut obs_properties_t,
    ) -> *mut obs_property_t;
    pub fn obs_property_set_modified_callback(
        p: *mut obs_property_t,
        modified: obs_property_modified_t,
    );
    pub fn obs_property_set_modified_callback2(
        p: *mut obs_property_t,
        modified: obs_property_modified2_t,
        priv_: *mut ::std::os::raw::c_void,
    );
    pub fn obs_property_modified(p: *mut obs_property_t, settings: *mut obs_data_t) -> bool;
    pub fn obs_property_button_clicked(
        p: *mut obs_property_t,
        obj: *mut ::std::os::raw::c_void,
    ) -> bool;
    pub fn obs_property_set_visible(p: *mut obs_property_t, visible: bool);
    pub fn obs_property_set_enabled(p: *mut obs_property_t, enabled: bool);
    pub fn obs_property_set_description(
        p: *mut obs_property_t,
        description: *const ::std::os::raw::c_char,
    );
    pub fn obs_property_set_long_description(
        p: *mut obs_property_t,
        long_description: *const ::std::os::raw::c_char,
    );
    pub fn obs_property_name(p: *mut obs_property_t) -> *const ::std::os::raw::c_char;
    pub fn obs_property_description(p: *mut obs_property_t) -> *const ::std::os::raw::c_char;
    pub fn obs_property_long_description(p: *mut obs_property_t) -> *const ::std::os::raw::c_char;
    pub fn obs_property_get_type(p: *mut obs_property_t) -> obs_property_type;
    pub fn obs_property_enabled(p: *mut obs_property_t) -> bool;
    pub fn obs_property_visible(p: *mut obs_property_t) -> bool;
    pub fn obs_property_next(p: *mut *mut obs_property_t) -> bool;
    pub fn obs_property_int_min(p: *mut obs_property_t) -> ::std::os::raw::c_int;
    pub fn obs_property_int_max(p: *mut obs_property_t) -> ::std::os::raw::c_int;
    pub fn obs_property_int_step(p: *mut obs_property_t) -> ::std::os::raw::c_int;
    pub fn obs_property_int_type(p: *mut obs_property_t) -> obs_number_type;
    pub fn obs_property_int_suffix(p: *mut obs_property_t) -> *const ::std::os::raw::c_char;
    pub fn obs_property_float_min(p: *mut obs_property_t) -> f64;
    pub fn obs_property_float_max(p: *mut obs_property_t) -> f64;
    pub fn obs_property_float_step(p: *mut obs_property_t) -> f64;
    pub fn obs_property_float_type(p: *mut obs_property_t) -> obs_number_type;
    pub fn obs_property_float_suffix(p: *mut obs_property_t) -> *const ::std::os::raw::c_char;
    pub fn obs_property_text_type(p: *mut obs_property_t) -> obs_text_type;
    pub fn obs_property_text_monospace(p: *mut obs_property_t) -> bool;
    pub fn obs_property_text_info_type(p: *mut obs_property_t) -> obs_text_info_type;
    pub fn obs_property_text_info_word_wrap(p: *mut obs_property_t) -> bool;
    pub fn obs_property_path_type(p: *mut obs_property_t) -> obs_path_type;
    pub fn obs_property_path_filter(p: *mut obs_property_t) -> *const ::std::os::raw::c_char;
    pub fn obs_property_path_default_path(p: *mut obs_property_t) -> *const ::std::os::raw::c_char;
    pub fn obs_property_list_type(p: *mut obs_property_t) -> obs_combo_type;
    pub fn obs_property_list_format(p: *mut obs_property_t) -> obs_combo_format;
    pub fn obs_property_int_set_limits(
        p: *mut obs_property_t,
        min: ::std::os::raw::c_int,
        max: ::std::os::raw::c_int,
        step: ::std::os::raw::c_int,
    );
    pub fn obs_property_float_set_limits(p: *mut obs_property_t, min: f64, max: f64, step: f64);
    pub fn obs_property_int_set_suffix(
        p: *mut obs_property_t,
        suffix: *const ::std::os::raw::c_char,
    );
    pub fn obs_property_float_set_suffix(
        p: *mut obs_property_t,
        suffix: *const ::std::os::raw::c_char,
    );
    pub fn obs_property_text_set_monospace(p: *mut obs_property_t, monospace: bool);
    pub fn obs_property_text_set_info_type(p: *mut obs_property_t, type_: obs_text_info_type);
    pub fn obs_property_text_set_info_word_wrap(p: *mut obs_property_t, word_wrap: bool);
    pub fn obs_property_button_set_type(p: *mut obs_property_t, type_: obs_button_type);
    pub fn obs_property_button_set_url(p: *mut obs_property_t, url: *mut ::std::os::raw::c_char);
    pub fn obs_property_list_clear(p: *mut obs_property_t);
    pub fn obs_property_list_add_string(
        p: *mut obs_property_t,
        name: *const ::std::os::raw::c_char,
        val: *const ::std::os::raw::c_char,
    ) -> usize;
    pub fn obs_property_list_add_int(
        p: *mut obs_property_t,
        name: *const ::std::os::raw::c_char,
        val: ::std::os::raw::c_longlong,
    ) -> usize;
    pub fn obs_property_list_add_float(
        p: *mut obs_property_t,
        name: *const ::std::os::raw::c_char,
        val: f64,
    ) -> usize;
    pub fn obs_property_list_add_bool(
        p: *mut obs_property_t,
        name: *const ::std::os::raw::c_char,
        val: bool,
    ) -> usize;
    pub fn obs_property_list_insert_string(
        p: *mut obs_property_t,
        idx: usize,
        name: *const ::std::os::raw::c_char,
        val: *const ::std::os::raw::c_char,
    );
    pub fn obs_property_list_insert_int(
        p: *mut obs_property_t,
        idx: usize,
        name: *const ::std::os::raw::c_char,
        val: ::std::os::raw::c_longlong,
    );
    pub fn obs_property_list_insert_float(
        p: *mut obs_property_t,
        idx: usize,
        name: *const ::std::os::raw::c_char,
        val: f64,
    );
    pub fn obs_property_list_insert_bool(
        p: *mut obs_property_t,
        idx: usize,
        name: *const ::std::os::raw::c_char,
        val: bool,
    );
    pub fn obs_property_list_item_disable(p: *mut obs_property_t, idx: usize, disabled: bool);
    pub fn obs_property_list_item_disabled(p: *mut obs_property_t, idx: usize) -> bool;
    pub fn obs_property_list_item_remove(p: *mut obs_property_t, idx: usize);
    pub fn obs_property_list_item_count(p: *mut obs_property_t) -> usize;
    pub fn obs_property_list_item_name(
        p: *mut obs_property_t,
        idx: usize,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_property_list_item_string(
        p: *mut obs_property_t,
        idx: usize,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_property_list_item_int(
        p: *mut obs_property_t,
        idx: usize,
    ) -> ::std::os::raw::c_longlong;
    pub fn obs_property_list_item_float(p: *mut obs_property_t, idx: usize) -> f64;
    pub fn obs_property_list_item_bool(p: *mut obs_property_t, idx: usize) -> bool;
    pub fn obs_property_editable_list_type(p: *mut obs_property_t) -> obs_editable_list_type;
    pub fn obs_property_editable_list_filter(
        p: *mut obs_property_t,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_property_editable_list_default_path(
        p: *mut obs_property_t,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_property_frame_rate_clear(p: *mut obs_property_t);
    pub fn obs_property_frame_rate_options_clear(p: *mut obs_property_t);
    pub fn obs_property_frame_rate_fps_ranges_clear(p: *mut obs_property_t);
    pub fn obs_property_frame_rate_option_add(
        p: *mut obs_property_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
    ) -> usize;
    pub fn obs_property_frame_rate_fps_range_add(
        p: *mut obs_property_t,
        min: media_frames_per_second,
        max: media_frames_per_second,
    ) -> usize;
    pub fn obs_property_frame_rate_option_insert(
        p: *mut obs_property_t,
        idx: usize,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
    );
    pub fn obs_property_frame_rate_fps_range_insert(
        p: *mut obs_property_t,
        idx: usize,
        min: media_frames_per_second,
        max: media_frames_per_second,
    );
    pub fn obs_property_frame_rate_options_count(p: *mut obs_property_t) -> usize;
    pub fn obs_property_frame_rate_option_name(
        p: *mut obs_property_t,
        idx: usize,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_property_frame_rate_option_description(
        p: *mut obs_property_t,
        idx: usize,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_property_frame_rate_fps_ranges_count(p: *mut obs_property_t) -> usize;
    pub fn obs_property_frame_rate_fps_range_min(
        p: *mut obs_property_t,
        idx: usize,
    ) -> media_frames_per_second;
    pub fn obs_property_frame_rate_fps_range_max(
        p: *mut obs_property_t,
        idx: usize,
    ) -> media_frames_per_second;
    pub fn obs_property_group_type(p: *mut obs_property_t) -> obs_group_type;
    pub fn obs_property_group_content(p: *mut obs_property_t) -> *mut obs_properties_t;
    pub fn obs_property_button_type(p: *mut obs_property_t) -> obs_button_type;
    pub fn obs_property_button_url(p: *mut obs_property_t) -> *const ::std::os::raw::c_char;
    pub fn obs_missing_files_create() -> *mut obs_missing_files_t;
    pub fn obs_missing_file_create(
        path: *const ::std::os::raw::c_char,
        callback: obs_missing_file_cb,
        src_type: ::std::os::raw::c_int,
        src: *mut ::std::os::raw::c_void,
        data: *mut ::std::os::raw::c_void,
    ) -> *mut obs_missing_file_t;
    pub fn obs_missing_files_add_file(
        files: *mut obs_missing_files_t,
        file: *mut obs_missing_file_t,
    );
    pub fn obs_missing_files_count(files: *mut obs_missing_files_t) -> usize;
    pub fn obs_missing_files_get_file(
        files: *mut obs_missing_files_t,
        idx: ::std::os::raw::c_int,
    ) -> *mut obs_missing_file_t;
    pub fn obs_missing_files_destroy(files: *mut obs_missing_files_t);
    pub fn obs_missing_files_append(dst: *mut obs_missing_files_t, src: *mut obs_missing_files_t);
    pub fn obs_missing_file_issue_callback(
        file: *mut obs_missing_file_t,
        new_path: *const ::std::os::raw::c_char,
    );
    pub fn obs_missing_file_get_path(
        file: *mut obs_missing_file_t,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_missing_file_get_source_name(
        file: *mut obs_missing_file_t,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_missing_file_release(file: *mut obs_missing_file_t);
    pub fn obs_missing_file_destroy(file: *mut obs_missing_file_t);
    pub fn obs_register_source_s(info: *const obs_source_info, size: usize);
    pub fn obs_register_encoder_s(info: *const obs_encoder_info, size: usize);
    pub fn obs_register_output_s(info: *const obs_output_info, size: usize);
    pub fn obs_register_service_s(info: *const obs_service_info, size: usize);
#[doc = " @brief Create a fader\n @param type the type of the fader\n @return pointer to the fader object\n\n A fader object is used to map input values from a gui element to dB and\n subsequently multiplier values used by libobs to mix audio.\n The current \"position\" of the fader is internally stored as dB value."]
    pub fn obs_fader_create(type_: obs_fader_type) -> *mut obs_fader_t;
#[doc = " @brief Destroy a fader\n @param fader pointer to the fader object\n\n Destroy the fader and free all related data"]
    pub fn obs_fader_destroy(fader: *mut obs_fader_t);
#[doc = " @brief Set the fader dB value\n @param fader pointer to the fader object\n @param db new dB value\n @return true if value was set without clamping"]
    pub fn obs_fader_set_db(fader: *mut obs_fader_t, db: f32) -> bool;
#[doc = " @brief Get the current fader dB value\n @param fader pointer to the fader object\n @return current fader dB value"]
    pub fn obs_fader_get_db(fader: *mut obs_fader_t) -> f32;
#[doc = " @brief Set the fader value from deflection\n @param fader pointer to the fader object\n @param def new deflection\n @return true if value was set without clamping\n\n This sets the new fader value from the supplied deflection, in case the\n resulting value was clamped due to limits this function will return false.\n The deflection is typically in the range \\[0.0, 1.0\\] but may be higher in\n order to provide some amplification. In order for this to work the high dB\n limit has to be set."]
    pub fn obs_fader_set_deflection(fader: *mut obs_fader_t, def: f32) -> bool;
#[doc = " @brief Get the current fader deflection\n @param fader pointer to the fader object\n @return current fader deflection"]
    pub fn obs_fader_get_deflection(fader: *mut obs_fader_t) -> f32;
#[doc = " @brief Set the fader value from multiplier\n @param fader pointer to the fader object\n @return true if the value was set without clamping"]
    pub fn obs_fader_set_mul(fader: *mut obs_fader_t, mul: f32) -> bool;
#[doc = " @brief Get the current fader multiplier value\n @param fader pointer to the fader object\n @return current fader multiplier"]
    pub fn obs_fader_get_mul(fader: *mut obs_fader_t) -> f32;
#[doc = " @brief Attach the fader to a source\n @param fader pointer to the fader object\n @param source pointer to the source object\n @return true on success\n\n When the fader is attached to a source it will automatically sync it's state\n to the volume of the source."]
    pub fn obs_fader_attach_source(fader: *mut obs_fader_t, source: *mut obs_source_t) -> bool;
#[doc = " @brief Detach the fader from the currently attached source\n @param fader pointer to the fader object"]
    pub fn obs_fader_detach_source(fader: *mut obs_fader_t);
    pub fn obs_fader_add_callback(
        fader: *mut obs_fader_t,
        callback: obs_fader_changed_t,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_fader_remove_callback(
        fader: *mut obs_fader_t,
        callback: obs_fader_changed_t,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " @brief Create a volume meter\n @param type the mapping type to use for the volume meter\n @return pointer to the volume meter object\n\n A volume meter object is used to prepare the sound levels reported by audio\n sources for display in a GUI.\n It will automatically take source volume into account and map the levels\n to a range \\[0.0f, 1.0f\\]."]
    pub fn obs_volmeter_create(type_: obs_fader_type) -> *mut obs_volmeter_t;
#[doc = " @brief Destroy a volume meter\n @param volmeter pointer to the volmeter object\n\n Destroy the volume meter and free all related data"]
    pub fn obs_volmeter_destroy(volmeter: *mut obs_volmeter_t);
#[doc = " @brief Attach the volume meter to a source\n @param volmeter pointer to the volume meter object\n @param source pointer to the source object\n @return true on success\n\n When the volume meter is attached to a source it will start to listen to\n volume updates on the source and after preparing the data emit its own\n signal."]
    pub fn obs_volmeter_attach_source(
        volmeter: *mut obs_volmeter_t,
        source: *mut obs_source_t,
    ) -> bool;
#[doc = " @brief Detach the volume meter from the currently attached source\n @param volmeter pointer to the volume meter object"]
    pub fn obs_volmeter_detach_source(volmeter: *mut obs_volmeter_t);
#[doc = " @brief Set the peak meter type for the volume meter\n @param volmeter pointer to the volume meter object\n @param peak_meter_type set if true-peak needs to be measured."]
    pub fn obs_volmeter_set_peak_meter_type(
        volmeter: *mut obs_volmeter_t,
        peak_meter_type: obs_peak_meter_type,
    );
#[doc = " @brief Get the number of channels which are configured for this source.\n @param volmeter pointer to the volume meter object"]
    pub fn obs_volmeter_get_nr_channels(volmeter: *mut obs_volmeter_t) -> ::std::os::raw::c_int;
    pub fn obs_volmeter_add_callback(
        volmeter: *mut obs_volmeter_t,
        callback: obs_volmeter_updated_t,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_volmeter_remove_callback(
        volmeter: *mut obs_volmeter_t,
        callback: obs_volmeter_updated_t,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_mul_to_db(mul: f32) -> f32;
    pub fn obs_db_to_mul(db: f32) -> f32;
    pub fn obs_fader_db_to_def(fader: *mut obs_fader_t) -> obs_fader_conversion_t;
    pub fn obs_hotkey_get_id(key: *const obs_hotkey_t) -> obs_hotkey_id;
    pub fn obs_hotkey_get_name(key: *const obs_hotkey_t) -> *const ::std::os::raw::c_char;
    pub fn obs_hotkey_get_description(key: *const obs_hotkey_t) -> *const ::std::os::raw::c_char;
    pub fn obs_hotkey_get_registerer_type(key: *const obs_hotkey_t) -> obs_hotkey_registerer_t;
    pub fn obs_hotkey_get_registerer(key: *const obs_hotkey_t) -> *mut ::std::os::raw::c_void;
    pub fn obs_hotkey_get_pair_partner_id(key: *const obs_hotkey_t) -> obs_hotkey_id;
    pub fn obs_hotkey_binding_get_key_combination(
        binding: *mut obs_hotkey_binding_t,
    ) -> obs_key_combination_t;
    pub fn obs_hotkey_binding_get_hotkey_id(binding: *mut obs_hotkey_binding_t) -> obs_hotkey_id;
    pub fn obs_hotkey_binding_get_hotkey(binding: *mut obs_hotkey_binding_t) -> *mut obs_hotkey_t;
    pub fn obs_hotkey_set_name(id: obs_hotkey_id, name: *const ::std::os::raw::c_char);
    pub fn obs_hotkey_set_description(id: obs_hotkey_id, desc: *const ::std::os::raw::c_char);
    pub fn obs_hotkey_pair_set_names(
        id: obs_hotkey_pair_id,
        name0: *const ::std::os::raw::c_char,
        name1: *const ::std::os::raw::c_char,
    );
    pub fn obs_hotkey_pair_set_descriptions(
        id: obs_hotkey_pair_id,
        desc0: *const ::std::os::raw::c_char,
        desc1: *const ::std::os::raw::c_char,
    );
    pub fn obs_hotkeys_set_translations_s(translations: *mut obs_hotkeys_translations, size: usize);
    pub fn obs_hotkeys_set_audio_hotkeys_translations(
        mute: *const ::std::os::raw::c_char,
        unmute: *const ::std::os::raw::c_char,
        push_to_mute: *const ::std::os::raw::c_char,
        push_to_talk: *const ::std::os::raw::c_char,
    );
    pub fn obs_hotkeys_set_sceneitem_hotkeys_translations(
        show: *const ::std::os::raw::c_char,
        hide: *const ::std::os::raw::c_char,
    );
    pub fn obs_hotkey_register_frontend(
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
        func: obs_hotkey_func,
        data: *mut ::std::os::raw::c_void,
    ) -> obs_hotkey_id;
    pub fn obs_hotkey_register_encoder(
        encoder: *mut obs_encoder_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
        func: obs_hotkey_func,
        data: *mut ::std::os::raw::c_void,
    ) -> obs_hotkey_id;
    pub fn obs_hotkey_register_output(
        output: *mut obs_output_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
        func: obs_hotkey_func,
        data: *mut ::std::os::raw::c_void,
    ) -> obs_hotkey_id;
    pub fn obs_hotkey_register_service(
        service: *mut obs_service_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
        func: obs_hotkey_func,
        data: *mut ::std::os::raw::c_void,
    ) -> obs_hotkey_id;
    pub fn obs_hotkey_register_source(
        source: *mut obs_source_t,
        name: *const ::std::os::raw::c_char,
        description: *const ::std::os::raw::c_char,
        func: obs_hotkey_func,
        data: *mut ::std::os::raw::c_void,
    ) -> obs_hotkey_id;
    pub fn obs_hotkey_pair_register_frontend(
        name0: *const ::std::os::raw::c_char,
        description0: *const ::std::os::raw::c_char,
        name1: *const ::std::os::raw::c_char,
        description1: *const ::std::os::raw::c_char,
        func0: obs_hotkey_active_func,
        func1: obs_hotkey_active_func,
        data0: *mut ::std::os::raw::c_void,
        data1: *mut ::std::os::raw::c_void,
    ) -> obs_hotkey_pair_id;
    pub fn obs_hotkey_pair_register_encoder(
        encoder: *mut obs_encoder_t,
        name0: *const ::std::os::raw::c_char,
        description0: *const ::std::os::raw::c_char,
        name1: *const ::std::os::raw::c_char,
        description1: *const ::std::os::raw::c_char,
        func0: obs_hotkey_active_func,
        func1: obs_hotkey_active_func,
        data0: *mut ::std::os::raw::c_void,
        data1: *mut ::std::os::raw::c_void,
    ) -> obs_hotkey_pair_id;
    pub fn obs_hotkey_pair_register_output(
        output: *mut obs_output_t,
        name0: *const ::std::os::raw::c_char,
        description0: *const ::std::os::raw::c_char,
        name1: *const ::std::os::raw::c_char,
        description1: *const ::std::os::raw::c_char,
        func0: obs_hotkey_active_func,
        func1: obs_hotkey_active_func,
        data0: *mut ::std::os::raw::c_void,
        data1: *mut ::std::os::raw::c_void,
    ) -> obs_hotkey_pair_id;
    pub fn obs_hotkey_pair_register_service(
        service: *mut obs_service_t,
        name0: *const ::std::os::raw::c_char,
        description0: *const ::std::os::raw::c_char,
        name1: *const ::std::os::raw::c_char,
        description1: *const ::std::os::raw::c_char,
        func0: obs_hotkey_active_func,
        func1: obs_hotkey_active_func,
        data0: *mut ::std::os::raw::c_void,
        data1: *mut ::std::os::raw::c_void,
    ) -> obs_hotkey_pair_id;
    pub fn obs_hotkey_pair_register_source(
        source: *mut obs_source_t,
        name0: *const ::std::os::raw::c_char,
        description0: *const ::std::os::raw::c_char,
        name1: *const ::std::os::raw::c_char,
        description1: *const ::std::os::raw::c_char,
        func0: obs_hotkey_active_func,
        func1: obs_hotkey_active_func,
        data0: *mut ::std::os::raw::c_void,
        data1: *mut ::std::os::raw::c_void,
    ) -> obs_hotkey_pair_id;
    pub fn obs_hotkey_unregister(id: obs_hotkey_id);
    pub fn obs_hotkey_pair_unregister(id: obs_hotkey_pair_id);
    pub fn obs_hotkey_load_bindings(
        id: obs_hotkey_id,
        combinations: *mut obs_key_combination_t,
        num: usize,
    );
    pub fn obs_hotkey_load(id: obs_hotkey_id, data: *mut obs_data_array_t);
    pub fn obs_hotkeys_load_encoder(encoder: *mut obs_encoder_t, hotkeys: *mut obs_data_t);
    pub fn obs_hotkeys_load_output(output: *mut obs_output_t, hotkeys: *mut obs_data_t);
    pub fn obs_hotkeys_load_service(service: *mut obs_service_t, hotkeys: *mut obs_data_t);
    pub fn obs_hotkeys_load_source(source: *mut obs_source_t, hotkeys: *mut obs_data_t);
    pub fn obs_hotkey_pair_load(
        id: obs_hotkey_pair_id,
        data0: *mut obs_data_array_t,
        data1: *mut obs_data_array_t,
    );
    pub fn obs_hotkey_save(id: obs_hotkey_id) -> *mut obs_data_array_t;
    pub fn obs_hotkey_pair_save(
        id: obs_hotkey_pair_id,
        p_data0: *mut *mut obs_data_array_t,
        p_data1: *mut *mut obs_data_array_t,
    );
    pub fn obs_hotkeys_save_encoder(encoder: *mut obs_encoder_t) -> *mut obs_data_t;
    pub fn obs_hotkeys_save_output(output: *mut obs_output_t) -> *mut obs_data_t;
    pub fn obs_hotkeys_save_service(service: *mut obs_service_t) -> *mut obs_data_t;
    pub fn obs_hotkeys_save_source(source: *mut obs_source_t) -> *mut obs_data_t;
    pub fn obs_enum_hotkeys(func: obs_hotkey_enum_func, data: *mut ::std::os::raw::c_void);
    pub fn obs_enum_hotkey_bindings(
        func: obs_hotkey_binding_enum_func,
        data: *mut ::std::os::raw::c_void,
    );
    pub fn obs_hotkey_inject_event(hotkey: obs_key_combination_t, pressed: bool);
    pub fn obs_hotkey_enable_background_press(enable: bool);
    pub fn obs_hotkey_set_callback_routing_func(
        func: obs_hotkey_callback_router_func,
        data: *mut ::std::os::raw::c_void,
    );
    pub fn obs_hotkey_trigger_routed_callback(id: obs_hotkey_id, pressed: bool);
    pub fn obs_hotkey_enable_callback_rerouting(enable: bool);
    pub fn obs_hotkey_update_atomic(
        func: obs_hotkey_atomic_update_func,
        data: *mut ::std::os::raw::c_void,
    );
    pub fn obs_key_to_str(key: obs_key_t, str_: *mut dstr);
    pub fn obs_key_combination_to_str(key: obs_key_combination_t, str_: *mut dstr);
    pub fn obs_key_from_virtual_key(code: ::std::os::raw::c_int) -> obs_key_t;
    pub fn obs_key_to_virtual_key(key: obs_key_t) -> ::std::os::raw::c_int;
    pub fn obs_key_to_name(key: obs_key_t) -> *const ::std::os::raw::c_char;
    pub fn obs_key_from_name(name: *const ::std::os::raw::c_char) -> obs_key_t;
#[doc = " Find a core libobs data file\n @param path name of the base file\n @return A string containing the full path to the file.\n          Use bfree after use."]
    pub fn obs_find_data_file(file: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
#[doc = " Add a path to search libobs data files in.\n @param path Full path to directory to look in.\n             The string is copied."]
    pub fn obs_add_data_path(path: *const ::std::os::raw::c_char);
#[doc = " Remove a path from libobs core data paths.\n @param path The path to compare to currently set paths.\n             It does not need to be the same pointer, but\n             the path string must match an entry fully.\n @return Whether or not the path was successfully removed.\n         If false, the path could not be found."]
    pub fn obs_remove_data_path(path: *const ::std::os::raw::c_char) -> bool;
#[doc = " Initializes OBS\n\n @param  locale              The locale to use for modules\n @param  module_config_path  Path to module config storage directory\n                             (or NULL if none)\n @param  store               The profiler name store for OBS to use or NULL"]
    pub fn obs_startup(
        locale: *const ::std::os::raw::c_char,
        module_config_path: *const ::std::os::raw::c_char,
        store: *mut profiler_name_store_t,
    ) -> bool;
#[doc = " Releases all data associated with OBS and terminates the OBS context"]
    pub fn obs_shutdown();
#[doc = " @return true if the main OBS context has been initialized"]
    pub fn obs_initialized() -> bool;
#[doc = " @return The current core version"]
    pub fn obs_get_version() -> u32;
#[doc = " @return The current core version string"]
    pub fn obs_get_version_string() -> *const ::std::os::raw::c_char;
#[doc = " Sets things up for calls to obs_get_cmdline_args. Called only once at startup\n and safely copies argv/argc from main(). Subsequent calls do nothing.\n\n @param  argc  The count of command line arguments, from main()\n @param  argv  An array of command line arguments, copied from main() and ends\n               with NULL."]
    pub fn obs_set_cmdline_args(
        argc: ::std::os::raw::c_int,
        argv: *const *const ::std::os::raw::c_char,
    );
#[doc = " Get the argc/argv used to start OBS\n\n @return  The command line arguments used for main(). Don't modify this or\n          you'll mess things up for other callers."]
    pub fn obs_get_cmdline_args() -> obs_cmdline_args;
#[doc = " Sets a new locale to use for modules.  This will call obs_module_set_locale\n for each module with the new locale.\n\n @param  locale  The locale to use for modules"]
    pub fn obs_set_locale(locale: *const ::std::os::raw::c_char);
#[doc = " @return the current locale"]
    pub fn obs_get_locale() -> *const ::std::os::raw::c_char;
    pub fn obs_init_win32_crash_handler();
#[doc = " Returns the profiler name store (see util/profiler.h) used by OBS, which is\n either a name store passed to obs_startup, an internal name store, or NULL\n in case obs_initialized() returns false."]
    pub fn obs_get_profiler_name_store() -> *mut profiler_name_store_t;
#[doc = " Sets base video output base resolution/fps/format.\n\n @note This data cannot be changed if an output is currently active.\n @note The graphics module cannot be changed without fully destroying the\n       OBS context.\n\n @param   ovi  Pointer to an obs_video_info structure containing the\n               specification of the graphics subsystem,\n @return       OBS_VIDEO_SUCCESS if successful\n               OBS_VIDEO_NOT_SUPPORTED if the adapter lacks capabilities\n               OBS_VIDEO_INVALID_PARAM if a parameter is invalid\n               OBS_VIDEO_CURRENTLY_ACTIVE if video is currently active\n               OBS_VIDEO_MODULE_NOT_FOUND if the graphics module is not found\n               OBS_VIDEO_FAIL for generic failure"]
    pub fn obs_reset_video(ovi: *mut obs_video_info) -> ::std::os::raw::c_int;
#[doc = " Sets base audio output format/channels/samples/etc\n\n @note Cannot reset base audio if an output is currently active."]
    pub fn obs_reset_audio(oai: *const obs_audio_info) -> bool;
    pub fn obs_reset_audio2(oai: *const obs_audio_info2) -> bool;
#[doc = " Gets the current video settings, returns false if no video"]
    pub fn obs_get_video_info(ovi: *mut obs_video_info) -> bool;
#[doc = " Gets the SDR white level, returns 300.f if no video"]
    pub fn obs_get_video_sdr_white_level() -> f32;
#[doc = " Gets the HDR nominal peak level, returns 1000.f if no video"]
    pub fn obs_get_video_hdr_nominal_peak_level() -> f32;
#[doc = " Sets the video levels"]
    pub fn obs_set_video_levels(sdr_white_level: f32, hdr_nominal_peak_level: f32);
#[doc = " Gets the current audio settings, returns false if no audio"]
    pub fn obs_get_audio_info(oai: *mut obs_audio_info) -> bool;
#[doc = " Gets the v2 audio settings that includes buffering information.\n Returns false if no audio."]
    pub fn obs_get_audio_info2(oai2: *mut obs_audio_info2) -> bool;
#[doc = " Opens a plugin module directly from a specific path.\n\n If the module already exists then the function will return successful, and\n the module parameter will be given the pointer to the existing module.\n\n This does not initialize the module, it only loads the module image.  To\n initialize the module, call obs_init_module.\n\n @param  module     The pointer to the created module.\n @param  path       Specifies the path to the module library file.  If the\n                    extension is not specified, it will use the extension\n                    appropriate to the operating system.\n @param  data_path  Specifies the path to the directory where the module's\n                    data files are stored.\n @returns           MODULE_SUCCESS if successful\n                    MODULE_ERROR if a generic error occurred\n                    MODULE_FAILED_TO_OPEN if the module failed to open, e.g. because it was not found or had missing symbols\n                    MODULE_MISSING_EXPORTS if required exports are missing\n                    MODULE_INCOMPATIBLE_VER if incompatible version"]
    pub fn obs_open_module(
        module: *mut *mut obs_module_t,
        path: *const ::std::os::raw::c_char,
        data_path: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;
    pub fn obs_create_disabled_module(
        module: *mut *mut obs_module_t,
        path: *const ::std::os::raw::c_char,
        data_path: *const ::std::os::raw::c_char,
        state: obs_module_load_state,
    ) -> bool;
#[doc = " Initializes the module, which calls its obs_module_load export.  If the\n module is already loaded, then this function does nothing and returns\n successful."]
    pub fn obs_init_module(module: *mut obs_module_t) -> bool;
#[doc = " Returns a module based upon its name, or NULL if not found"]
    pub fn obs_get_module(name: *const ::std::os::raw::c_char) -> *mut obs_module_t;
#[doc = " Returns a module if it is disabled, or NULL if not found in the disabled list"]
    pub fn obs_get_disabled_module(name: *const ::std::os::raw::c_char) -> *mut obs_module_t;
#[doc = " Gets library of module"]
    pub fn obs_get_module_lib(module: *mut obs_module_t) -> *mut ::std::os::raw::c_void;
#[doc = " Returns locale text from a specific module"]
    pub fn obs_module_get_locale_string(
        mod_: *const obs_module_t,
        lookup_string: *const ::std::os::raw::c_char,
        translated_string: *mut *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_module_get_locale_text(
        mod_: *const obs_module_t,
        text: *const ::std::os::raw::c_char,
    ) -> *const ::std::os::raw::c_char;
#[doc = " Logs loaded modules"]
    pub fn obs_log_loaded_modules();
#[doc = " Returns the module file name"]
    pub fn obs_get_module_file_name(module: *mut obs_module_t) -> *const ::std::os::raw::c_char;
#[doc = " Returns the module full name"]
    pub fn obs_get_module_name(module: *mut obs_module_t) -> *const ::std::os::raw::c_char;
#[doc = " Returns the module author(s)"]
    pub fn obs_get_module_author(module: *mut obs_module_t) -> *const ::std::os::raw::c_char;
#[doc = " Returns the module description"]
    pub fn obs_get_module_description(module: *mut obs_module_t) -> *const ::std::os::raw::c_char;
#[doc = " Returns the module binary path"]
    pub fn obs_get_module_binary_path(module: *mut obs_module_t) -> *const ::std::os::raw::c_char;
#[doc = " Returns the module data path"]
    pub fn obs_get_module_data_path(module: *mut obs_module_t) -> *const ::std::os::raw::c_char;
#[doc = " Adds a source type id to the module provided sources list"]
    pub fn obs_module_add_source(module: *mut obs_module_t, id: *const ::std::os::raw::c_char);
#[doc = " Adds an output type id to the module provided outputs list"]
    pub fn obs_module_add_output(module: *mut obs_module_t, id: *const ::std::os::raw::c_char);
#[doc = " Adds an encoder type id to the module provided encoders list"]
    pub fn obs_module_add_encoder(module: *mut obs_module_t, id: *const ::std::os::raw::c_char);
#[doc = " Adds an encoder service id to the module provided services list"]
    pub fn obs_module_add_service(module: *mut obs_module_t, id: *const ::std::os::raw::c_char);
#[doc = " Adds a module search path to be used with obs_find_modules.  If the search\n path strings contain %module%, that text will be replaced with the module\n name when used.\n\n @param  bin   Specifies the module's binary directory search path.\n @param  data  Specifies the module's data directory search path."]
    pub fn obs_add_module_path(
        bin: *const ::std::os::raw::c_char,
        data: *const ::std::os::raw::c_char,
    );
#[doc = " Adds a module to the list of modules allowed to load in Safe Mode.\n If the list is empty, all modules are allowed.\n\n @param  name  Specifies the module's name (filename sans extension)."]
    pub fn obs_add_safe_module(name: *const ::std::os::raw::c_char);
#[doc = " Adds a module to the list of core modules (which cannot be disabled).\n If the list is empty, all modules are allowed.\n\n @param  name  Specifies the module's name (filename sans extension)."]
    pub fn obs_add_core_module(name: *const ::std::os::raw::c_char);
#[doc = " Automatically loads all modules from module paths (convenience function)"]
    pub fn obs_load_all_modules();
    pub fn obs_module_failure_info_free(mfi: *mut obs_module_failure_info);
    pub fn obs_load_all_modules2(mfi: *mut obs_module_failure_info);
#[doc = " Notifies modules that all modules have been loaded.  This function should\n be called after all modules have been loaded."]
    pub fn obs_post_load_modules();
#[doc = " Finds all modules within the search paths added by obs_add_module_path."]
    pub fn obs_find_modules(
        callback: obs_find_module_callback_t,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Finds all modules within the search paths added by obs_add_module_path."]
    pub fn obs_find_modules2(
        callback: obs_find_module_callback2_t,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Enumerates all loaded modules"]
    pub fn obs_enum_modules(
        callback: obs_enum_module_callback_t,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Helper function for using default module locale"]
    pub fn obs_module_load_locale(
        module: *mut obs_module_t,
        default_locale: *const ::std::os::raw::c_char,
        locale: *const ::std::os::raw::c_char,
    ) -> *mut lookup_t;
#[doc = " Returns the location of a plugin module data file.\n\n @note   Modules should use obs_module_file function defined in obs-module.h\n         as a more elegant means of getting their files without having to\n         specify the module parameter.\n\n @param  module  The module associated with the file to locate\n @param  file    The file to locate\n @return         Path string, or NULL if not found.  Use bfree to free string."]
    pub fn obs_find_module_file(
        module: *mut obs_module_t,
        file: *const ::std::os::raw::c_char,
    ) -> *mut ::std::os::raw::c_char;
#[doc = " Adds a module name to the disabled modules list.\n\n @param  name    The name of the module to disable"]
    pub fn obs_add_disabled_module(name: *const ::std::os::raw::c_char);
#[doc = " Returns if a module can be disabled.\n\n @param  name    The name of the module to check\n @return         Boolean to indicate if module can be disabled"]
    pub fn obs_get_module_allow_disable(name: *const ::std::os::raw::c_char) -> bool;
#[doc = " Returns the path of a plugin module config file (whether it exists or not)\n\n @note   Modules should use obs_module_config_path function defined in\n         obs-module.h as a more elegant means of getting their files without\n         having to specify the module parameter.\n\n @param  module  The module associated with the path\n @param  file    The file to get a path to\n @return         Path string, or NULL if not found.  Use bfree to free string."]
    pub fn obs_module_get_config_path(
        module: *mut obs_module_t,
        file: *const ::std::os::raw::c_char,
    ) -> *mut ::std::os::raw::c_char;
#[doc = " Enumerates all source types (inputs, filters, transitions, etc)."]
    pub fn obs_enum_source_types(idx: usize, id: *mut *const ::std::os::raw::c_char) -> bool;
#[doc = " Enumerates all available inputs source types.\n\n   Inputs are general source inputs (such as capture sources, device sources,\n etc)."]
    pub fn obs_enum_input_types(idx: usize, id: *mut *const ::std::os::raw::c_char) -> bool;
    pub fn obs_enum_input_types2(
        idx: usize,
        id: *mut *const ::std::os::raw::c_char,
        unversioned_id: *mut *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_get_latest_input_type_id(
        unversioned_id: *const ::std::os::raw::c_char,
    ) -> *const ::std::os::raw::c_char;
#[doc = " Enumerates all available filter source types.\n\n   Filters are sources that are used to modify the video/audio output of\n other sources."]
    pub fn obs_enum_filter_types(idx: usize, id: *mut *const ::std::os::raw::c_char) -> bool;
#[doc = " Enumerates all available transition source types.\n\n   Transitions are sources used to transition between two or more other\n sources."]
    pub fn obs_enum_transition_types(idx: usize, id: *mut *const ::std::os::raw::c_char) -> bool;
#[doc = " Enumerates all available output types."]
    pub fn obs_enum_output_types(idx: usize, id: *mut *const ::std::os::raw::c_char) -> bool;
#[doc = " Enumerates all available encoder types."]
    pub fn obs_enum_encoder_types(idx: usize, id: *mut *const ::std::os::raw::c_char) -> bool;
#[doc = " Enumerates all available service types."]
    pub fn obs_enum_service_types(idx: usize, id: *mut *const ::std::os::raw::c_char) -> bool;
#[doc = " Helper function for entering the OBS graphics context"]
    pub fn obs_enter_graphics();
#[doc = " Helper function for leaving the OBS graphics context"]
    pub fn obs_leave_graphics();
#[doc = " Gets the main audio output handler for this OBS context"]
    pub fn obs_get_audio() -> *mut audio_t;
#[doc = " Gets the main video output handler for this OBS context"]
    pub fn obs_get_video() -> *mut video_t;
#[doc = " Returns true if video is active, false otherwise"]
    pub fn obs_video_active() -> bool;
#[doc = " Sets the primary output source for a channel."]
    pub fn obs_set_output_source(channel: u32, source: *mut obs_source_t);
#[doc = " Gets the primary output source for a channel and increments the reference\n counter for that source.  Use obs_source_release to release."]
    pub fn obs_get_output_source(channel: u32) -> *mut obs_source_t;
#[doc = " Enumerates all input sources\n\n   Callback function returns true to continue enumeration, or false to end\n enumeration.\n\n   Use obs_source_get_ref or obs_source_get_weak_source if you want to retain\n a reference after obs_enum_sources finishes"]
    pub fn obs_enum_sources(
        enum_proc: ::std::option::Option<
            unsafe extern "C" fn(
                arg1: *mut ::std::os::raw::c_void,
                arg2: *mut obs_source_t,
            ) -> bool,
        >,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Enumerates scenes"]
    pub fn obs_enum_scenes(
        enum_proc: ::std::option::Option<
            unsafe extern "C" fn(
                arg1: *mut ::std::os::raw::c_void,
                arg2: *mut obs_source_t,
            ) -> bool,
        >,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Enumerates all sources (regardless of type)"]
    pub fn obs_enum_all_sources(
        enum_proc: ::std::option::Option<
            unsafe extern "C" fn(
                arg1: *mut ::std::os::raw::c_void,
                arg2: *mut obs_source_t,
            ) -> bool,
        >,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Enumerates outputs"]
    pub fn obs_enum_outputs(
        enum_proc: ::std::option::Option<
            unsafe extern "C" fn(
                arg1: *mut ::std::os::raw::c_void,
                arg2: *mut obs_output_t,
            ) -> bool,
        >,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Enumerates encoders"]
    pub fn obs_enum_encoders(
        enum_proc: ::std::option::Option<
            unsafe extern "C" fn(
                arg1: *mut ::std::os::raw::c_void,
                arg2: *mut obs_encoder_t,
            ) -> bool,
        >,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Enumerates encoders"]
    pub fn obs_enum_services(
        enum_proc: ::std::option::Option<
            unsafe extern "C" fn(
                arg1: *mut ::std::os::raw::c_void,
                arg2: *mut obs_service_t,
            ) -> bool,
        >,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Enumerates canvases"]
    pub fn obs_enum_canvases(
        enum_proc: ::std::option::Option<
            unsafe extern "C" fn(
                arg1: *mut ::std::os::raw::c_void,
                arg2: *mut obs_canvas_t,
            ) -> bool,
        >,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Gets a source by its name.\n\n   Increments the source reference counter, use obs_source_release to\n release it when complete."]
    pub fn obs_get_source_by_name(name: *const ::std::os::raw::c_char) -> *mut obs_source_t;
#[doc = " Gets a source by its UUID.\n\n   Increments the source reference counter, use obs_source_release to\n release it when complete."]
    pub fn obs_get_source_by_uuid(uuid: *const ::std::os::raw::c_char) -> *mut obs_source_t;
#[doc = " Get a transition source by its name."]
    pub fn obs_get_transition_by_name(name: *const ::std::os::raw::c_char) -> *mut obs_source_t;
#[doc = " Get a transition source by its UUID."]
    pub fn obs_get_transition_by_uuid(uuid: *const ::std::os::raw::c_char) -> *mut obs_source_t;
#[doc = " Gets an output by its name."]
    pub fn obs_get_output_by_name(name: *const ::std::os::raw::c_char) -> *mut obs_output_t;
#[doc = " Gets an encoder by its name."]
    pub fn obs_get_encoder_by_name(name: *const ::std::os::raw::c_char) -> *mut obs_encoder_t;
#[doc = " Gets an service by its name."]
    pub fn obs_get_service_by_name(name: *const ::std::os::raw::c_char) -> *mut obs_service_t;
#[doc = " Get a canvas by its name."]
    pub fn obs_get_canvas_by_name(name: *const ::std::os::raw::c_char) -> *mut obs_canvas_t;
#[doc = " Get a canvas by its UUID."]
    pub fn obs_get_canvas_by_uuid(uuid: *const ::std::os::raw::c_char) -> *mut obs_canvas_t;
#[doc = " Returns a commonly used base effect"]
    pub fn obs_get_base_effect(effect: obs_base_effect) -> *mut gs_effect_t;
#[doc = " Returns the primary obs signal handler"]
    pub fn obs_get_signal_handler() -> *mut signal_handler_t;
#[doc = " Returns the primary obs procedure handler"]
    pub fn obs_get_proc_handler() -> *mut proc_handler_t;
#[doc = " Renders the last main output texture"]
    pub fn obs_render_main_texture();
#[doc = " Renders the last main output texture ignoring background color"]
    pub fn obs_render_main_texture_src_color_only();
#[doc = " Renders the last canvas output texture"]
    pub fn obs_render_canvas_texture(canvas: *mut obs_canvas_t);
#[doc = " Renders the last main output texture ignoring background color"]
    pub fn obs_render_canvas_texture_src_color_only(canvas: *mut obs_canvas_t);
#[doc = " Returns the last main output texture.  This can return NULL if the texture\n is unavailable."]
    pub fn obs_get_main_texture() -> *mut gs_texture_t;
#[doc = " Saves a source to settings data"]
    pub fn obs_save_source(source: *mut obs_source_t) -> *mut obs_data_t;
#[doc = " Loads a source from settings data"]
    pub fn obs_load_source(data: *mut obs_data_t) -> *mut obs_source_t;
#[doc = " Loads a private source from settings data"]
    pub fn obs_load_private_source(data: *mut obs_data_t) -> *mut obs_source_t;
#[doc = " Send a save signal to sources"]
    pub fn obs_source_save(source: *mut obs_source_t);
#[doc = " Send a load signal to sources (soft deprecated; does not load filters)"]
    pub fn obs_source_load(source: *mut obs_source_t);
#[doc = " Send a load signal to sources"]
    pub fn obs_source_load2(source: *mut obs_source_t);
#[doc = " Loads sources from a data array"]
    pub fn obs_load_sources(
        array: *mut obs_data_array_t,
        cb: obs_load_source_cb,
        private_data: *mut ::std::os::raw::c_void,
    );
#[doc = " Saves sources to a data array"]
    pub fn obs_save_sources() -> *mut obs_data_array_t;
    pub fn obs_save_sources_filtered(
        cb: obs_save_source_filter_cb,
        data: *mut ::std::os::raw::c_void,
    ) -> *mut obs_data_array_t;
#[doc = " Reset source UUIDs. NOTE: this function is only to be used by the UI and\n  will be removed in a future version!"]
    pub fn obs_reset_source_uuids();
    pub fn obs_obj_get_type(obj: *mut ::std::os::raw::c_void) -> obs_obj_type;
    pub fn obs_obj_get_id(obj: *mut ::std::os::raw::c_void) -> *const ::std::os::raw::c_char;
    pub fn obs_obj_invalid(obj: *mut ::std::os::raw::c_void) -> bool;
    pub fn obs_obj_get_data(obj: *mut ::std::os::raw::c_void) -> *mut ::std::os::raw::c_void;
    pub fn obs_obj_is_private(obj: *mut ::std::os::raw::c_void) -> bool;
    pub fn obs_audio_monitoring_available() -> bool;
    pub fn obs_reset_audio_monitoring();
    pub fn obs_enum_audio_monitoring_devices(
        cb: obs_enum_audio_device_cb,
        data: *mut ::std::os::raw::c_void,
    );
    pub fn obs_set_audio_monitoring_device(
        name: *const ::std::os::raw::c_char,
        id: *const ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_get_audio_monitoring_device(
        name: *mut *const ::std::os::raw::c_char,
        id: *mut *const ::std::os::raw::c_char,
    );
    pub fn obs_add_tick_callback(
        tick: ::std::option::Option<
            unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, seconds: f32),
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_remove_tick_callback(
        tick: ::std::option::Option<
            unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, seconds: f32),
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_add_main_render_callback(
        draw: ::std::option::Option<
            unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, cx: u32, cy: u32),
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_remove_main_render_callback(
        draw: ::std::option::Option<
            unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, cx: u32, cy: u32),
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_add_main_rendered_callback(
        rendered: ::std::option::Option<unsafe extern "C" fn(param: *mut ::std::os::raw::c_void)>,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_remove_main_rendered_callback(
        rendered: ::std::option::Option<unsafe extern "C" fn(param: *mut ::std::os::raw::c_void)>,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_add_raw_video_callback(
        conversion: *const video_scale_info,
        callback: ::std::option::Option<
            unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, frame: *mut video_data),
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_add_raw_video_callback2(
        conversion: *const video_scale_info,
        frame_rate_divisor: u32,
        callback: ::std::option::Option<
            unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, frame: *mut video_data),
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_remove_raw_video_callback(
        callback: ::std::option::Option<
            unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, frame: *mut video_data),
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_add_raw_audio_callback(
        mix_idx: usize,
        conversion: *const audio_convert_info,
        callback: audio_output_callback_t,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_remove_raw_audio_callback(
        mix_idx: usize,
        callback: audio_output_callback_t,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_get_video_frame_time() -> u64;
    pub fn obs_get_active_fps() -> f64;
    pub fn obs_get_average_frame_time_ns() -> u64;
    pub fn obs_get_frame_interval_ns() -> u64;
    pub fn obs_get_total_frames() -> u32;
    pub fn obs_get_lagged_frames() -> u32;
    pub fn obs_nv12_tex_active() -> bool;
    pub fn obs_p010_tex_active() -> bool;
    pub fn obs_apply_private_data(settings: *mut obs_data_t);
    pub fn obs_set_private_data(settings: *mut obs_data_t);
    pub fn obs_get_private_data() -> *mut obs_data_t;
    pub fn obs_queue_task(
        type_: obs_task_type,
        task: obs_task_t,
        param: *mut ::std::os::raw::c_void,
        wait: bool,
    );
    pub fn obs_in_task_thread(type_: obs_task_type) -> bool;
    pub fn obs_wait_for_destroy_queue() -> bool;
    pub fn obs_set_ui_task_handler(handler: obs_task_handler_t);
    pub fn obs_object_get_ref(object: *mut obs_object_t) -> *mut obs_object_t;
    pub fn obs_object_release(object: *mut obs_object_t);
    pub fn obs_weak_object_addref(weak: *mut obs_weak_object_t);
    pub fn obs_weak_object_release(weak: *mut obs_weak_object_t);
    pub fn obs_object_get_weak_object(object: *mut obs_object_t) -> *mut obs_weak_object_t;
    pub fn obs_weak_object_get_object(weak: *mut obs_weak_object_t) -> *mut obs_object_t;
    pub fn obs_weak_object_expired(weak: *mut obs_weak_object_t) -> bool;
    pub fn obs_weak_object_references_object(
        weak: *mut obs_weak_object_t,
        object: *mut obs_object_t,
    ) -> bool;
#[doc = " Creates a view context.\n\n   A view can be used for things like separate previews, or drawing\n sources separately."]
    pub fn obs_view_create() -> *mut obs_view_t;
#[doc = " Destroys this view context"]
    pub fn obs_view_destroy(view: *mut obs_view_t);
#[doc = " Sets the source to be used for this view context."]
    pub fn obs_view_set_source(view: *mut obs_view_t, channel: u32, source: *mut obs_source_t);
#[doc = " Gets the source currently in use for this view context"]
    pub fn obs_view_get_source(view: *mut obs_view_t, channel: u32) -> *mut obs_source_t;
#[doc = " Renders the sources of this view context"]
    pub fn obs_view_render(view: *mut obs_view_t);
#[doc = " Adds a view to the main render loop, with current obs_get_video_info state"]
    pub fn obs_view_add(view: *mut obs_view_t) -> *mut video_t;
#[doc = " Adds a view to the main render loop, with custom video settings"]
    pub fn obs_view_add2(view: *mut obs_view_t, ovi: *mut obs_video_info) -> *mut video_t;
#[doc = " Removes a view from the main render loop"]
    pub fn obs_view_remove(view: *mut obs_view_t);
#[doc = " Enumerate the video info of all mixes using the specified view context"]
    pub fn obs_view_enum_video_info(
        view: *mut obs_view_t,
        enum_proc: ::std::option::Option<
            unsafe extern "C" fn(
                arg1: *mut ::std::os::raw::c_void,
                arg2: *mut obs_video_info,
            ) -> bool,
        >,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Adds a new window display linked to the main render pipeline.  This creates\n a new swap chain which updates every frame.\n\n @param  graphics_data  The swap chain initialization data.\n @return                The new display context, or NULL if failed."]
    pub fn obs_display_create(
        graphics_data: *const gs_init_data,
        backround_color: u32,
    ) -> *mut obs_display_t;
#[doc = " Destroys a display context"]
    pub fn obs_display_destroy(display: *mut obs_display_t);
#[doc = " Changes the size of this display"]
    pub fn obs_display_resize(display: *mut obs_display_t, cx: u32, cy: u32);
#[doc = " Updates the color space of this display"]
    pub fn obs_display_update_color_space(display: *mut obs_display_t);
#[doc = " Adds a draw callback for this display context\n\n @param  display  The display context.\n @param  draw     The draw callback which is called each time a frame\n                  updates.\n @param  param    The user data to be associated with this draw callback."]
    pub fn obs_display_add_draw_callback(
        display: *mut obs_display_t,
        draw: ::std::option::Option<
            unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, cx: u32, cy: u32),
        >,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Removes a draw callback for this display context"]
    pub fn obs_display_remove_draw_callback(
        display: *mut obs_display_t,
        draw: ::std::option::Option<
            unsafe extern "C" fn(param: *mut ::std::os::raw::c_void, cx: u32, cy: u32),
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_display_set_enabled(display: *mut obs_display_t, enable: bool);
    pub fn obs_display_enabled(display: *mut obs_display_t) -> bool;
    pub fn obs_display_set_background_color(display: *mut obs_display_t, color: u32);
    pub fn obs_display_size(display: *mut obs_display_t, width: *mut u32, height: *mut u32);
#[doc = " Returns the translated display name of a source"]
    pub fn obs_source_get_display_name(
        id: *const ::std::os::raw::c_char,
    ) -> *const ::std::os::raw::c_char;
#[doc = " Returns a pointer to the module which provides the source"]
    pub fn obs_source_get_module(id: *const ::std::os::raw::c_char) -> *mut obs_module_t;
#[doc = " Returns the load state of a source's module given the id"]
    pub fn obs_source_load_state(id: *const ::std::os::raw::c_char) -> obs_module_load_state;
#[doc = " Creates a source of the specified type with the specified settings.\n\n   The \"source\" context is used for anything related to presenting\n or modifying video/audio.  Use obs_source_release to release it."]
    pub fn obs_source_create(
        id: *const ::std::os::raw::c_char,
        name: *const ::std::os::raw::c_char,
        settings: *mut obs_data_t,
        hotkey_data: *mut obs_data_t,
    ) -> *mut obs_source_t;
    pub fn obs_source_create_private(
        id: *const ::std::os::raw::c_char,
        name: *const ::std::os::raw::c_char,
        settings: *mut obs_data_t,
    ) -> *mut obs_source_t;
    pub fn obs_source_duplicate(
        source: *mut obs_source_t,
        desired_name: *const ::std::os::raw::c_char,
        create_private: bool,
    ) -> *mut obs_source_t;
#[doc = " Adds/releases a reference to a source.  When the last reference is\n released, the source is destroyed."]
    pub fn obs_source_release(source: *mut obs_source_t);
    pub fn obs_weak_source_addref(weak: *mut obs_weak_source_t);
    pub fn obs_weak_source_release(weak: *mut obs_weak_source_t);
    pub fn obs_source_get_ref(source: *mut obs_source_t) -> *mut obs_source_t;
    pub fn obs_source_get_weak_source(source: *mut obs_source_t) -> *mut obs_weak_source_t;
    pub fn obs_weak_source_get_source(weak: *mut obs_weak_source_t) -> *mut obs_source_t;
    pub fn obs_weak_source_expired(weak: *mut obs_weak_source_t) -> bool;
    pub fn obs_weak_source_references_source(
        weak: *mut obs_weak_source_t,
        source: *mut obs_source_t,
    ) -> bool;
#[doc = " Notifies all references that the source should be released"]
    pub fn obs_source_remove(source: *mut obs_source_t);
#[doc = " Returns true if the source should be released"]
    pub fn obs_source_removed(source: *const obs_source_t) -> bool;
#[doc = " The 'hidden' flag is not the same as a sceneitem's visibility. It is a\n property the determines if it can be found through searches. **/\n/** Simply sets a 'hidden' flag when the source is still alive but shouldn't be found"]
    pub fn obs_source_set_hidden(source: *mut obs_source_t, hidden: bool);
#[doc = " Returns the current 'hidden' state on the source"]
    pub fn obs_source_is_hidden(source: *mut obs_source_t) -> bool;
#[doc = " Returns capability flags of a source"]
    pub fn obs_source_get_output_flags(source: *const obs_source_t) -> u32;
#[doc = " Returns capability flags of a source type"]
    pub fn obs_get_source_output_flags(id: *const ::std::os::raw::c_char) -> u32;
#[doc = " Gets the default settings for a source type"]
    pub fn obs_get_source_defaults(id: *const ::std::os::raw::c_char) -> *mut obs_data_t;
#[doc = " Returns the property list, if any.  Free with obs_properties_destroy"]
    pub fn obs_get_source_properties(id: *const ::std::os::raw::c_char) -> *mut obs_properties_t;
    pub fn obs_source_get_missing_files(source: *const obs_source_t) -> *mut obs_missing_files_t;
    pub fn obs_source_replace_missing_file(
        cb: obs_missing_file_cb,
        source: *mut obs_source_t,
        new_path: *const ::std::os::raw::c_char,
        data: *mut ::std::os::raw::c_void,
    );
#[doc = " Returns whether the source has custom properties or not"]
    pub fn obs_is_source_configurable(id: *const ::std::os::raw::c_char) -> bool;
    pub fn obs_source_configurable(source: *const obs_source_t) -> bool;
#[doc = " Returns the properties list for a specific existing source.  Free with\n obs_properties_destroy"]
    pub fn obs_source_properties(source: *const obs_source_t) -> *mut obs_properties_t;
#[doc = " Updates settings for this source"]
    pub fn obs_source_update(source: *mut obs_source_t, settings: *mut obs_data_t);
    pub fn obs_source_reset_settings(source: *mut obs_source_t, settings: *mut obs_data_t);
#[doc = " Renders a video source."]
    pub fn obs_source_video_render(source: *mut obs_source_t);
#[doc = " Gets the width of a source (if it has video)"]
    pub fn obs_source_get_width(source: *mut obs_source_t) -> u32;
#[doc = " Gets the height of a source (if it has video)"]
    pub fn obs_source_get_height(source: *mut obs_source_t) -> u32;
#[doc = " Gets the color space of a source (if it has video)"]
    pub fn obs_source_get_color_space(
        source: *mut obs_source_t,
        count: usize,
        preferred_spaces: *const gs_color_space,
    ) -> gs_color_space;
#[doc = " Hints whether or not the source will blend texels"]
    pub fn obs_source_get_texcoords_centered(source: *mut obs_source_t) -> bool;
#[doc = " If the source is a filter, returns the parent source of the filter.  Only\n guaranteed to be valid inside of the video_render, filter_audio,\n filter_video, and filter_remove callbacks."]
    pub fn obs_filter_get_parent(filter: *const obs_source_t) -> *mut obs_source_t;
#[doc = " If the source is a filter, returns the target source of the filter.  Only\n guaranteed to be valid inside of the video_render, filter_audio,\n filter_video, and filter_remove callbacks."]
    pub fn obs_filter_get_target(filter: *const obs_source_t) -> *mut obs_source_t;
#[doc = " Used to directly render a non-async source without any filter processing"]
    pub fn obs_source_default_render(source: *mut obs_source_t);
#[doc = " Adds a filter to the source (which is used whenever the source is used)"]
    pub fn obs_source_filter_add(source: *mut obs_source_t, filter: *mut obs_source_t);
#[doc = " Removes a filter from the source"]
    pub fn obs_source_filter_remove(source: *mut obs_source_t, filter: *mut obs_source_t);
#[doc = " Modifies the order of a specific filter"]
    pub fn obs_source_filter_set_order(
        source: *mut obs_source_t,
        filter: *mut obs_source_t,
        movement: obs_order_movement,
    );
#[doc = " Gets filter index"]
    pub fn obs_source_filter_get_index(
        source: *mut obs_source_t,
        filter: *mut obs_source_t,
    ) -> ::std::os::raw::c_int;
#[doc = " Sets filter index"]
    pub fn obs_source_filter_set_index(
        source: *mut obs_source_t,
        filter: *mut obs_source_t,
        index: usize,
    );
#[doc = " Gets the settings string for a source"]
    pub fn obs_source_get_settings(source: *const obs_source_t) -> *mut obs_data_t;
#[doc = " Gets the name of a source"]
    pub fn obs_source_get_name(source: *const obs_source_t) -> *const ::std::os::raw::c_char;
#[doc = " Sets the name of a source"]
    pub fn obs_source_set_name(source: *mut obs_source_t, name: *const ::std::os::raw::c_char);
#[doc = " Gets the UUID of a source"]
    pub fn obs_source_get_uuid(source: *const obs_source_t) -> *const ::std::os::raw::c_char;
#[doc = " Gets the source type"]
    pub fn obs_source_get_type(source: *const obs_source_t) -> obs_source_type;
#[doc = " Gets the source identifier"]
    pub fn obs_source_get_id(source: *const obs_source_t) -> *const ::std::os::raw::c_char;
    pub fn obs_source_get_unversioned_id(
        source: *const obs_source_t,
    ) -> *const ::std::os::raw::c_char;
#[doc = " Returns the signal handler for a source"]
    pub fn obs_source_get_signal_handler(source: *const obs_source_t) -> *mut signal_handler_t;
#[doc = " Returns the procedure handler for a source"]
    pub fn obs_source_get_proc_handler(source: *const obs_source_t) -> *mut proc_handler_t;
#[doc = " Sets the user volume for a source that has audio output"]
    pub fn obs_source_set_volume(source: *mut obs_source_t, volume: f32);
#[doc = " Gets the user volume for a source that has audio output"]
    pub fn obs_source_get_volume(source: *const obs_source_t) -> f32;
    pub fn obs_source_get_speaker_layout(source: *mut obs_source_t) -> speaker_layout;
#[doc = " Sets the balance value for a stereo audio source"]
    pub fn obs_source_set_balance_value(source: *mut obs_source_t, balance: f32);
#[doc = " Gets the balance value for a stereo audio source"]
    pub fn obs_source_get_balance_value(source: *const obs_source_t) -> f32;
#[doc = " Sets the audio sync offset (in nanoseconds) for a source"]
    pub fn obs_source_set_sync_offset(source: *mut obs_source_t, offset: i64);
#[doc = " Gets the audio sync offset (in nanoseconds) for a source"]
    pub fn obs_source_get_sync_offset(source: *const obs_source_t) -> i64;
#[doc = " Enumerates active child sources used by this source"]
    pub fn obs_source_enum_active_sources(
        source: *mut obs_source_t,
        enum_callback: obs_source_enum_proc_t,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Enumerates the entire active child source tree used by this source"]
    pub fn obs_source_enum_active_tree(
        source: *mut obs_source_t,
        enum_callback: obs_source_enum_proc_t,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_source_enum_full_tree(
        source: *mut obs_source_t,
        enum_callback: obs_source_enum_proc_t,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Returns true if active, false if not"]
    pub fn obs_source_active(source: *const obs_source_t) -> bool;
#[doc = " Returns true if currently displayed somewhere (active or not), false if not"]
    pub fn obs_source_showing(source: *const obs_source_t) -> bool;
#[doc = " Sets source flags.  Note that these are different from the main output\n flags.  These are generally things that can be set by the source or user,\n while the output flags are more used to determine capabilities of a source."]
    pub fn obs_source_set_flags(source: *mut obs_source_t, flags: u32);
#[doc = " Gets source flags."]
    pub fn obs_source_get_flags(source: *const obs_source_t) -> u32;
#[doc = " Sets audio mixer flags.  These flags are used to specify which mixers\n the source's audio should be applied to."]
    pub fn obs_source_set_audio_mixers(source: *mut obs_source_t, mixers: u32);
#[doc = " Gets audio mixer flags"]
    pub fn obs_source_get_audio_mixers(source: *const obs_source_t) -> u32;
#[doc = " Increments the 'showing' reference counter to indicate that the source is\n being shown somewhere.  If the reference counter was 0, will call the 'show'\n callback."]
    pub fn obs_source_inc_showing(source: *mut obs_source_t);
#[doc = " Increments the 'active' reference counter to indicate that the source is\n fully active.  If the reference counter was 0, will call the 'activate'\n callback.\n\n Unlike obs_source_inc_showing, this will cause children of this source to be\n considered showing as well (currently used by transition previews to make\n the stinger transition show correctly).  obs_source_inc_showing should\n generally be used instead."]
    pub fn obs_source_inc_active(source: *mut obs_source_t);
#[doc = " Decrements the 'showing' reference counter to indicate that the source is\n no longer being shown somewhere.  If the reference counter is set to 0,\n will call the 'hide' callback"]
    pub fn obs_source_dec_showing(source: *mut obs_source_t);
#[doc = " Decrements the 'active' reference counter to indicate that the source is no\n longer fully active.  If the reference counter is set to 0, will call the\n 'deactivate' callback\n\n Unlike obs_source_dec_showing, this will cause children of this source to be\n considered not showing as well.  obs_source_dec_showing should generally be\n used instead."]
    pub fn obs_source_dec_active(source: *mut obs_source_t);
#[doc = " Enumerates filters assigned to the source"]
    pub fn obs_source_enum_filters(
        source: *mut obs_source_t,
        callback: obs_source_enum_proc_t,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Gets a filter of a source by its display name."]
    pub fn obs_source_get_filter_by_name(
        source: *mut obs_source_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_source_t;
#[doc = " Gets the number of filters the source has."]
    pub fn obs_source_filter_count(source: *const obs_source_t) -> usize;
    pub fn obs_source_copy_filters(dst: *mut obs_source_t, src: *mut obs_source_t);
    pub fn obs_source_copy_single_filter(dst: *mut obs_source_t, filter: *mut obs_source_t);
    pub fn obs_source_enabled(source: *const obs_source_t) -> bool;
    pub fn obs_source_set_enabled(source: *mut obs_source_t, enabled: bool);
    pub fn obs_source_muted(source: *const obs_source_t) -> bool;
    pub fn obs_source_set_muted(source: *mut obs_source_t, muted: bool);
    pub fn obs_source_push_to_mute_enabled(source: *mut obs_source_t) -> bool;
    pub fn obs_source_enable_push_to_mute(source: *mut obs_source_t, enabled: bool);
    pub fn obs_source_get_push_to_mute_delay(source: *mut obs_source_t) -> u64;
    pub fn obs_source_set_push_to_mute_delay(source: *mut obs_source_t, delay: u64);
    pub fn obs_source_push_to_talk_enabled(source: *mut obs_source_t) -> bool;
    pub fn obs_source_enable_push_to_talk(source: *mut obs_source_t, enabled: bool);
    pub fn obs_source_get_push_to_talk_delay(source: *mut obs_source_t) -> u64;
    pub fn obs_source_set_push_to_talk_delay(source: *mut obs_source_t, delay: u64);
    pub fn obs_source_add_audio_pause_callback(
        source: *mut obs_source_t,
        callback: signal_callback_t,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_source_remove_audio_pause_callback(
        source: *mut obs_source_t,
        callback: signal_callback_t,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_source_add_audio_capture_callback(
        source: *mut obs_source_t,
        callback: obs_source_audio_capture_t,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_source_remove_audio_capture_callback(
        source: *mut obs_source_t,
        callback: obs_source_audio_capture_t,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " For an Audio Output Capture source (like 'wasapi_output_capture') used for 'Desktop Audio', this checks whether the\n device is also used for monitoring. A signal to obs core struct is then emitted to trigger deduplication  logic at\n the end of an audio tick."]
    pub fn obs_source_audio_output_capture_device_changed(
        source: *mut obs_source_t,
        device_id: *const ::std::os::raw::c_char,
    );
    pub fn obs_source_add_caption_callback(
        source: *mut obs_source_t,
        callback: obs_source_caption_t,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_source_remove_caption_callback(
        source: *mut obs_source_t,
        callback: obs_source_caption_t,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_source_set_deinterlace_mode(source: *mut obs_source_t, mode: obs_deinterlace_mode);
    pub fn obs_source_get_deinterlace_mode(source: *const obs_source_t) -> obs_deinterlace_mode;
    pub fn obs_source_set_deinterlace_field_order(
        source: *mut obs_source_t,
        field_order: obs_deinterlace_field_order,
    );
    pub fn obs_source_get_deinterlace_field_order(
        source: *const obs_source_t,
    ) -> obs_deinterlace_field_order;
    pub fn obs_source_set_monitoring_type(source: *mut obs_source_t, type_: obs_monitoring_type);
    pub fn obs_source_get_monitoring_type(source: *const obs_source_t) -> obs_monitoring_type;
#[doc = " Gets private front-end settings data.  This data is saved/loaded\n automatically.  Returns an incremented reference."]
    pub fn obs_source_get_private_settings(item: *mut obs_source_t) -> *mut obs_data_t;
    pub fn obs_source_backup_filters(source: *mut obs_source_t) -> *mut obs_data_array_t;
    pub fn obs_source_restore_filters(source: *mut obs_source_t, array: *mut obs_data_array_t);
    pub fn obs_source_get_type_data(source: *mut obs_source_t) -> *mut ::std::os::raw::c_void;
#[doc = " Helper function to set the color matrix information when drawing the source.\n\n @param  color_matrix     The color matrix.  Assigns to the 'color_matrix'\n                          effect variable.\n @param  color_range_min  The minimum color range.  Assigns to the\n                          'color_range_min' effect variable.  If NULL,\n                          {0.0f, 0.0f, 0.0f} is used.\n @param  color_range_max  The maximum color range.  Assigns to the\n                          'color_range_max' effect variable.  If NULL,\n                          {1.0f, 1.0f, 1.0f} is used."]
    pub fn obs_source_draw_set_color_matrix(
        color_matrix: *const matrix4,
        color_range_min: *const vec3,
        color_range_max: *const vec3,
    );
#[doc = " Helper function to draw sprites for a source (synchronous video).\n\n @param  image   The sprite texture to draw.  Assigns to the 'image' variable\n                 of the current effect.\n @param  x       X position of the sprite.\n @param  y       Y position of the sprite.\n @param  cx      Width of the sprite.  If 0, uses the texture width.\n @param  cy      Height of the sprite.  If 0, uses the texture height.\n @param  flip    Specifies whether to flip the image vertically."]
    pub fn obs_source_draw(
        image: *mut gs_texture_t,
        x: ::std::os::raw::c_int,
        y: ::std::os::raw::c_int,
        cx: u32,
        cy: u32,
        flip: bool,
    );
#[doc = " Outputs asynchronous video data.  Set to NULL to deactivate the texture\n\n NOTE: Non-YUV formats will always be treated as full range with this\n function!  Use obs_source_output_video2 instead if partial range support is\n desired for non-YUV video formats."]
    pub fn obs_source_output_video(source: *mut obs_source_t, frame: *const obs_source_frame);
    pub fn obs_source_output_video2(source: *mut obs_source_t, frame: *const obs_source_frame2);
    pub fn obs_source_set_async_rotation(
        source: *mut obs_source_t,
        rotation: ::std::os::raw::c_long,
    );
    pub fn obs_source_output_cea708(source: *mut obs_source_t, captions: *const obs_source_cea_708);
#[doc = " Preloads asynchronous video data to allow instantaneous playback\n\n NOTE: Non-YUV formats will always be treated as full range with this\n function!  Use obs_source_preload_video2 instead if partial range support is\n desired for non-YUV video formats."]
    pub fn obs_source_preload_video(source: *mut obs_source_t, frame: *const obs_source_frame);
    pub fn obs_source_preload_video2(source: *mut obs_source_t, frame: *const obs_source_frame2);
#[doc = " Shows any preloaded video data"]
    pub fn obs_source_show_preloaded_video(source: *mut obs_source_t);
#[doc = " Sets current async video frame immediately\n\n NOTE: Non-YUV formats will always be treated as full range with this\n function!  Use obs_source_preload_video2 instead if partial range support is\n desired for non-YUV video formats."]
    pub fn obs_source_set_video_frame(source: *mut obs_source_t, frame: *const obs_source_frame);
    pub fn obs_source_set_video_frame2(source: *mut obs_source_t, frame: *const obs_source_frame2);
#[doc = " Outputs audio data (always asynchronous)"]
    pub fn obs_source_output_audio(source: *mut obs_source_t, audio: *const obs_source_audio);
#[doc = " Signal an update to any currently used properties via 'update_properties'"]
    pub fn obs_source_update_properties(source: *mut obs_source_t);
#[doc = " Gets the current async video frame"]
    pub fn obs_source_get_frame(source: *mut obs_source_t) -> *mut obs_source_frame;
#[doc = " Releases the current async video frame"]
    pub fn obs_source_release_frame(source: *mut obs_source_t, frame: *mut obs_source_frame);
#[doc = " Default RGB filter handler for generic effect filters.  Processes the\n filter chain and renders them to texture if needed, then the filter is\n drawn with\n\n After calling this, set your parameters for the effect, then call\n obs_source_process_filter_end to draw the filter.\n\n Returns true if filtering should continue, false if the filter is bypassed\n for whatever reason."]
    pub fn obs_source_process_filter_begin(
        filter: *mut obs_source_t,
        format: gs_color_format,
        allow_direct: obs_allow_direct_render,
    ) -> bool;
    pub fn obs_source_process_filter_begin_with_color_space(
        filter: *mut obs_source_t,
        format: gs_color_format,
        space: gs_color_space,
        allow_direct: obs_allow_direct_render,
    ) -> bool;
#[doc = " Draws the filter.\n\n Before calling this function, first call obs_source_process_filter_begin and\n then set the effect parameters, and then call this function to finalize the\n filter."]
    pub fn obs_source_process_filter_end(
        filter: *mut obs_source_t,
        effect: *mut gs_effect_t,
        width: u32,
        height: u32,
    );
#[doc = " Draws the filter with a specific technique.\n\n Before calling this function, first call obs_source_process_filter_begin and\n then set the effect parameters, and then call this function to finalize the\n filter."]
    pub fn obs_source_process_filter_tech_end(
        filter: *mut obs_source_t,
        effect: *mut gs_effect_t,
        width: u32,
        height: u32,
        tech_name: *const ::std::os::raw::c_char,
    );
#[doc = " Skips the filter if the filter is invalid and cannot be rendered"]
    pub fn obs_source_skip_video_filter(filter: *mut obs_source_t);
#[doc = " Adds an active child source.  Must be called by parent sources on child\n sources when the child is added and active.  This ensures that the source is\n properly activated if the parent is active.\n\n @returns true if source can be added, false if it causes recursion"]
    pub fn obs_source_add_active_child(parent: *mut obs_source_t, child: *mut obs_source_t)
    -> bool;
#[doc = " Removes an active child source.  Must be called by parent sources on child\n sources when the child is removed or inactive.  This ensures that the source\n is properly deactivated if the parent is no longer active."]
    pub fn obs_source_remove_active_child(parent: *mut obs_source_t, child: *mut obs_source_t);
#[doc = " Sends a mouse down/up event to a source"]
    pub fn obs_source_send_mouse_click(
        source: *mut obs_source_t,
        event: *const obs_mouse_event,
        type_: i32,
        mouse_up: bool,
        click_count: u32,
    );
#[doc = " Sends a mouse move event to a source."]
    pub fn obs_source_send_mouse_move(
        source: *mut obs_source_t,
        event: *const obs_mouse_event,
        mouse_leave: bool,
    );
#[doc = " Sends a mouse wheel event to a source"]
    pub fn obs_source_send_mouse_wheel(
        source: *mut obs_source_t,
        event: *const obs_mouse_event,
        x_delta: ::std::os::raw::c_int,
        y_delta: ::std::os::raw::c_int,
    );
#[doc = " Sends a got-focus or lost-focus event to a source"]
    pub fn obs_source_send_focus(source: *mut obs_source_t, focus: bool);
#[doc = " Sends a key up/down event to a source"]
    pub fn obs_source_send_key_click(
        source: *mut obs_source_t,
        event: *const obs_key_event,
        key_up: bool,
    );
#[doc = " Sets the default source flags."]
    pub fn obs_source_set_default_flags(source: *mut obs_source_t, flags: u32);
#[doc = " Gets the base width for a source (not taking in to account filtering)"]
    pub fn obs_source_get_base_width(source: *mut obs_source_t) -> u32;
#[doc = " Gets the base height for a source (not taking in to account filtering)"]
    pub fn obs_source_get_base_height(source: *mut obs_source_t) -> u32;
    pub fn obs_source_audio_pending(source: *const obs_source_t) -> bool;
    pub fn obs_source_get_audio_timestamp(source: *const obs_source_t) -> u64;
    pub fn obs_source_get_audio_mix(source: *const obs_source_t, audio: *mut obs_source_audio_mix);
    pub fn obs_source_set_async_unbuffered(source: *mut obs_source_t, unbuffered: bool);
    pub fn obs_source_async_unbuffered(source: *const obs_source_t) -> bool;
#[doc = " Used to decouple audio from video so that audio doesn't attempt to sync up\n with video.  I.E. Audio acts independently.  Only works when in unbuffered\n mode."]
    pub fn obs_source_set_async_decoupled(source: *mut obs_source_t, decouple: bool);
    pub fn obs_source_async_decoupled(source: *const obs_source_t) -> bool;
    pub fn obs_source_set_audio_active(source: *mut obs_source_t, show: bool);
    pub fn obs_source_audio_active(source: *const obs_source_t) -> bool;
    pub fn obs_source_get_last_obs_version(source: *const obs_source_t) -> u32;
#[doc = " Media controls"]
    pub fn obs_source_media_play_pause(source: *mut obs_source_t, pause: bool);
    pub fn obs_source_media_restart(source: *mut obs_source_t);
    pub fn obs_source_media_stop(source: *mut obs_source_t);
    pub fn obs_source_media_next(source: *mut obs_source_t);
    pub fn obs_source_media_previous(source: *mut obs_source_t);
    pub fn obs_source_media_get_duration(source: *mut obs_source_t) -> i64;
    pub fn obs_source_media_get_time(source: *mut obs_source_t) -> i64;
    pub fn obs_source_media_set_time(source: *mut obs_source_t, ms: i64);
    pub fn obs_source_media_get_state(source: *mut obs_source_t) -> obs_media_state;
    pub fn obs_source_media_started(source: *mut obs_source_t);
    pub fn obs_source_media_ended(source: *mut obs_source_t);
#[doc = " Get canvas this source belongs to (reference incremented)"]
    pub fn obs_source_get_canvas(source: *const obs_source_t) -> *mut obs_canvas_t;
    pub fn obs_transition_get_source(
        transition: *mut obs_source_t,
        target: obs_transition_target,
    ) -> *mut obs_source_t;
    pub fn obs_transition_clear(transition: *mut obs_source_t);
    pub fn obs_transition_get_active_source(transition: *mut obs_source_t) -> *mut obs_source_t;
    pub fn obs_transition_start(
        transition: *mut obs_source_t,
        mode: obs_transition_mode,
        duration_ms: u32,
        dest: *mut obs_source_t,
    ) -> bool;
    pub fn obs_transition_set(transition: *mut obs_source_t, source: *mut obs_source_t);
    pub fn obs_transition_set_manual_time(transition: *mut obs_source_t, t: f32);
    pub fn obs_transition_set_manual_torque(transition: *mut obs_source_t, torque: f32, clamp: f32);
    pub fn obs_transition_set_scale_type(
        transition: *mut obs_source_t,
        type_: obs_transition_scale_type,
    );
    pub fn obs_transition_get_scale_type(
        transition: *const obs_source_t,
    ) -> obs_transition_scale_type;
    pub fn obs_transition_set_alignment(transition: *mut obs_source_t, alignment: u32);
    pub fn obs_transition_get_alignment(transition: *const obs_source_t) -> u32;
    pub fn obs_transition_set_size(transition: *mut obs_source_t, cx: u32, cy: u32);
    pub fn obs_transition_get_size(transition: *const obs_source_t, cx: *mut u32, cy: *mut u32);
#[doc = " Enables fixed transitions (videos or specific types of transitions that\n are of fixed duration and linearly interpolated"]
    pub fn obs_transition_enable_fixed(
        transition: *mut obs_source_t,
        enable: bool,
        duration_ms: u32,
    );
    pub fn obs_transition_fixed(transition: *mut obs_source_t) -> bool;
    pub fn obs_transition_get_time(transition: *mut obs_source_t) -> f32;
    pub fn obs_transition_force_stop(transition: *mut obs_source_t);
    pub fn obs_transition_video_render(
        transition: *mut obs_source_t,
        callback: obs_transition_video_render_callback_t,
    );
    pub fn obs_transition_video_render2(
        transition: *mut obs_source_t,
        callback: obs_transition_video_render_callback_t,
        placeholder_texture: *mut gs_texture_t,
    );
    pub fn obs_transition_video_get_color_space(transition: *mut obs_source_t) -> gs_color_space;
#[doc = " Directly renders its sub-source instead of to texture.  Returns false if no\n longer transitioning"]
    pub fn obs_transition_video_render_direct(
        transition: *mut obs_source_t,
        target: obs_transition_target,
    ) -> bool;
    pub fn obs_transition_audio_render(
        transition: *mut obs_source_t,
        ts_out: *mut u64,
        audio: *mut obs_source_audio_mix,
        mixers: u32,
        channels: usize,
        sample_rate: usize,
        mix_a_callback: obs_transition_audio_mix_callback_t,
        mix_b_callback: obs_transition_audio_mix_callback_t,
    ) -> bool;
    pub fn obs_transition_swap_begin(tr_dest: *mut obs_source_t, tr_source: *mut obs_source_t);
    pub fn obs_transition_swap_end(tr_dest: *mut obs_source_t, tr_source: *mut obs_source_t);
#[doc = " Creates a scene.\n\n   A scene is a source which is a container of other sources with specific\n display orientations.  Scenes can also be used like any other source."]
    pub fn obs_scene_create(name: *const ::std::os::raw::c_char) -> *mut obs_scene_t;
    pub fn obs_scene_create_private(name: *const ::std::os::raw::c_char) -> *mut obs_scene_t;
#[doc = " Duplicates a scene."]
    pub fn obs_scene_duplicate(
        scene: *mut obs_scene_t,
        name: *const ::std::os::raw::c_char,
        type_: obs_scene_duplicate_type,
    ) -> *mut obs_scene_t;
    pub fn obs_scene_release(scene: *mut obs_scene_t);
    pub fn obs_scene_get_ref(scene: *mut obs_scene_t) -> *mut obs_scene_t;
#[doc = " Gets the scene's source context"]
    pub fn obs_scene_get_source(scene: *const obs_scene_t) -> *mut obs_source_t;
#[doc = " Gets the scene from its source, or NULL if not a scene"]
    pub fn obs_scene_from_source(source: *const obs_source_t) -> *mut obs_scene_t;
#[doc = " Determines whether a source is within a scene"]
    pub fn obs_scene_find_source(
        scene: *mut obs_scene_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_sceneitem_t;
    pub fn obs_scene_find_source_recursive(
        scene: *mut obs_scene_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_sceneitem_t;
    pub fn obs_scene_find_sceneitem_by_id(scene: *mut obs_scene_t, id: i64)
    -> *mut obs_sceneitem_t;
#[doc = " Enumerates sources within a scene"]
    pub fn obs_scene_enum_items(
        scene: *mut obs_scene_t,
        callback: ::std::option::Option<
            unsafe extern "C" fn(
                arg1: *mut obs_scene_t,
                arg2: *mut obs_sceneitem_t,
                arg3: *mut ::std::os::raw::c_void,
            ) -> bool,
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_scene_reorder_items(
        scene: *mut obs_scene_t,
        item_order: *const *mut obs_sceneitem_t,
        item_order_size: usize,
    ) -> bool;
    pub fn obs_scene_reorder_items2(
        scene: *mut obs_scene_t,
        item_order: *mut obs_sceneitem_order_info,
        item_order_size: usize,
    ) -> bool;
    pub fn obs_source_is_scene(source: *const obs_source_t) -> bool;
    pub fn obs_source_type_is_scene(id: *const ::std::os::raw::c_char) -> bool;
#[doc = " Adds/creates a new scene item for a source"]
    pub fn obs_scene_add(
        scene: *mut obs_scene_t,
        source: *mut obs_source_t,
    ) -> *mut obs_sceneitem_t;
    pub fn obs_scene_atomic_update(
        scene: *mut obs_scene_t,
        func: obs_scene_atomic_update_func,
        data: *mut ::std::os::raw::c_void,
    );
    pub fn obs_sceneitem_addref(item: *mut obs_sceneitem_t);
    pub fn obs_sceneitem_release(item: *mut obs_sceneitem_t);
#[doc = " Removes a scene item."]
    pub fn obs_sceneitem_remove(item: *mut obs_sceneitem_t);
#[doc = " Adds a scene item."]
    pub fn obs_sceneitems_add(scene: *mut obs_scene_t, data: *mut obs_data_array_t);
#[doc = " Saves Sceneitem into an array, arr"]
    pub fn obs_sceneitem_save(item: *mut obs_sceneitem_t, arr: *mut obs_data_array_t);
#[doc = " Set the ID of a sceneitem"]
    pub fn obs_sceneitem_set_id(sceneitem: *mut obs_sceneitem_t, id: i64);
#[doc = " Save all the transform states for a current scene's sceneitems"]
    pub fn obs_scene_save_transform_states(
        scene: *mut obs_scene_t,
        all_items: bool,
    ) -> *mut obs_data_t;
#[doc = " Load all the transform states of sceneitems in that scene"]
    pub fn obs_scene_load_transform_states(state: *const ::std::os::raw::c_char);
#[doc = "  Gets a sceneitem's order in its scene"]
    pub fn obs_sceneitem_get_order_position(item: *mut obs_sceneitem_t) -> ::std::os::raw::c_int;
#[doc = " Gets the scene parent associated with the scene item."]
    pub fn obs_sceneitem_get_scene(item: *const obs_sceneitem_t) -> *mut obs_scene_t;
#[doc = " Gets the source of a scene item."]
    pub fn obs_sceneitem_get_source(item: *const obs_sceneitem_t) -> *mut obs_source_t;
    pub fn obs_sceneitem_select(item: *mut obs_sceneitem_t, select: bool);
    pub fn obs_sceneitem_selected(item: *const obs_sceneitem_t) -> bool;
    pub fn obs_sceneitem_locked(item: *const obs_sceneitem_t) -> bool;
    pub fn obs_sceneitem_set_locked(item: *mut obs_sceneitem_t, lock: bool) -> bool;
    pub fn obs_sceneitem_set_pos(item: *mut obs_sceneitem_t, pos: *const vec2);
    pub fn obs_sceneitem_set_rot(item: *mut obs_sceneitem_t, rot_deg: f32);
    pub fn obs_sceneitem_set_scale(item: *mut obs_sceneitem_t, scale: *const vec2);
    pub fn obs_sceneitem_set_alignment(item: *mut obs_sceneitem_t, alignment: u32);
    pub fn obs_sceneitem_set_order(item: *mut obs_sceneitem_t, movement: obs_order_movement);
    pub fn obs_sceneitem_set_order_position(
        item: *mut obs_sceneitem_t,
        position: ::std::os::raw::c_int,
    );
    pub fn obs_sceneitem_set_bounds_type(item: *mut obs_sceneitem_t, type_: obs_bounds_type);
    pub fn obs_sceneitem_set_bounds_alignment(item: *mut obs_sceneitem_t, alignment: u32);
    pub fn obs_sceneitem_set_bounds_crop(item: *mut obs_sceneitem_t, crop: bool);
    pub fn obs_sceneitem_set_bounds(item: *mut obs_sceneitem_t, bounds: *const vec2);
    pub fn obs_sceneitem_get_id(item: *const obs_sceneitem_t) -> i64;
    pub fn obs_sceneitem_get_pos(item: *const obs_sceneitem_t, pos: *mut vec2);
    pub fn obs_sceneitem_get_rot(item: *const obs_sceneitem_t) -> f32;
    pub fn obs_sceneitem_get_scale(item: *const obs_sceneitem_t, scale: *mut vec2);
    pub fn obs_sceneitem_get_alignment(item: *const obs_sceneitem_t) -> u32;
    pub fn obs_sceneitem_get_bounds_type(item: *const obs_sceneitem_t) -> obs_bounds_type;
    pub fn obs_sceneitem_get_bounds_alignment(item: *const obs_sceneitem_t) -> u32;
    pub fn obs_sceneitem_get_bounds_crop(item: *const obs_sceneitem_t) -> bool;
    pub fn obs_sceneitem_get_bounds(item: *const obs_sceneitem_t, bounds: *mut vec2);
    pub fn obs_sceneitem_get_info2(item: *const obs_sceneitem_t, info: *mut obs_transform_info);
    pub fn obs_sceneitem_set_info2(item: *mut obs_sceneitem_t, info: *const obs_transform_info);
    pub fn obs_sceneitem_get_draw_transform(item: *const obs_sceneitem_t, transform: *mut matrix4);
    pub fn obs_sceneitem_get_box_transform(item: *const obs_sceneitem_t, transform: *mut matrix4);
    pub fn obs_sceneitem_get_box_scale(item: *const obs_sceneitem_t, scale: *mut vec2);
    pub fn obs_sceneitem_visible(item: *const obs_sceneitem_t) -> bool;
    pub fn obs_sceneitem_set_visible(item: *mut obs_sceneitem_t, visible: bool) -> bool;
    pub fn obs_sceneitem_set_crop(item: *mut obs_sceneitem_t, crop: *const obs_sceneitem_crop);
    pub fn obs_sceneitem_get_crop(item: *const obs_sceneitem_t, crop: *mut obs_sceneitem_crop);
    pub fn obs_sceneitem_set_scale_filter(item: *mut obs_sceneitem_t, filter: obs_scale_type);
    pub fn obs_sceneitem_get_scale_filter(item: *mut obs_sceneitem_t) -> obs_scale_type;
    pub fn obs_sceneitem_set_blending_method(
        item: *mut obs_sceneitem_t,
        method: obs_blending_method,
    );
    pub fn obs_sceneitem_get_blending_method(item: *mut obs_sceneitem_t) -> obs_blending_method;
    pub fn obs_sceneitem_set_blending_mode(item: *mut obs_sceneitem_t, type_: obs_blending_type);
    pub fn obs_sceneitem_get_blending_mode(item: *mut obs_sceneitem_t) -> obs_blending_type;
    pub fn obs_sceneitem_force_update_transform(item: *mut obs_sceneitem_t);
    pub fn obs_sceneitem_defer_update_begin(item: *mut obs_sceneitem_t);
    pub fn obs_sceneitem_defer_update_end(item: *mut obs_sceneitem_t);
#[doc = " Gets private front-end settings data.  This data is saved/loaded\n automatically.  Returns an incremented reference."]
    pub fn obs_sceneitem_get_private_settings(item: *mut obs_sceneitem_t) -> *mut obs_data_t;
    pub fn obs_scene_add_group(
        scene: *mut obs_scene_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_sceneitem_t;
    pub fn obs_scene_insert_group(
        scene: *mut obs_scene_t,
        name: *const ::std::os::raw::c_char,
        items: *mut *mut obs_sceneitem_t,
        count: usize,
    ) -> *mut obs_sceneitem_t;
    pub fn obs_scene_add_group2(
        scene: *mut obs_scene_t,
        name: *const ::std::os::raw::c_char,
        signal: bool,
    ) -> *mut obs_sceneitem_t;
    pub fn obs_scene_insert_group2(
        scene: *mut obs_scene_t,
        name: *const ::std::os::raw::c_char,
        items: *mut *mut obs_sceneitem_t,
        count: usize,
        signal: bool,
    ) -> *mut obs_sceneitem_t;
    pub fn obs_scene_get_group(
        scene: *mut obs_scene_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_sceneitem_t;
    pub fn obs_sceneitem_is_group(item: *mut obs_sceneitem_t) -> bool;
    pub fn obs_sceneitem_group_get_scene(group: *const obs_sceneitem_t) -> *mut obs_scene_t;
    pub fn obs_sceneitem_group_ungroup(group: *mut obs_sceneitem_t);
    pub fn obs_sceneitem_group_ungroup2(group: *mut obs_sceneitem_t, signal: bool);
    pub fn obs_sceneitem_group_add_item(group: *mut obs_sceneitem_t, item: *mut obs_sceneitem_t);
    pub fn obs_sceneitem_group_remove_item(group: *mut obs_sceneitem_t, item: *mut obs_sceneitem_t);
    pub fn obs_sceneitem_get_group(
        scene: *mut obs_scene_t,
        item: *mut obs_sceneitem_t,
    ) -> *mut obs_sceneitem_t;
    pub fn obs_source_is_group(source: *const obs_source_t) -> bool;
    pub fn obs_source_type_is_group(id: *const ::std::os::raw::c_char) -> bool;
    pub fn obs_scene_is_group(scene: *const obs_scene_t) -> bool;
    pub fn obs_sceneitem_group_enum_items(
        group: *mut obs_sceneitem_t,
        callback: ::std::option::Option<
            unsafe extern "C" fn(
                arg1: *mut obs_scene_t,
                arg2: *mut obs_sceneitem_t,
                arg3: *mut ::std::os::raw::c_void,
            ) -> bool,
        >,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Gets the group from its source, or NULL if not a group"]
    pub fn obs_group_from_source(source: *const obs_source_t) -> *mut obs_scene_t;
    pub fn obs_sceneitem_defer_group_resize_begin(item: *mut obs_sceneitem_t);
    pub fn obs_sceneitem_defer_group_resize_end(item: *mut obs_sceneitem_t);
    pub fn obs_sceneitem_set_transition(
        item: *mut obs_sceneitem_t,
        show: bool,
        transition: *mut obs_source_t,
    );
    pub fn obs_sceneitem_get_transition(
        item: *mut obs_sceneitem_t,
        show: bool,
    ) -> *mut obs_source_t;
    pub fn obs_sceneitem_set_transition_duration(
        item: *mut obs_sceneitem_t,
        show: bool,
        duration_ms: u32,
    );
    pub fn obs_sceneitem_get_transition_duration(item: *mut obs_sceneitem_t, show: bool) -> u32;
    pub fn obs_sceneitem_do_transition(item: *mut obs_sceneitem_t, visible: bool);
    pub fn obs_sceneitem_transition_load(
        item: *mut obs_scene_item,
        data: *mut obs_data_t,
        show: bool,
    );
    pub fn obs_sceneitem_transition_save(item: *mut obs_scene_item, show: bool) -> *mut obs_data_t;
    pub fn obs_scene_prune_sources(scene: *mut obs_scene_t);
    pub fn obs_output_get_display_name(
        id: *const ::std::os::raw::c_char,
    ) -> *const ::std::os::raw::c_char;
#[doc = " Returns a pointer to the module which provides the output"]
    pub fn obs_output_get_module(id: *const ::std::os::raw::c_char) -> *mut obs_module_t;
#[doc = " Returns the load state of a output's module given the id"]
    pub fn obs_output_load_state(id: *const ::std::os::raw::c_char) -> obs_module_load_state;
#[doc = " Creates an output.\n\n   Outputs allow outputting to file, outputting to network, outputting to\n directshow, or other custom outputs."]
    pub fn obs_output_create(
        id: *const ::std::os::raw::c_char,
        name: *const ::std::os::raw::c_char,
        settings: *mut obs_data_t,
        hotkey_data: *mut obs_data_t,
    ) -> *mut obs_output_t;
#[doc = " Adds/releases a reference to an output.  When the last reference is\n released, the output is destroyed."]
    pub fn obs_output_release(output: *mut obs_output_t);
    pub fn obs_weak_output_addref(weak: *mut obs_weak_output_t);
    pub fn obs_weak_output_release(weak: *mut obs_weak_output_t);
    pub fn obs_output_get_ref(output: *mut obs_output_t) -> *mut obs_output_t;
    pub fn obs_output_get_weak_output(output: *mut obs_output_t) -> *mut obs_weak_output_t;
    pub fn obs_weak_output_get_output(weak: *mut obs_weak_output_t) -> *mut obs_output_t;
    pub fn obs_weak_output_references_output(
        weak: *mut obs_weak_output_t,
        output: *mut obs_output_t,
    ) -> bool;
    pub fn obs_output_get_name(output: *const obs_output_t) -> *const ::std::os::raw::c_char;
#[doc = " Starts the output."]
    pub fn obs_output_start(output: *mut obs_output_t) -> bool;
#[doc = " Stops the output."]
    pub fn obs_output_stop(output: *mut obs_output_t);
#[doc = " Sets the current output delay, in seconds (if the output supports delay).\n\n If delay is currently active, it will set the delay value, but will not\n affect the current delay, it will only affect the next time the output is\n activated."]
    pub fn obs_output_set_delay(output: *mut obs_output_t, delay_sec: u32, flags: u32);
#[doc = " Gets the currently set delay value, in seconds."]
    pub fn obs_output_get_delay(output: *const obs_output_t) -> u32;
#[doc = " If delay is active, gets the currently active delay value, in seconds."]
    pub fn obs_output_get_active_delay(output: *const obs_output_t) -> u32;
#[doc = " Forces the output to stop.  Usually only used with delay."]
    pub fn obs_output_force_stop(output: *mut obs_output_t);
#[doc = " Returns whether the output is active"]
    pub fn obs_output_active(output: *const obs_output_t) -> bool;
#[doc = " Returns output capability flags"]
    pub fn obs_output_get_flags(output: *const obs_output_t) -> u32;
#[doc = " Returns output capability flags"]
    pub fn obs_get_output_flags(id: *const ::std::os::raw::c_char) -> u32;
#[doc = " Gets the default settings for an output type"]
    pub fn obs_output_defaults(id: *const ::std::os::raw::c_char) -> *mut obs_data_t;
#[doc = " Returns the property list, if any.  Free with obs_properties_destroy"]
    pub fn obs_get_output_properties(id: *const ::std::os::raw::c_char) -> *mut obs_properties_t;
#[doc = " Returns the property list of an existing output, if any.  Free with\n obs_properties_destroy"]
    pub fn obs_output_properties(output: *const obs_output_t) -> *mut obs_properties_t;
#[doc = " Updates the settings for this output context"]
    pub fn obs_output_update(output: *mut obs_output_t, settings: *mut obs_data_t);
#[doc = " Specifies whether the output can be paused"]
    pub fn obs_output_can_pause(output: *const obs_output_t) -> bool;
#[doc = " Pauses the output (if the functionality is allowed by the output"]
    pub fn obs_output_pause(output: *mut obs_output_t, pause: bool) -> bool;
#[doc = " Returns whether output is paused"]
    pub fn obs_output_paused(output: *const obs_output_t) -> bool;
    pub fn obs_output_get_settings(output: *const obs_output_t) -> *mut obs_data_t;
#[doc = " Returns the signal handler for an output"]
    pub fn obs_output_get_signal_handler(output: *const obs_output_t) -> *mut signal_handler_t;
#[doc = " Returns the procedure handler for an output"]
    pub fn obs_output_get_proc_handler(output: *const obs_output_t) -> *mut proc_handler_t;
#[doc = " Sets the current audio/video media contexts associated with this output,\n required for non-encoded outputs.  Can be null."]
    pub fn obs_output_set_media(
        output: *mut obs_output_t,
        video: *mut video_t,
        audio: *mut audio_t,
    );
#[doc = " Returns the video media context associated with this output"]
    pub fn obs_output_video(output: *const obs_output_t) -> *mut video_t;
#[doc = " Returns the audio media context associated with this output"]
    pub fn obs_output_audio(output: *const obs_output_t) -> *mut audio_t;
#[doc = " Sets the current audio mixer for non-encoded outputs"]
    pub fn obs_output_set_mixer(output: *mut obs_output_t, mixer_idx: usize);
#[doc = " Gets the current audio mixer for non-encoded outputs"]
    pub fn obs_output_get_mixer(output: *const obs_output_t) -> usize;
#[doc = " Sets the current audio mixes (mask) for a non-encoded multi-track output"]
    pub fn obs_output_set_mixers(output: *mut obs_output_t, mixers: usize);
#[doc = " Gets the current audio mixes (mask) for a non-encoded multi-track output"]
    pub fn obs_output_get_mixers(output: *const obs_output_t) -> usize;
#[doc = " Sets the current video encoder associated with this output,\n required for encoded outputs"]
    pub fn obs_output_set_video_encoder(output: *mut obs_output_t, encoder: *mut obs_encoder_t);
#[doc = " Sets the current video encoder associated with this output,\n required for encoded outputs.\n\n The idx parameter specifies the video encoder index.\n Only used with outputs that have multiple video outputs (FFmpeg typically),\n otherwise the parameter is ignored."]
    pub fn obs_output_set_video_encoder2(
        output: *mut obs_output_t,
        encoder: *mut obs_encoder_t,
        idx: usize,
    );
#[doc = " Sets the current audio encoder associated with this output,\n required for encoded outputs.\n\n The idx parameter specifies the audio encoder index to set the encoder to.\n Only used with outputs that have multiple audio outputs (RTMP typically),\n otherwise the parameter is ignored."]
    pub fn obs_output_set_audio_encoder(
        output: *mut obs_output_t,
        encoder: *mut obs_encoder_t,
        idx: usize,
    );
#[doc = " Returns the current video encoder associated with this output"]
    pub fn obs_output_get_video_encoder(output: *const obs_output_t) -> *mut obs_encoder_t;
#[doc = " Returns the current video encoder associated with this output.\n\n The idx parameter specifies the video encoder index.\n Only used with outputs that have multiple video outputs (FFmpeg typically),\n otherwise specifying an idx > 0 returns a NULL."]
    pub fn obs_output_get_video_encoder2(
        output: *const obs_output_t,
        idx: usize,
    ) -> *mut obs_encoder_t;
#[doc = " Returns the current audio encoder associated with this output\n\n The idx parameter specifies the audio encoder index.  Only used with\n outputs that have multiple audio outputs, otherwise the parameter is\n ignored."]
    pub fn obs_output_get_audio_encoder(
        output: *const obs_output_t,
        idx: usize,
    ) -> *mut obs_encoder_t;
#[doc = " Sets the current service associated with this output."]
    pub fn obs_output_set_service(output: *mut obs_output_t, service: *mut obs_service_t);
#[doc = " Gets the current service associated with this output."]
    pub fn obs_output_get_service(output: *const obs_output_t) -> *mut obs_service_t;
#[doc = " Sets the reconnect settings.  Set retry_count to 0 to disable reconnecting."]
    pub fn obs_output_set_reconnect_settings(
        output: *mut obs_output_t,
        retry_count: ::std::os::raw::c_int,
        retry_sec: ::std::os::raw::c_int,
    );
    pub fn obs_output_get_total_bytes(output: *const obs_output_t) -> u64;
    pub fn obs_output_get_frames_dropped(output: *const obs_output_t) -> ::std::os::raw::c_int;
    pub fn obs_output_get_total_frames(output: *const obs_output_t) -> ::std::os::raw::c_int;
#[doc = " Sets the preferred scaled resolution for this output.  Set width and height\n to 0 to disable scaling.\n\n If this output uses an encoder, it will call obs_encoder_set_scaled_size on\n the encoder before the stream is started.  If the encoder is already active,\n then this function will trigger a warning and do nothing."]
    pub fn obs_output_set_preferred_size(output: *mut obs_output_t, width: u32, height: u32);
#[doc = " Sets the preferred scaled resolution for this output.  Set width and height\n to 0 to disable scaling.\n\n If this output uses an encoder, it will call obs_encoder_set_scaled_size on\n the encoder before the stream is started.  If the encoder is already active,\n then this function will trigger a warning and do nothing.\n\n The idx parameter specifies the video encoder index to apply the scaling to.\n Only used with outputs that have multiple video outputs (FFmpeg typically),\n otherwise the parameter is ignored."]
    pub fn obs_output_set_preferred_size2(
        output: *mut obs_output_t,
        width: u32,
        height: u32,
        idx: usize,
    );
#[doc = " For video outputs, returns the width of the encoded image"]
    pub fn obs_output_get_width(output: *const obs_output_t) -> u32;
#[doc = " For video outputs, returns the width of the encoded image.\n\n The idx parameter specifies the video encoder index.\n Only used with outputs that have multiple video outputs (FFmpeg typically),\n otherwise the parameter is ignored and returns 0."]
    pub fn obs_output_get_width2(output: *const obs_output_t, idx: usize) -> u32;
#[doc = " For video outputs, returns the height of the encoded image"]
    pub fn obs_output_get_height(output: *const obs_output_t) -> u32;
#[doc = " For video outputs, returns the height of the encoded image.\n\n The idx parameter specifies the video encoder index.\n Only used with outputs that have multiple video outputs (FFmpeg typically),\n otherwise the parameter is ignored and returns 0."]
    pub fn obs_output_get_height2(output: *const obs_output_t, idx: usize) -> u32;
    pub fn obs_output_get_id(output: *const obs_output_t) -> *const ::std::os::raw::c_char;
    pub fn obs_output_caption(output: *mut obs_output_t, captions: *const obs_source_cea_708);
    pub fn obs_output_output_caption_text1(
        output: *mut obs_output_t,
        text: *const ::std::os::raw::c_char,
    );
    pub fn obs_output_output_caption_text2(
        output: *mut obs_output_t,
        text: *const ::std::os::raw::c_char,
        display_duration: f64,
    );
    pub fn obs_output_get_congestion(output: *mut obs_output_t) -> f32;
    pub fn obs_output_get_connect_time_ms(output: *mut obs_output_t) -> ::std::os::raw::c_int;
    pub fn obs_output_reconnecting(output: *const obs_output_t) -> bool;
#[doc = " Pass a string of the last output error, for UI use"]
    pub fn obs_output_set_last_error(
        output: *mut obs_output_t,
        message: *const ::std::os::raw::c_char,
    );
    pub fn obs_output_get_last_error(output: *mut obs_output_t) -> *const ::std::os::raw::c_char;
    pub fn obs_output_get_supported_video_codecs(
        output: *const obs_output_t,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_output_get_supported_audio_codecs(
        output: *const obs_output_t,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_output_get_protocols(output: *const obs_output_t) -> *const ::std::os::raw::c_char;
    pub fn obs_is_output_protocol_registered(protocol: *const ::std::os::raw::c_char) -> bool;
    pub fn obs_enum_output_protocols(
        idx: usize,
        protocol: *mut *mut ::std::os::raw::c_char,
    ) -> bool;
    pub fn obs_enum_output_types_with_protocol(
        protocol: *const ::std::os::raw::c_char,
        data: *mut ::std::os::raw::c_void,
        enum_cb: ::std::option::Option<
            unsafe extern "C" fn(
                data: *mut ::std::os::raw::c_void,
                id: *const ::std::os::raw::c_char,
            ) -> bool,
        >,
    );
    pub fn obs_get_output_supported_video_codecs(
        id: *const ::std::os::raw::c_char,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_get_output_supported_audio_codecs(
        id: *const ::std::os::raw::c_char,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_output_add_packet_callback(
        output: *mut obs_output_t,
        packet_cb: ::std::option::Option<
            unsafe extern "C" fn(
                output: *mut obs_output_t,
                pkt: *mut encoder_packet,
                pkt_time: *mut encoder_packet_time,
                param: *mut ::std::os::raw::c_void,
            ),
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_output_remove_packet_callback(
        output: *mut obs_output_t,
        packet_cb: ::std::option::Option<
            unsafe extern "C" fn(
                output: *mut obs_output_t,
                pkt: *mut encoder_packet,
                pkt_time: *mut encoder_packet_time,
                param: *mut ::std::os::raw::c_void,
            ),
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_output_set_reconnect_callback(
        output: *mut obs_output_t,
        reconnect_cb: ::std::option::Option<
            unsafe extern "C" fn(
                data: *mut ::std::os::raw::c_void,
                output: *mut obs_output_t,
                code: ::std::os::raw::c_int,
            ) -> bool,
        >,
        param: *mut ::std::os::raw::c_void,
    );
    pub fn obs_output_get_type_data(output: *mut obs_output_t) -> *mut ::std::os::raw::c_void;
#[doc = " Gets the video conversion info.  Used only for raw output"]
    pub fn obs_output_get_video_conversion(output: *mut obs_output_t) -> *const video_scale_info;
#[doc = " Optionally sets the video conversion info.  Used only for raw output"]
    pub fn obs_output_set_video_conversion(
        output: *mut obs_output_t,
        conversion: *const video_scale_info,
    );
#[doc = " Optionally sets the audio conversion info.  Used only for raw output"]
    pub fn obs_output_set_audio_conversion(
        output: *mut obs_output_t,
        conversion: *const audio_convert_info,
    );
#[doc = " Returns whether data capture can begin"]
    pub fn obs_output_can_begin_data_capture(output: *const obs_output_t, flags: u32) -> bool;
#[doc = " Initializes encoders (if any)"]
    pub fn obs_output_initialize_encoders(output: *mut obs_output_t, flags: u32) -> bool;
#[doc = " Begins data capture from media/encoders.\n\n @param  output  Output context\n @return         true if successful, false otherwise."]
    pub fn obs_output_begin_data_capture(output: *mut obs_output_t, flags: u32) -> bool;
#[doc = " Ends data capture from media/encoders"]
    pub fn obs_output_end_data_capture(output: *mut obs_output_t);
#[doc = " Signals that the output has stopped itself.\n\n @param  output  Output context\n @param  code    Error code (or OBS_OUTPUT_SUCCESS if not an error)"]
    pub fn obs_output_signal_stop(output: *mut obs_output_t, code: ::std::os::raw::c_int);
    pub fn obs_output_get_pause_offset(output: *mut obs_output_t) -> u64;
    pub fn obs_encoder_get_display_name(
        id: *const ::std::os::raw::c_char,
    ) -> *const ::std::os::raw::c_char;
#[doc = " Returns a pointer to the module which provides the encoder"]
    pub fn obs_encoder_get_module(id: *const ::std::os::raw::c_char) -> *mut obs_module_t;
#[doc = " Returns the load state of an encoder's module given the id"]
    pub fn obs_encoder_load_state(id: *const ::std::os::raw::c_char) -> obs_module_load_state;
#[doc = " Creates a video encoder context\n\n @param  id        Video encoder ID\n @param  name      Name to assign to this context\n @param  settings  Settings\n @return           The video encoder context, or NULL if failed or not found."]
    pub fn obs_video_encoder_create(
        id: *const ::std::os::raw::c_char,
        name: *const ::std::os::raw::c_char,
        settings: *mut obs_data_t,
        hotkey_data: *mut obs_data_t,
    ) -> *mut obs_encoder_t;
#[doc = " Creates an audio encoder context\n\n @param  id        Audio Encoder ID\n @param  name      Name to assign to this context\n @param  settings  Settings\n @param  mixer_idx Index of the mixer to use for this audio encoder\n @return           The video encoder context, or NULL if failed or not found."]
    pub fn obs_audio_encoder_create(
        id: *const ::std::os::raw::c_char,
        name: *const ::std::os::raw::c_char,
        settings: *mut obs_data_t,
        mixer_idx: usize,
        hotkey_data: *mut obs_data_t,
    ) -> *mut obs_encoder_t;
#[doc = " Adds/releases a reference to an encoder.  When the last reference is\n released, the encoder is destroyed."]
    pub fn obs_encoder_release(encoder: *mut obs_encoder_t);
    pub fn obs_weak_encoder_addref(weak: *mut obs_weak_encoder_t);
    pub fn obs_weak_encoder_release(weak: *mut obs_weak_encoder_t);
    pub fn obs_encoder_get_ref(encoder: *mut obs_encoder_t) -> *mut obs_encoder_t;
    pub fn obs_encoder_get_weak_encoder(encoder: *mut obs_encoder_t) -> *mut obs_weak_encoder_t;
    pub fn obs_weak_encoder_get_encoder(weak: *mut obs_weak_encoder_t) -> *mut obs_encoder_t;
    pub fn obs_weak_encoder_references_encoder(
        weak: *mut obs_weak_encoder_t,
        encoder: *mut obs_encoder_t,
    ) -> bool;
    pub fn obs_encoder_set_name(encoder: *mut obs_encoder_t, name: *const ::std::os::raw::c_char);
    pub fn obs_encoder_get_name(encoder: *const obs_encoder_t) -> *const ::std::os::raw::c_char;
#[doc = " Returns the codec of an encoder by the id"]
    pub fn obs_get_encoder_codec(
        id: *const ::std::os::raw::c_char,
    ) -> *const ::std::os::raw::c_char;
#[doc = " Returns the type of an encoder by the id"]
    pub fn obs_get_encoder_type(id: *const ::std::os::raw::c_char) -> obs_encoder_type;
#[doc = " Returns the codec of the encoder"]
    pub fn obs_encoder_get_codec(encoder: *const obs_encoder_t) -> *const ::std::os::raw::c_char;
#[doc = " Returns the type of an encoder"]
    pub fn obs_encoder_get_type(encoder: *const obs_encoder_t) -> obs_encoder_type;
#[doc = " Sets the scaled resolution for a video encoder.  Set width and height to 0\n to disable scaling.  If the encoder is active, this function will trigger\n a warning, and do nothing."]
    pub fn obs_encoder_set_scaled_size(encoder: *mut obs_encoder_t, width: u32, height: u32);
#[doc = " Enable/disable GPU based scaling for a video encoder.\n OBS_SCALE_DISABLE disables GPU based scaling (default),\n any other value enables GPU based scaling. If the encoder\n is active, this function will trigger a warning, and do nothing."]
    pub fn obs_encoder_set_gpu_scale_type(
        encoder: *mut obs_encoder_t,
        gpu_scale_type: obs_scale_type,
    );
#[doc = " Set frame rate divisor for a video encoder. This allows recording at\n a partial frame rate compared to the base frame rate, e.g. 60 FPS with\n divisor = 2 will record at 30 FPS, with divisor = 3 at 20, etc.\n\n Can only be called on stopped encoders, changing this on the fly is not supported"]
    pub fn obs_encoder_set_frame_rate_divisor(encoder: *mut obs_encoder_t, divisor: u32) -> bool;
#[doc = " Adds region of interest (ROI) for an encoder. This allows prioritizing\n quality of regions of the frame.\n If regions overlap, regions added earlier take precedence.\n\n Returns false if the encoder does not support ROI or region is invalid."]
    pub fn obs_encoder_add_roi(encoder: *mut obs_encoder_t, roi: *const obs_encoder_roi) -> bool;
#[doc = " For video encoders, returns true if any ROIs were set"]
    pub fn obs_encoder_has_roi(encoder: *const obs_encoder_t) -> bool;
#[doc = " Clear all regions"]
    pub fn obs_encoder_clear_roi(encoder: *mut obs_encoder_t);
#[doc = " Enumerate regions with callback (reverse order of addition)"]
    pub fn obs_encoder_enum_roi(
        encoder: *mut obs_encoder_t,
        enum_proc: ::std::option::Option<
            unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: *mut obs_encoder_roi),
        >,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Get ROI increment, encoders must rebuild their ROI map if it has changed"]
    pub fn obs_encoder_get_roi_increment(encoder: *const obs_encoder_t) -> u32;
#[doc = " For video encoders, returns true if pre-encode scaling is enabled"]
    pub fn obs_encoder_scaling_enabled(encoder: *const obs_encoder_t) -> bool;
#[doc = " For video encoders, returns the width of the encoded image"]
    pub fn obs_encoder_get_width(encoder: *const obs_encoder_t) -> u32;
#[doc = " For video encoders, returns the height of the encoded image"]
    pub fn obs_encoder_get_height(encoder: *const obs_encoder_t) -> u32;
#[doc = " For video encoders, returns whether GPU scaling is enabled"]
    pub fn obs_encoder_gpu_scaling_enabled(encoder: *mut obs_encoder_t) -> bool;
#[doc = " For video encoders, returns GPU scaling type"]
    pub fn obs_encoder_get_scale_type(encoder: *mut obs_encoder_t) -> obs_scale_type;
#[doc = " For video encoders, returns the frame rate divisor (default is 1)"]
    pub fn obs_encoder_get_frame_rate_divisor(encoder: *const obs_encoder_t) -> u32;
#[doc = " For video encoders, returns the number of frames encoded"]
    pub fn obs_encoder_get_encoded_frames(encoder: *const obs_encoder_t) -> u32;
#[doc = " For audio encoders, returns the sample rate of the audio"]
    pub fn obs_encoder_get_sample_rate(encoder: *const obs_encoder_t) -> u32;
#[doc = " For audio encoders, returns the frame size of the audio packet"]
    pub fn obs_encoder_get_frame_size(encoder: *const obs_encoder_t) -> usize;
#[doc = " For audio encoders, returns the mixer index"]
    pub fn obs_encoder_get_mixer_index(encoder: *const obs_encoder_t) -> usize;
#[doc = " Sets the preferred video format for a video encoder.  If the encoder can use\n the format specified, it will force a conversion to that format if the\n obs output format does not match the preferred format.\n\n If the format is set to VIDEO_FORMAT_NONE, will revert to the default\n functionality of converting only when absolutely necessary.\n\n If GPU scaling is enabled, conversion will happen on the GPU."]
    pub fn obs_encoder_set_preferred_video_format(
        encoder: *mut obs_encoder_t,
        format: video_format,
    );
    pub fn obs_encoder_get_preferred_video_format(encoder: *const obs_encoder_t) -> video_format;
#[doc = " Sets the preferred colorspace for an encoder, e.g., to simultaneous SDR and\n HDR output.\n\n Only supported when GPU scaling is enabled."]
    pub fn obs_encoder_set_preferred_color_space(
        encoder: *mut obs_encoder_t,
        colorspace: video_colorspace,
    );
    pub fn obs_encoder_get_preferred_color_space(encoder: *const obs_encoder_t)
    -> video_colorspace;
#[doc = " Sets the preferred range for an encoder.\n\n Only supported when GPU scaling is enabled."]
    pub fn obs_encoder_set_preferred_range(encoder: *mut obs_encoder_t, range: video_range_type);
    pub fn obs_encoder_get_preferred_range(encoder: *const obs_encoder_t) -> video_range_type;
#[doc = " Gets the default settings for an encoder type"]
    pub fn obs_encoder_defaults(id: *const ::std::os::raw::c_char) -> *mut obs_data_t;
    pub fn obs_encoder_get_defaults(encoder: *const obs_encoder_t) -> *mut obs_data_t;
#[doc = " Returns the property list, if any.  Free with obs_properties_destroy"]
    pub fn obs_get_encoder_properties(id: *const ::std::os::raw::c_char) -> *mut obs_properties_t;
#[doc = " Returns the property list of an existing encoder, if any.  Free with\n obs_properties_destroy"]
    pub fn obs_encoder_properties(encoder: *const obs_encoder_t) -> *mut obs_properties_t;
#[doc = " Updates the settings of the encoder context.  Usually used for changing\n bitrate while active"]
    pub fn obs_encoder_update(encoder: *mut obs_encoder_t, settings: *mut obs_data_t);
#[doc = " Gets extra data (headers) associated with this context"]
    pub fn obs_encoder_get_extra_data(
        encoder: *const obs_encoder_t,
        extra_data: *mut *mut u8,
        size: *mut usize,
    ) -> bool;
#[doc = " Returns the current settings for this encoder"]
    pub fn obs_encoder_get_settings(encoder: *const obs_encoder_t) -> *mut obs_data_t;
#[doc = " Sets the video output context to be used with this encoder"]
    pub fn obs_encoder_set_video(encoder: *mut obs_encoder_t, video: *mut video_t);
#[doc = " Sets the audio output context to be used with this encoder"]
    pub fn obs_encoder_set_audio(encoder: *mut obs_encoder_t, audio: *mut audio_t);
#[doc = " Returns the video output context used with this encoder, or NULL if not\n a video context"]
    pub fn obs_encoder_video(encoder: *const obs_encoder_t) -> *mut video_t;
#[doc = " Returns the parent video output context used with this encoder, or NULL if not\n a video context. Used when an FPS divisor is set, where the original video\n context would not otherwise be gettable."]
    pub fn obs_encoder_parent_video(encoder: *const obs_encoder_t) -> *mut video_t;
#[doc = " Returns if the encoder's video output context supports shared textures for the specified video format."]
    pub fn obs_encoder_video_tex_active(
        encoder: *const obs_encoder_t,
        format: video_format,
    ) -> bool;
#[doc = " Returns the audio output context used with this encoder, or NULL if not\n a audio context"]
    pub fn obs_encoder_audio(encoder: *const obs_encoder_t) -> *mut audio_t;
#[doc = " Returns true if encoder is active, false otherwise"]
    pub fn obs_encoder_active(encoder: *const obs_encoder_t) -> bool;
    pub fn obs_encoder_get_type_data(encoder: *mut obs_encoder_t) -> *mut ::std::os::raw::c_void;
    pub fn obs_encoder_get_id(encoder: *const obs_encoder_t) -> *const ::std::os::raw::c_char;
    pub fn obs_get_encoder_caps(encoder_id: *const ::std::os::raw::c_char) -> u32;
    pub fn obs_encoder_get_caps(encoder: *const obs_encoder_t) -> u32;
    pub fn obs_encoder_packet_ref(dst: *mut encoder_packet, src: *mut encoder_packet);
    pub fn obs_encoder_packet_release(packet: *mut encoder_packet);
    pub fn obs_encoder_create_rerouted(
        encoder: *mut obs_encoder_t,
        reroute_id: *const ::std::os::raw::c_char,
    ) -> *mut ::std::os::raw::c_void;
#[doc = " Returns whether encoder is paused"]
    pub fn obs_encoder_paused(output: *const obs_encoder_t) -> bool;
    pub fn obs_encoder_get_last_error(encoder: *mut obs_encoder_t)
    -> *const ::std::os::raw::c_char;
    pub fn obs_encoder_set_last_error(
        encoder: *mut obs_encoder_t,
        message: *const ::std::os::raw::c_char,
    );
    pub fn obs_encoder_get_pause_offset(encoder: *const obs_encoder_t) -> u64;
#[doc = " Creates an \"encoder group\", allowing synchronized startup of encoders within\n the group. Encoder groups are single owner, and hold strong references to\n encoders within the group. Calling destroy on an active group will not actually\n destroy the group until it becomes completely inactive."]
    pub fn obs_encoder_set_group(
        encoder: *mut obs_encoder_t,
        group: *mut obs_encoder_group_t,
    ) -> bool;
    pub fn obs_encoder_group_create() -> *mut obs_encoder_group_t;
    pub fn obs_encoder_group_destroy(group: *mut obs_encoder_group_t);
    pub fn obs_service_get_display_name(
        id: *const ::std::os::raw::c_char,
    ) -> *const ::std::os::raw::c_char;
#[doc = " Returns a pointer to the module which provides the service"]
    pub fn obs_service_get_module(id: *const ::std::os::raw::c_char) -> *mut obs_module_t;
#[doc = " Returns the load state of a service's module given the id"]
    pub fn obs_service_load_state(id: *const ::std::os::raw::c_char) -> obs_module_load_state;
    pub fn obs_service_create(
        id: *const ::std::os::raw::c_char,
        name: *const ::std::os::raw::c_char,
        settings: *mut obs_data_t,
        hotkey_data: *mut obs_data_t,
    ) -> *mut obs_service_t;
    pub fn obs_service_create_private(
        id: *const ::std::os::raw::c_char,
        name: *const ::std::os::raw::c_char,
        settings: *mut obs_data_t,
    ) -> *mut obs_service_t;
#[doc = " Adds/releases a reference to a service.  When the last reference is\n released, the service is destroyed."]
    pub fn obs_service_release(service: *mut obs_service_t);
    pub fn obs_weak_service_addref(weak: *mut obs_weak_service_t);
    pub fn obs_weak_service_release(weak: *mut obs_weak_service_t);
    pub fn obs_service_get_ref(service: *mut obs_service_t) -> *mut obs_service_t;
    pub fn obs_service_get_weak_service(service: *mut obs_service_t) -> *mut obs_weak_service_t;
    pub fn obs_weak_service_get_service(weak: *mut obs_weak_service_t) -> *mut obs_service_t;
    pub fn obs_weak_service_references_service(
        weak: *mut obs_weak_service_t,
        service: *mut obs_service_t,
    ) -> bool;
    pub fn obs_service_get_name(service: *const obs_service_t) -> *const ::std::os::raw::c_char;
#[doc = " Gets the default settings for a service"]
    pub fn obs_service_defaults(id: *const ::std::os::raw::c_char) -> *mut obs_data_t;
#[doc = " Returns the property list, if any.  Free with obs_properties_destroy"]
    pub fn obs_get_service_properties(id: *const ::std::os::raw::c_char) -> *mut obs_properties_t;
#[doc = " Returns the property list of an existing service context, if any.  Free with\n obs_properties_destroy"]
    pub fn obs_service_properties(service: *const obs_service_t) -> *mut obs_properties_t;
#[doc = " Gets the service type"]
    pub fn obs_service_get_type(service: *const obs_service_t) -> *const ::std::os::raw::c_char;
#[doc = " Updates the settings of the service context"]
    pub fn obs_service_update(service: *mut obs_service_t, settings: *mut obs_data_t);
#[doc = " Returns the current settings for this service"]
    pub fn obs_service_get_settings(service: *const obs_service_t) -> *mut obs_data_t;
#[doc = " Applies service-specific video encoder settings.\n\n @param  video_encoder_settings  Video encoder settings.  Optional.\n @param  audio_encoder_settings  Audio encoder settings.  Optional."]
    pub fn obs_service_apply_encoder_settings(
        service: *mut obs_service_t,
        video_encoder_settings: *mut obs_data_t,
        audio_encoder_settings: *mut obs_data_t,
    );
    pub fn obs_service_get_type_data(service: *mut obs_service_t) -> *mut ::std::os::raw::c_void;
    pub fn obs_service_get_id(service: *const obs_service_t) -> *const ::std::os::raw::c_char;
    pub fn obs_service_get_supported_resolutions(
        service: *const obs_service_t,
        resolutions: *mut *mut obs_service_resolution,
        count: *mut usize,
    );
    pub fn obs_service_get_max_fps(service: *const obs_service_t, fps: *mut ::std::os::raw::c_int);
    pub fn obs_service_get_max_bitrate(
        service: *const obs_service_t,
        video_bitrate: *mut ::std::os::raw::c_int,
        audio_bitrate: *mut ::std::os::raw::c_int,
    );
    pub fn obs_service_get_supported_video_codecs(
        service: *const obs_service_t,
    ) -> *mut *const ::std::os::raw::c_char;
    pub fn obs_service_get_supported_audio_codecs(
        service: *const obs_service_t,
    ) -> *mut *const ::std::os::raw::c_char;
#[doc = " Returns the protocol for this service context"]
    pub fn obs_service_get_protocol(service: *const obs_service_t)
    -> *const ::std::os::raw::c_char;
    pub fn obs_service_get_preferred_output_type(
        service: *const obs_service_t,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_service_get_connect_info(
        service: *const obs_service_t,
        type_: u32,
    ) -> *const ::std::os::raw::c_char;
    pub fn obs_service_can_try_to_connect(service: *const obs_service_t) -> bool;
    pub fn obs_source_frame_init(
        frame: *mut obs_source_frame,
        format: video_format,
        width: u32,
        height: u32,
    );
    pub fn obs_source_frame_copy(dst: *mut obs_source_frame, src: *const obs_source_frame);
    pub fn obs_source_get_icon_type(id: *const ::std::os::raw::c_char) -> obs_icon_type;
#[doc = " Get a strong reference to the main OBS canvas"]
    pub fn obs_get_main_canvas() -> *mut obs_canvas_t;
#[doc = " Creates a new canvas"]
    pub fn obs_canvas_create(
        name: *const ::std::os::raw::c_char,
        ovi: *mut obs_video_info,
        flags: u32,
    ) -> *mut obs_canvas_t;
#[doc = " Creates a new private canvas"]
    pub fn obs_canvas_create_private(
        name: *const ::std::os::raw::c_char,
        ovi: *mut obs_video_info,
        flags: u32,
    ) -> *mut obs_canvas_t;
#[doc = " Signal that references to canvas should be released and mark the canvas as removed."]
    pub fn obs_canvas_remove(canvas: *mut obs_canvas_t);
#[doc = " Returns if a canvas is marked as removed (i.e., should no longer be used)."]
    pub fn obs_canvas_removed(canvas: *mut obs_canvas_t) -> bool;
#[doc = " Set canvas name"]
    pub fn obs_canvas_set_name(canvas: *mut obs_canvas_t, name: *const ::std::os::raw::c_char);
#[doc = " Get canvas name"]
    pub fn obs_canvas_get_name(canvas: *const obs_canvas_t) -> *const ::std::os::raw::c_char;
#[doc = " Get canvas UUID"]
    pub fn obs_canvas_get_uuid(canvas: *const obs_canvas_t) -> *const ::std::os::raw::c_char;
#[doc = " Gets flags set on a canvas"]
    pub fn obs_canvas_get_flags(canvas: *const obs_canvas_t) -> u32;
#[doc = " Saves a canvas to settings data"]
    pub fn obs_save_canvas(source: *mut obs_canvas_t) -> *mut obs_data_t;
#[doc = " Loads a canvas from settings data"]
    pub fn obs_load_canvas(data: *mut obs_data_t) -> *mut obs_canvas_t;
#[doc = " Add strong reference"]
    pub fn obs_canvas_get_ref(canvas: *mut obs_canvas_t) -> *mut obs_canvas_t;
#[doc = " Release strong reference"]
    pub fn obs_canvas_release(canvas: *mut obs_canvas_t);
#[doc = " Add weak reference"]
    pub fn obs_weak_canvas_addref(weak: *mut obs_weak_canvas_t);
#[doc = " Release weak reference"]
    pub fn obs_weak_canvas_release(weak: *mut obs_weak_canvas_t);
#[doc = " Get weak reference from strong reference"]
    pub fn obs_canvas_get_weak_canvas(canvas: *mut obs_canvas_t) -> *mut obs_weak_canvas_t;
#[doc = " Get strong reference from weak reference"]
    pub fn obs_weak_canvas_get_canvas(weak: *mut obs_weak_canvas_t) -> *mut obs_canvas_t;
#[doc = " Returns the signal handler for a canvas"]
    pub fn obs_canvas_get_signal_handler(canvas: *mut obs_canvas_t) -> *mut signal_handler_t;
#[doc = " Sets the source to be used for this canvas."]
    pub fn obs_canvas_set_channel(
        canvas: *mut obs_canvas_t,
        channel: u32,
        source: *mut obs_source_t,
    );
#[doc = " Gets the source currently in use for this view context"]
    pub fn obs_canvas_get_channel(canvas: *mut obs_canvas_t, channel: u32) -> *mut obs_source_t;
#[doc = " Create scene attached to a canvas"]
    pub fn obs_canvas_scene_create(
        canvas: *mut obs_canvas_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_scene_t;
#[doc = " Remove a scene from a canvas"]
    pub fn obs_canvas_scene_remove(scene: *mut obs_scene_t);
#[doc = " Move scene to another canvas, detaching it from the previous one and deduplicating the name if needed"]
    pub fn obs_canvas_move_scene(scene: *mut obs_scene_t, dst: *mut obs_canvas_t);
#[doc = " Enumerates scenes belonging to a canvas"]
    pub fn obs_canvas_enum_scenes(
        canvas: *mut obs_canvas_t,
        enum_proc: ::std::option::Option<
            unsafe extern "C" fn(
                arg1: *mut ::std::os::raw::c_void,
                arg2: *mut obs_source_t,
            ) -> bool,
        >,
        param: *mut ::std::os::raw::c_void,
    );
#[doc = " Get a canvas source by name"]
    pub fn obs_canvas_get_source_by_name(
        canvas: *mut obs_canvas_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_source_t;
#[doc = " Get a canvas source by UUID"]
    pub fn obs_canvas_get_scene_by_name(
        canvas: *mut obs_canvas_t,
        name: *const ::std::os::raw::c_char,
    ) -> *mut obs_scene_t;
#[doc = " Reset a canvas's video mix"]
    pub fn obs_canvas_reset_video(canvas: *mut obs_canvas_t, ovi: *mut obs_video_info) -> bool;
#[doc = " Returns true if the canvas video is configured"]
    pub fn obs_canvas_has_video(canvas: *mut obs_canvas_t) -> bool;
#[doc = " Get canvas video output"]
    pub fn obs_canvas_get_video(canvas: *const obs_canvas_t) -> *mut video_t;
#[doc = " Get canvas video info (if it exists)"]
    pub fn obs_canvas_get_video_info(canvas: *const obs_canvas_t, ovi: *mut obs_video_info)
    -> bool;
#[doc = " Renders the sources of this canvas's view context"]
    pub fn obs_canvas_render(canvas: *mut obs_canvas_t);
}