premiere-sys 0.2.0

Auto-generated Adobe Premiere® bindings
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
/* automatically generated by rust-bindgen 0.69.4 */

pub const kPrMaxPath: u32 = 260;
pub const kPrMaxName: u32 = 260;
pub const kPrForceEnumToIntValue: u32 = 4294967295;
pub const kPrSDKTimeSuite: &[u8; 20] = b"Premiere Time Suite\0";
pub const kPrSDKTimeSuiteVersion: u32 = 1;
pub const kPrSDKClipRenderSuite: &[u8; 27] = b"Premiere Clip Render Suite\0";
pub const kPrSDKClipRenderSuiteVersion: u32 = 3;
pub const kSPNoError: u32 = 0;
pub const kSPOutOfMemoryError: u32 = 4294967148;
pub const kSPBasicSuite: &[u8; 15] = b"SP Basic Suite\0";
pub const kSPBasicSuiteVersion: u32 = 4;
pub const PR_PISUITES_VERSION_1: u32 = 1;
pub const PR_PISUITES_VERSION_2: u32 = 2;
pub const PR_PISUITES_VERSION_3: u32 = 3;
pub const PR_PISUITES_VERSION_4: u32 = 4;
pub const PR_PISUITES_VERSION_5: u32 = 5;
pub const PR_PISUITES_VERSION_6: u32 = 6;
pub const PR_PISUITES_VERSION_7: u32 = 7;
pub const PR_PISUITES_VERSION_8: u32 = 8;
pub const PR_PISUITES_VERSION_9: u32 = 9;
pub const PR_PISUITES_VERSION: u32 = 9;
pub const kVideoFilterVersion: u32 = 12;
pub const kPrSDKErrorSuite: &[u8; 21] = b"Premiere Error Suite\0";
pub const kPrSDKErrorSuiteVersion1: u32 = 1;
pub const kPrSDKErrorSuiteVersion2: u32 = 2;
pub const kPrSDKErrorSuiteVersion3: u32 = 3;
pub const kPrSDKErrorSuiteVersion: u32 = 3;
pub const kPrSDKGPUDeviceSuite: &[u8; 27] = b"MediaCore GPU Device Suite\0";
pub const kPrSDKGPUDeviceSuiteVersion: u32 = 2;
pub const PrCUDAVersion: u32 = 9020;
pub const PrOpenCLVersion: u32 = 1000;
pub const kPrSDKAudioSuite: &[u8; 21] = b"Premiere Audio Suite\0";
pub const kPrSDKAudioSuiteVersion: u32 = 1;
pub const kMaxAudioChannelCount: u32 = 32;
pub const kPrSDKPlayModuleDeviceControlSuite: &[u8; 38] =
    b"Premiere Playmod Device Control Suite\0";
pub const kPrSDKPlayModuleDeviceControlSuiteVersion: u32 = 1;
pub const kPrSDKEndOfTimeline: u64 = 91445760000000000;
pub const PrSDKGPUFilterInterfaceVersion1: u32 = 1;
pub const PrSDKGPUFilterInterfaceVersion2: u32 = 2;
pub const PrSDKGPUFilterInterfaceVersion: u32 = 2;
pub const PrGPUFilterEntryPointName: &[u8; 16] = b"xGPUFilterEntry\0";
pub const kPrSDKGPUImageProcessingSuite: &[u8; 37] = b"MediaCore GPU Image Processing Suite\0";
pub const kPrSDKGPUImageProcessingSuiteVersion: u32 = 1;
pub const kPrSDKMemoryManagerSuite: &[u8; 30] = b"Premiere Memory Manager Suite\0";
pub const kPrSDKMemoryManagerSuiteVersion1: u32 = 1;
pub const kPrSDKMemoryManagerSuiteVersion2: u32 = 2;
pub const kPrSDKMemoryManagerSuiteVersion3: u32 = 3;
pub const kPrSDKMemoryManagerSuiteVersion4: u32 = 4;
pub const kPrSDKMemoryManagerSuiteVersion: u32 = 4;
pub const kPrSDKPixelFormatSuite: &[u8; 28] = b"Premiere Pixel Format Suite\0";
pub const kPrSDKPixelFormatSuiteVersion: u32 = 1;
pub const kPrSDKPPixSuite: &[u8; 20] = b"Premiere PPix Suite\0";
pub const kPrSDKPPixSuiteVersion: u32 = 1;
pub const kPrSDKPPix2Suite: &[u8; 22] = b"Premiere PPix 2 Suite\0";
pub const kPrSDKPPix2SuiteVersion1: u32 = 1;
pub const kPrSDKPPix2SuiteVersion2: u32 = 2;
pub const kPrSDKPPix2SuiteVersion3: u32 = 3;
pub const kPrSDKPPix2SuiteVersion: u32 = 3;
pub const kPrSRGBColorSpace: &[u8; 5] = b"sRGB\0";
pub const kPrRec601525ColorSpace: &[u8; 14] = b"BT.601 (NTSC)\0";
pub const kPrRec601625ColorSpace: &[u8; 13] = b"BT.601 (PAL)\0";
pub const kPrRec709: &[u8; 7] = b"BT.709\0";
pub const kPrRec709Scene: &[u8; 15] = b"BT.709 (Scene)\0";
pub const kPrRec709RGB: &[u8; 11] = b"BT.709 RGB\0";
pub const kPrRec709RGBScene: &[u8; 19] = b"BT.709 RGB (Scene)\0";
pub const kPrOverranged709: &[u8; 16] = b"BT.709 RGB Full\0";
pub const kPrOverranged709Scene: &[u8; 24] = b"BT.709 RGB Full (Scene)\0";
pub const kPrOverranged709Display: &[u8; 26] = b"BT.709 RGB Full (Display)\0";
pub const kPrRec2020: &[u8; 8] = b"BT.2020\0";
pub const kPrRec2020Scene: &[u8; 16] = b"BT.2020 (Scene)\0";
pub const kPrRec2020RGB: &[u8; 12] = b"BT.2020 RGB\0";
pub const kPrRec2020RGBScene: &[u8; 20] = b"BT.2020 RGB (Scene)\0";
pub const kPrOverranged2020: &[u8; 17] = b"BT.2020 RGB Full\0";
pub const kPrOverranged2020Scene: &[u8; 25] = b"BT.2020 RGB Full (Scene)\0";
pub const kPrOverranged2020Display: &[u8; 27] = b"BT.2020 RGB Full (Display)\0";
pub const kPrRec2100HLG: &[u8; 12] = b"BT.2100 HLG\0";
pub const kPrRec2100HLGScene: &[u8; 20] = b"BT.2100 HLG (Scene)\0";
pub const kPrRec2100HLGRGB: &[u8; 16] = b"BT.2100 HLG RGB\0";
pub const kPrRec2100HLGRGBScene: &[u8; 24] = b"BT.2100 HLG RGB (Scene)\0";
pub const kPrOverranged2100HLG: &[u8; 21] = b"BT.2100 HLG RGB Full\0";
pub const kPrOverranged2100HLGScene: &[u8; 29] = b"BT.2100 HLG RGB Full (Scene)\0";
pub const kPrOverranged2100HLGDisplay: &[u8; 31] = b"BT.2100 HLG RGB Full (Display)\0";
pub const kPrRec2100PQ: &[u8; 11] = b"BT.2100 PQ\0";
pub const kPrRec2100PQScene: &[u8; 19] = b"BT.2100 PQ (Scene)\0";
pub const kPrRec2100PQRGB: &[u8; 15] = b"BT.2100 PQ RGB\0";
pub const kPrRec2100PQRGBScene: &[u8; 23] = b"BT.2100 PQ RGB (Scene)\0";
pub const kPrOverranged2100PQ: &[u8; 20] = b"BT.2100 PQ RGB Full\0";
pub const kPrOverranged2100PQScene: &[u8; 28] = b"BT.2100 PQ RGB Full (Scene)\0";
pub const kPrOverranged2100PQDisplay: &[u8; 30] = b"BT.2100 PQ RGB Full (Display)\0";
pub const kPrDCDMXYZ: &[u8; 12] = b"DCDM X'Y'Z'\0";
pub const kPrSonySGamutSLog2: &[u8; 18] = b"Sony SGamut/SLog2\0";
pub const kPrSony2020SLog3: &[u8; 14] = b"BT.2020/SLog3\0";
pub const kPrSonySGamut3CineSLog3: &[u8; 24] = b"Sony SGamut3.Cine/SLog3\0";
pub const kPrSonySGamut3SLog3: &[u8; 19] = b"Sony SGamut3/SLog3\0";
pub const kPrWorkingColorSpace: &[u8; 20] = b"Working Color Space\0";
pub const kPrSDKPPixCacheSuite: &[u8; 26] = b"Premiere PPix Cache Suite\0";
pub const kPrSDKPPixCacheSuiteVersion1: u32 = 1;
pub const kPrSDKPPixCacheSuiteVersion2: u32 = 2;
pub const kPrSDKPPixCacheSuiteVersion3: u32 = 3;
pub const kPrSDKPPixCacheSuiteVersion4: u32 = 4;
pub const kPrSDKPPixCacheSuiteVersion5: u32 = 5;
pub const kPrSDKPPixCacheSuiteVersion6: u32 = 6;
pub const kPrSDKPPixCacheSuiteVersion7: u32 = 7;
pub const kPrSDKPPixCacheSuiteVersion8: u32 = 8;
pub const kPrSDKPPixCacheSuiteVersion: u32 = 8;
pub const kPrSDKPPixCreator2Suite: &[u8; 30] = b"Premiere PPix Creator 2 Suite\0";
pub const kPrSDKPPixCreator2SuiteVersion1: u32 = 1;
pub const kPrSDKPPixCreator2SuiteVersion2: u32 = 2;
pub const kPrSDKPPixCreator2SuiteVersion3: u32 = 3;
pub const kPrSDKPPixCreator2SuiteVersion4: u32 = 4;
pub const kPrSDKPPixCreator2SuiteVersion: u32 = 4;
pub const kPrSDKPPixCreatorSuite: &[u8; 28] = b"Premiere PPix Creator Suite\0";
pub const kPrSDKPPixCreatorSuiteVersion: u32 = 1;
pub const kPrSDKSequenceInfoSuite: &[u8; 30] = b"MediaCore Sequence Info Suite\0";
pub const kPrSDKSequenceInfoSuiteVersion: u32 = 6;
pub const kPrSDK_StreamLabel_Stereoscopic_Left: &[u8; 23] = b"ADBE.Stereoscopic.Left\0";
pub const kPrSDK_StreamLabel_Stereoscopic_Right: &[u8; 24] = b"ADBE.Stereoscopic.Right\0";
pub const kPrSDKSequenceRenderSuite: &[u8; 32] = b"MediaCore Sequence Render Suite\0";
pub const kPrSDKSequenceRenderSuiteVersion1: u32 = 1;
pub const kPrSDKSequenceRenderSuiteVersion2: u32 = 2;
pub const kPrSDKSequenceRenderSuiteVersion3: u32 = 3;
pub const kPrSDKSequenceRenderSuiteVersion4: u32 = 4;
pub const kPrSDKSequenceRenderSuiteVersion5: u32 = 5;
pub const kPrSDKSequenceRenderSuiteVersion6: u32 = 6;
pub const kPrSDKSequenceRenderSuiteVersion: u32 = 6;
pub const kPrSDKSmartRenderingSuite: &[u8; 32] = b"MediaCore Smart Rendering Suite\0";
pub const kPrSDKSmartRenderingSuiteVersion1: u32 = 1;
pub const kPrSDKSmartRenderingSuiteVersion2: u32 = 2;
pub const kPrSDKSmartRenderingSuiteVersion3: u32 = 3;
pub const kPrSDKSmartRenderingSuiteVersion: u32 = 3;
pub const kPrSDKStringSuite: &[u8; 22] = b"MediaCore StringSuite\0";
pub const kPrSDKStringSuiteVersion: u32 = 1;
pub const kPrSDKThreadedWorkSuite: &[u8; 29] = b"Premiere Threaded Work Suite\0";
pub const kPrSDKThreadedWorkSuiteVersion2: u32 = 2;
pub const kPrSDKThreadedWorkSuiteVersion3: u32 = 3;
pub const kVideoSegmentProperty_Media_ClipID: &[u8; 18] = b"MediaNode::ClipID\0";
pub const kVideoSegmentProperty_Media_ProxyClipID: &[u8; 23] = b"MediaNode::ProxyClipID\0";
pub const kVideoSegmentProperty_Media_InstanceString: &[u8; 31] =
    b"MediaNode::MediaInstanceString\0";
pub const kVideoSegmentProperty_Media_ProxyInstanceString: &[u8; 36] =
    b"MediaNode::ProxyMediaInstanceString\0";
pub const kVideoSegmentProperty_Media_ImplementationID: &[u8; 28] =
    b"MediaNode::ImplementationID\0";
pub const kVideoSegmentProperty_Media_StreamGroup: &[u8; 28] = b"MediaNode::MediaStreamGroup\0";
pub const kVideoSegmentProperty_Media_StreamLabel: &[u8; 28] = b"MediaNode::MediaStreamLabel\0";
pub const kVideoSegmentProperty_Media_IsDraft: &[u8; 24] = b"MediaNode::MediaIsDraft\0";
pub const kVideoSegmentProperty_Media_ModState: &[u8; 25] = b"MediaNode::MediaModState\0";
pub const kVideoSegmentProperty_Media_IsOffline: &[u8; 26] = b"MediaNode::MediaIsOffline\0";
pub const kVideoSegmentProperty_Media_IsPending: &[u8; 26] = b"MediaNode::MediaIsPending\0";
pub const kVideoSegmentProperty_Media_CaptioningID: &[u8; 29] = b"MediaNode::MediaCaptioningID\0";
pub const kVideoSegmentProperty_Media_StreamFrameRate: &[u8; 27] = b"MediaNode::StreamFrameRate\0";
pub const kVideoSegmentProperty_Media_StreamAlphaType: &[u8; 27] = b"MediaNode::StreamAlphaType\0";
pub const kVideoSegmentProperty_Media_StreamIgnoreAlpha: &[u8; 29] =
    b"MediaNode::StreamIgnoreAlpha\0";
pub const kVideoSegmentProperty_Media_StreamInvertAlpha: &[u8; 29] =
    b"MediaNode::StreamInvertAlpha\0";
pub const kVideoSegmentProperty_Media_StreamAlphaMatteColor: &[u8; 33] =
    b"MediaNode::StreamAlphaMatteColor\0";
pub const kVideoSegmentProperty_Media_StreamRemovePulldown: &[u8; 32] =
    b"MediaNode::StreamRemovePulldown\0";
pub const kVideoSegmentProperty_Media_StreamPixelAspectRatioNum: &[u8; 37] =
    b"MediaNode::StreamPixelAspectRatioNum\0";
pub const kVideoSegmentProperty_Media_StreamFrameWidth: &[u8; 28] =
    b"MediaNode::StreamFrameWidth\0";
pub const kVideoSegmentProperty_Media_StreamFrameHeight: &[u8; 29] =
    b"MediaNode::StreamFrameHeight\0";
pub const kVideoSegmentProperty_Media_StreamPixelAspectRatioDen: &[u8; 37] =
    b"MediaNode::StreamPixelAspectRatioDen\0";
pub const kVideoSegmentProperty_Media_StreamFieldType: &[u8; 27] = b"MediaNode::StreamFieldType\0";
pub const kVideoSegmentProperty_Media_StreamOpaqueData: &[u8; 28] =
    b"MediaNode::StreamOpaqueData\0";
pub const kVideoSegmentProperty_Media_ProxyStreamOpaqueData: &[u8; 33] =
    b"MediaNode::ProxyStreamOpaqueData\0";
pub const kVideoSegmentProperty_Media_StreamPullDownCadence: &[u8; 33] =
    b"MediaNode::StreamPullDownCadence\0";
pub const kVideoSegmentProperty_Media_StreamFrameVidSubType: &[u8; 33] =
    b"MediaNode::StreamFrameVidSubType\0";
pub const kVideoSegmentProperty_Media_StreamIsContinuousTime: &[u8; 62] =
    b"MediaNode::kVideoSegmentProperty_Media_StreamIsContinuousTime\0";
pub const kVideoSegmentProperty_Media_StreamIsRollCrawl: &[u8; 29] =
    b"MediaNode::StreamIsRollCrawl\0";
pub const kVideoSegmentProperty_Media_RollCrawlDuration: &[u8; 29] =
    b"MediaNode::RollCrawlDuration\0";
pub const kVideoSegmentProperty_Media_ContentStart: &[u8; 24] = b"MediaNode::ContentStart\0";
pub const kVideoSegmentProperty_Media_ContentEnd: &[u8; 22] = b"MediaNode::ContentEnd\0";
pub const kVideoSegmentProperty_Media_StartTimecodeOffset: &[u8; 31] =
    b"MediaNode::StartTimecodeOffset\0";
pub const kVideoSegmentProperty_Media_ProxyStartTimecodeOffset: &[u8; 36] =
    b"MediaNode::ProxyStartTimecodeOffset\0";
pub const kVideoSegmentProperty_Media_NestedSequenceHash: &[u8; 30] =
    b"MediaNode::NestedSequenceHash\0";
pub const kVideoSegmentProperty_Media_SelectedMulticamTrackFromNestedSequence: &[u8; 33] =
    b"MediaNode::SelectedMulticamTrack\0";
pub const kVideoSegmentProperty_Media_MulticamCameraOrderFromNestedSequence: &[u8; 31] =
    b"MediaNode::MulticamCameraOrder\0";
pub const kVideoSegmentProperty_Media_MulticamCamerasPerPage: &[u8; 34] =
    b"MediaNode::MulticamCamerasPerPage\0";
pub const kVideoSegmentProperty_Media_MulticamCurrentPage: &[u8; 31] =
    b"MediaNode::MulticamCurrentPage\0";
pub const kVideoSegmentProperty_Media_SelectedMulticamTrackTimelineID: &[u8; 43] =
    b"MediaNode::SelectedMulticamTrackTimelineID\0";
pub const kVideoSegmentProperty_Media_NestedSequenceTimelineID: &[u8; 36] =
    b"MediaNode::NestedSequenceTimelineID\0";
pub const kVideoSegmentProperty_Media_TrackItemIsMuted: &[u8; 28] =
    b"MediaNode::TrackItemIsMuted\0";
pub const kVideoSegmentProperty_Media_ClipSpeed: &[u8; 21] = b"MediaNode::ClipSpeed\0";
pub const kVideoSegmentProperty_Media_ClipBackwards: &[u8; 25] = b"MediaNode::ClipBackwards\0";
pub const kVideoSegmentProperty_Media_StreamFrameBlend: &[u8; 28] =
    b"MediaNode::StreamFrameBlend\0";
pub const kVideoSegmentProperty_Media_StreamTimeInterpolationType: &[u8; 39] =
    b"MediaNode::StreamTimeInterpolationType\0";
pub const kVideoSegmentProperty_Media_ClipScaleToFrameSize: &[u8; 32] =
    b"MediaNode::ClipScaleToFrameSize\0";
pub const kVideoSegmentProperty_Media_ClipScaleToFramePolicy: &[u8; 34] =
    b"MediaNode::ClipScaleToFramePolicy\0";
pub const kVideoSegmentProperty_Media_StreamReverseFieldDominance: &[u8; 39] =
    b"MediaNode::StreamReverseFieldDominance\0";
pub const kVideoSegmentProperty_Media_DeinterlaceAlways: &[u8; 29] =
    b"MediaNode::DeinterlaceAlways\0";
pub const kVideoSegmentProperty_Media_RemoveFlicker: &[u8; 25] = b"MediaNode::RemoveFlicker\0";
pub const kVideoSegmentProperty_Media_InterlaceConsecutiveFrames: &[u8; 38] =
    b"MediaNode::InterlaceConsecutiveFrames\0";
pub const kVideoSegmentProperty_Media_SequenceColorSpace: &[u8; 30] =
    b"MediaNode::SequenceColorSpace\0";
pub const kVideoSegmentProperty_Media_StreamColorSpace: &[u8; 28] =
    b"MediaNode::StreamColorSpace\0";
pub const kVideoSegmentProperty_Media_StreamInputLUTID: &[u8; 28] =
    b"MediaNode::StreamInputLUTID\0";
pub const kVideoSegmentProperty_Media_ScanlineOffsetToImproveVerticalCentering: &[u8; 52] =
    b"MediaNode::ScanlineOffsetToImproveVerticalCentering\0";
pub const kVideoSegmentProperty_Media_InPointMediaTimeAsTicks: &[u8; 35] =
    b"MediaNode::InPointMediaTimeAsTicks\0";
pub const kVideoSegmentProperty_Media_OutPointMediaTimeAsTicks: &[u8; 36] =
    b"MediaNode::OutPointMediaTimeAsTicks\0";
pub const kVideoSegmentProperty_Media_SequenceFieldType: &[u8; 29] =
    b"MediaNode::SequenceFieldType\0";
pub const kVideoSegmentProperty_Media_SequenceFrameRate: &[u8; 29] =
    b"MediaNode::SequenceFrameRate\0";
pub const kVideoSegmentProperty_Media_SequenceWidth: &[u8; 25] = b"MediaNode::SequenceWidth\0";
pub const kVideoSegmentProperty_Media_SequenceHeight: &[u8; 26] = b"MediaNode::SequenceHeight\0";
pub const kVideoSegmentProperty_Media_SequencePixelAspectRatioNum: &[u8; 39] =
    b"MediaNode::SequencePixelAspectRatioNum\0";
pub const kVideoSegmentProperty_Media_SequencePixelAspectRatioDen: &[u8; 39] =
    b"MediaNode::SequencePixelAspectRatioDen\0";
pub const kVideoSegmentProperty_Media_OrientationType: &[u8; 27] = b"MediaNode::OrientationType\0";
pub const kVideoSegmentProperty_Media_OrientationTypeProxy: &[u8; 32] =
    b"MediaNode::OrientationTypeProxy\0";
pub const kVideoSegmentProperty_Clip_ClipSpeed: &[u8; 20] = b"ClipNode::ClipSpeed\0";
pub const kVideoSegmentProperty_Clip_ClipBackwards: &[u8; 24] = b"ClipNode::ClipBackwards\0";
pub const kVideoSegmentProperty_Clip_TimeRemapping: &[u8; 24] = b"ClipNode::TimeRemapping\0";
pub const kVideoSegmentProperty_Clip_FrameHoldAtTime: &[u8; 26] = b"ClipNode::FrameHoldAtTime\0";
pub const kVideoSegmentProperty_Clip_FrameHoldFilters: &[u8; 27] = b"ClipNode::FrameHoldFilters\0";
pub const kVideoSegmentProperty_Clip_GrowingDuration: &[u8; 26] = b"ClipNode::GrowingDuration\0";
pub const kVideoSegmentProperty_Clip_FrameHoldDeinterlace: &[u8; 31] =
    b"ClipNode::FrameHoldDeinterlace\0";
pub const kVideoSegmentProperty_Clip_TrackID: &[u8; 18] = b"ClipNode::TrackID\0";
pub const kVideoSegmentProperty_Clip_TrackItemStartAsTicks: &[u8; 32] =
    b"ClipNode::TrackItemStartAsTicks\0";
pub const kVideoSegmentProperty_Clip_TrackItemEndAsTicks: &[u8; 30] =
    b"ClipNode::TrackItemEndAsTicks\0";
pub const kVideoSegmentProperty_Clip_EffectiveTrackItemStartAsTicks: &[u8; 41] =
    b"ClipNode::EffectiveTrackItemStartAsTicks\0";
pub const kVideoSegmentProperty_Clip_EffectiveTrackItemEndAsTicks: &[u8; 39] =
    b"ClipNode::EffectiveTrackItemEndAsTicks\0";
pub const kVideoSegmentProperty_Clip_AllowLinearCompositing: &[u8; 33] =
    b"ClipNode::AllowLinearCompositing\0";
pub const kVideoSegmentProperty_Clip_HasCaptions: &[u8; 22] = b"ClipNode::HasCaptions\0";
pub const kVideoSegmentProperty_Clip_UntrimmedDuration: &[u8; 28] =
    b"ClipNode::UntrimmedDuration\0";
pub const kVideoSegmentProperty_Multicam_SelectedTrack: &[u8; 28] =
    b"MulticamNode::SelectedTrack\0";
pub const kVideoSegmentProperty_Multicam_CameraOrder: &[u8; 26] = b"MulticamNode::CameraOrder\0";
pub const kVideoSegmentProperty_Multicam_CamerasPerPage: &[u8; 29] =
    b"MulticamNode::CamerasPerPage\0";
pub const kVideoSegmentProperty_Multicam_CurrentPage: &[u8; 26] = b"MulticamNode::CurrentPage\0";
pub const kVideoSegmentProperty_Multicam_ShowProgram: &[u8; 26] = b"MulticamNode::ShowProgram\0";
pub const kVideoSegmentProperty_Multicam_Recording: &[u8; 24] = b"MulticamNode::Recording\0";
pub const kVideoSegmentProperty_Multicam_IsNonMultiCam: &[u8; 28] =
    b"MulticamNode::IsNonMultiCam\0";
pub const kVideoSegmentProperty_Multicam_UseTimeRemapping: &[u8; 31] =
    b"MulticamNode::UseTimeRemapping\0";
pub const kVideoSegmentProperty_SolidColor_Color: &[u8; 22] = b"SolidColorNode::Color\0";
pub const kVideoSegmentProperty_Effect_FilterMatchName: &[u8; 28] =
    b"EffectNode::FilterMatchName\0";
pub const kVideoSegmentProperty_Effect_FilterOpaqueData: &[u8; 29] =
    b"EffectNode::FilterOpaqueData\0";
pub const kVideoSegmentProperty_Effect_FilterParams: &[u8; 25] = b"EffectNode::FilterParams\0";
pub const kVideoSegmentProperty_Effect_EffectDuration: &[u8; 27] = b"EffectNode::EffectDuration\0";
pub const kVideoSegmentProperty_Effect_RuntimeInstanceID: &[u8; 30] =
    b"EffectNode::RuntimeInstanceID\0";
pub const kVideoSegmentProperty_Effect_LayerInputHashes: &[u8; 29] =
    b"EffectNode::LayerInputHashes\0";
pub const kVideoSegmentProperty_Effect_StreamLabel: &[u8; 24] = b"EffectNode::StreamLabel\0";
pub const kVideoSegmentProperty_Effect_ClipName: &[u8; 21] = b"EffectNode::ClipName\0";
pub const kVideoSegmentProperty_Effect_MasterClipName: &[u8; 27] = b"EffectNode::MasterClipName\0";
pub const kVideoSegmentProperty_Effect_FileName: &[u8; 21] = b"EffectNode::FileName\0";
pub const kVideoSegmentProperty_Effect_SourceTrackClipNameHashes: &[u8; 38] =
    b"EffectNode::SourceTrackClipNameHashes\0";
pub const kVideoSegmentProperty_Transition_TransitionMatchName: &[u8; 36] =
    b"TransitionNode::TransitionMatchName\0";
pub const kVideoSegmentProperty_Transition_TransitionOpaqueData: &[u8; 37] =
    b"TransitionNode::TransitionOpaqueData\0";
pub const kVideoSegmentProperty_Transition_TransitionStartPosition: &[u8; 40] =
    b"TransitionNode::TransitionStartPosition\0";
pub const kVideoSegmentProperty_Transition_TransitionEndPosition: &[u8; 38] =
    b"TransitionNode::TransitionEndPosition\0";
pub const kVideoSegmentProperty_Transition_TransitionCenterPosition: &[u8; 41] =
    b"TransitionNode::TransitionCenterPosition\0";
pub const kVideoSegmentProperty_Transition_TransitionStartPercent: &[u8; 39] =
    b"TransitionNode::TransitionStartPercent\0";
pub const kVideoSegmentProperty_Transition_TransitionEndPercent: &[u8; 37] =
    b"TransitionNode::TransitionEndPercent\0";
pub const kVideoSegmentProperty_Transition_TransitionBorderWidth: &[u8; 38] =
    b"TransitionNode::TransitionBorderWidth\0";
pub const kVideoSegmentProperty_Transition_TransitionBorderColor: &[u8; 38] =
    b"TransitionNode::TransitionBorderColor\0";
pub const kVideoSegmentProperty_Transition_TransitionSwitchSources: &[u8; 40] =
    b"TransitionNode::TransitionSwitchSources\0";
pub const kVideoSegmentProperty_Transition_TransitionReverse: &[u8; 34] =
    b"TransitionNode::TransitionReverse\0";
pub const kVideoSegmentProperty_Transition_TransitionDirection: &[u8; 36] =
    b"TransitionNode::TransitionDirection\0";
pub const kVideoSegmentProperty_Transition_TransitionAntiAliasQuality: &[u8; 43] =
    b"TransitionNode::TransitionAntiAliasQuality\0";
pub const kVideoSegmentProperty_Transition_TransitionDuration: &[u8; 35] =
    b"TransitionNode::TransitionDuration\0";
pub const kVideoSegmentProperty_Transition_TransitionParams: &[u8; 33] =
    b"TransitionNode::TransitionParams\0";
pub const kVideoSegmentProperty_Transition_RuntimeInstanceID: &[u8; 34] =
    b"TransitionNode::RuntimeInstanceID\0";
pub const kVideoSegmentProperty_Adjustment_AdjustmentMediaIsOpaque: &[u8; 40] =
    b"AdjustmentNode::AdjustmentMediaIsOpaque\0";
pub const kVideoSegmentProperty_Adjustment_InvertAlpha: &[u8; 28] =
    b"AdjustmentNode::InvertAlpha\0";
pub const kPrSDKVideoSegmentSuite: &[u8; 30] = b"MediaCore Video Segment Suite\0";
pub const kPrSDKVideoSegmentSuiteVersion4: u32 = 4;
pub const kPrSDKVideoSegmentSuiteVersion5: u32 = 5;
pub const kPrSDKVideoSegmentSuiteVersion6: u32 = 6;
pub const kPrSDKVideoSegmentSuiteVersion7: u32 = 7;
pub const kPrSDKVideoSegmentSuiteVersion8: u32 = 8;
pub const kPrSDKVideoSegmentSuiteVersion9: u32 = 9;
pub const kPrSDKVideoSegmentSuiteVersion: u32 = 9;
pub const kVideoSegment_NodeType_Clip: &[u8; 23] = b"RenderableNodeClipImpl\0";
pub const kVideoSegment_NodeType_Compositor: &[u8; 29] = b"RenderableNodeCompositorImpl\0";
pub const kVideoSegment_NodeType_Disabled: &[u8; 27] = b"RenderableNodeDisabledImpl\0";
pub const kVideoSegment_NodeType_Effect: &[u8; 25] = b"RenderableNodeEffectImpl\0";
pub const kVideoSegment_NodeType_Transition: &[u8; 29] = b"RenderableNodeTransitionImpl\0";
pub const kVideoSegment_NodeType_Media: &[u8; 24] = b"RenderableNodeMediaImpl\0";
pub const kVideoSegment_NodeType_Preview: &[u8; 26] = b"RenderableNodePreviewImpl\0";
pub const kVideoSegment_NodeType_SolidColor: &[u8; 29] = b"RenderableNodeSolidColorImpl\0";
pub const kVideoSegment_NodeType_Multicam: &[u8; 27] = b"RenderableNodeMulticamImpl\0";
pub const kVideoSegment_NodeType_Adjustment: &[u8; 30] = b"RenderableNode_AdjustmentImpl\0";
pub const kVideoSegment_NodeType_AdjustmentEffect: &[u8; 36] =
    b"RenderableNode_AdjustmentEffectImpl\0";
pub const kPrSDKWindowSuite: &[u8; 22] = b"Premiere Window Suite\0";
pub const kPrSDKWindowSuiteVersion: u32 = 1;
pub const PF_Vers_BUILD_BITS: u32 = 511;
pub const PF_Vers_BUILD_SHIFT: u32 = 0;
pub const PF_Vers_STAGE_BITS: u32 = 3;
pub const PF_Vers_STAGE_SHIFT: u32 = 9;
pub const PF_Vers_BUGFIX_BITS: u32 = 15;
pub const PF_Vers_BUGFIX_SHIFT: u32 = 11;
pub const PF_Vers_SUBVERS_BITS: u32 = 15;
pub const PF_Vers_SUBVERS_SHIFT: u32 = 15;
pub const PF_Vers_VERS_BITS: u32 = 7;
pub const PF_Vers_VERS_SHIFT: u32 = 19;
pub const PF_Vers_VERS_HIGH_BITS: u32 = 15;
pub const PF_Vers_VERS_HIGH_SHIFT: u32 = 26;
pub const PF_Vers_VERS_LOW_SHIFT: u32 = 3;
pub const PF_AE234_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE234_PLUG_IN_SUBVERS: u32 = 28;
pub const PF_AE220_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE220_PLUG_IN_SUBVERS: u32 = 27;
pub const PF_AE184_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE184_PLUG_IN_SUBVERS: u32 = 26;
pub const PF_AE182_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE182_PLUG_IN_SUBVERS: u32 = 25;
pub const PF_AE180_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE180_PLUG_IN_SUBVERS: u32 = 24;
pub const PF_AE177_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE177_PLUG_IN_SUBVERS: u32 = 23;
pub const PF_AE176_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE176_PLUG_IN_SUBVERS: u32 = 22;
pub const PF_AE175_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE175_PLUG_IN_SUBVERS: u32 = 21;
pub const PF_AE171_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE171_PLUG_IN_SUBVERS: u32 = 20;
pub const PF_AE170_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE170_PLUG_IN_SUBVERS: u32 = 18;
pub const PF_AE161_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE161_PLUG_IN_SUBVERS: u32 = 17;
pub const PF_AE160_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE160_PLUG_IN_SUBVERS: u32 = 16;
pub const PF_AE151_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE151_PLUG_IN_SUBVERS: u32 = 15;
pub const PF_AE150_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE150_PLUG_IN_SUBVERS: u32 = 15;
pub const PF_AE142_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE142_PLUG_IN_SUBVERS: u32 = 14;
pub const PF_AE140_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE140_PLUG_IN_SUBVERS: u32 = 13;
pub const PF_AE138_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE138_PLUG_IN_SUBVERS: u32 = 11;
pub const PF_AE136_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE136_PLUG_IN_SUBVERS: u32 = 10;
pub const PF_AE135_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE135_PLUG_IN_SUBVERS: u32 = 9;
pub const PF_AE130_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE130_PLUG_IN_SUBVERS: u32 = 7;
pub const PF_AE122_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE122_PLUG_IN_SUBVERS: u32 = 6;
pub const PF_AE121_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE121_PLUG_IN_SUBVERS: u32 = 5;
pub const PF_AE120_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE120_PLUG_IN_SUBVERS: u32 = 4;
pub const PF_AE1101_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE1101_PLUG_IN_SUBVERS: u32 = 3;
pub const PF_AE110_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE110_PLUG_IN_SUBVERS: u32 = 2;
pub const PF_AE105_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE105_PLUG_IN_SUBVERS: u32 = 1;
pub const PF_AE100_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE100_PLUG_IN_SUBVERS: u32 = 0;
pub const PF_AE90_PLUG_IN_VERSION: u32 = 12;
pub const PF_AE90_PLUG_IN_SUBVERS: u32 = 14;
pub const PF_AE80_PLUG_IN_VERSION: u32 = 12;
pub const PF_AE80_PLUG_IN_SUBVERS: u32 = 13;
pub const PF_AE70_PLUG_IN_VERSION: u32 = 12;
pub const PF_AE70_PLUG_IN_SUBVERS: u32 = 12;
pub const PF_AE65_PLUG_IN_VERSION: u32 = 12;
pub const PF_AE65_PLUG_IN_SUBVERS: u32 = 11;
pub const PF_AE41_PLUG_IN_VERSION: u32 = 12;
pub const PF_AE41_PLUG_IN_SUBVERS: u32 = 2;
pub const PF_AE40_PLUG_IN_VERSION: u32 = 12;
pub const PF_AE40_PLUG_IN_SUBVERS: u32 = 1;
pub const PF_AE31_PLUG_IN_VERSION: u32 = 11;
pub const PF_AE31_PLUG_IN_SUBVERS: u32 = 6;
pub const PF_AE31_PLUG_IN_SUBVERS_STRICTIFY: u32 = 8;
pub const PF_AE_PLUG_IN_VERSION: u32 = 13;
pub const PF_AE_PLUG_IN_SUBVERS: u32 = 28;
pub const PF_MAX_EFFECT_NAME_LEN: u32 = 31;
pub const PF_MAX_EFFECT_CATEGORY_NAME_LEN: u32 = 31;
pub const PF_MAX_EFFECT_PARAM_NAME_LEN: u32 = 31;
pub const PF_MAX_PARAM_DESCRIPTION_LEN: u32 = 31;
pub const PF_MAX_PARAM_VALUE_LEN: u32 = 31;
pub const PF_MAX_EFFECT_MSG_LEN: u32 = 255;
pub const PF_AE65_AND_EARLIER_MAX_NUM_EFFECT_PARAMS: u32 = 127;
pub const PF_MAX_WORLD_WIDTH: u32 = 30000;
pub const PF_MAX_WORLD_HEIGHT: u32 = 30000;
pub const PF_FIRST_ERR: u32 = 512;
pub const PF_Category_BLUR_AND_SHARPEN: &[u8; 15] = b"Blur & Sharpen\0";
pub const PF_Category_CHANNEL: &[u8; 8] = b"Channel\0";
pub const PF_Category_DISTORT: &[u8; 8] = b"Distort\0";
pub const PF_Category_IMAGE_CONTROL: &[u8; 14] = b"Image Control\0";
pub const PF_Category_KEYING: &[u8; 7] = b"Keying\0";
pub const PF_Category_PERSPECTIVE: &[u8; 12] = b"Perspective\0";
pub const PF_Category_STYLIZE: &[u8; 8] = b"Stylize\0";
pub const PF_Category_TEXT: &[u8; 5] = b"Text\0";
pub const PF_Category_VIDEO: &[u8; 6] = b"Video\0";
pub const PF_Category_TRANSITION: &[u8; 11] = b"Transition\0";
pub const PF_Category_AUDIO: &[u8; 6] = b"Audio\0";
pub const PF_Category_OTHER: &[u8; 6] = b"Other\0";
pub const PF_MAX_CHAN8: u32 = 255;
pub const PF_HALF_CHAN8: u32 = 128;
pub const PF_MAX_CHAN16: u32 = 32768;
pub const PF_HALF_CHAN16: u32 = 16384;
pub const PF_HUE_UNDEFINED: u32 = 2147483648;
pub const PF_CHANNEL_NAME_LEN: u32 = 63;
pub const PF_PI: f64 = 3.141592653589793;
pub const PF_2PI: f64 = 6.283185307179586;
pub const PF_HALF_PI: f64 = 1.5707963267948966;
pub const PF_E: f64 = 2.718281828459045;
pub const PF_SQRT2: f64 = 1.4142135623730951;
pub const PF_RAD_PER_DEGREE: f64 = 0.017453292519943295;
pub const PF_KernelFlag_2D: u32 = 0;
pub const PF_KernelFlag_1D: u32 = 1;
pub const PF_KernelFlag_UNNORMALIZED: u32 = 0;
pub const PF_KernelFlag_NORMALIZED: u32 = 2;
pub const PF_KernelFlag_CLAMP: u32 = 0;
pub const PF_KernelFlag_NO_CLAMP: u32 = 4;
pub const PF_KernelFlag_USE_LONG: u32 = 0;
pub const PF_KernelFlag_USE_CHAR: u32 = 8;
pub const PF_KernelFlag_USE_FIXED: u32 = 16;
pub const PF_KernelFlag_USE_UNDEFINED: u32 = 24;
pub const PF_KernelFlag_HORIZONTAL: u32 = 0;
pub const PF_KernelFlag_VERTICAL: u32 = 32;
pub const PF_KernelFlag_TRANSPARENT_BORDERS: u32 = 0;
pub const PF_KernelFlag_REPLICATE_BORDERS: u32 = 64;
pub const PF_KernelFlag_STRAIGHT_CONVOLVE: u32 = 0;
pub const PF_KernelFlag_ALPHA_WEIGHT_CONVOLVE: u32 = 128;
pub const PF_Iterations_ONCE_PER_PROCESSOR: i32 = -1;
pub const PF_Iteratations_ONCE_PER_PROCESSOR: i32 = -1;
pub const kPFCacheOnLoadSuite: &[u8; 23] = b"PF Cache On Load Suite\0";
pub const kPFCacheOnLoadSuiteVersion1: u32 = 1;
pub const kPFPixelFormatSuite: &[u8; 22] = b"PF Pixel Format Suite\0";
pub const kPFPixelFormatSuiteVersion1: u32 = 1;
pub const kPFBackgroundFrameSuite: &[u8; 26] = b"PF Background Frame Suite\0";
pub const kPFBackgroundFrameSuiteVersion1: u32 = 1;
pub const kPFUtilitySuite: &[u8; 17] = b"PF Utility Suite\0";
pub const kPFUtilitySuiteVersion2: u32 = 2;
pub const kPFUtilitySuiteVersion3: u32 = 3;
pub const kPFUtilitySuiteVersion4: u32 = 4;
pub const kPFUtilitySuiteVersion5: u32 = 5;
pub const kPFUtilitySuiteVersion6: u32 = 6;
pub const kPFUtilitySuiteVersion7: u32 = 7;
pub const kPFUtilitySuiteVersion8: u32 = 8;
pub const kPFUtilitySuiteVersion9: u32 = 9;
pub const kPFUtilitySuiteVersion10: u32 = 10;
pub const kPFUtilitySuiteVersion11: u32 = 11;
pub const kPFUtilitySuiteVersion: u32 = 11;
pub const kPFSourceSettingsSuite: &[u8; 25] = b"PF Source Settings Suite\0";
pub const kPFSourceSettingsSuiteVersion1: u32 = 1;
pub const kPFSourceSettingsSuiteVersion2: u32 = 2;
pub const kPFSourceSettingsSuiteVersion: u32 = 2;
pub const kPFTransitionSuite: &[u8; 20] = b"PF Transition Suite\0";
pub const kPFTransitionSuiteVersion1: u32 = 1;
pub const kPFTransitionSuiteVersion2: u32 = 2;
pub const kPFTransitionSuiteVersion: u32 = 2;
pub const kPrSDKOpaqueEffectDataSuite: &[u8; 25] = b"Opaque Effect Data Suite\0";
pub const kPrSDKOpaqueEffectDataSuiteVersion2: u32 = 2;
pub const kPrSDKOpaqueEffectDataSuiteVersion: u32 = 2;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NSView {
    _unused: [u8; 0],
}
pub type csSDK_int8 = i8;
pub type csSDK_int16 = i16;
pub type csSDK_int32 = i32;
pub type csSDK_int64 = i64;
pub type csSDK_uint8 = u8;
pub type csSDK_uint16 = u16;
pub type csSDK_uint32 = u32;
pub type csSDK_uint64 = u64;
pub type csSDK_size_t = csSDK_uint64;
pub type PrMemoryPtr = *mut ::std::os::raw::c_char;
pub type PrMemoryHandle = *mut PrMemoryPtr;
pub type PrFourCC = csSDK_uint32;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct prRect {
    pub top: csSDK_int16,
    pub left: csSDK_int16,
    pub bottom: csSDK_int16,
    pub right: csSDK_int16,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct prFPoint64 {
    pub x: f64,
    pub y: f64,
}
pub type prBool = csSDK_int32;
pub const kPrTrue: prBool = 1;
pub const kPrFalse: prBool = 0;
pub type prUTF8Char = csSDK_uint8;
pub type prInt64 = csSDK_int64;
pub type prUTF16Char = csSDK_uint16;
pub type prWnd = *mut NSView;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKString {
    pub opaque: [csSDK_int64; 2usize],
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKGuid {
    pub opaque: [csSDK_int64; 2usize],
}
pub type PrSDKColorSpaceID = PrSDKGuid;
extern "C" {
    #[link_name = "\u{1}__ZL26kPrSDKColorSpaceID_Invalid"]
    pub static kPrSDKColorSpaceID_Invalid: PrSDKColorSpaceID;
}
pub type PrSDKLUTID = PrSDKGuid;
extern "C" {
    #[link_name = "\u{1}__ZL19kPrSDKLUTID_Invalid"]
    pub static kPrSDKLUTID_Invalid: PrSDKLUTID;
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PPix {
    pub bounds: prRect,
    pub rowbytes: csSDK_int32,
    pub bitsperpixel: csSDK_int32,
    pub pix: *mut ::std::os::raw::c_void,
    pub reserved: [*mut ::std::os::raw::c_void; 32usize],
}
pub type PPixHand = *mut *mut PPix;
pub type prFieldType = csSDK_int32;
pub type PrTimelineID = csSDK_int32;
pub type PrClipID = csSDK_int32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct prPluginID {
    pub mGUID: [::std::os::raw::c_char; 37usize],
}
pub const PrParamType_kPrParamType_Int8: PrParamType = 1;
pub const PrParamType_kPrParamType_Int16: PrParamType = 2;
pub const PrParamType_kPrParamType_Int32: PrParamType = 3;
pub const PrParamType_kPrParamType_Int64: PrParamType = 4;
pub const PrParamType_kPrParamType_Float32: PrParamType = 5;
pub const PrParamType_kPrParamType_Float64: PrParamType = 6;
pub const PrParamType_kPrParamType_Bool: PrParamType = 7;
pub const PrParamType_kPrParamType_Point: PrParamType = 8;
pub const PrParamType_kPrParamType_Guid: PrParamType = 9;
pub const PrParamType_kPrParamType_PrMemoryPtr: PrParamType = 10;
pub const PrParamType_kPrParamType_MaxSize: PrParamType = 4294967295;
pub type PrParamType = ::std::os::raw::c_uint;
#[repr(C, packed)]
#[derive(Copy, Clone)]
pub struct PrParam {
    pub mType: PrParamType,
    pub __bindgen_anon_1: PrParam__bindgen_ty_1,
}
#[repr(C, packed)]
#[derive(Copy, Clone)]
pub union PrParam__bindgen_ty_1 {
    pub mInt8: csSDK_int8,
    pub mInt16: csSDK_int16,
    pub mInt32: csSDK_int32,
    pub mInt64: csSDK_int64,
    pub mFloat32: f32,
    pub mFloat64: f64,
    pub mBool: csSDK_uint8,
    pub mPoint: prFPoint64,
    pub mGuid: prPluginID,
    pub mMemoryPtr: PrMemoryPtr,
}
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_BGRA_4444_8u: PrPixelFormat = 1634887522;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_VUYA_4444_8u: PrPixelFormat = 1635349878;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_VUYA_4444_8u_709: PrPixelFormat = 1096373590;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_ARGB_4444_8u: PrPixelFormat = 1650946657;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_BGRX_4444_8u: PrPixelFormat = 2020763490;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_VUYX_4444_8u: PrPixelFormat = 2021225846;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_VUYX_4444_8u_709: PrPixelFormat = 930641270;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_XRGB_4444_8u: PrPixelFormat = 1650946680;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_BGRP_4444_8u: PrPixelFormat = 1886545762;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_VUYP_4444_8u: PrPixelFormat = 1887008118;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_VUYP_4444_8u_709: PrPixelFormat = 930116982;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_PRGB_4444_8u: PrPixelFormat = 1650946672;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_BGRA_4444_16u: PrPixelFormat = 1634887490;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_VUYA_4444_16u: PrPixelFormat = 1635349846;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_ARGB_4444_16u: PrPixelFormat = 1650946625;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_BGRX_4444_16u: PrPixelFormat = 2020763458;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_XRGB_4444_16u: PrPixelFormat = 1650946648;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_BGRP_4444_16u: PrPixelFormat = 1886545730;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_PRGB_4444_16u: PrPixelFormat = 1650946640;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_BGRA_4444_32f: PrPixelFormat = 1634879298;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_VUYA_4444_32f: PrPixelFormat = 1635341654;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_VUYA_4444_32f_709: PrPixelFormat = 1633244534;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_ARGB_4444_32f: PrPixelFormat = 1650938433;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_BGRX_4444_32f: PrPixelFormat = 2020755266;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_VUYX_4444_32f: PrPixelFormat = 2021217622;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_VUYX_4444_32f_709: PrPixelFormat = 930633046;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_XRGB_4444_32f: PrPixelFormat = 1650938456;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_BGRP_4444_32f: PrPixelFormat = 1886537538;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_VUYP_4444_32f: PrPixelFormat = 1886999894;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_VUYP_4444_32f_709: PrPixelFormat = 930108758;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_PRGB_4444_32f: PrPixelFormat = 1650938448;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_RGB_444_10u: PrPixelFormat = 826427218;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_YUYV_422_8u_601: PrPixelFormat = 846820729;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_YUYV_422_8u_709: PrPixelFormat = 863597945;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_UYVY_422_8u_601: PrPixelFormat = 2037807477;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_UYVY_422_8u_709: PrPixelFormat = 930511221;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_V210_422_10u_601: PrPixelFormat = 808530550;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_V210_422_10u_709: PrPixelFormat = 825307766;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_UYVY_422_32f_601: PrPixelFormat = 2037799253;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_UYVY_422_32f_709: PrPixelFormat = 930502997;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_BGRA_4444_32f_Linear: PrPixelFormat = 1281443650;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_BGRP_4444_32f_Linear: PrPixelFormat = 1282426690;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_BGRX_4444_32f_Linear: PrPixelFormat = 1282950978;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_ARGB_4444_32f_Linear: PrPixelFormat = 1281839681;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_PRGB_4444_32f_Linear: PrPixelFormat = 1281839696;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_XRGB_4444_32f_Linear: PrPixelFormat = 1281839704;
#[doc = "\tCurrently supported types"]
pub const PrPixelFormat_PrPixelFormat_RGB_444_12u_PQ_709: PrPixelFormat = 928075840;
pub const PrPixelFormat_PrPixelFormat_RGB_444_12u_PQ_P3: PrPixelFormat = 1347506240;
pub const PrPixelFormat_PrPixelFormat_RGB_444_12u_PQ_2020: PrPixelFormat = 844189760;
pub const PrPixelFormat_PrPixelFormat_RGB_444_10u_HLG: PrPixelFormat = 827082816;
pub const PrPixelFormat_PrPixelFormat_RGB_444_12u_HLG: PrPixelFormat = 843860032;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG2_FRAME_PICTURE_PLANAR_8u_601: PrPixelFormat =
    842102393;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG2_FIELD_PICTURE_PLANAR_8u_601: PrPixelFormat =
    845772409;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG2_FRAME_PICTURE_PLANAR_8u_601_FullRange:
    PrPixelFormat = 1714517625;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG2_FIELD_PICTURE_PLANAR_8u_601_FullRange:
    PrPixelFormat = 1718187641;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG2_FRAME_PICTURE_PLANAR_8u_709: PrPixelFormat =
    925988473;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG2_FIELD_PICTURE_PLANAR_8u_709: PrPixelFormat =
    929658489;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG2_FRAME_PICTURE_PLANAR_8u_709_FullRange:
    PrPixelFormat = 1177646713;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG2_FIELD_PICTURE_PLANAR_8u_709_FullRange:
    PrPixelFormat = 1181316729;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_PLANAR_8u_601: PrPixelFormat =
    842102361;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_PLANAR_8u_601: PrPixelFormat =
    845772377;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_PLANAR_8u_601_FullRange:
    PrPixelFormat = 1714517593;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_PLANAR_8u_601_FullRange:
    PrPixelFormat = 1718187609;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_PLANAR_8u_709: PrPixelFormat =
    925988441;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_PLANAR_8u_709: PrPixelFormat =
    929658457;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_PLANAR_8u_709_FullRange:
    PrPixelFormat = 1177646681;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_PLANAR_8u_709_FullRange:
    PrPixelFormat = 1181316697;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_BIPLANAR_8u_601: PrPixelFormat =
    862549614;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_BIPLANAR_8u_601: PrPixelFormat =
    858879598;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_BIPLANAR_8u_601_FullRange:
    PrPixelFormat = 828995182;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_BIPLANAR_8u_601_FullRange:
    PrPixelFormat = 825325166;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_BIPLANAR_8u_709: PrPixelFormat =
    845772398;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_BIPLANAR_8u_709: PrPixelFormat =
    842102382;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_BIPLANAR_8u_709_FullRange:
    PrPixelFormat = 812217966;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_BIPLANAR_8u_709_FullRange:
    PrPixelFormat = 808547950;
pub const PrPixelFormat_PrPixelFormat_YVU_420_MPEG4_FIELD_PICTURE_BIPLANAR_8u_601: PrPixelFormat =
    862549582;
pub const PrPixelFormat_PrPixelFormat_YVU_420_MPEG4_FRAME_PICTURE_BIPLANAR_8u_601: PrPixelFormat =
    858879566;
pub const PrPixelFormat_PrPixelFormat_YVU_420_MPEG4_FIELD_PICTURE_BIPLANAR_8u_601_FullRange:
    PrPixelFormat = 828995150;
pub const PrPixelFormat_PrPixelFormat_YVU_420_MPEG4_FRAME_PICTURE_BIPLANAR_8u_601_FullRange:
    PrPixelFormat = 825325134;
pub const PrPixelFormat_PrPixelFormat_YVU_420_MPEG4_FIELD_PICTURE_BIPLANAR_8u_709: PrPixelFormat =
    845772366;
pub const PrPixelFormat_PrPixelFormat_YVU_420_MPEG4_FRAME_PICTURE_BIPLANAR_8u_709: PrPixelFormat =
    842102350;
pub const PrPixelFormat_PrPixelFormat_YVU_420_MPEG4_FIELD_PICTURE_BIPLANAR_8u_709_FullRange:
    PrPixelFormat = 812217934;
pub const PrPixelFormat_PrPixelFormat_YVU_420_MPEG4_FRAME_PICTURE_BIPLANAR_8u_709_FullRange:
    PrPixelFormat = 808547918;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_BIPLANAR_10u_as16u_709:
    PrPixelFormat = 812200048;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_BIPLANAR_10u_as16u_709:
    PrPixelFormat = 808530032;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_BIPLANAR_10u_as16u_709_FullRange : PrPixelFormat = 1718169712 ;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_BIPLANAR_10u_as16u_709_FullRange : PrPixelFormat = 1714499696 ;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_BIPLANAR_10u_as16u_2020:
    PrPixelFormat = 812200016;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_BIPLANAR_10u_as16u_2020:
    PrPixelFormat = 808530000;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_BIPLANAR_10u_as16u_2020_FullRange : PrPixelFormat = 1718169680 ;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_BIPLANAR_10u_as16u_2020_FullRange : PrPixelFormat = 1714499664 ;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_BIPLANAR_10u_as16u_2020_HDR:
    PrPixelFormat = 812207952;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_BIPLANAR_10u_as16u_2020_HDR:
    PrPixelFormat = 808537936;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_BIPLANAR_10u_as16u_2020_HDR_FullRange : PrPixelFormat = 1718177616 ;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_BIPLANAR_10u_as16u_2020_HDR_FullRange : PrPixelFormat = 1714507600 ;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_BIPLANAR_10u_as16u_2020_HDR_HLG : PrPixelFormat = 812410960 ;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_BIPLANAR_10u_as16u_2020_HDR_HLG : PrPixelFormat = 810305616 ;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FIELD_PICTURE_BIPLANAR_10u_as16u_2020_HDR_HLG_FullRange : PrPixelFormat = 1718380624 ;
pub const PrPixelFormat_PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_BIPLANAR_10u_as16u_2020_HDR_HLG_FullRange : PrPixelFormat = 1716275280 ;
pub const PrPixelFormat_PrPixelFormat_NTSCDV25: PrPixelFormat = 846100068;
pub const PrPixelFormat_PrPixelFormat_PALDV25: PrPixelFormat = 846231140;
pub const PrPixelFormat_PrPixelFormat_NTSCDV50: PrPixelFormat = 896431716;
pub const PrPixelFormat_PrPixelFormat_PALDV50: PrPixelFormat = 896562788;
pub const PrPixelFormat_PrPixelFormat_NTSCDV100_720p: PrPixelFormat = 929986148;
pub const PrPixelFormat_PrPixelFormat_PALDV100_720p: PrPixelFormat = 930117220;
pub const PrPixelFormat_PrPixelFormat_NTSCDV100_1080i: PrPixelFormat = 829322852;
pub const PrPixelFormat_PrPixelFormat_PALDV100_1080i: PrPixelFormat = 829453924;
pub const PrPixelFormat_PrPixelFormat_Raw: PrPixelFormat = 2004312434;
pub const PrPixelFormat_PrPixelFormat_Invalid: PrPixelFormat = 1717854562;
pub const PrPixelFormat_PrPixelFormat_Any: PrPixelFormat = 0;
#[doc = "\tPremiere supported pixel formats for RenderFrame and PPixs"]
pub type PrPixelFormat = ::std::os::raw::c_uint;
pub type plugGetClipVideoFunc = ::std::option::Option<
    unsafe extern "C" fn(
        frame: csSDK_int32,
        thePort: PPixHand,
        bounds: *mut prRect,
        flags: csSDK_int32,
        clipData: PrClipID,
    ) -> csSDK_int32,
>;
pub type plugGetWorkAreaFunc = ::std::option::Option<
    unsafe extern "C" fn(
        timelineData: PrTimelineID,
        workAreaStart: *mut csSDK_int32,
        workAreaEnd: *mut csSDK_int32,
    ) -> csSDK_int32,
>;
pub type plugGetCurrentTimebaseFunc = ::std::option::Option<
    unsafe extern "C" fn(
        timelineData: PrTimelineID,
        scale: *mut csSDK_uint32,
        sampleSize: *mut csSDK_int32,
    ),
>;
pub type plugGetCurrentPosFunc =
    ::std::option::Option<unsafe extern "C" fn(timelineData: PrTimelineID) -> csSDK_int32>;
pub type plugGetPreviewFrameExFunc = ::std::option::Option<
    unsafe extern "C" fn(
        inTimelineData: PrTimelineID,
        inFrame: csSDK_int32,
        outRenderedFrame: *mut PPixHand,
        inFrameRect: *const prRect,
        inRequestedPixelFormatArray: *mut PrPixelFormat,
        inRequestedPixelFormatArrayCount: csSDK_int32,
        inPixelAspectRatioNumerator: csSDK_uint32,
        inPixelAspectRatioDenominator: csSDK_uint32,
        inAlwaysRender: bool,
    ) -> csSDK_int32,
>;
pub type plugGetClipVideoBoundsFunc = ::std::option::Option<
    unsafe extern "C" fn(
        inClipData: PrClipID,
        outBounds: *mut prRect,
        outPixelAspectRatioNumerator: *mut csSDK_uint32,
        outPixelAspectRatioDenominator: *mut csSDK_uint32,
    ) -> csSDK_int32,
>;
pub type plugGetClipVideoExFunc = ::std::option::Option<
    unsafe extern "C" fn(
        inFrame: csSDK_int32,
        outRenderedFrame: *mut PPixHand,
        inFrameRect: *const prRect,
        inRequestedPixelFormatArray: *const PrPixelFormat,
        inRequestedPixelFormatArrayCount: csSDK_int32,
        inPixelAspectRatioNumerator: csSDK_uint32,
        inPixelAspectRatioDenominator: csSDK_uint32,
        inClipData: PrClipID,
    ) -> csSDK_int32,
>;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PlugTimelineFuncs {
    pub unused2: *mut ::std::os::raw::c_void,
    pub unused3: *mut ::std::os::raw::c_void,
    pub getClipVideo: plugGetClipVideoFunc,
    pub unused1: *mut ::std::os::raw::c_void,
    pub unused8: *mut ::std::os::raw::c_void,
    pub unused9: *mut ::std::os::raw::c_void,
    pub unused10: *mut ::std::os::raw::c_void,
    pub getWorkArea: plugGetWorkAreaFunc,
    pub unused7: *mut ::std::os::raw::c_void,
    pub unused4: *mut ::std::os::raw::c_void,
    pub getCurrentTimebase: plugGetCurrentTimebaseFunc,
    pub getCurrentPos: plugGetCurrentPosFunc,
    pub unused5: *mut ::std::os::raw::c_void,
    pub unused6: *mut ::std::os::raw::c_void,
    pub getPreviewFrameEx: plugGetPreviewFrameExFunc,
    pub getClipVideoBounds: plugGetClipVideoBoundsFunc,
    pub getClipVideoEx: plugGetClipVideoExFunc,
}
pub type PlugTimelineFuncsPtr = *mut PlugTimelineFuncs;
pub type prSuiteError = csSDK_int32;
pub const suiteError_NoError: prSuiteError = 0;
pub const suiteError_Fail: prSuiteError = -2147483648;
pub const suiteError_InvalidParms: prSuiteError = -2147483647;
pub const suiteError_OutOfMemory: prSuiteError = -2147483646;
pub const suiteError_InvalidCall: prSuiteError = -2147483645;
pub const suiteError_NotImplemented: prSuiteError = -2147483644;
pub const suiteError_IDNotValid: prSuiteError = -2147483643;
pub const suiteError_RenderPending: prSuiteError = 65536;
pub const suiteError_RenderedFrameNotFound: prSuiteError = 65537;
pub const suiteError_RenderedFrameCanceled: prSuiteError = 65538;
pub const suiteError_RenderInvalidPixelFormat: prSuiteError = -2147418112;
pub const suiteError_RenderCompletionProcNotSet: prSuiteError = -2147418111;
pub const suiteError_TimeRoundedAudioRate: prSuiteError = 131072;
pub const suiteError_CompilerCompileAbort: prSuiteError = 196609;
pub const suiteError_CompilerCompileDone: prSuiteError = 196610;
pub const suiteError_CompilerOutputFormatAccept: prSuiteError = 196612;
pub const suiteError_CompilerOutputFormatDecline: prSuiteError = 196613;
pub const suiteError_CompilerRebuildCutList: prSuiteError = 196614;
pub const suiteError_CompilerIterateCompiler: prSuiteError = 196615;
pub const suiteError_CompilerIterateCompilerDone: prSuiteError = 196616;
pub const suiteError_CompilerInternalErrorSilent: prSuiteError = 196617;
pub const suiteError_CompilerIterateCompilerCacheable: prSuiteError = 196618;
pub const suiteError_CompilerBadFormatIndex: prSuiteError = -2147287040;
pub const suiteError_CompilerInternalError: prSuiteError = -2147287039;
pub const suiteError_CompilerOutOfDiskSpace: prSuiteError = -2147287038;
pub const suiteError_CompilerBufferFull: prSuiteError = -2147287037;
pub const suiteError_CompilerErrOther: prSuiteError = -2147287036;
pub const suiteError_CompilerErrMemory: prSuiteError = -2147287035;
pub const suiteError_CompilerErrFileNotFound: prSuiteError = -2147287034;
pub const suiteError_CompilerErrTooManyOpenFiles: prSuiteError = -2147287033;
pub const suiteError_CompilerErrPermErr: prSuiteError = -2147287032;
pub const suiteError_CompilerErrOpenErr: prSuiteError = -2147287031;
pub const suiteError_CompilerErrInvalidDrive: prSuiteError = -2147287030;
pub const suiteError_CompilerErrDupFile: prSuiteError = -2147287029;
pub const suiteError_CompilerErrIo: prSuiteError = -2147287028;
pub const suiteError_CompilerErrInUse: prSuiteError = -2147287027;
pub const suiteError_CompilerErrCodecBadInput: prSuiteError = -2147287026;
pub const suiteError_ExporterSuspended: prSuiteError = -2147287025;
pub const suiteError_ExporterNoMoreFrames: prSuiteError = -2147287024;
pub const suiteError_FileBufferTooSmall: prSuiteError = -2147221504;
pub const suiteError_FileNotImportableFileType: prSuiteError = -2147221503;
pub const suiteError_LegacyInvalidVideoRate: prSuiteError = -2147155968;
pub const suiteError_PlayModuleAudioInitFailure: prSuiteError = -2147090432;
pub const suiteError_PlayModuleAudioIllegalPlaySetting: prSuiteError = -2147090431;
pub const suiteError_PlayModuleAudioNotInitialized: prSuiteError = -2147090430;
pub const suiteError_PlayModuleAudioNotStarted: prSuiteError = -2147090429;
pub const suiteError_PlayModuleAudioIllegalAction: prSuiteError = -2147090428;
pub const suiteError_PlayModuleDeviceControlSuiteIllegalCallSequence: prSuiteError = -2147024896;
pub const suiteError_MediaAcceleratorSuitePathNotFound: prSuiteError = -2146959360;
pub const suiteError_MediaAcceleratorSuiteRegisterFailure: prSuiteError = -2146959359;
pub const suiteError_RepositoryReadFailed: prSuiteError = -2146893824;
pub const suiteError_RepositoryWriteFailed: prSuiteError = -2146893823;
pub const suiteError_NotActivated: prSuiteError = -2146893822;
pub const suiteError_DataNotPresent: prSuiteError = -2146893821;
pub const suiteError_ServerCommunicationFailed: prSuiteError = -2146893820;
pub const suiteError_Internal: prSuiteError = -2146893819;
pub const suiteError_StringNotFound: prSuiteError = -2146828288;
pub const suiteError_StringBufferTooSmall: prSuiteError = -2146828287;
pub const suiteError_NoKeyframeAfterInTime: prSuiteError = -2146762752;
pub const suiteError_NoMoreData: prSuiteError = 786432;
pub const suiteError_InstanceDestroyed: prSuiteError = -2146631680;
pub const PrRenderQuality_kPrRenderQuality_Max: PrRenderQuality = 4;
pub const PrRenderQuality_kPrRenderQuality_High: PrRenderQuality = 3;
pub const PrRenderQuality_kPrRenderQuality_Medium: PrRenderQuality = 2;
pub const PrRenderQuality_kPrRenderQuality_Low: PrRenderQuality = 1;
pub const PrRenderQuality_kPrRenderQuality_Draft: PrRenderQuality = 0;
pub const PrRenderQuality_kPrRenderQuality_Invalid: PrRenderQuality = 4294967295;
pub const PrRenderQuality_kPrRenderQuality_ForceEnumSize: PrRenderQuality = 4294967295;
#[doc = "\tRender qualities"]
pub type PrRenderQuality = ::std::os::raw::c_uint;
pub const PrPlaybackQuality_kPrPlaybackQuality_Invalid: PrPlaybackQuality = 4;
pub const PrPlaybackQuality_kPrPlaybackQuality_High: PrPlaybackQuality = 3;
pub const PrPlaybackQuality_kPrPlaybackQuality_Draft: PrPlaybackQuality = 2;
pub const PrPlaybackQuality_kPrPlaybackQuality_Auto: PrPlaybackQuality = 1;
pub const PrPlaybackQuality_kPrPlaybackQuality_ForceEnumSize: PrPlaybackQuality = 4294967295;
#[doc = " Playback qualities"]
pub type PrPlaybackQuality = ::std::os::raw::c_uint;
pub const PrPlaybackFractionalResolution_kPrPlaybackFractionalResolution_Invalid:
    PrPlaybackFractionalResolution = 6;
pub const PrPlaybackFractionalResolution_kPrPlaybackFractionalResolution_Sixteenth:
    PrPlaybackFractionalResolution = 5;
pub const PrPlaybackFractionalResolution_kPrPlaybackFractionalResolution_Eighth:
    PrPlaybackFractionalResolution = 4;
pub const PrPlaybackFractionalResolution_kPrPlaybackFractionalResolution_Quarter:
    PrPlaybackFractionalResolution = 3;
pub const PrPlaybackFractionalResolution_kPrPlaybackFractionalResolution_Half:
    PrPlaybackFractionalResolution = 2;
pub const PrPlaybackFractionalResolution_kPrPlaybackFractionalResolution_Full:
    PrPlaybackFractionalResolution = 1;
pub const PrPlaybackFractionalResolution_kPrPlaybackFractionalResolution_ForceEnumSize:
    PrPlaybackFractionalResolution = 4294967295;
#[doc = " Playback Fractional Resolutions"]
pub type PrPlaybackFractionalResolution = ::std::os::raw::c_uint;
#[doc = "\tTime overview:\n\n\tPremiere uses a tick-based time counter that is stored in a signed\n\t64-bit integer. The current number of ticks per second must be retrieved\n\tusing the callback in this suite, but is guaranteed to be constant for\n\tthe duration of runtime."]
pub type PrTime = prInt64;
#[doc = "\tRatioTime is used where value that are not representable by ticks are needed."]
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrRatioTime {
    pub mValue: prInt64,
    pub mScale: prInt64,
}
pub const PrVideoFrameRates_kVideoFrameRate_24Drop: PrVideoFrameRates = 1;
pub const PrVideoFrameRates_kVideoFrameRate_24: PrVideoFrameRates = 2;
pub const PrVideoFrameRates_kVideoFrameRate_PAL: PrVideoFrameRates = 3;
pub const PrVideoFrameRates_kVideoFrameRate_NTSC: PrVideoFrameRates = 4;
pub const PrVideoFrameRates_kVideoFrameRate_30: PrVideoFrameRates = 5;
pub const PrVideoFrameRates_kVideoFrameRate_PAL_HD: PrVideoFrameRates = 6;
pub const PrVideoFrameRates_kVideoFrameRate_NTSC_HD: PrVideoFrameRates = 7;
pub const PrVideoFrameRates_kVideoFrameRate_60: PrVideoFrameRates = 8;
pub const PrVideoFrameRates_kVideoFrameRate_Max: PrVideoFrameRates = 4294967295;
pub type PrVideoFrameRates = ::std::os::raw::c_uint;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKTimeSuite {
    #[doc = "\tGet the current ticks per second. This is guaranteed to be constant for\n\tthe duration of runtime.\n\n\t@param\toutTickPerSec\ton return, the number of time ticks per second."]
    pub GetTicksPerSecond:
        ::std::option::Option<unsafe extern "C" fn(outTicksPerSec: *mut PrTime) -> prSuiteError>,
    #[doc = "\tGet the number of ticks in a video frame rate.\n\n\t@param\tinFrameRate\t\tan enum value for a video frame rate.\n\t@param\toutTicksPerFrame\ton return, the number of time ticks per frame."]
    pub GetTicksPerVideoFrame: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoFrameRate: PrVideoFrameRates,
            outTicksPerFrame: *mut PrTime,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet the number of ticks in an audio sample rate.\n\n\t@param\tinSampleRate\tthe audio sample rate as a float.\n\t@param\toutTicksPerSample\ton return, the number of time ticks per sample.\n\t@return\t\t\t\t\tkPrTimeSuite_RoundedAudioRate is returned if the requested\n\t\t\t\t\t\t\taudio sample rate is not an even divisor of the base tick\n\t\t\t\t\t\t\tcount and therefore times in this rate will not be exact."]
    pub GetTicksPerAudioSample: ::std::option::Option<
        unsafe extern "C" fn(inSampleRate: f32, outTicksPerSample: *mut PrTime) -> prSuiteError,
    >,
}
pub type PrRenderCacheType = csSDK_int32;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct ClipFrameFormat {
    pub inPixelFormat: PrPixelFormat,
    pub inWidth: csSDK_int32,
    pub inHeight: csSDK_int32,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKClipRenderSuite {
    #[doc = "\tDoes this clip support the clip render suite functions?\n\n\t@param\tinClipID\t\t\t\t\t\t\tThe ClipID of the clip.\n\t@param\toutSupported\t\t\t\t\t\tIf true, the clip supports the ClipRenderSuite.\n\t@param\toutAsyncIOSupported\t\t\t\t\tIf true, the clip supports asynchronous IO.\n\t\t\t\t\t\t\t\t\t\t\t\tIf false, the clip does not directly support asynchronous IO,\n\t\t\t\t\t\t\t\t\t\t\t\thowever it is still legal to call InitiateAsyncRead.\n\t\t\t\t\t\t\t\t\t\t\t\tPass nil if you do not need this information."]
    pub SupportsClipRenderSuite: ::std::option::Option<
        unsafe extern "C" fn(
            inClipID: PrClipID,
            outSupported: *mut prBool,
            outAsyncIOSupported: *mut prBool,
        ) -> prSuiteError,
    >,
    #[doc = "\tGiven a specific clip, find out the number of pixel formats natively supported\n\tby this clip.\n\n\t@param\tinClipID\t\t\t\t\t\t\tThe ClipID of the clip.\n\t@param\toutNumPixelFormats\t\t\t\t\tThe number of pixel formats."]
    pub GetNumPixelFormats: ::std::option::Option<
        unsafe extern "C" fn(
            inClipID: PrClipID,
            outNumPixelFormats: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tGiven a specific clip get a native pixel format. The pixel formats will be returned\n\tin index order based on preference. The maximum index can be determined by using\n\tGetNumPixelFormats().\n\n\t@param\tinClipID\t\t\t\t\t\t\tThe ClipID of the clip.\n\t@param\tinIndex\t\t\t\t\t\t\t\tThe pixel format index.\n\t@param\toutPixelFormat\t\t\t\t\t\tThe pixel format."]
    pub GetPixelFormat: ::std::option::Option<
        unsafe extern "C" fn(
            inClipID: PrClipID,
            inIndex: csSDK_int32,
            outPixelFormat: *mut PrPixelFormat,
        ) -> prSuiteError,
    >,
    #[doc = "\tGiven a specific clip and pixel format, find out the number of preferred\n\tframe sizes for this clip. A preferred frame size is a size which represents\n\ta \"native\" size of the media.\n\n\t@param\tinClipID\t\t\t\t\t\t\tThe ClipID of the clip.\n\t@param\tinPixelFormat\t\t\t\t\t\tThe pixel format to query for preferrred sizes.\n\t@param\toutNumPreferredFrameSizes\t\t\tThe number of sizes for this clip and pixel format."]
    pub GetNumPreferredFrameSizes: ::std::option::Option<
        unsafe extern "C" fn(
            inClipID: PrClipID,
            inPixelFormat: PrPixelFormat,
            outNumPreferredFrameSizes: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tGiven a specific clip and pixel format, get a preferred size. The sizes will be returned\n\tin index order based on preference. The maximum index can be determined by using\n\tGetNumPreferredFrameSizes().\n\n\t@param\tinClipID\t\t\t\t\t\t\tThe ClipID of the clip.\n\t@param\tinPixelFormat\t\t\t\t\t\tThe pixel format to query for preferrred sizes.\n\t@param\tinIndex\t\t\t\t\t\t\t\tThe preferred size index.\n\t@param\toutWidth\t\t\t\t\t\t\tThe width of the preferred size. 0 means any width.\n\t@param\toutHeight\t\t\t\t\t\t\tThe height of the preferred size. 0 means any height."]
    pub GetPreferredFrameSize: ::std::option::Option<
        unsafe extern "C" fn(
            inClipID: PrClipID,
            inPixelFormat: PrPixelFormat,
            inIndex: csSDK_int32,
            outWidth: *mut csSDK_int32,
            outHeight: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tInitiate an asynchronous read for the specified frame. Note that you cannot specify\n\ta specific frame format here. The clip will prefetch whatever data possible to\n\tfacilitate a faster decode, and return.\n\n\t@param\tinClipID\t\t\t\t\t\t\tThe ClipID of the clip.\n\t@param\tinFrameTime\t\t\t\t\t\t\tThe time of the video frame number.\n\t@param\tinFormat\t\t\t\t\t\t\tThe preferred format for the frame."]
    pub InitiateAsyncRead: ::std::option::Option<
        unsafe extern "C" fn(
            inClipID: PrClipID,
            inFrameTime: *const PrTime,
            inFormat: *mut ClipFrameFormat,
        ) -> prSuiteError,
    >,
    #[doc = "\tCancel an asynchronous read for the specified frame. Note that you cannot specify\n\ta specific frame format here.\n\n\t@param\tinClipID\t\t\t\t\t\t\tThe ClipID of the clip.\n\t@param\tinFrameTime\t\t\t\t\t\t\tThe time of the video frame number.\n\t@param\tinFormat\t\t\t\t\t\t\tThe preferred format for the frame."]
    pub CancelAsyncRead: ::std::option::Option<
        unsafe extern "C" fn(
            inClipID: PrClipID,
            inFrameTime: *const PrTime,
            inFormat: *mut ClipFrameFormat,
        ) -> prSuiteError,
    >,
    #[doc = "\tFind a frame of a specific format in the cache. This function will first look\n\tfor a match in the supplied list of formats. If it does not find one, it will\n\task the importer to decode one out of cached raw data. It will not access the\n\tdisk for new raw data, so it will fail if the required data is not in the cache.\n\n\t@param  inClipID\t\t\t\t\t\t\tThe ClipID of the clip.\n\t@param\tinFrameTime\t\t\t\t\t\t\tThe time of the video frame number.\n\t@param\tinFormats\t\t\t\t\t\t\tAn array of formats that would be acceptable.\n\t\t\t\t\t\t\t\t\t\t\t\tEach format must be a combination of\n\t\t\t\t\t\t\t\t\t\t\t\tsupported pixel formats and preferred frame\n\t\t\t\t\t\t\t\t\t\t\t\tsizes. May be NULL, in which case in format\n\t\t\t\t\t\t\t\t\t\t\t\tmay be returned.\n\t@param\tinNumFormats\t\t\t\t\t\tThe number of items in inFormats. May be 0.\n\t@param\tinSynchronous\t\t\t\t\t\tIf true, the function will render the file from disk if necessary\n\t@param\toutFrame\t\t\t\t\t\t\tThe found frame. May be NULL if it was not found."]
    pub FindFrame: ::std::option::Option<
        unsafe extern "C" fn(
            inClipID: PrClipID,
            inFrameTime: *const PrTime,
            inFormats: *mut ClipFrameFormat,
            inNumFormats: csSDK_int32,
            inSynchronous: bool,
            outFrame: *mut PPixHand,
        ) -> prSuiteError,
    >,
    #[doc = "\tWhat is the field type of this clip? Added in version 2.\n\n\t@param\tinClipID\t\t\t\t\t\t\tThe ClipID of the clip.\n\t@param\toutFieldType\t\t\t\t\t\tSee prFieldType in PrSDKTypes.h"]
    pub GetClipFieldType: ::std::option::Option<
        unsafe extern "C" fn(inClipID: PrClipID, outFieldType: *mut prFieldType) -> prSuiteError,
    >,
    #[doc = "\tGiven a specific clip, find out the number of custom pixel formats natively supported\n\tby this clip.\n\n\t@param\tinClipID\t\t\t\t\t\t\tThe ClipID of the clip.\n\t@param\toutNumPixelFormats\t\t\t\t\tThe number of pixel formats."]
    pub GetNumCustomPixelFormats: ::std::option::Option<
        unsafe extern "C" fn(
            inClipID: PrClipID,
            outNumPixelFormats: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tGiven a specific clip get a native pixel format. The pixel formats will be returned\n\tin index order based on preference. The maximum index can be determined by using\n\tGetNumPixelFormats().\n\n\t@param\tinClipID\t\t\t\t\t\t\tThe ClipID of the clip.\n\t@param\tinIndex\t\t\t\t\t\t\t\tThe pixel format index.\n\t@param\toutPixelFormat\t\t\t\t\t\tThe pixel format."]
    pub GetCustomPixelFormat: ::std::option::Option<
        unsafe extern "C" fn(
            inClipID: PrClipID,
            inIndex: csSDK_int32,
            outPixelFormat: *mut PrPixelFormat,
        ) -> prSuiteError,
    >,
}
#[doc = "!Indicates Data Group"]
pub const PrDSGroupChildType_kPrDSGroupType_GROUP: PrDSGroupChildType = 0;
#[doc = "!Indicates Dynamic Group"]
pub const PrDSGroupChildType_kPrDSGroupType_DYNAMIC_DATA: PrDSGroupChildType = 1;
#[doc = "!Indicates Static Group"]
pub const PrDSGroupChildType_kPrDSGroupType_STATIC_DATA: PrDSGroupChildType = 2;
#[doc = "!Indicates invalid entry"]
pub const PrDSGroupChildType_kPrDSGroupType_INVALID: PrDSGroupChildType = 3;
#[doc = "\tDefines data stream types"]
pub type PrDSGroupChildType = ::std::os::raw::c_uint;
pub type plugNewPtrFunc =
    ::std::option::Option<unsafe extern "C" fn(size: csSDK_uint32) -> *mut ::std::os::raw::c_char>;
pub type plugSetPtrSizeFunc =
    ::std::option::Option<unsafe extern "C" fn(ptr: *mut PrMemoryPtr, newsize: csSDK_uint32)>;
pub type plugGetPtrSizeFunc =
    ::std::option::Option<unsafe extern "C" fn(ptr: *mut ::std::os::raw::c_char) -> csSDK_int32>;
pub type plugDisposePtrFunc =
    ::std::option::Option<unsafe extern "C" fn(ptr: *mut ::std::os::raw::c_char)>;
pub type plugNewHandleFunc = ::std::option::Option<
    unsafe extern "C" fn(size: csSDK_uint32) -> *mut *mut ::std::os::raw::c_char,
>;
pub type plugSetHandleSizeFunc = ::std::option::Option<
    unsafe extern "C" fn(h: PrMemoryHandle, newsize: csSDK_uint32) -> csSDK_int16,
>;
pub type plugGetHandleSizeFunc =
    ::std::option::Option<unsafe extern "C" fn(h: PrMemoryHandle) -> csSDK_int32>;
pub type plugDisposeHandleFunc = ::std::option::Option<unsafe extern "C" fn(h: PrMemoryHandle)>;
pub type plugNewPtrClearFunc =
    ::std::option::Option<unsafe extern "C" fn(size: csSDK_uint32) -> *mut ::std::os::raw::c_char>;
pub type plugNewHandleClearFunc = ::std::option::Option<
    unsafe extern "C" fn(size: csSDK_uint32) -> *mut *mut ::std::os::raw::c_char,
>;
pub type plugLockHandleFunc = ::std::option::Option<unsafe extern "C" fn(h: PrMemoryHandle)>;
pub type plugUnlockHandleFunc = ::std::option::Option<unsafe extern "C" fn(h: PrMemoryHandle)>;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PlugMemoryFuncs {
    pub newPtr: plugNewPtrFunc,
    pub setPtrSize: plugSetPtrSizeFunc,
    pub getPtrSize: plugGetPtrSizeFunc,
    pub disposePtr: plugDisposePtrFunc,
    pub newHandle: plugNewHandleFunc,
    pub setHandleSize: plugSetHandleSizeFunc,
    pub getHandleSize: plugGetHandleSizeFunc,
    pub disposeHandle: plugDisposeHandleFunc,
    pub newPtrClear: plugNewPtrClearFunc,
    pub newHandleClear: plugNewHandleClearFunc,
    pub lockHandle: plugLockHandleFunc,
    pub unlockHandle: plugUnlockHandleFunc,
}
pub type PlugMemoryFuncsPtr = *mut PlugMemoryFuncs;
pub type plugUpdateAllWindowsFunc = ::std::option::Option<unsafe extern "C" fn()>;
pub type plugGetMainWindFunc =
    ::std::option::Option<unsafe extern "C" fn() -> *mut ::std::os::raw::c_void>;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PlugWindowFuncs {
    pub updateAllWindows: plugUpdateAllWindowsFunc,
    pub getMainWnd: plugGetMainWindFunc,
}
pub type PlugWindowFuncsPtr = *mut PlugWindowFuncs;
pub type plugppixGetPixelsFunc =
    ::std::option::Option<unsafe extern "C" fn(pix: PPixHand) -> *mut ::std::os::raw::c_char>;
pub type plugppixGetBoundsFunc =
    ::std::option::Option<unsafe extern "C" fn(pix: PPixHand, bounds: *mut prRect)>;
pub type plugppixGetRowbytesFunc =
    ::std::option::Option<unsafe extern "C" fn(pix: PPixHand) -> ::std::os::raw::c_int>;
pub type plugppixNewFunc =
    ::std::option::Option<unsafe extern "C" fn(bounds: *mut prRect) -> PPixHand>;
pub type plugppixDisposeFunc = ::std::option::Option<unsafe extern "C" fn(ppix: PPixHand)>;
pub type plugppixLockFunc = ::std::option::Option<unsafe extern "C" fn(pix: PPixHand)>;
pub type plugppixUnlockFunc = ::std::option::Option<unsafe extern "C" fn(pix: PPixHand)>;
pub type plugppixGetPixelAspectRatioFunc = ::std::option::Option<
    unsafe extern "C" fn(
        pix: PPixHand,
        num: *mut csSDK_uint32,
        den: *mut csSDK_uint32,
    ) -> ::std::os::raw::c_int,
>;
pub type plugppixGetAlphaBounds =
    ::std::option::Option<unsafe extern "C" fn(pix: PPixHand, alphaBounds: *mut prRect)>;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PlugppixFuncs {
    pub ppixGetPixels: plugppixGetPixelsFunc,
    pub ppixGetBounds: plugppixGetBoundsFunc,
    pub ppixGetRowbytes: plugppixGetRowbytesFunc,
    pub ppixNew: plugppixNewFunc,
    pub ppixDispose: plugppixDisposeFunc,
    pub ppixLockPixels: plugppixLockFunc,
    pub ppixUnlockPixels: plugppixUnlockFunc,
    pub ppixGetPixelAspectRatio: plugppixGetPixelAspectRatioFunc,
    pub ppixGetAlphaBounds: plugppixGetAlphaBounds,
}
pub type PlugppixFuncsPtr = *mut PlugppixFuncs;
pub type SPBoolean = ::std::os::raw::c_uchar;
pub type SPErr = ::std::os::raw::c_int;
#[doc = " @ingroup Suites\nThis suite provides basic memory management for PICA (the Adobe plug-in manager)\nand defines the basic functions for acquiring and releasing other suites.\n\nA suite consists of a list of function pointers. The application, or a\nplug-in that loads a suite, provides valid pointers when the suite is\nacquired. When a suite is not available, the pointers are set to the\naddress of the \\c #Undefined() function.\n\nDo not attempt to acquire a suite (other than the \\c #SPBlocksSuite)\nin response to a PICA access (\\c #kSPAccessCaller) or property\n(\\c #kSPPropertiesCaller) message. Most suites are unavailable\nduring these load and unload operations.\n\nYou can acquire all the suites you will need when your plug-in is first\nloaded, as long as you release them before your plug-in is unloaded.\nAt shutdown, however, it is most efficient to acquire only those\nsuites explicitly needed to shut down; for example, to free memory\nand save preferences.\n\nThe \\c SPBasicSuite itself is a part of the message data passed\nto your plug-in with any call. To access it from the message data structure:\n@code\nSPBasicSuite sBasic = message->d.basic;\nsBasic->function( )\n@endcode"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SPBasicSuite {
    #[doc = " Acquires a function suite. Loads the suite if necessary,\nand increments its reference count. For example:\n@code\nSPErr error;\nSPBasicSuite *sBasic = message->d.basic;\nAIRandomSuite *sRandom;\nsBasic->AcquireSuite( kAIRandomSuite, kAIRandomVersion, &sRandom );\n@endcode\n@param name The suite name.\n@param version The suite version number.\n@param suite [out] A buffer in which to return the suite pointer.\n@see \\c #SPSuitesSuite::AcquireSuite()"]
    pub AcquireSuite: ::std::option::Option<
        unsafe extern "C" fn(
            name: *const ::std::os::raw::c_char,
            version: ::std::os::raw::c_int,
            suite: *mut *const ::std::os::raw::c_void,
        ) -> SPErr,
    >,
    #[doc = " Decrements the reference count of a suite and unloads it when the\nreference count reaches 0.\n@param name The suite name.\n@param version The suite version number."]
    pub ReleaseSuite: ::std::option::Option<
        unsafe extern "C" fn(
            name: *const ::std::os::raw::c_char,
            version: ::std::os::raw::c_int,
        ) -> SPErr,
    >,
    #[doc = " Compares two strings for equality.\n@param token1 The first null-terminated string.\n@param token2 The second null-terminated string.\n@return True if the strings are the same, false otherwise."]
    pub IsEqual: ::std::option::Option<
        unsafe extern "C" fn(
            token1: *const ::std::os::raw::c_char,
            token2: *const ::std::os::raw::c_char,
        ) -> SPBoolean,
    >,
    #[doc = " Allocates a block of memory.\n@param size The number of bytes.\n@param block [out] A buffer in which to return the block pointer.\n@see \\c #SPBlocksSuite::AllocateBlock()"]
    pub AllocateBlock: ::std::option::Option<
        unsafe extern "C" fn(size: usize, block: *mut *mut ::std::os::raw::c_void) -> SPErr,
    >,
    #[doc = " Frees a block of memory allocated with \\c #AllocateBlock().\n@param block The block pointer.\n@see \\c #SPBlocksSuite::FreeBlock()"]
    pub FreeBlock:
        ::std::option::Option<unsafe extern "C" fn(block: *mut ::std::os::raw::c_void) -> SPErr>,
    #[doc = " Reallocates a block previously allocated with \\c #AllocateBlock().\nIncreases the size without changing the location, if possible.\n@param block The block pointer.\n@param newSize The new number of bytes.\n@param newblock [out] A buffer in which to return the new block pointer.\n@see \\c #SPBlocksSuite::ReallocateBlock()"]
    pub ReallocateBlock: ::std::option::Option<
        unsafe extern "C" fn(
            block: *mut ::std::os::raw::c_void,
            newSize: usize,
            newblock: *mut *mut ::std::os::raw::c_void,
        ) -> SPErr,
    >,
    #[doc = " A function pointer for unloaded suites. This is a protective measure\nagainst other plug-ins that may mistakenly use the suite after they have\nreleased it.\n\nA plug-in that exports a suite should unload the suite's procedure pointers\nwhen it is unloaded, and restore them when the plug-in is reloaded.\n\\li On unload, replace the suite's procedure pointers\nwith the address of this function.\n\\li On reload, restore the suite's procedure\npointers with the updated addresses of their functions.\n\nFor example:\n@code\nSPErr UnloadSuite( MySuite *mySuite, SPAccessMessage *message ) {\nmySuite->functionA = (void *) message->d.basic->Undefined;\nmySuite->functionB = (void *) message->d.basic->Undefined;\n}\n\nSPErr ReloadSuite( MySuite *mySuite, SPAccessMessage *message ) {\nmySuite->functionA = functionA;\nmySuite->functionB = functionB;\n}\n@endcode"]
    pub Undefined: ::std::option::Option<unsafe extern "C" fn() -> SPErr>,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct prTimebaseRec {
    pub duration: csSDK_int32,
    pub scale: csSDK_int32,
    pub sampleSize: csSDK_int32,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct prFileSpec {
    pub volID: ::std::os::raw::c_int,
    pub parID: ::std::os::raw::c_int,
    pub name: [::std::os::raw::c_char; 256usize],
}
pub type plugGetSerialNumberFunc =
    ::std::option::Option<unsafe extern "C" fn(result: *mut ::std::os::raw::c_char)>;
pub type plugGetFileTimebaseFunc = ::std::option::Option<
    unsafe extern "C" fn(
        filespec: *mut prFileSpec,
        audioOnly: csSDK_int32,
        result: *mut prTimebaseRec,
    ) -> csSDK_int32,
>;
pub type plugGetFileVideoFunc = ::std::option::Option<
    unsafe extern "C" fn(
        filespec: *mut prFileSpec,
        frame: csSDK_int32,
        thePort: PPixHand,
        bounds: *mut prRect,
        flags: csSDK_int32,
    ) -> csSDK_int32,
>;
pub type plugGetFileAudioSecondFunc = ::std::option::Option<
    unsafe extern "C" fn(
        filespec: *mut prFileSpec,
        num: csSDK_int32,
        buffer: *mut ::std::os::raw::c_char,
        flags: ::std::os::raw::c_short,
        audrate: csSDK_int32,
        speed: ::std::os::raw::c_short,
    ) -> csSDK_int32,
>;
pub type plugGetFileVideoBoundsFunc = ::std::option::Option<
    unsafe extern "C" fn(filespec: *mut prFileSpec, bounds: *mut prRect) -> csSDK_int32,
>;
pub type plugGetSPBasicSuiteFunc =
    ::std::option::Option<unsafe extern "C" fn() -> *mut SPBasicSuite>;
pub type plugGetFileExtStringFunc = ::std::option::Option<
    unsafe extern "C" fn(
        fileTypes: csSDK_uint32,
        inBuffer: *mut ::std::os::raw::c_char,
        inBufferSize: csSDK_uint32,
    ) -> csSDK_int32,
>;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PlugUtilFuncs {
    pub unused1: *mut ::std::os::raw::c_void,
    pub getSerialNumber: plugGetSerialNumberFunc,
    pub getFileTimebase: plugGetFileTimebaseFunc,
    pub getFileVideo: plugGetFileVideoFunc,
    pub getFileAudioSecond: plugGetFileAudioSecondFunc,
    pub unused2: *mut ::std::os::raw::c_void,
    pub getFileVideoBounds: plugGetFileVideoBoundsFunc,
    pub getSPBasicSuite: plugGetSPBasicSuiteFunc,
    pub getFileExtString: plugGetFileExtStringFunc,
}
pub type PlugUtilFuncsPtr = *mut PlugUtilFuncs;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct piSuites {
    pub piInterfaceVer: ::std::os::raw::c_int,
    pub memFuncs: PlugMemoryFuncsPtr,
    pub windFuncs: PlugWindowFuncsPtr,
    pub ppixFuncs: PlugppixFuncsPtr,
    pub utilFuncs: PlugUtilFuncsPtr,
    pub timelineFuncs: PlugTimelineFuncsPtr,
}
pub type piSuitesPtr = *mut piSuites;
pub type Print2TapeProcPtr = ::std::option::Option<
    unsafe extern "C" fn(
        deviceHand: PrMemoryHandle,
        selector: ::std::os::raw::c_long,
    ) -> csSDK_int32,
>;
pub const PrDeviceSelector_dsInit: PrDeviceSelector = 0;
pub const PrDeviceSelector_dsSetup: PrDeviceSelector = 1;
pub const PrDeviceSelector_dsExecute: PrDeviceSelector = 2;
pub const PrDeviceSelector_dsCleanup: PrDeviceSelector = 3;
pub const PrDeviceSelector_dsRestart: PrDeviceSelector = 4;
pub const PrDeviceSelector_dsQuiet: PrDeviceSelector = 5;
pub const PrDeviceSelector_dsHasOptions: PrDeviceSelector = 6;
pub const PrDeviceSelector_dsSelector_Size: PrDeviceSelector = 4294967295;
#[doc = "\tSelectors"]
pub type PrDeviceSelector = ::std::os::raw::c_uint;
pub const PrTransitionReturnValue_esNoErr: PrTransitionReturnValue = 0;
pub const PrTransitionReturnValue_esBadFormatIndex: PrTransitionReturnValue = 1;
pub const PrTransitionReturnValue_esDoNotCacheOnLoad: PrTransitionReturnValue = 2;
pub const PrTransitionReturnValue_esUnsupported: PrTransitionReturnValue = -100;
pub const PrTransitionReturnValue_esErr_Size: PrTransitionReturnValue = 4294967295;
#[doc = "\tError Definitions"]
pub type PrTransitionReturnValue = ::std::os::raw::c_long;
pub const PrFilterReturnValue_fsNoErr: PrFilterReturnValue = 0;
pub const PrFilterReturnValue_fsBadFormatIndex: PrFilterReturnValue = 1;
pub const PrFilterReturnValue_fsDoNotCacheOnLoad: PrFilterReturnValue = 2;
pub const PrFilterReturnValue_fsHasNoSetupDialog: PrFilterReturnValue = 3;
pub const PrFilterReturnValue_fsUnsupported: PrFilterReturnValue = -100;
pub const PrFilterReturnValue_fsErr_Size: PrFilterReturnValue = 4294967295;
pub type PrFilterReturnValue = ::std::os::raw::c_long;
pub const PrTransitionSelector_esExecute: PrTransitionSelector = 0;
pub const PrTransitionSelector_esSetup: PrTransitionSelector = 1;
pub const PrTransitionSelector_esUnused1: PrTransitionSelector = 2;
pub const PrTransitionSelector_esUnused2: PrTransitionSelector = 3;
pub const PrTransitionSelector_esUnused3: PrTransitionSelector = 4;
pub const PrTransitionSelector_esDisposeData: PrTransitionSelector = 5;
pub const PrTransitionSelector_esCanHandlePAR: PrTransitionSelector = 6;
pub const PrTransitionSelector_esGetPixelFormatsSupported: PrTransitionSelector = 7;
pub const PrTransitionSelector_esCacheOnLoad: PrTransitionSelector = 8;
pub const PrTransitionSelector_esSelector_Size: PrTransitionSelector = 4294967295;
#[doc = "\tSelectors"]
pub type PrTransitionSelector = ::std::os::raw::c_uint;
pub const PrFilterSelector_fsExecute: PrFilterSelector = 0;
pub const PrFilterSelector_fsSetup: PrFilterSelector = 1;
pub const PrFilterSelector_fsAbout: PrFilterSelector = 2;
pub const PrFilterSelector_fsDisposeData: PrFilterSelector = 3;
pub const PrFilterSelector_fsCanHandlePAR: PrFilterSelector = 4;
pub const PrFilterSelector_fsInitSpec: PrFilterSelector = 5;
pub const PrFilterSelector_fsGetPixelFormatsSupported: PrFilterSelector = 6;
pub const PrFilterSelector_fsCacheOnLoad: PrFilterSelector = 7;
pub const PrFilterSelector_fsHasSetupDialog: PrFilterSelector = 8;
pub const PrFilterSelector_fsSelector_Size: PrFilterSelector = 4294967295;
pub type PrFilterSelector = ::std::os::raw::c_uint;
#[doc = "\tError overview:\n\n\tPlugins are allowed to send errors, warning, and information to 3 different\n\tcallbacks which will be handled by Premiere. For each, the plugin passes a string\n\tand a context ID from their plugin type (for instance, a CompilerID from the a\n\tcompiler). Then the plugin returns an error code defined in the appropriate\n\tplugin type header which will tell Premiere that there is an error with description\n\twaiting. Currently, Premiere concatenates all strings that it receives of each type\n\tuntil they can be displayed."]
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKErrorSuite1 {
    #[doc = "\tSet the plugin error string for Premiere.\n\n\t@param\tinErrorString\tA NULL terminated string for the error. Premiere will\n\t\t\t\t\t\t\tcopy this string, so the caller can delete it after\n\t\t\t\t\t\t\tthe function returns.\n\t@param\tinContextID\t\tThe context ID passed to the plugin."]
    pub SetErrorString: ::std::option::Option<
        unsafe extern "C" fn(
            inErrorString: *const ::std::os::raw::c_char,
            inContextID: csSDK_uint32,
        ) -> prSuiteError,
    >,
    #[doc = "\tSet the plugin error string for Premiere.\n\n\t@param\tinWarningString\tA NULL terminated string for the warning. Premiere will\n\t\t\t\t\t\t\tcopy this string, so the caller can delete it after\n\t\t\t\t\t\t\tthe function returns.\n\t@param\tinContextID\t\tThe context ID passed to the plugin."]
    pub SetWarningString: ::std::option::Option<
        unsafe extern "C" fn(
            inWarningString: *const ::std::os::raw::c_char,
            inContextID: csSDK_uint32,
        ) -> prSuiteError,
    >,
    #[doc = "\tSet the plugin error string for Premiere.\n\n\t@param\tinInfoString\tA NULL terminated string for the info. Premiere will\n\t\t\t\t\t\t\tcopy this string, so the caller can delete it after\n\t\t\t\t\t\t\tthe function returns.\n\t@param\tinContextID\t\tThe context ID passed to the plugin."]
    pub SetInfoString: ::std::option::Option<
        unsafe extern "C" fn(
            inInfoString: *const ::std::os::raw::c_char,
            inContextID: csSDK_uint32,
        ) -> prSuiteError,
    >,
}
#[doc = "\tVersion 2 changes:\n\tThe suite has been streamlined for this release.  In addition, the\n\tstring has been broken into two parts, a title and a description.  This\n\tseparation works well with the new Events Window."]
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKErrorSuite2 {
    pub SetEventString: ::std::option::Option<
        unsafe extern "C" fn(
            eventType: csSDK_uint32,
            eventTitle: *const ::std::os::raw::c_char,
            eventDescription: *const ::std::os::raw::c_char,
        ) -> prSuiteError,
    >,
}
pub const PrSDKErrorSuite2_kEventTypeInformational: PrSDKErrorSuite2__bindgen_ty_1 = 1;
pub const PrSDKErrorSuite2_kEventTypeWarning: PrSDKErrorSuite2__bindgen_ty_1 = 2;
pub const PrSDKErrorSuite2_kEventTypeError: PrSDKErrorSuite2__bindgen_ty_1 = 3;
pub type PrSDKErrorSuite2__bindgen_ty_1 = ::std::os::raw::c_uint;
#[doc = "\tVersion 3 changes:\n\tAdd UTF16 string support"]
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKErrorSuite3 {
    pub SetEventStringUnicode: ::std::option::Option<
        unsafe extern "C" fn(
            eventType: csSDK_uint32,
            eventTitle: *mut prUTF16Char,
            eventDescription: *mut prUTF16Char,
        ) -> prSuiteError,
    >,
}
pub const PrSDKErrorSuite3_kEventTypeInformational: PrSDKErrorSuite3__bindgen_ty_1 = 1;
pub const PrSDKErrorSuite3_kEventTypeWarning: PrSDKErrorSuite3__bindgen_ty_1 = 2;
pub const PrSDKErrorSuite3_kEventTypeError: PrSDKErrorSuite3__bindgen_ty_1 = 3;
pub const PrSDKErrorSuite3_kEventType_Mask: PrSDKErrorSuite3__bindgen_ty_1 = 255;
pub const PrSDKErrorSuite3_kEventFlag_DecodeError: PrSDKErrorSuite3__bindgen_ty_1 = 256;
pub const PrSDKErrorSuite3_kEventFlag_SubstitutedFrame: PrSDKErrorSuite3__bindgen_ty_1 = 512;
pub const PrSDKErrorSuite3_kEventFlag_ImportOperation: PrSDKErrorSuite3__bindgen_ty_1 = 1024;
pub type PrSDKErrorSuite3__bindgen_ty_1 = ::std::os::raw::c_uint;
#[doc = "\tVersion 3 changes:\n\tAdd UTF16 string support"]
pub type PrSDKErrorSuite = PrSDKErrorSuite3;
pub const PrGPUDeviceFramework_PrGPUDeviceFramework_CUDA: PrGPUDeviceFramework = 0;
pub const PrGPUDeviceFramework_PrGPUDeviceFramework_OpenCL: PrGPUDeviceFramework = 1;
pub const PrGPUDeviceFramework_PrGPUDeviceFramework_Metal: PrGPUDeviceFramework = 2;
pub type PrGPUDeviceFramework = ::std::os::raw::c_uint;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrGPUDeviceInfo {
    pub outDeviceFramework: PrGPUDeviceFramework,
    pub outMeetsMinimumRequirementsForAcceleration: prBool,
    pub outPlatformHandle: *mut ::std::os::raw::c_void,
    pub outDeviceHandle: *mut ::std::os::raw::c_void,
    pub outContextHandle: *mut ::std::os::raw::c_void,
    pub outCommandQueueHandle: *mut ::std::os::raw::c_void,
    pub outOffscreenOpenGLContextHandle: *mut ::std::os::raw::c_void,
    pub outOffscreenOpenGLDeviceHandle: *mut ::std::os::raw::c_void,
}
#[doc = "\tAccess CUDA or OpenCL devices.\n\t\tAll CUDA usage is through the CUDA device API."]
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKGPUDeviceSuite {
    #[doc = "\tDevice enumeration"]
    pub GetDeviceCount: ::std::option::Option<
        unsafe extern "C" fn(outDeviceCount: *mut csSDK_uint32) -> prSuiteError,
    >,
    pub GetDeviceInfo: ::std::option::Option<
        unsafe extern "C" fn(
            inSuiteVersion: csSDK_uint32,
            inDeviceIndex: csSDK_uint32,
            outDeviceInfo: *mut PrGPUDeviceInfo,
        ) -> prSuiteError,
    >,
    #[doc = "\tAcquire/release exclusive access to inDeviceIndex. All calls below this point generally require access be held.\n\tFor full GPU plugins (those that use a separate entry point for GPU rendering) exclusive access is always held.\n\tThese calls do not need to be made in that case.\n\t\tFor CUDA calls cuCtxPushCurrent/cuCtxPopCurrent on the current thread to manage the devices context."]
    pub AcquireExclusiveDeviceAccess:
        ::std::option::Option<unsafe extern "C" fn(inDeviceIndex: csSDK_uint32) -> prSuiteError>,
    pub ReleaseExclusiveDeviceAccess:
        ::std::option::Option<unsafe extern "C" fn(inDeviceIndex: csSDK_uint32) -> prSuiteError>,
    #[doc = "\tAll device memory must be allocated through this suite.\n\t\tPurge should be called only in emergency situations when working with GPU memory\n\t\t\tthat cannot be allocated through this suite (eg OpenGL memory).\n\t\tReturned pointer value represents memory allocated through cuMemAlloc or clCreateBuffer."]
    pub AllocateDeviceMemory: ::std::option::Option<
        unsafe extern "C" fn(
            inDeviceIndex: csSDK_uint32,
            inSizeInBytes: usize,
            outMemory: *mut *mut ::std::os::raw::c_void,
        ) -> prSuiteError,
    >,
    pub FreeDeviceMemory: ::std::option::Option<
        unsafe extern "C" fn(
            inDeviceIndex: csSDK_uint32,
            inMemory: *mut ::std::os::raw::c_void,
        ) -> prSuiteError,
    >,
    pub PurgeDeviceMemory: ::std::option::Option<
        unsafe extern "C" fn(
            inDeviceIndex: csSDK_uint32,
            inRequestedBytesToPurge: usize,
            outBytesPurged: *mut usize,
        ) -> prSuiteError,
    >,
    #[doc = "\tAll host (pinned) memory must be allocated through this suite.\n\t\tPurge should be called only in emergency situations when working with GPU memory\n\t\t\tthat cannot be allocated through this suite (eg OpenGL memory).\n\t\tReturned pointer value represents memory allocated through cuMemHostAlloc or malloc."]
    pub AllocateHostMemory: ::std::option::Option<
        unsafe extern "C" fn(
            inDeviceIndex: csSDK_uint32,
            inSizeInBytes: usize,
            outMemory: *mut *mut ::std::os::raw::c_void,
        ) -> prSuiteError,
    >,
    pub FreeHostMemory: ::std::option::Option<
        unsafe extern "C" fn(
            inDeviceIndex: csSDK_uint32,
            inMemory: *mut ::std::os::raw::c_void,
        ) -> prSuiteError,
    >,
    pub PurgeHostMemory: ::std::option::Option<
        unsafe extern "C" fn(
            inDeviceIndex: csSDK_uint32,
            inRequestedBytesToPurge: usize,
            outBytesPurged: *mut usize,
        ) -> prSuiteError,
    >,
    #[doc = "\tInformation on a GPU ppix. The following ppix functions may also be used:\n\t\t-PrSDKPPixSuite::Dispose\n\t\t-PrSDKPPixSuite::GetBounds\n\t\t-PrSDKPPixSuite::GetRowBytes\n\t\t-PrSDKPPixSuite::GetPixelAspectRatio\n\t\t-PrSDKPPixSuite::GetPixelFormat\n\t\t-PrSDKPPix2Suite::GetFieldOrder"]
    pub CreateGPUPPix: ::std::option::Option<
        unsafe extern "C" fn(
            inDeviceIndex: csSDK_uint32,
            inPixelFormat: PrPixelFormat,
            inWidth: ::std::os::raw::c_int,
            inHeight: ::std::os::raw::c_int,
            inPARNumerator: ::std::os::raw::c_int,
            inPARDenominator: ::std::os::raw::c_int,
            inFieldType: prFieldType,
            outPPixHand: *mut PPixHand,
        ) -> prSuiteError,
    >,
    pub GetGPUPPixData: ::std::option::Option<
        unsafe extern "C" fn(
            inPPixHand: PPixHand,
            outData: *mut *mut ::std::os::raw::c_void,
        ) -> prSuiteError,
    >,
    pub GetGPUPPixDeviceIndex: ::std::option::Option<
        unsafe extern "C" fn(
            inPPixHand: PPixHand,
            outDeviceIndex: *mut csSDK_uint32,
        ) -> prSuiteError,
    >,
    pub GetGPUPPixSize: ::std::option::Option<
        unsafe extern "C" fn(inPPixHand: PPixHand, outSize: *mut usize) -> prSuiteError,
    >,
}
pub const PrAudioSampleType_kPrAudioSampleType_8BitInt: PrAudioSampleType = 1;
pub const PrAudioSampleType_kPrAudioSampleType_8BitTwosInt: PrAudioSampleType = 2;
pub const PrAudioSampleType_kPrAudioSampleType_16BitInt: PrAudioSampleType = 3;
pub const PrAudioSampleType_kPrAudioSampleType_24BitInt: PrAudioSampleType = 4;
pub const PrAudioSampleType_kPrAudioSampleType_32BitInt: PrAudioSampleType = 5;
pub const PrAudioSampleType_kPrAudioSampleType_32BitFloat: PrAudioSampleType = 6;
pub const PrAudioSampleType_kPrAudioSampleType_64BitFloat: PrAudioSampleType = 7;
pub const PrAudioSampleType_kPrAudioSampleType_16BitIntBigEndian: PrAudioSampleType = 8;
pub const PrAudioSampleType_kPrAudioSampleType_24BitIntBigEndian: PrAudioSampleType = 9;
pub const PrAudioSampleType_kPrAudioSampleType_32BitIntBigEndian: PrAudioSampleType = 10;
pub const PrAudioSampleType_kPrAudioSampleType_32BitFloatBigEndian: PrAudioSampleType = 11;
pub const PrAudioSampleType_kPrAudioSampleType_Compressed: PrAudioSampleType = 12;
pub const PrAudioSampleType_kPrAudioSampleType_Packed: PrAudioSampleType = 13;
pub const PrAudioSampleType_kPrAudioSampleType_Other: PrAudioSampleType = 14;
pub const PrAudioSampleType_kPrAudioSampleType_Any: PrAudioSampleType = 15;
pub const PrAudioSampleType_kPrAudioSampleType_AudioPeakData: PrAudioSampleType = 16;
pub const PrAudioSampleType_kPrAudioSampleType_Max: PrAudioSampleType = 4294967295;
#[doc = "\tAudio overview:\n\n\tAll audio calls to and from Premiere use arrays of buffers of 32-bit\n\tfloats to pass audio. Therefore all audio is not interleaved by channel.\n\tSo stereo audio looks like this:\n\n\tfloat* audio[2];\n\n\twhere audio[0] is the address of a buffer N samples long and audio[1]\n\tis the address of a second buffer N samples long. audio[0] contains\n\tthe left channel and audio[1] contains the right channel. N is called\n\tthe number of \"sample frames\" in the buffer. N will be the same no matter\n\thow many channels of audio are present in the buffer.\n\n\tBecause we use 32-bit floats for each audio sample, we can represent\n\tvalues above 0 dB during mixing. 0 dB corresponds to +/- 1.0 in the floating\n\tpoint. For symmetry in the int <--> float conversions, it is recommended\n\tyou use the utility functions below.  For example if you want to convert\n\ta single float to a 16-bit signed int, use ConvertAndInterleaveTo16BitInteger()\n\twith 1 channel and one sample frame.\n\n\tSince floats are the only audio format ever passed, there is no variable\n\tsample type or bit depth. However, when going back and forth to storage\n\tformats, it is necessary to give the user an indication of the sample\n\ttype in the storage. For this reason, the SDK includes AudioSampleType\n\twhich defines a variety of possible formats. Note that these are ONLY\n\tUSED FOR USER INTERFACE!\n\n\tIn general, any audio sample rate is supported. For this reason, we use\n\ta floating point number to represent audio sample rates. However, not all\n\trates will evenly divide into our time ticks per second, so for more\n\tunusual rates there will be quantization errors possible using PrTime.\n\n\tThe host currently supports 4 audio channels types: mono, stereo, 5.1 and 32 channels.\n\tStereo channel ordering is {kPrAudioChannelLabel_FrontLeft, kPrAudioChannelLabel_FrontRight}.\n\t5.1 channels ordering is\n\t\t{kPrAudioChannelLabel_FrontLeft,\t\t// L\n\t\t kPrAudioChannelLabel_FrontRight,\t\t// R\n\t\t kPrAudioChannelLabel_FrontCenter,\t\t// C\n\t\t kPrAudioChannelLabel_LowFrequency,\t\t// LFE\n\t\t kPrAudioChannelLabel_BackLeft,\t\t\t// Ls\n\t\t kPrAudioChannelLabel_BackRight}.\t\t// Rs\n\n\t32 channel ordering is all {kPrAudioChannelLabel_Discrete}"]
pub type PrAudioSampleType = ::std::os::raw::c_uint;
pub const PrAudioChannelType_kPrAudioChannelType_Mono: PrAudioChannelType = 1;
pub const PrAudioChannelType_kPrAudioChannelType_Stereo: PrAudioChannelType = 2;
pub const PrAudioChannelType_kPrAudioChannelType_51: PrAudioChannelType = 3;
pub const PrAudioChannelType_kPrAudioChannelType_MaxChannel: PrAudioChannelType = 4;
pub const PrAudioChannelType_kPrAudioChannelType_Max: PrAudioChannelType = 4294967295;
pub type PrAudioChannelType = ::std::os::raw::c_uint;
pub const PrAudioDataType_kPrAudioDataType_Float32: PrAudioDataType = 1;
pub const PrAudioDataType_kPrAudioDataType_Int32: PrAudioDataType = 2;
pub const PrAudioDataType_kPrAudioDataType_PeakAudio: PrAudioDataType = 3;
#[doc = "\tThis is not the sample type of the underlying audio - this is the sample type\n\tthat is returned in the calls that support variable audio types. If the type is not\n\texplicitly called out as variable, then it is Float32."]
pub type PrAudioDataType = ::std::os::raw::c_uint;
pub type PrAudioSample = prInt64;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_Discrete: PrAudioChannelLabel = 0;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_FrontLeft: PrAudioChannelLabel = 100;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_FrontRight: PrAudioChannelLabel = 101;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_FrontCenter: PrAudioChannelLabel = 102;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_LowFrequency: PrAudioChannelLabel = 103;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_BackLeft: PrAudioChannelLabel = 104;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_BackRight: PrAudioChannelLabel = 105;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_BackCenter: PrAudioChannelLabel = 106;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_FrontLeftOfCenter: PrAudioChannelLabel = 107;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_FrontRightOfCenter: PrAudioChannelLabel = 108;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_SideLeft: PrAudioChannelLabel = 109;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_SideRight: PrAudioChannelLabel = 110;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_TopCenter: PrAudioChannelLabel = 111;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_TopFrontLeft: PrAudioChannelLabel = 112;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_TopFrontRight: PrAudioChannelLabel = 113;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_TopFrontCenter: PrAudioChannelLabel = 114;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_TopBackLeft: PrAudioChannelLabel = 115;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_TopBackRight: PrAudioChannelLabel = 116;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_TopBackCenter: PrAudioChannelLabel = 117;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_FrontLeftWide: PrAudioChannelLabel = 118;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_FrontRightWide: PrAudioChannelLabel = 119;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_LeftHeight: PrAudioChannelLabel = 127;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_RightHeight: PrAudioChannelLabel = 128;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_RearSurroundLeft: PrAudioChannelLabel = 129;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_RearSurroundRight: PrAudioChannelLabel = 130;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_LFE2: PrAudioChannelLabel = 131;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_LeftTotal: PrAudioChannelLabel = 132;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_RightTotal: PrAudioChannelLabel = 133;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_Ambisonic_W: PrAudioChannelLabel = 134;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_Ambisonic_X: PrAudioChannelLabel = 135;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_Ambisonic_Y: PrAudioChannelLabel = 136;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_Ambisonic_Z: PrAudioChannelLabel = 137;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_BottomFrontLeft: PrAudioChannelLabel = 138;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_BottomFrontCenter: PrAudioChannelLabel = 139;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_BottomFrontRight: PrAudioChannelLabel = 140;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_ProximityLeft: PrAudioChannelLabel = 141;
pub const PrAudioChannelLabel_kPrAudioChannelLabel_ProximityRight: PrAudioChannelLabel = 142;
pub type PrAudioChannelLabel = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKAudioSuite {
    #[doc = "\tThese are a variety of audio buffer conversion routines to convert an array\n\tof floating point buffers into interleaved audio of a specific type.\n\n\t@param\tinSource\t\tAn array of float buffers holding audio.\n\t@param\tinDestination\tA single buffer to hold the converted, interleaved audio.\n\t\t\t\t\t\t\tinDestination must be at least inNumChannels * sizeof(destinationFormat) *\n\t\t\t\t\t\t\tinNumSampleFrames bytes long.\n\t@param\tinNumChannels\tThe number of channels in inSource.\n\t@param\tinNumSampleFrames\tThe number of samples in each buffer in inSource."]
    pub ConvertAndInterleaveTo8BitInteger: ::std::option::Option<
        unsafe extern "C" fn(
            inSource: *mut *mut f32,
            inDestination: *mut ::std::os::raw::c_char,
            inNumChannels: ::std::os::raw::c_uint,
            inNumSampleFrames: ::std::os::raw::c_uint,
        ) -> prSuiteError,
    >,
    pub ConvertAndInterleaveTo16BitInteger: ::std::option::Option<
        unsafe extern "C" fn(
            inSource: *mut *mut f32,
            inDestination: *mut ::std::os::raw::c_short,
            inNumChannels: ::std::os::raw::c_uint,
            inNumSampleFrames: ::std::os::raw::c_uint,
        ) -> prSuiteError,
    >,
    pub ConvertAndInterleaveTo24BitInteger: ::std::option::Option<
        unsafe extern "C" fn(
            inSource: *mut *mut f32,
            inDestination: *mut ::std::os::raw::c_char,
            inNumChannels: ::std::os::raw::c_uint,
            inNumSampleFrames: ::std::os::raw::c_uint,
        ) -> prSuiteError,
    >,
    pub ConvertAndInterleaveTo32BitInteger: ::std::option::Option<
        unsafe extern "C" fn(
            inSource: *mut *mut f32,
            inDestination: *mut csSDK_int32,
            inNumChannels: ::std::os::raw::c_uint,
            inNumSampleFrames: ::std::os::raw::c_uint,
        ) -> prSuiteError,
    >,
    #[doc = "\tThese routines provide the reverse of the routines above, converting and\n\tuninterleaving a single buffer in a specified type.\n\n\t@param\tinSource\t\tA single buffer holding the orignal, interleaved audio.\n\t@param\tinDestination\tAn array of float buffers holding audio. There must be inNumChannels\n\t\t\t\t\t\t\tbuffers allocated in the array, and each must be at least\n\t\t\t\t\t\t\tinNumSampleFrames * sizeof(float) bytes long.\n\t@param\tinNumChannels\tThe number of channels in inSource.\n\t@param\tinNumSampleFrames\tThe number of samples in each buffer in inSource."]
    pub UninterleaveAndConvertFrom8BitInteger: ::std::option::Option<
        unsafe extern "C" fn(
            inSource: *mut ::std::os::raw::c_char,
            inDestination: *mut *mut f32,
            inNumChannels: ::std::os::raw::c_uint,
            inNumSampleFrames: ::std::os::raw::c_uint,
        ) -> prSuiteError,
    >,
    pub UninterleaveAndConvertFrom16BitInteger: ::std::option::Option<
        unsafe extern "C" fn(
            inSource: *mut ::std::os::raw::c_short,
            inDestination: *mut *mut f32,
            inNumChannels: ::std::os::raw::c_uint,
            inNumSampleFrames: ::std::os::raw::c_uint,
        ) -> prSuiteError,
    >,
    pub UninterleaveAndConvertFrom24BitInteger: ::std::option::Option<
        unsafe extern "C" fn(
            inSource: *mut ::std::os::raw::c_char,
            inDestination: *mut *mut f32,
            inNumChannels: ::std::os::raw::c_uint,
            inNumSampleFrames: ::std::os::raw::c_uint,
        ) -> prSuiteError,
    >,
    pub UninterleaveAndConvertFrom32BitInteger: ::std::option::Option<
        unsafe extern "C" fn(
            inSource: *mut csSDK_int32,
            inDestination: *mut *mut f32,
            inNumChannels: ::std::os::raw::c_uint,
            inNumSampleFrames: ::std::os::raw::c_uint,
        ) -> prSuiteError,
    >,
}
pub const PrActivationEvent_PrActivationEvent_Unspecified: PrActivationEvent = 0;
pub const PrActivationEvent_PrActivationEvent_RecorderActivated: PrActivationEvent = 1;
pub const PrActivationEvent_PrActivationEvent_PlayerActivated: PrActivationEvent = 2;
pub const PrActivationEvent_PrActivationEvent_ApplicationLostFocus: PrActivationEvent = 3;
pub const PrActivationEvent_PrActivationEvent_ForceSize: PrActivationEvent = 4294967295;
#[doc = "\tPrActivationEvent - Describes the event that caused activation/deactivation to occur"]
pub type PrActivationEvent = ::std::os::raw::c_uint;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_Undefined:
    PrRenderCaptionStreamFormat = 0;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_Open:
    PrRenderCaptionStreamFormat = 1;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_OP_42:
    PrRenderCaptionStreamFormat = 10;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_OP_47:
    PrRenderCaptionStreamFormat = 11;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_608_CC1:
    PrRenderCaptionStreamFormat = 20;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_608_CC2:
    PrRenderCaptionStreamFormat = 21;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_608_CC3:
    PrRenderCaptionStreamFormat = 22;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_608_CC4:
    PrRenderCaptionStreamFormat = 23;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_608_Text1:
    PrRenderCaptionStreamFormat = 24;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_608_Text2:
    PrRenderCaptionStreamFormat = 25;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_608_Text3:
    PrRenderCaptionStreamFormat = 26;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_608_Text4:
    PrRenderCaptionStreamFormat = 27;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_608_XDS:
    PrRenderCaptionStreamFormat = 28;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_708_Service1:
    PrRenderCaptionStreamFormat = 40;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_708_Service2:
    PrRenderCaptionStreamFormat = 41;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_708_Service3:
    PrRenderCaptionStreamFormat = 42;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_708_Service4:
    PrRenderCaptionStreamFormat = 43;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_708_Service5:
    PrRenderCaptionStreamFormat = 44;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_708_Service6:
    PrRenderCaptionStreamFormat = 45;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_Teletext_Level1:
    PrRenderCaptionStreamFormat = 50;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_Teletext_Level2:
    PrRenderCaptionStreamFormat = 51;
pub const PrRenderCaptionStreamFormat_kPrRenderCaptionStreamFormat_Open_Subtitling:
    PrRenderCaptionStreamFormat = 52;
#[doc = "\tDefines the Caption Stream format to render"]
pub type PrRenderCaptionStreamFormat = ::std::os::raw::c_uint;
pub type PlayModuleDeviceID = csSDK_int32;
pub const kPrDeviceControlResult_Success: prSuiteError = 0;
pub const kPrDeviceControlResult_GeneralError: prSuiteError = -1;
pub const kPrDeviceControlResult_IllegalCallSequence: prSuiteError = -2;
#[doc = "\tPlaymod Device Control overview:\n\n\tThis suite is provided so that play modules can control a hardware\n\tdevice during \"Export To Tape.\" The necessary DeviceControlID will only\n\tbe passed down when a transmit is requested. The player must then call\n\tall of the methods in this suite, in the order in which they are\n\tlisted."]
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKPlayModuleDeviceControlSuite {
    #[doc = "\tTell the device to seek to the appropriate location.\n\n\t@return\t\t\t\t\tkPrDeviceControlResult_Success or kPrDeviceControlResult_IllegalCallSequence."]
    pub Seek:
        ::std::option::Option<unsafe extern "C" fn(inDeviceID: PlayModuleDeviceID) -> prSuiteError>,
    #[doc = "\tTell the device to prepare to record.\n\n\t@return\t\t\t\t\tkPrDeviceControlResult_Success or kPrDeviceControlResult_IllegalCallSequence."]
    pub Arm:
        ::std::option::Option<unsafe extern "C" fn(inDeviceID: PlayModuleDeviceID) -> prSuiteError>,
    #[doc = "\tTell the device to start recording.\n\n\t@return\t\t\t\t\tkPrDeviceControlResult_Success or kPrDeviceControlResult_IllegalCallSequence."]
    pub Record:
        ::std::option::Option<unsafe extern "C" fn(inDeviceID: PlayModuleDeviceID) -> prSuiteError>,
    #[doc = "\tTell the device to stop recording. This also cleans up the device control\n\tobject, so it is not available after this call.\n\n\t@return\t\t\t\t\tkPrDeviceControlResult_Success or kPrDeviceControlResult_IllegalCallSequence."]
    pub Stop:
        ::std::option::Option<unsafe extern "C" fn(inDeviceID: PlayModuleDeviceID) -> prSuiteError>,
}
pub const PrIVProjectionType_kPrIVProjectionType_None: PrIVProjectionType = 0;
pub const PrIVProjectionType_kPrIVProjectionType_Equirectangular: PrIVProjectionType = 1;
#[doc = "\tDefines how the VR image is projected into a 2D frame."]
pub type PrIVProjectionType = ::std::os::raw::c_uint;
pub const PrIVFrameLayout_kPrIVFrameLayout_Monoscopic: PrIVFrameLayout = 0;
pub const PrIVFrameLayout_kPrIVFrameLayout_StereoscopicOverUnder: PrIVFrameLayout = 1;
pub const PrIVFrameLayout_kPrIVFrameLayout_StereoscopicSideBySide: PrIVFrameLayout = 2;
#[doc = "\tDefines if the VR image contains a stereoscopic pair, and if so, what type of pair."]
pub type PrIVFrameLayout = ::std::os::raw::c_uint;
pub const PrIVStereoscopicEye_kPrIVStereoscopicEye_Left: PrIVStereoscopicEye = 0;
pub const PrIVStereoscopicEye_kPrIVStereoscopicEye_Right: PrIVStereoscopicEye = 1;
pub const PrIVStereoscopicEye_kPrIVStereoscopicEye_Anaglyph: PrIVStereoscopicEye = 2;
#[doc = "\tDefines which eye to view when given a VR image with a stereoscopic pair."]
pub type PrIVStereoscopicEye = ::std::os::raw::c_uint;
pub const PrIVAmbisonicsMonitoringType_kPrIVAmbisonicsMonitoringType_Off:
    PrIVAmbisonicsMonitoringType = 0;
pub const PrIVAmbisonicsMonitoringType_kPrIVAmbisonicsMonitoringType_Binaural:
    PrIVAmbisonicsMonitoringType = 1;
#[doc = "\tDefines how ambisonics audio is to be monitored."]
pub type PrIVAmbisonicsMonitoringType = ::std::os::raw::c_uint;
pub type kPrIVViewRange = csSDK_int32;
pub type kPrIVViewAngle = f32;
#[doc = " Field of View represents the degrees of view of what the application displays when the desktop's VR View is enabled.\n Captured View represents the degrees of view of what the video frame actually contains."]
pub const kPrIVMinFieldOfView: kPrIVViewRange = 60;
pub const kPrIVMaxFieldOfView: kPrIVViewRange = 180;
#[doc = " These FOV values roughly approximate an average view when compared\n to a HTC Vive or Oculus Rift."]
pub const kPrIVDefaultFieldOfHorizontalView: kPrIVViewRange = 108;
pub const kPrIVDefaultFieldOfVerticalView: kPrIVViewRange = 108;
pub const kPrIVMinCapturedHorizontalView: kPrIVViewRange = 60;
pub const kPrIVMaxCapturedHorizontalView: kPrIVViewRange = 360;
pub const kPrIVDefaultCapturedHorizontalView: kPrIVViewRange = 360;
pub const kPrIVMinCapturedVerticalView: kPrIVViewRange = 60;
pub const kPrIVMaxCapturedVerticalView: kPrIVViewRange = 180;
pub const kPrIVDefaultCapturedVerticalView: kPrIVViewRange = 180;
#[doc = "\tID for a head-related impulse response when monitoring with PrIVAmbisonicsMonitoring_Binaural."]
pub const kPrIVAmbisonicsHRIRLength: usize = 256;
pub type PrIVAmbisonicsHRIR = [prUTF8Char; 256usize];
pub const PrPlaymodReturnValue_playmod_ErrNone: PrPlaymodReturnValue = 0;
pub const PrPlaymodReturnValue_playmod_ErrBadFile: PrPlaymodReturnValue = 1;
pub const PrPlaymodReturnValue_playmod_ErrDriver: PrPlaymodReturnValue = 2;
pub const PrPlaymodReturnValue_playmod_ErrNotPreferred: PrPlaymodReturnValue = 3;
pub const PrPlaymodReturnValue_playmod_BadFormatIndex: PrPlaymodReturnValue = 4;
pub const PrPlaymodReturnValue_playmod_DeclinePlay: PrPlaymodReturnValue = 5;
pub const PrPlaymodReturnValue_playmod_ListWrongType: PrPlaymodReturnValue = 6;
pub const PrPlaymodReturnValue_playmod_ListBadSpeed: PrPlaymodReturnValue = 7;
pub const PrPlaymodReturnValue_playmod_CantAddSegment: PrPlaymodReturnValue = 8;
pub const PrPlaymodReturnValue_playmod_Unsupported: PrPlaymodReturnValue = 9;
pub const PrPlaymodReturnValue_playmod_AudioOverload: PrPlaymodReturnValue = 10;
pub const PrPlaymodReturnValue_playmod_OutOfRange: PrPlaymodReturnValue = 11;
pub const PrPlaymodReturnValue_playmod_CannotRender: PrPlaymodReturnValue = 12;
pub const PrPlaymodReturnValue_playmod_RebuildCutlist: PrPlaymodReturnValue = 13;
pub const PrPlaymodReturnValue_playmod_CannotShiftLayer: PrPlaymodReturnValue = 14;
pub const PrPlaymodReturnValue_playmod_UnsupportedPlaybackSpeed: PrPlaymodReturnValue = 16;
pub const PrPlaymodReturnValue_playmod_BroadcastPrefs: PrPlaymodReturnValue = 17;
pub const PrPlaymodReturnValue_playmod_CannotRecord: PrPlaymodReturnValue = 18;
pub const PrPlaymodReturnValue_playmod_RenderAndPutFrame: PrPlaymodReturnValue = 19;
pub const PrPlaymodReturnValue_pmIsCacheable: PrPlaymodReturnValue = 400;
pub const PrPlaymodReturnValue_playmod_ErrorForceSize: PrPlaymodReturnValue = 4294967295;
#[doc = "\tError Definitions"]
pub type PrPlaymodReturnValue = ::std::os::raw::c_uint;
#[doc = "\tType Definitions"]
pub type PrPlayID = csSDK_int32;
pub const pmFieldDisplay_pmFieldDisplay_ShowFirstField: pmFieldDisplay = 0;
pub const pmFieldDisplay_pmFieldDisplay_ShowSecondField: pmFieldDisplay = 1;
pub const pmFieldDisplay_pmFieldDisplay_ShowBothFields: pmFieldDisplay = 2;
pub const pmFieldDisplay_pmFieldDisplay_ForceSize: pmFieldDisplay = 4294967295;
pub type pmFieldDisplay = ::std::os::raw::c_uint;
pub const PrPlaymodSelector_playmod_Startup: PrPlaymodSelector = 1;
pub const PrPlaymodSelector_playmod_Shutdown: PrPlaymodSelector = 2;
pub const PrPlaymodSelector_playmod_Open: PrPlaymodSelector = 3;
pub const PrPlaymodSelector_playmod_GetInfo: PrPlaymodSelector = 4;
pub const PrPlaymodSelector_playmod_SetDisp: PrPlaymodSelector = 5;
pub const PrPlaymodSelector_playmod_Update: PrPlaymodSelector = 6;
pub const PrPlaymodSelector_playmod_Stop: PrPlaymodSelector = 10;
pub const PrPlaymodSelector_playmod_PlayIdle: PrPlaymodSelector = 11;
pub const PrPlaymodSelector_playmod_Close: PrPlaymodSelector = 12;
pub const PrPlaymodSelector_playmod_GetIndFormat: PrPlaymodSelector = 14;
pub const PrPlaymodSelector_playmod_NewList: PrPlaymodSelector = 21;
pub const PrPlaymodSelector_playmod_GetFilePrefs: PrPlaymodSelector = 34;
pub const PrPlaymodSelector_playmod_UpdateMarkers: PrPlaymodSelector = 45;
pub const PrPlaymodSelector_playmod_SetFilePrefs: PrPlaymodSelector = 46;
pub const PrPlaymodSelector_playmod_PutFrame: PrPlaymodSelector = 49;
pub const PrPlaymodSelector_playmod_SetQuality: PrPlaymodSelector = 53;
pub const PrPlaymodSelector_playmod_SetPlaybackSpeed: PrPlaymodSelector = 54;
pub const PrPlaymodSelector_playmod_Play: PrPlaymodSelector = 55;
pub const PrPlaymodSelector_playmod_SetPos: PrPlaymodSelector = 56;
pub const PrPlaymodSelector_playmod_GetPos: PrPlaymodSelector = 57;
pub const PrPlaymodSelector_playmod_Step: PrPlaymodSelector = 59;
pub const PrPlaymodSelector_playmod_Preroll: PrPlaymodSelector = 60;
pub const PrPlaymodSelector_playmod_AdornSafeAreas: PrPlaymodSelector = 61;
pub const PrPlaymodSelector_playmod_Activate: PrPlaymodSelector = 62;
pub const PrPlaymodSelector_playmod_EnterScrub: PrPlaymodSelector = 63;
pub const PrPlaymodSelector_playmod_LeaveScrub: PrPlaymodSelector = 64;
pub const PrPlaymodSelector_playmod_SetView: PrPlaymodSelector = 65;
pub const PrPlaymodSelector_playmod_SetDisplayMode: PrPlaymodSelector = 66;
pub const PrPlaymodSelector_playmod_PutFrameRequest: PrPlaymodSelector = 67;
pub const PrPlaymodSelector_playmod_SetVideoDisplayType: PrPlaymodSelector = 69;
pub const PrPlaymodSelector_playmod_DisplayMoving: PrPlaymodSelector = 70;
pub const PrPlaymodSelector_playmod_DisplayChanged: PrPlaymodSelector = 71;
pub const PrPlaymodSelector_playmod_GetAudioInfo: PrPlaymodSelector = 74;
pub const PrPlaymodSelector_playmod_GetAudioChannelInfo: PrPlaymodSelector = 75;
pub const PrPlaymodSelector_playmod_PushPlayerSettings: PrPlaymodSelector = 76;
pub const PrPlaymodSelector_playmod_EnableDynamicPlayback: PrPlaymodSelector = 77;
pub const PrPlaymodSelector_playmod_AllowSetPositionDuringPlayback: PrPlaymodSelector = 78;
pub const PrPlaymodSelector_playmod_VideoSequenceHasChanged: PrPlaymodSelector = 79;
pub const PrPlaymodSelector_playmod_GetRTStatusForTime: PrPlaymodSelector = 80;
pub const PrPlaymodSelector_playmod_SetUseFractionalResolution: PrPlaymodSelector = 81;
pub const PrPlaymodSelector_playmod_SetFractionalResolution: PrPlaymodSelector = 82;
pub const PrPlaymodSelector_playmod_PutTemporaryTimeline: PrPlaymodSelector = 83;
pub const PrPlaymodSelector_playmod_SetDisplayStateProperties: PrPlaymodSelector = 84;
pub const PrPlaymodSelector_playmod_AudioOutputMappingUpdate: PrPlaymodSelector = 85;
pub const PrPlaymodSelector_playmod_SetDest: PrPlaymodSelector = 86;
pub const PrPlaymodSelector_playmod_SetBackgroundColor: PrPlaymodSelector = 87;
pub const PrPlaymodSelector_playmod_GetVRSupported: PrPlaymodSelector = 88;
pub const PrPlaymodSelector_playmod_SetVRConfiguration: PrPlaymodSelector = 89;
pub const PrPlaymodSelector_playmod_GetVRConfiguration: PrPlaymodSelector = 90;
pub const PrPlaymodSelector_playmod_SetVREnabled: PrPlaymodSelector = 91;
pub const PrPlaymodSelector_playmod_GetVREnabled: PrPlaymodSelector = 92;
pub const PrPlaymodSelector_playmod_SetVRView: PrPlaymodSelector = 93;
pub const PrPlaymodSelector_playmod_GetVRView: PrPlaymodSelector = 94;
pub const PrPlaymodSelector_playmod_CalculateVRDisplayDimensions: PrPlaymodSelector = 95;
pub const PrPlaymodSelector_playmod_SetDisplayStateProperties2: PrPlaymodSelector = 96;
pub const PrPlaymodSelector_playmod_SelectorsForceSize: PrPlaymodSelector = 4294967295;
#[doc = "\tSelectors"]
pub type PrPlaymodSelector = ::std::os::raw::c_uint;
#[doc = "\tInformation returned from a plugin"]
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrGPUFilterInfo {
    pub outInterfaceVersion: csSDK_uint32,
    pub outMatchName: PrSDKString,
}
#[doc = "\tA filter instance represents an effect applied to a track item with a fixed set of parameters.\n\tChanged parameters will create a new instance."]
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrGPUFilterInstance {
    pub piSuites: piSuitesPtr,
    pub inDeviceIndex: csSDK_uint32,
    pub inTimelineID: PrTimelineID,
    pub inNodeID: csSDK_int32,
    pub ioPrivatePluginData: *mut ::std::os::raw::c_void,
    pub outIsRealtime: prBool,
}
#[doc = "\tInformation about a frame render"]
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrGPUFilterRenderParams {
    pub inClipTime: PrTime,
    pub inSequenceTime: PrTime,
    pub inQuality: PrRenderQuality,
    pub inDownsampleFactorX: f32,
    pub inDownsampleFactorY: f32,
    pub inRenderWidth: csSDK_uint32,
    pub inRenderHeight: csSDK_uint32,
    pub inRenderPARNum: csSDK_uint32,
    pub inRenderPARDen: csSDK_uint32,
    pub inRenderFieldType: prFieldType,
    pub inRenderTicksPerFrame: PrTime,
    pub inRenderField: pmFieldDisplay,
}
pub const PrGPUFilterFrameDependencyType_PrGPUDependency_InputFrame:
    PrGPUFilterFrameDependencyType = 1;
pub const PrGPUFilterFrameDependencyType_PrGPUDependency_Precompute:
    PrGPUFilterFrameDependencyType = 2;
pub const PrGPUFilterFrameDependencyType_PrGPUDependency_FieldSeparation:
    PrGPUFilterFrameDependencyType = 4;
pub const PrGPUFilterFrameDependencyType_PrGPUDependency_TransitionInputFrame:
    PrGPUFilterFrameDependencyType = 8;
#[doc = "\tSpecify dependencies to satisfy a render"]
pub type PrGPUFilterFrameDependencyType = ::std::os::raw::c_uint;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrGPUFilterFrameDependency {
    pub outDependencyType: PrGPUFilterFrameDependencyType,
    pub outTrackID: csSDK_int32,
    pub outSequenceTime: PrTime,
    pub outPrecomputePixelFormat: PrPixelFormat,
    pub outPrecomputeFrameWidth: csSDK_uint32,
    pub outPrecomputeFrameHeight: csSDK_uint32,
    pub outPrecomputeFramePARNumerator: csSDK_uint32,
    pub outPrecomputeFramePARDenominator: csSDK_uint32,
    pub outPrecomputeFrameFieldType: prFieldType,
    pub outPrecomputeCustomDataSize: csSDK_size_t,
    pub outNeedsFieldSeparation: prBool,
    pub outReadIncomingTransition: prBool,
}
#[doc = "\tGPU Filter callbacks."]
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrGPUFilter {
    #[doc = "\tCreates a GPU filter instance representing an effect or transition on a\n\ttrack item. Returning an error from CreateInstance will cause this node\n\tto be rendered in software for the current set of parameters. Separate\n\tinstances may be called concurrently."]
    pub CreateInstance: ::std::option::Option<
        unsafe extern "C" fn(ioInstanceData: *mut PrGPUFilterInstance) -> prSuiteError,
    >,
    pub DisposeInstance: ::std::option::Option<
        unsafe extern "C" fn(ioInstanceData: *mut PrGPUFilterInstance) -> prSuiteError,
    >,
    #[doc = "\tReturn dependency information about a render, or nothing if\n\tonly the current frame is required."]
    pub GetFrameDependencies: ::std::option::Option<
        unsafe extern "C" fn(
            inInstanceData: *mut PrGPUFilterInstance,
            inRenderParams: *const PrGPUFilterRenderParams,
            ioQueryIndex: *mut csSDK_int32,
            outFrameDependencies: *mut PrGPUFilterFrameDependency,
        ) -> prSuiteError,
    >,
    #[doc = "\tPrecompute a result into preallocated uninitialized host (pinned) memory.\n\tWill only be called if PrGPUDependency_Precompute was returned from GetFrameDependencies.\n\tPrecomputation may be called ahead of render time. Results will be\n\tuploaded to the GPU by the host. If outPrecomputePixelFormat is not custom,\n\tframes will be converted to the GPU pixel format."]
    pub Precompute: ::std::option::Option<
        unsafe extern "C" fn(
            inInstanceData: *mut PrGPUFilterInstance,
            inRenderParams: *const PrGPUFilterRenderParams,
            inIndex: csSDK_int32,
            inFrame: PPixHand,
        ) -> prSuiteError,
    >,
    #[doc = "\tRender into an allocated outFrame allocated with PrSDKGPUDeviceSuite or operate\n\tin place. Result must be in the same pixel format as the input. For effects, frame 0\n\twill always be the frame at the current time, other input frames will be in the same order as\n\treturned from GetFrameDependencies. For transitions frame 0 will be the incoming frame and\n\tframe 1 the outgoing frame. Transitions may not have other frame dependencies."]
    pub Render: ::std::option::Option<
        unsafe extern "C" fn(
            inInstanceData: *mut PrGPUFilterInstance,
            inRenderParams: *const PrGPUFilterRenderParams,
            inFrames: *const PPixHand,
            inFrameCount: csSDK_size_t,
            outFrame: *mut PPixHand,
        ) -> prSuiteError,
    >,
}
pub type PrGPUFilterEntry = ::std::option::Option<
    unsafe extern "C" fn(
        inHostInterfaceVersion: csSDK_uint32,
        ioIndex: *mut csSDK_int32,
        inStartup: prBool,
        piSuites: piSuitesPtr,
        outFilter: *mut PrGPUFilter,
        outFilterInfo: *mut PrGPUFilterInfo,
    ) -> prSuiteError,
>;
#[doc = "\tAccess to common GPU image processing algorithms"]
#[repr(C, packed)]
#[derive(Copy, Clone)]
pub struct PrSDKGPUImageProcessingSuite {
    #[doc = "\tConvert between formats on the GPU\n\t\tOne of inSrcPixelFormat or inDestPixelFormat must be a host format,\n\tthe other must be either PrPixelFormat_GPU_BGRA_4444_16f or PrPixelFormat_GPU_BGRA_4444_32f"]
    pub PixelFormatConvert: ::std::option::Option<
        unsafe extern "C" fn(
            inDeviceIndex: csSDK_uint32,
            inSrc: *const ::std::os::raw::c_void,
            inSrcRowBytes: csSDK_int32,
            inSrcPixelFormat: PrPixelFormat,
            inDest: *mut ::std::os::raw::c_void,
            inDestRowBytes: csSDK_int32,
            inDestPixelFormat: PrPixelFormat,
            inWidth: csSDK_uint32,
            inHeight: csSDK_uint32,
            inQuality: PrRenderQuality,
        ) -> prSuiteError,
    >,
    #[doc = "\tScale a frame on the GPU\n\t\tinPixelFormat must be PrPixelFormat_GPU_BGRA_4444_16f or PrPixelFormat_GPU_BGRA_4444_32f"]
    pub Scale: ::std::option::Option<
        unsafe extern "C" fn(
            inDeviceIndex: csSDK_uint32,
            inSrc: *const ::std::os::raw::c_void,
            inSrcRowBytes: csSDK_int32,
            inSrcWidth: csSDK_uint32,
            inSrcHeight: csSDK_uint32,
            inDest: *mut ::std::os::raw::c_void,
            inDestRowBytes: csSDK_int32,
            inDestWidth: csSDK_uint32,
            inDestHeight: csSDK_uint32,
            inPixelFormat: PrPixelFormat,
            inScaleX: f32,
            inScaleY: f32,
            inQuality: PrRenderQuality,
        ) -> prSuiteError,
    >,
    #[doc = "\tGaussian blur on the GPU\n\t\tinPixelFormat must be PrPixelFormat_GPU_BGRA_4444_16f or PrPixelFormat_GPU_BGRA_4444_32f"]
    pub GaussianBlur: ::std::option::Option<
        unsafe extern "C" fn(
            inDeviceIndex: csSDK_uint32,
            inSrc: *const ::std::os::raw::c_void,
            inSrcRowBytes: csSDK_int32,
            inSrcWidth: csSDK_uint32,
            inSrcHeight: csSDK_uint32,
            inDest: *mut ::std::os::raw::c_void,
            inDestRowBytes: csSDK_int32,
            inDestWidth: csSDK_uint32,
            inDestHeight: csSDK_uint32,
            inPixelFormat: PrPixelFormat,
            inSigmaX: f32,
            inSigmaY: f32,
            inRepeatEdgePixels: prBool,
            inBlurHorizontally: prBool,
            inBlurVertically: prBool,
            inQuality: PrRenderQuality,
        ) -> prSuiteError,
    >,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKMemoryManagerSuiteV1 {
    #[doc = "\tSet the memory reserve size in bytes for the plugin with the specified ID.\n\n\t@param\tinPluginID\t\t\tThe ID of the plugin.\n\t@param\tinSize\t\t\t\tThe size in bytes to reserve."]
    pub ReserveMemory: ::std::option::Option<
        unsafe extern "C" fn(inPluginID: csSDK_uint32, inSize: csSDK_uint32) -> prSuiteError,
    >,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKMemoryManagerSuiteV2 {
    #[doc = "\tSet the memory reserve size in bytes for the plugin with the specified ID.\n\n\t@param\tinPluginID\t\t\tThe ID of the plugin.\n\t@param\tinSize\t\t\t\tThe size in bytes to reserve."]
    pub ReserveMemory: ::std::option::Option<
        unsafe extern "C" fn(inPluginID: csSDK_uint32, inSize: csSDK_uint32) -> prSuiteError,
    >,
    pub NewPtrClear:
        ::std::option::Option<unsafe extern "C" fn(byteCount: csSDK_uint32) -> PrMemoryPtr>,
    pub NewPtr: ::std::option::Option<unsafe extern "C" fn(byteCount: csSDK_uint32) -> PrMemoryPtr>,
    pub GetPtrSize: ::std::option::Option<unsafe extern "C" fn(p: PrMemoryPtr) -> csSDK_uint32>,
    pub SetPtrSize:
        ::std::option::Option<unsafe extern "C" fn(p: *mut PrMemoryPtr, newSize: csSDK_uint32)>,
    pub NewHandle:
        ::std::option::Option<unsafe extern "C" fn(byteCount: csSDK_uint32) -> PrMemoryHandle>,
    pub NewHandleClear:
        ::std::option::Option<unsafe extern "C" fn(byteCount: csSDK_uint32) -> PrMemoryHandle>,
    pub PrDisposePtr: ::std::option::Option<unsafe extern "C" fn(p: PrMemoryPtr)>,
    pub DisposeHandle: ::std::option::Option<unsafe extern "C" fn(h: PrMemoryHandle)>,
    pub SetHandleSize: ::std::option::Option<
        unsafe extern "C" fn(h: PrMemoryHandle, newSize: csSDK_uint32) -> ::std::os::raw::c_short,
    >,
    pub GetHandleSize:
        ::std::option::Option<unsafe extern "C" fn(h: PrMemoryHandle) -> csSDK_uint32>,
    pub HUnlock: ::std::option::Option<unsafe extern "C" fn(h: PrMemoryHandle)>,
    pub HLock: ::std::option::Option<unsafe extern "C" fn(h: PrMemoryHandle)>,
}
pub type PrSDKMemoryManagerSuite_PurgeMemoryFunction = ::std::option::Option<
    unsafe extern "C" fn(inPurgeMemoryData: *mut ::std::os::raw::c_void, inMemoryID: csSDK_uint32),
>;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKMemoryManagerSuite {
    #[doc = "\tSet the memory reserve size in bytes for the plugin with the specified ID.\n\n\t@param\tinPluginID\t\t\tThe ID of the plugin.\n\t@param\tinSize\t\t\t\tThe size in bytes to reserve."]
    pub ReserveMemory: ::std::option::Option<
        unsafe extern "C" fn(inPluginID: csSDK_uint32, inSize: csSDK_uint32) -> prSuiteError,
    >,
    #[doc = "\tGet the current size of the media cache in this process.\n\n\t@param\toutMemoryManagerSize\tThe size of the memory manager in bytes."]
    pub GetMemoryManagerSize: ::std::option::Option<
        unsafe extern "C" fn(outMemoryManagerSize: *mut csSDK_uint64) -> prSuiteError,
    >,
    #[doc = "\tAdd a block of memory to management. This block should not be something entered\n\tin any of the suite cache, and it must be purgeable. The purge function you pass in\n\tmay be called on any thread.\n\n\t@param\tinSize\t\t\t\tThe size in bytes of the item in question.\n\t@param\tinPurgeFunction\t\tThe function pointer that will be called to purge the item.\n\t@param\tinPurgeMemoryData\tThe data object passed back in the purge callback.\n\t@param\toutID\t\t\t\tThe id the host will use for this item."]
    pub AddBlock: ::std::option::Option<
        unsafe extern "C" fn(
            inSize: csSDK_size_t,
            inPurgeFunction: PrSDKMemoryManagerSuite_PurgeMemoryFunction,
            inPurgeMemoryData: *mut ::std::os::raw::c_void,
            outID: *mut csSDK_uint32,
        ) -> prSuiteError,
    >,
    #[doc = "\tEach time you use a block of memory, you should call this function. This pushes its\n\tpriority up in the cache, making a purge less likely.\n\n\t@param\tinID\t\t\t\tThe id of the block to touch."]
    pub TouchBlock: ::std::option::Option<unsafe extern "C" fn(inID: csSDK_uint32) -> prSuiteError>,
    #[doc = "\tYou can manually expire an item from the cache with this function. Note that the purge function\n\ton the item will not be called.\n\n\t@param\tinID\t\t\t\tThe id of the block to touch."]
    pub RemoveBlock:
        ::std::option::Option<unsafe extern "C" fn(inID: csSDK_uint32) -> prSuiteError>,
    pub NewPtrClear:
        ::std::option::Option<unsafe extern "C" fn(byteCount: csSDK_uint32) -> PrMemoryPtr>,
    pub NewPtr: ::std::option::Option<unsafe extern "C" fn(byteCount: csSDK_uint32) -> PrMemoryPtr>,
    pub GetPtrSize: ::std::option::Option<unsafe extern "C" fn(p: PrMemoryPtr) -> csSDK_uint32>,
    pub SetPtrSize:
        ::std::option::Option<unsafe extern "C" fn(p: *mut PrMemoryPtr, newSize: csSDK_uint32)>,
    pub NewHandle:
        ::std::option::Option<unsafe extern "C" fn(byteCount: csSDK_uint32) -> PrMemoryHandle>,
    pub NewHandleClear:
        ::std::option::Option<unsafe extern "C" fn(byteCount: csSDK_uint32) -> PrMemoryHandle>,
    pub PrDisposePtr: ::std::option::Option<unsafe extern "C" fn(p: PrMemoryPtr)>,
    pub DisposeHandle: ::std::option::Option<unsafe extern "C" fn(h: PrMemoryHandle)>,
    pub SetHandleSize: ::std::option::Option<
        unsafe extern "C" fn(h: PrMemoryHandle, newSize: csSDK_uint32) -> ::std::os::raw::c_short,
    >,
    pub GetHandleSize:
        ::std::option::Option<unsafe extern "C" fn(h: PrMemoryHandle) -> csSDK_uint32>,
    pub AdjustReservedMemorySize: ::std::option::Option<
        unsafe extern "C" fn(inPluginID: csSDK_uint32, inSize: csSDK_int64) -> prSuiteError,
    >,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKPixelFormatSuite {
    #[doc = "\tRetrieves the minimum i.e. \"black\" value for a give pixel type.\n\n\t[NOTE]\tpixel types like YUY2, YUYV actually contain a group of two pixels to specify a color\n\t\t\tcompletely, so the data size returned in this case will be 4 bytes (rather than 2)\n\n\t@param\t\tpixelFormat\t\t\t\tthe Premiere pixel format whose black level you want\n\t@param\t\tpixelData\t\t\t\ta void pointer to data large enough to hold the pixel value (see note above)\n\n\t@returns\tsuiteError_NoError : successful retreival of black value\n\t@returns\tsuiteError_Fail :"]
    pub GetBlackForPixelFormat: ::std::option::Option<
        unsafe extern "C" fn(
            pixelFormat: PrPixelFormat,
            pixelData: *mut ::std::os::raw::c_void,
        ) -> prSuiteError,
    >,
    #[doc = "\tRetrieves the maximum i.e. \"white\" value for a give pixel type.\n\n\t[NOTE]\tpixel types like YUY2, YUYV actually contain a group of two pixels to specify a color\n\t\t\tcompletely, so the data size returned in this case will be 4 bytes (rather than 2)\n\n\t@param\t\tpixelFormat\t\t\t\tthe Premiere pixel format whose white level you want\n\t@param\t\tpixelData\t\t\t\ta void pointer to data large enough to hold the pixel value (see note above)\n\n\t@returns\tsuiteError_NoError : successful retreival of white value\n\t@returns\tsuiteError_Fail :"]
    pub GetWhiteForPixelFormat: ::std::option::Option<
        unsafe extern "C" fn(
            pixelFormat: PrPixelFormat,
            pixelData: *mut ::std::os::raw::c_void,
        ) -> prSuiteError,
    >,
    #[doc = "\tConverts an alpha, red, green, blue specification into a pixel value for a give pixel type.\n\n\t[NOTE]\tpixel types like YUY2, YUYV actually contain a group of two pixels to specify a color\n\t\t\tcompletely, so the data size returned in this case will be 4 bytes (rather than 2)\n\n\t@param\t\tpixelFormat\t\t\t\tthe Premiere pixel format whose white level you want\n\t@param\t\talpha\t\t\t\t\talpha value (0.0 - 1.0)\n\t@param\t\tred\t\t\t\t\t\tred value (0.0 - 1.0)\n\t@param\t\tgreen\t\t\t\t\tgreen value (0.0 - 1.0)\n\t@param\t\tblue\t\t\t\t\tblue value (0.0 - 1.0)\n\t@param\t\tpixelData\t\t\t\ta void pointer to data large enough to hold the pixel value (see note above)\n\n\t@returns\tsuiteError_NoError : successful conversion of color value\n\t@returns\tsuiteError_Fail :"]
    pub ConvertColorToPixelFormattedData: ::std::option::Option<
        unsafe extern "C" fn(
            pixelFormat: PrPixelFormat,
            alpha: f32,
            red: f32,
            green: f32,
            blue: f32,
            pixelData: *mut ::std::os::raw::c_void,
        ) -> prSuiteError,
    >,
}
pub const PrPPixBufferAccess_PrPPixBufferAccess_ReadOnly: PrPPixBufferAccess = 0;
pub const PrPPixBufferAccess_PrPPixBufferAccess_WriteOnly: PrPPixBufferAccess = 1;
pub const PrPPixBufferAccess_PrPPixBufferAccess_ReadWrite: PrPPixBufferAccess = 2;
pub const PrPPixBufferAccess_PrPPixBufferAccess_ForceEnumSize: PrPPixBufferAccess = 4294967295;
pub type PrPPixBufferAccess = ::std::os::raw::c_uint;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKPPixSuite {
    #[doc = "\tThis will free this ppix. The ppix is no longer valid after this function is called.\n\n\t@param\tinPPixHand\t\t\t\tThe ppix handle you want to dispose."]
    pub Dispose: ::std::option::Option<unsafe extern "C" fn(inPPixHand: PPixHand) -> prSuiteError>,
    #[doc = "\tThis will return a pointer to the pixel buffer.\n\n\t@param\tinPPixHand\t\t\tThe ppix handle you want to operate on.\n\t@param\tinRequestedAccess\tRequested pixel access. Most PPixs do not support write access modes.\n\t@param\toutPixelAddress\t\tThe output pixel buffer address. May be NULL if the requested pixel access is not supported."]
    pub GetPixels: ::std::option::Option<
        unsafe extern "C" fn(
            inPPixHand: PPixHand,
            inRequestedAccess: PrPPixBufferAccess,
            outPixelAddress: *mut *mut ::std::os::raw::c_char,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will return the bounding rect.\n\n\t@param\tinPPixHand\t\t\tThe ppix handle you want to operate on.\n\t@param\toutBoundingRect\t\tThe address of a bounding rect to be filled in."]
    pub GetBounds: ::std::option::Option<
        unsafe extern "C" fn(inPPixHand: PPixHand, inoutBoundingRect: *mut prRect) -> prSuiteError,
    >,
    #[doc = "\tThis will return the row bytes of the ppix.\n\n\t@param\tinPPixHand\t\t\tThe ppix handle you want to operate on.\n\t@param\toutRowBytes\t\t\tReturns how many bytes must be added to the pixel buffer address to get to the next line.\n\t\t\t\t\t\t\t\tMay be negative."]
    pub GetRowBytes: ::std::option::Option<
        unsafe extern "C" fn(inPPixHand: PPixHand, outRowBytes: *mut csSDK_int32) -> prSuiteError,
    >,
    #[doc = "\tThis will return the pixel aspect ratio of this ppix.\n\n\t@param\tinPPixHand\t\t\t\t\t\tThe ppix handle you want to operate on.\n\t@param\toutPixelAspectRatioNumerator\tReturns the numerator of the pixel aspect ratio.\n\t@param\toutPixelAspectRatioDenominator\tReturns the denominator of the pixel aspect ratio."]
    pub GetPixelAspectRatio: ::std::option::Option<
        unsafe extern "C" fn(
            inPPixHand: PPixHand,
            outPixelAspectRatioNumerator: *mut csSDK_uint32,
            outPixelAspectRatioDenominator: *mut csSDK_uint32,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will return the pixel format of this ppix.\n\n\t@param\tinPPixHand\t\t\tThe ppix handle you want to operate on.\n\t@param\toutPixelFormat\t\tReturns the pixel format of this ppix."]
    pub GetPixelFormat: ::std::option::Option<
        unsafe extern "C" fn(
            inPPixHand: PPixHand,
            outPixelFormat: *mut PrPixelFormat,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will return the unique key for this ppix.\n\n\t@param\tinPPixHand\t\t\tThe ppix handle you want to operate on.\n\t@param\toutKeyBuffer\t\tReturns the pixel format of this ppix.\n\n\t[TODO] Fill in returned error codes.\n\t@returns Error if the buffer size is too small (call GetUniqueKeySize() to get the correct size).\n\t@returns Error if the key is not available.\n\t@returns Success if the key data was filled in."]
    pub GetUniqueKey: ::std::option::Option<
        unsafe extern "C" fn(
            inPPixHand: PPixHand,
            inoutKeyBuffer: *mut ::std::os::raw::c_uchar,
            inKeyBufferSize: usize,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will return the unique key size.\n\tThis will not change for the entire run of the application.\n\n\t@param\toutKeyBufferSize\tReturns the size of the ppix unique key."]
    pub GetUniqueKeySize:
        ::std::option::Option<unsafe extern "C" fn(outKeyBufferSize: *mut usize) -> prSuiteError>,
    #[doc = "\tThis will return the render time for this ppix.\n\n\t@param\tinPPixHand\t\t\t\tThe ppix handle you want to operate on.\n\t@param\toutRenderMilliseconds\tReturns the render time in milliseconds. If the frame was cached, this time will be 0."]
    pub GetRenderTime: ::std::option::Option<
        unsafe extern "C" fn(
            inPPixHand: PPixHand,
            outRenderMilliseconds: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKPPix2Suite {
    #[doc = "\tThis will return the total size of the ppix in bytes.\n\n\t@param\tinPPixHand\t\t\tThe ppix handle you want to operate on.\n\t@param\toutSize\t\t\t\tThe size of the ppix in bytes."]
    pub GetSize: ::std::option::Option<
        unsafe extern "C" fn(inPPixHand: PPixHand, outSize: *mut usize) -> prSuiteError,
    >,
    #[doc = "\t[Added in CS4]\n\tThis will return the planar buffers and rowbytes for a PPixHand\n\tif the contained pixels are in a planar format, such as\n\tPrPixelFormat_YUV_420_MPEG2_FRAME_PICTURE_PLANAR_8u_601\n\tPrPixelFormat_YUV_420_MPEG2_FIELD_PICTURE_PLANAR_8u_601\n\tPrPixelFormat_YUV_420_MPEG2_FRAME_PICTURE_PLANAR_8u_709\n\tPrPixelFormat_YUV_420_MPEG2_FIELD_PICTURE_PLANAR_8u_709\n\n\t@param\tinPPixHand\t\t\tThe ppix handle you want to operate on.\n\t@param\tinRequestedAccess\tWill return an error if the source is read-only and the request is for write or read/write.\n\n\t@param\tout_xxx_PixelAddress\tThe output (Y, U, or V) pixel buffer address. May be NULL if the requested access is not supported.\n\t@param\tout_xxx_RowBytes\t\tReturns how many bytes must be added to the pixel buffer address to get to the next line.\n\t\t\t\t\t\t\t\t\tMay be negative."]
    pub GetYUV420PlanarBuffers: ::std::option::Option<
        unsafe extern "C" fn(
            inPPixHand: PPixHand,
            inRequestedAccess: PrPPixBufferAccess,
            out_Y_PixelAddress: *mut *mut ::std::os::raw::c_char,
            out_Y_RowBytes: *mut csSDK_uint32,
            out_U_PixelAddress: *mut *mut ::std::os::raw::c_char,
            out_U_RowBytes: *mut csSDK_uint32,
            out_V_PixelAddress: *mut *mut ::std::os::raw::c_char,
            out_V_RowBytes: *mut csSDK_uint32,
        ) -> prSuiteError,
    >,
    pub GetOrigin: ::std::option::Option<
        unsafe extern "C" fn(
            inPPixHand: PPixHand,
            outOriginX: *mut csSDK_int32,
            outOriginY: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    pub GetFieldOrder: ::std::option::Option<
        unsafe extern "C" fn(inPPixHand: PPixHand, outFieldType: *mut prFieldType) -> prSuiteError,
    >,
}
#[doc = "\tThis struct defines a specific frame format that is being requested\n\tfromt the importer. Any member can be 0, which means that any value\n\tis an acceptable match. For instance, the host might ask for a specific\n\twidth and height, but pass 0 as the pixel format, meaning it can accept\n\tany pixel format."]
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct imFrameFormat {
    pub inFrameWidth: csSDK_int32,
    pub inFrameHeight: csSDK_int32,
    pub inPixelFormat: PrPixelFormat,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKPPixCacheSuite {
    #[doc = "\tThis will add the ppix to the frame cache for this importer instance and stream.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinStreamIndex\t\tThe index of this stream\n\t@param\tinPPixHand\t\t\tThe ppix handle you want to add.\n\t@param\tinFrameNumber\t\tThe frame number of the ppix.\n\t@param\tinPreferences\t\tCurrent importer preferences, can be NULL for no preferences\n\t@param\tinPreferencesLength\tCurrent importer preferences length"]
    pub AddFrameToCache: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inStreamIndex: csSDK_int32,
            inPPixHand: PPixHand,
            inFrameNumber: csSDK_int32,
            inPreferences: *mut ::std::os::raw::c_void,
            inPreferencesLength: csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will retrieve a ppix from the frame cache for this importer instance and stream.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinStreamIndex\t\tThe index of this stream\n\t@param\tinFrameNumber\t\tThe frame number of the ppix requested.\n\t@param\toutPPixHand\t\t\tA pointer to a ppix handle to hold the retrieved frame.\n\t@param\tinPreferences\t\tCurrent importer preferences, can be NULL for no preferences\n\t@param\tinPreferencesLength\tCurrent importer preferences length"]
    pub GetFrameFromCache: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inStreamIndex: csSDK_int32,
            inFrameNumber: csSDK_int32,
            inNumFormats: csSDK_int32,
            inFormats: *mut imFrameFormat,
            outPPixHand: *mut PPixHand,
            inPreferences: *mut ::std::os::raw::c_void,
            inPreferencesLength: csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will add the ppix to the raw cache for this importer instance.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinPPixHand\t\t\tThe raw ppix handle you want to add.\n\t@param\tinKey\t\t\t\tThe key to use for this raw ppix. If an entry with this key already\n\t\t\t\t\t\t\t\texists, this call will fail."]
    pub AddRawPPixToCache: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inPPixHand: PPixHand,
            inKey: csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will retrieve a ppix from the frame cache for this importer instance.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinKey\t\t\t\tThe key to identify this raw ppix.\n\t@param\toutPPixHand\t\t\tA pointer to a ppix handle to hold the retrieved frame."]
    pub GetRawPPixFromCache: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inKey: csSDK_int32,
            outPPixHand: *mut PPixHand,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis function allows you to cache a PPix using a GUID as an identifier.\n\n\t@param\tinPPixIdentifier\tThe ID of the PPix, used to identify this particular set of pixels.\n\t\t\t\t\t\t\t\tThe GUID can be anything, but must be unique.\n\t@param\tinPPix\t\t\t\tThe Pixels to put in the cache. If a frame with this id is already in the cache,\n\t\t\t\t\t\t\t\tthen this PPix will be ignored. You still have ownership over the PPix.\n\t\t\t\t\t\t\t\tYou may want to get the PPix from the cache after this, in case your frame is redundant."]
    pub AddNamedPPixToCache: ::std::option::Option<
        unsafe extern "C" fn(inPPixIdentifier: *const prPluginID, inPPix: PPixHand) -> prSuiteError,
    >,
    #[doc = "\tThis function retrieves a named PPix from the cache.\n\n\t@param\tinPPixIdentifier\tThe ID of the PPix.\n\t@param\toutPPixHand\t\t\tThe PPix, if it's available. If it's not in the cache, this will be NULL.\n\t\t\t\t\t\t\t\tYou are responsible for calling PPixDispose on this PPix, like any other."]
    pub GetNamedPPixFromCache: ::std::option::Option<
        unsafe extern "C" fn(
            inPPixIdentifier: *const prPluginID,
            outPPixHand: *mut PPixHand,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis function registers a dependency on a PPix. If a frame with that identifier is in the cache now,\n\tor ends up in the cache soon, then it will not be flushed from the cache while there are outstanding\n\tdependencies. You are responsible for call the Unregister function - if you don't then this is the\n\tsame as a memory leak of a PPix.\n\n\t@param\tinPPixIdentifier\tThe ID of the PPix you want held in the cache."]
    pub RegisterDependencyOnNamedPPix: ::std::option::Option<
        unsafe extern "C" fn(inPPixIdentifier: *const prPluginID) -> prSuiteError,
    >,
    #[doc = "\tThis function unregisters a dependency on a named PPix. This must be called for every successful call of\n\tRegisterDependencyOnNamedPPix\n\n\t@param inPPixIdentifier\t\tThe ID of the PPix you no longer need in the cache."]
    pub UnregisterDependencyOnNamedPPix: ::std::option::Option<
        unsafe extern "C" fn(inPPixIdentifier: *const prPluginID) -> prSuiteError,
    >,
    #[doc = "  This function attempts to flush a frame from the cache. If the frame has a registered dependency, then the\n  frame will remain available until the dependency count hits zero.\n\n\t@param inPPixIdentifier\t\tThe ID of the PPix you want forcibly removed from the cache."]
    pub ExpireNamedPPixFromCache: ::std::option::Option<
        unsafe extern "C" fn(inPPixIdentifier: *const prPluginID) -> prSuiteError,
    >,
    #[doc = "  This function attempts to flush all ppixes from the cache."]
    pub ExpireAllPPixesFromCache: ::std::option::Option<unsafe extern "C" fn() -> prSuiteError>,
    #[doc = "\tThis will add the ppix to the frame cache for this importer instance and stream.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinStreamIndex\t\tThe index of this stream\n\t@param\tinPPixHand\t\t\tThe ppix handle you want to add.\n\t@param\tinFrameNumber\t\tThe frame number of the ppix.\n\t@param\tinPreferences\t\tCurrent importer preferences, can be NULL for no preferences\n\t@param\tinPreferencesLength\tCurrent importer preferences length\n\t@param\tinColorProfileName\tThe name of the selected color profile. This is only worth providing if your\n\t\t\t\t\t\t\t\tImporter supports color management, and has more than one possible profile.\n\t\t\t\t\t\t\t\tOtherwise we will default to the single profile provided.\n\t@param\tinColorProfileData\tThis is completely optional. We will use the color profile data provided\n\t\t\t\t\t\t\t\tthrough the imGetIndColorProfile selector. In some future version we will\n\t\t\t\t\t\t\t\tallow Importers to support arbitrary profiles, at which point this param will\n\t\t\t\t\t\t\t\tbe useful."]
    pub AddFrameToCacheWithColorProfile: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inStreamIndex: csSDK_int32,
            inPPixHand: PPixHand,
            inFrameNumber: csSDK_int32,
            inPreferences: *mut ::std::os::raw::c_void,
            inPreferencesLength: csSDK_int32,
            inColorProfileName: *mut PrSDKString,
            inColorProfileData: *mut ::std::os::raw::c_void,
            inColorProfileDataLength: csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will retrieve a ppix from the frame cache for this importer instance and stream.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinStreamIndex\t\tThe index of this stream\n\t@param\tinFrameNumber\t\tThe frame number of the ppix requested.\n\t@param\toutPPixHand\t\t\tA pointer to a ppix handle to hold the retrieved frame.\n\t@param\tinPreferences\t\tCurrent importer preferences, can be NULL for no preferences\n\t@param\tinPreferencesLength\tCurrent importer preferences length\n\t@param\tinColorProfileName\tThe name of the selected color profile. This is only worth providing if your\n\t\t\t\t\t\t\t\tImporter supports color management, and has more than one possible profile.\n\t\t\t\t\t\t\t\tOtherwise we will default to the single profile provided.\n\t@param\tinColorProfileData\tThis is completely optional. We will use the color profile data provided\n\t\t\t\t\t\t\t\tthrough the imGetIndColorProfile selector. In some future version we will\n\t\t\t\t\t\t\t\tallow Importers to support arbitrary profiles, at which point this param will\n\t\t\t\t\t\t\t\tbe useful."]
    pub GetFrameFromCacheWithColorProfile: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inStreamIndex: csSDK_int32,
            inFrameNumber: csSDK_int32,
            inNumFormats: csSDK_int32,
            inFormats: *mut imFrameFormat,
            outPPixHand: *mut PPixHand,
            inPreferences: *mut ::std::os::raw::c_void,
            inPreferencesLength: csSDK_int32,
            inColorProfileName: *mut PrSDKString,
            inColorProfileData: *mut ::std::os::raw::c_void,
            inColorProfileDataSize: csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will add the ppix to the frame cache for this importer instance and stream.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinStreamIndex\t\tThe index of this stream\n\t@param\tinPPixHand\t\t\tThe ppix handle you want to add.\n\t@param\tinFrameNumber\t\tThe frame number of the ppix.\n\t@param\tinPreferences\t\tCurrent importer preferences, can be NULL for no preferences\n\t@param\tinPreferencesLength\tCurrent importer preferences length\n\t@param\tinColorProfileName\tThe name of the selected color profile. This is only worth providing if your\n\t\t\t\t\t\t\t\tImporter supports color management, and has more than one possible profile.\n\t\t\t\t\t\t\t\tOtherwise we will default to the single profile provided.\n\t@param\tinColorProfileData\tThis is completely optional. We will use the color profile data provided\n\t\t\t\t\t\t\t\tthrough the imGetIndColorProfile selector. In some future version we will\n\t\t\t\t\t\t\t\tallow Importers to support arbitrary profiles, at which point this param will\n\t\t\t\t\t\t\t\tbe useful."]
    pub AddFrameToCacheWithColorProfile2: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inStreamIndex: csSDK_int32,
            inPPixHand: PPixHand,
            inFrameNumber: csSDK_int32,
            inQuality: PrRenderQuality,
            inPreferences: *mut ::std::os::raw::c_void,
            inPreferencesLength: csSDK_int32,
            inColorProfileName: *mut PrSDKString,
            inColorProfileData: *mut ::std::os::raw::c_void,
            inColorProfileDataLength: csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will retrieve a ppix from the frame cache for this importer instance and stream.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinStreamIndex\t\tThe index of this stream\n\t@param\tinFrameNumber\t\tThe frame number of the ppix requested.\n\t@param\toutPPixHand\t\t\tA pointer to a ppix handle to hold the retrieved frame.\n\t@param\tinPreferences\t\tCurrent importer preferences, can be NULL for no preferences\n\t@param\tinPreferencesLength\tCurrent importer preferences length\n\t@param\tinColorProfileName\tThe name of the selected color profile. This is only worth providing if your\n\t\t\t\t\t\t\t\tImporter supports color management, and has more than one possible profile.\n\t\t\t\t\t\t\t\tOtherwise we will default to the single profile provided.\n\t@param\tinColorProfileData\tThis is completely optional. We will use the color profile data provided\n\t\t\t\t\t\t\t\tthrough the imGetIndColorProfile selector. In some future version we will\n\t\t\t\t\t\t\t\tallow Importers to support arbitrary profiles, at which point this param will\n\t\t\t\t\t\t\t\tbe useful."]
    pub GetFrameFromCacheWithColorProfile2: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inStreamIndex: csSDK_int32,
            inFrameNumber: csSDK_int32,
            inNumFormats: csSDK_int32,
            inFormats: *mut imFrameFormat,
            outPPixHand: *mut PPixHand,
            inQuality: PrRenderQuality,
            inPreferences: *mut ::std::os::raw::c_void,
            inPreferencesLength: csSDK_int32,
            inColorProfileName: *mut PrSDKString,
            inColorProfileData: *mut ::std::os::raw::c_void,
            inColorProfileDataSize: csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will add the ppix to the frame cache for this importer instance and stream.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinStreamIndex\t\tThe index of this stream\n\t@param\tinPPixHand\t\t\tThe ppix handle you want to add.\n\t@param\tinFrameNumber\t\tThe frame number of the ppix.\n\t@param\tinQuality\t\t\tThe quality level with which to render the frame\n\t@param\tinPreferences\t\tCurrent importer preferences, can be NULL for no preferences\n\t@param\tinPreferencesLength\tCurrent importer preferences length\n\t@param\tinPrColorSpaceID\tcolor space for the frame to be cached; this is an opaque token passed to the importer by the host that importer is expected to use in color management APIs"]
    pub AddFrameToCacheWithColorSpace: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inStreamIndex: csSDK_int32,
            inPPixHand: PPixHand,
            inFrameNumber: csSDK_int32,
            inQuality: PrRenderQuality,
            inPreferences: *mut ::std::os::raw::c_void,
            inPreferencesLength: csSDK_int32,
            inPrColorSpaceID: *mut PrSDKColorSpaceID,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will retrieve a ppix from the frame cache for this importer instance and stream.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinStreamIndex\t\tThe index of this stream\n\t@param\tinFrameNumber\t\tThe frame number of the ppix requested.\n @param\tinNumFormats\t\tThe number of frame formats\n\t@param\tinFormats\t\t\tThe array of frame formats\n\t@param\toutPPixHand\t\t\tA pointer to a ppix handle to hold the retrieved frame.\n\t@param\tinQuality\t\t\tThe quality level with which to render the frame\n\t@param\tinPreferences\t\tCurrent importer preferences, can be NULL for no preferences\n\t@param\tinPreferencesLength\tCurrent importer preferences length\n\t@param\tinPrColorSpaceID\tcolor space to be used as part of identifier to retrieve a frame from cache; this is an opaque token passed to the importer by the host that importer is expected to use in color management APIs"]
    pub GetFrameFromCacheWithColorSpace: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inStreamIndex: csSDK_int32,
            inFrameNumber: csSDK_int32,
            inNumFormats: csSDK_int32,
            inFormats: *mut imFrameFormat,
            outPPixHand: *mut PPixHand,
            inQuality: PrRenderQuality,
            inPreferences: *mut ::std::os::raw::c_void,
            inPreferencesLength: csSDK_int32,
            inPrColorSpaceID: *mut PrSDKColorSpaceID,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis function registers a dependency on a PPix. If a frame with these settings is in the cache now,\n\tor ends up in the cache soon, then it will not be flushed from the cache while there are outstanding\n\tdependencies. You are responsible for calling the UnregisterDependencyOnNamedPPix function with the\n  returned identifier - if you don't then this is the same as a memory leak of a PPix.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinStreamIndex\t\tThe index of this stream\n\t@param\tinFrameNumber\t\tThe frame number of the ppix.\n\t@param\toutPPixIdentifier\tThe pointer to the ppix Identifer obtained for the frame\n\t@param\tinPreferences\t\tCurrent importer preferences, can be NULL for no preferences\n\t@param\tinPreferencesLength\tCurrent importer preferences length"]
    pub RegisterDependencyOnFrame: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inStreamIndex: csSDK_int32,
            inFrameNumber: csSDK_int32,
            inNumFormats: csSDK_int32,
            inFormats: *mut imFrameFormat,
            outPPixIdentifier: *mut prPluginID,
            inPreferences: *mut ::std::os::raw::c_void,
            inPreferencesLength: csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis function registers a dependency on a PPix. If a frame with these settings is in the cache now,\n\tor ends up in the cache soon, then it will not be flushed from the cache while there are outstanding\n\tdependencies. You are responsible for calling the UnregisterDependencyOnNamedPPix function with the\n  returned identifier - if you don't then this is the same as a memory leak of a PPix.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinStreamIndex\t\tThe index of this stream\n\t@param\tinFrameNumber\t\tThe frame number of the ppix.\n\t@param\toutPPixIdentifier\tThe pointer to the ppix Identifer obtained for the frame\n\t@param\tinPreferences\t\tCurrent importer preferences, can be NULL for no preferences\n\t@param\tinPreferencesLength\tCurrent importer preferences length\n\t@param\tinColorProfileName\tThe name of the selected color profile. This is only worth providing if your\n\t\t\t\t\t\t\t\tImporter supports color management, and has more than one possible profile.\n\t\t\t\t\t\t\t\tOtherwise we will default to the single profile provided.\n\t@param\tinColorProfileData\tThis is completely optional. We will use the color profile data provided\n\t\t\t\t\t\t\t\tthrough the imGetIndColorProfile selector. In some future version we will\n\t\t\t\t\t\t\t\tallow Importers to support arbitrary profiles, at which point this param will\n\t\t\t\t\t\t\t\tbe useful."]
    pub RegisterDependencyOnFrameWithColorProfile: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inStreamIndex: csSDK_int32,
            inFrameNumber: csSDK_int32,
            inNumFormats: csSDK_int32,
            inFormats: *mut imFrameFormat,
            outPPixIdentifier: *mut prPluginID,
            inPreferences: *mut ::std::os::raw::c_void,
            inPreferencesLength: csSDK_int32,
            inColorProfileName: *mut PrSDKString,
            inColorProfileData: *mut ::std::os::raw::c_void,
            inColorProfileDataSize: csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis function registers a dependency on a PPix. If a frame with these settings is in the cache now,\n\tor ends up in the cache soon, then it will not be flushed from the cache while there are outstanding\n\tdependencies. You are responsible for calling the UnregisterDependencyOnNamedPPix function with the\n  returned identifier - if you don't then this is the same as a memory leak of a PPix.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinStreamIndex\t\tThe index of this stream\n\t@param\tinFrameNumber\t\tThe frame number of the ppix.\n\t@param\toutPPixIdentifier\tThe pointer to the ppix Identifer obtained for the frame\n\t@param\tinPreferences\t\tCurrent importer preferences, can be NULL for no preferences\n\t@param\tinPreferencesLength\tCurrent importer preferences length\n\t@param\tinColorProfileName\tThe name of the selected color profile. This is only worth providing if your\n\t\t\t\t\t\t\t\tImporter supports color management, and has more than one possible profile.\n\t\t\t\t\t\t\t\tOtherwise we will default to the single profile provided.\n\t@param\tinColorProfileData\tThis is completely optional. We will use the color profile data provided\n\t\t\t\t\t\t\t\tthrough the imGetIndColorProfile selector. In some future version we will\n\t\t\t\t\t\t\t\tallow Importers to support arbitrary profiles, at which point this param will\n\t\t\t\t\t\t\t\tbe useful."]
    pub RegisterDependencyOnFrameWithColorProfile2: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inStreamIndex: csSDK_int32,
            inFrameNumber: csSDK_int32,
            inNumFormats: csSDK_int32,
            inFormats: *mut imFrameFormat,
            inQuality: PrRenderQuality,
            outPPixIdentifier: *mut prPluginID,
            inPreferences: *mut ::std::os::raw::c_void,
            inPreferencesLength: csSDK_int32,
            inColorProfileName: *mut PrSDKString,
            inColorProfileData: *mut ::std::os::raw::c_void,
            inColorProfileDataSize: csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis function registers a dependency on a PPix. If a frame with these settings is in the cache now,\n\tor ends up in the cache soon, then it will not be flushed from the cache while there are outstanding\n\tdependencies. You are responsible for calling the UnregisterDependencyOnNamedPPix function with the\n  returned identifier - if you don't then this is the same as a memory leak of a PPix.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinStreamIndex\t\tThe index of this stream\n\t@param\tinFrameNumber\t\tThe frame number of the ppix.\n \t@param\tinNumFormats\t\tThe number of frame formats\n\t@param\tinFormats\t\t\tThe array of frame formats\n\t@param\tinQuality\t\t\tThe quality level with which to render the frame\n\t@param\toutPPixIdentifier\tThe pointer to the ppix Identifer obtained for the frame\n\t@param\tinPreferences\t\tCurrent importer preferences, can be NULL for no preferences\n\t@param\tinPreferencesLength\tCurrent importer preferences length\n\t@param\tinPrColorSpaceID\tcolor space to be used as part of identifier to retrieve a frame from cache; this is an opaque token passed to the importer by the host that importer is expected to use in color management APIs"]
    pub RegisterDependencyOnFrameWithColorSpace: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inStreamIndex: csSDK_int32,
            inFrameNumber: csSDK_int32,
            inNumFormats: csSDK_int32,
            inFormats: *mut imFrameFormat,
            inQuality: PrRenderQuality,
            outPPixIdentifier: *mut prPluginID,
            inPreferences: *mut ::std::os::raw::c_void,
            inPreferencesLength: csSDK_int32,
            inPrColorSpaceID: *mut PrSDKColorSpaceID,
        ) -> prSuiteError,
    >,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKPPixCacheSuite1 {
    #[doc = "\tThis will add the ppix to the frame cache for this importer instance and stream.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinStreamIndex\t\tThe index of this stream\n\t@param\tinPPixHand\t\t\tThe ppix handle you want to add.\n\t@param\tinFrameNumber\t\tThe frame number of the ppix."]
    pub AddFrameToCache: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inStreamIndex: csSDK_int32,
            inPPixHand: PPixHand,
            inFrameNumber: csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will retrieve a ppix from the frame cache for this importer instance and stream.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinStreamIndex\t\tThe index of this stream\n\t@param\tinFrameNumber\t\tThe frame number of the ppix requested.\n\t@param\toutPPixHand\t\t\tA pointer to a ppix handle to hold the retrieved frame."]
    pub GetFrameFromCache: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inStreamIndex: csSDK_int32,
            inFrameNumber: csSDK_int32,
            inNumFormats: csSDK_int32,
            inFormats: *mut imFrameFormat,
            outPPixHand: *mut PPixHand,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will add the ppix to the raw cache for this importer instance.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinPPixHand\t\t\tThe raw ppix handle you want to add.\n\t@param\tinKey\t\t\t\tThe key to use for this raw ppix. If an entry with this key already\n\t\t\t\t\t\t\t\texists, this call will fail."]
    pub AddRawPPixToCache: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inPPixHand: PPixHand,
            inKey: csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will retrieve a ppix from the frame cache for this importer instance.\n\n\t@param\tinImporterID\t\tThe ID of this importer instance (passed down in imGetInfo8).\n\t@param\tinKey\t\t\t\tThe key to identify this raw ppix.\n\t@param\toutPPixHand\t\t\tA pointer to a ppix handle to hold the retrieved frame."]
    pub GetRawPPixFromCache: ::std::option::Option<
        unsafe extern "C" fn(
            inImporterID: csSDK_uint32,
            inKey: csSDK_int32,
            outPPixHand: *mut PPixHand,
        ) -> prSuiteError,
    >,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKPPixCreator2Suite {
    #[doc = "\tThis will create a new ppix.\n\n\t@param\toutPPixHand\t\t\t\t\t\tThe new ppix handle if the create was successfull. NULL otherwise.\n\t@param\tinRequestedAccess\t\t\t\tRequested pixel access. ReadOnly is not allowed (doesn't make sense).\n\t@param\tinPixelFormat\t\t\t\t\tThe pixel format of this ppix.\n\t@param\tinWidth\t\t\t\t\t\t\tThe horizontal size of the ppix.\n\t@param\tinHeight\t\t\t\t\t\tThe vertical size of the ppix.\n\t@param\tinUseFields\t\t\t\t\t\tIf true, the ppix is a field.\n\t@param\tinFieldNumber\t\t\t\t\tIf inUseFields is true, this specifies first field (0) or second (1)\n\t@param\tinPARNumerator\t\t\t\t\tThe pixel aspect ratio numerator for the ppix.\n\t@param\tinPARDenominator\t\t\t\tThe pixel aspect ratio denominator for the ppix."]
    pub CreatePPix: ::std::option::Option<
        unsafe extern "C" fn(
            outPPixHand: *mut PPixHand,
            inRequestedAccess: PrPPixBufferAccess,
            inPixelFormat: PrPixelFormat,
            inWidth: ::std::os::raw::c_int,
            inHeight: ::std::os::raw::c_int,
            inUseFields: bool,
            inFieldNumber: ::std::os::raw::c_int,
            inPARNumerator: ::std::os::raw::c_int,
            inPARDenominator: ::std::os::raw::c_int,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will create a new raw ppix.\n\n\t@param\toutPPixHand\t\t\t\t\t\tThe new ppix handle if the create was successfull. NULL otherwise.\n\t@param\tinRequestedAccess\t\t\t\tRequested pixel access. ReadOnly is not allowed (doesn't make sense).\n\t@param\tinSize\t\t\t\t\t\t\tThe size of the ppix in bytes.\n\t@param\tinAlignment\t\t\t\t\t\tThe alignment of the beginning of the ppix in bytes."]
    pub CreateRawPPix: ::std::option::Option<
        unsafe extern "C" fn(
            outPPixHand: *mut PPixHand,
            inRequestedAccess: PrPPixBufferAccess,
            inSize: ::std::os::raw::c_int,
            inAlignment: ::std::os::raw::c_int,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will create a new ppix in a custom pixel format.\n\n\t@param\toutPPixHand\t\t\t\t\t\tThe new ppix handle if the create was successfull. NULL otherwise.\n\t@param\tinRequestedAccess\t\t\t\tRequested pixel access. ReadOnly is not allowed (doesn't make sense).\n\t@param\tinPixelFormat\t\t\t\t\tThe pixel format of this ppix.\n\t@param\tinWidth\t\t\t\t\t\t\tThe horizontal size of the ppix.\n\t@param\tinHeight\t\t\t\t\t\tThe vertical size of the ppix.\n\t@param\tinPARNumerator\t\t\t\t\tThe pixel aspect ratio numerator for the ppix.\n\t@param\tinPARDenominator\t\t\t\tThe pixel aspect ratio denominator for the ppix.\n\t@param\tinDataBufferSize\t\t\t\tThe number of bytes requested, not including the header."]
    pub CreateCustomPPix: ::std::option::Option<
        unsafe extern "C" fn(
            outPPixHand: *mut PPixHand,
            inRequestedAccess: PrPPixBufferAccess,
            inPixelFormat: PrPixelFormat,
            inWidth: ::std::os::raw::c_int,
            inHeight: ::std::os::raw::c_int,
            inPARNumerator: ::std::os::raw::c_int,
            inPARDenominator: ::std::os::raw::c_int,
            inDataBufferSize: ::std::os::raw::c_int,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will create a new ppix properly aligned for reading from disk.\n\n\t@param\toutPPixHand\t\t\t\t\t\t\t\t\tThe new ppix handle if the create was successfull. NULL otherwise.\n\t@param\tinPixelFormat\t\t\t\t\t\t\t\tThe pixel format of this ppix.\n\t@param\tinWidth\t\t\t\t\t\t\t\t\t\tThe horizontal size of the ppix.\n\t@param\tinHeight\t\t\t\t\t\t\t\t\tThe vertical size of the ppix.\n\t@param\tinPARNumerator\t\t\t\t\t\t\t\tThe pixel aspect ratio numerator for the ppix.\n\t@param\tinPARDenominator\t\t\t\t\t\t\tThe pixel aspect ratio denominator for the ppix.\n\t@param\tinMemoryAlignment\t\t\t\t\t\t\tThe alignment of memory required for the start of the first sector.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tIf this value is zero, then we will align to the sector size.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tThis value must be a multiple of the pixel size or bad things will happen.\n\t@param\tinSectorSize\t\t\t\t\t\t\t\tThe size of a sector on disk. The required amount of memory will be padded\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tup to a multiple of the sector size. If this is zero, then there will be no padding.\n\t@param\tinOffsetToPixelDataFromFirstSectorStart\t\tThe number of bytes between the start of the first sector and the start\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tof the pixel data. The resulting pixel start location must be aligned to\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tthe pixel size."]
    pub CreateDiskAlignedPPix: ::std::option::Option<
        unsafe extern "C" fn(
            outPPixHand: *mut PPixHand,
            inPixelFormat: PrPixelFormat,
            inWidth: ::std::os::raw::c_int,
            inHeight: ::std::os::raw::c_int,
            inPARNumerator: ::std::os::raw::c_int,
            inPARDenominator: ::std::os::raw::c_int,
            inMemoryAlignment: ::std::os::raw::c_int,
            inSectorSize: ::std::os::raw::c_int,
            inOffsetToPixelDataFromFirstSectorStart: ::std::os::raw::c_int,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will create a new ppix.\n\n\t@param\toutPPixHand\t\t\t\t\t\tThe new ppix handle if the create was successfull. NULL otherwise.\n\t@param\tinRequestedAccess\t\t\t\tRequested pixel access. ReadOnly is not allowed (doesn't make sense).\n\t@param\tinPixelFormat\t\t\t\t\tThe pixel format of this ppix.\n\t@param\tinWidth\t\t\t\t\t\t\tThe horizontal size of the ppix.\n\t@param\tinHeight\t\t\t\t\t\tThe vertical size of the ppix.\n\t@param\tinUseFields\t\t\t\t\t\tIf true, the ppix is a field.\n\t@param\tinFieldNumber\t\t\t\t\tIf inUseFields is true, this specifies first field (0) or second (1)\n\t@param\tinPARNumerator\t\t\t\t\tThe pixel aspect ratio numerator for the ppix.\n\t@param\tinPARDenominator\t\t\t\tThe pixel aspect ratio denominator for the ppix.\n\t@param \tinColorSpaceID\t\t\t\t\topaque color space identifier; new video frame will be tagged with this color space"]
    pub CreateColorManagedPPix: ::std::option::Option<
        unsafe extern "C" fn(
            outPPixHand: *mut PPixHand,
            inRequestedAccess: PrPPixBufferAccess,
            inPixelFormat: PrPixelFormat,
            inWidth: ::std::os::raw::c_int,
            inHeight: ::std::os::raw::c_int,
            inUseFields: bool,
            inFieldNumber: ::std::os::raw::c_int,
            inPARNumerator: ::std::os::raw::c_int,
            inPARDenominator: ::std::os::raw::c_int,
            inColorSpaceID: PrSDKColorSpaceID,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will create a new ppix in a custom pixel format.\n\n\t@param\toutPPixHand\t\t\t\t\t\tThe new ppix handle if the create was successfull. NULL otherwise.\n\t@param\tinRequestedAccess\t\t\t\tRequested pixel access. ReadOnly is not allowed (doesn't make sense).\n\t@param\tinPixelFormat\t\t\t\t\tThe pixel format of this ppix.\n\t@param\tinWidth\t\t\t\t\t\t\tThe horizontal size of the ppix.\n\t@param\tinHeight\t\t\t\t\t\tThe vertical size of the ppix.\n\t@param\tinPARNumerator\t\t\t\t\tThe pixel aspect ratio numerator for the ppix.\n\t@param\tinPARDenominator\t\t\t\tThe pixel aspect ratio denominator for the ppix.\n\t@param\tinDataBufferSize\t\t\t\tThe number of bytes requested, not including the header.\n\t@param \tinColorSpaceID\t\t\t\t\topaque color space identifier; new video frame will be tagged with this color space"]
    pub CreateColorManagedCustomPPix: ::std::option::Option<
        unsafe extern "C" fn(
            outPPixHand: *mut PPixHand,
            inRequestedAccess: PrPPixBufferAccess,
            inPixelFormat: PrPixelFormat,
            inWidth: ::std::os::raw::c_int,
            inHeight: ::std::os::raw::c_int,
            inPARNumerator: ::std::os::raw::c_int,
            inPARDenominator: ::std::os::raw::c_int,
            inDataBufferSize: ::std::os::raw::c_int,
            inColorSpaceID: PrSDKColorSpaceID,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will create a new ppix properly aligned for reading from disk.\n\n\t@param\toutPPixHand\t\t\t\t\t\t\t\t\tThe new ppix handle if the create was successfull. NULL otherwise.\n\t@param\tinPixelFormat\t\t\t\t\t\t\t\tThe pixel format of this ppix.\n\t@param\tinWidth\t\t\t\t\t\t\t\t\t\tThe horizontal size of the ppix.\n\t@param\tinHeight\t\t\t\t\t\t\t\t\tThe vertical size of the ppix.\n\t@param\tinPARNumerator\t\t\t\t\t\t\t\tThe pixel aspect ratio numerator for the ppix.\n\t@param\tinPARDenominator\t\t\t\t\t\t\tThe pixel aspect ratio denominator for the ppix.\n\t@param\tinMemoryAlignment\t\t\t\t\t\t\tThe alignment of memory required for the start of the first sector.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tIf this value is zero, then we will align to the sector size.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tThis value must be a multiple of the pixel size or bad things will happen.\n\t@param\tinSectorSize\t\t\t\t\t\t\t\tThe size of a sector on disk. The required amount of memory will be padded\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tup to a multiple of the sector size. If this is zero, then there will be no padding.\n\t@param\tinOffsetToPixelDataFromFirstSectorStart\t\tThe number of bytes between the start of the first sector and the start\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tof the pixel data. The resulting pixel start location must be aligned to\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tthe pixel size.\n\t@param \tinColorSpaceID\t\t\t\t\t\t\t\topaque color space identifier; new video frame will be tagged with this color space"]
    pub CreateColorManagedDiskAlignedPPix: ::std::option::Option<
        unsafe extern "C" fn(
            outPPixHand: *mut PPixHand,
            inPixelFormat: PrPixelFormat,
            inWidth: ::std::os::raw::c_int,
            inHeight: ::std::os::raw::c_int,
            inPARNumerator: ::std::os::raw::c_int,
            inPARDenominator: ::std::os::raw::c_int,
            inMemoryAlignment: ::std::os::raw::c_int,
            inSectorSize: ::std::os::raw::c_int,
            inOffsetToPixelDataFromFirstSectorStart: ::std::os::raw::c_int,
            inColorSpaceID: PrSDKColorSpaceID,
        ) -> prSuiteError,
    >,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKPPixCreatorSuite {
    #[doc = "\tThis will create a new ppix.\n\n\t@param\toutPPixHand\t\t\t\t\t\tThe new ppix handle if the create was successfull. NULL otherwise.\n\t@param\tinRequestedAccess\t\t\t\tRequested pixel access. ReadOnly is not allowed (doesn't make sense).\n\t@param\tinPixelFormat\t\t\t\t\tThe pixel format of this ppix."]
    pub CreatePPix: ::std::option::Option<
        unsafe extern "C" fn(
            outPPixHand: *mut PPixHand,
            inRequestedAccess: PrPPixBufferAccess,
            inPixelFormat: PrPixelFormat,
            inBoundingRect: *const prRect,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will clone an existing ppix. It will ref-count the ppix if only read-access is requested and\n\t\tthe ppix to copy from is read-only as well, otherwise it will create a new one and copy.\n\n\t@param\tinPPixToClone\t\t\t\t\tThe ppix to clone from.\n\t@param\toutPPixHand\t\t\t\t\t\tThe new ppix handle if the create was successfull. NULL otherwise.\n\t@param\tinRequestedAccess\t\t\t\tRequested pixel access on the new ppix. (Only PrPPixBufferAccess_ReadOnly is allowed right now)."]
    pub ClonePPix: ::std::option::Option<
        unsafe extern "C" fn(
            inPPixToClone: PPixHand,
            outPPixHand: *mut PPixHand,
            inRequestedAccess: PrPPixBufferAccess,
        ) -> prSuiteError,
    >,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSceneTimebaseRec {
    pub scale: csSDK_uint32,
    pub sampleSize: csSDK_int32,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSceneRecord {
    pub startTime: csSDK_int32,
    pub duration: csSDK_int32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PrSceneMetaDataRec {
    pub timeBase: PrSceneTimebaseRec,
    pub scenes: [PrSceneRecord; 1usize],
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKSequenceInfoSuite {
    #[doc = "\tGet the video frame size of the sequence.\n\n\t@param\tinTimelineID\tthe timeline instance data\n\t@param\toutFrameRect\ton return, the size of the sequence video frame."]
    pub GetFrameRect: ::std::option::Option<
        unsafe extern "C" fn(inTimelineID: PrTimelineID, outFrameRect: *mut prRect) -> prSuiteError,
    >,
    #[doc = "\tGet the aspect ratio of the sequence.\n\n\t@param\tinTimelineID\tthe timeline instance data\n\t@param\toutNumerator\ton return, the aspect ratio numerator.\n\t@param\toutDenominator\ton return, the aspect ratio denominator."]
    pub GetPixelAspectRatio: ::std::option::Option<
        unsafe extern "C" fn(
            inTimelineID: PrTimelineID,
            outNumerator: *mut csSDK_uint32,
            outDenominator: *mut csSDK_uint32,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet the framerate of the sequence.\n\n\t@param\tinTimelineID\t\tthe timeline instance data\n\t@param\toutTicksPerFrame\tthe framerate in ticks."]
    pub GetFrameRate: ::std::option::Option<
        unsafe extern "C" fn(
            inTimelineID: PrTimelineID,
            outTicksPerFrame: *mut PrTime,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet the field type of the sequence.\n\n\t@param\tinTimelineID\t\tthe timeline instance data\n\t@param\toutFieldType\t\tthe field type."]
    pub GetFieldType: ::std::option::Option<
        unsafe extern "C" fn(
            inTimelineID: PrTimelineID,
            outFieldType: *mut prFieldType,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet the zero point of the sequence.\n\n\t@param\tinTimelineID\t\tthe timeline instance data\n\t@param\toutTicksPerFrame\tstart time of the sequence."]
    pub GetZeroPoint: ::std::option::Option<
        unsafe extern "C" fn(inTimelineID: PrTimelineID, outTime: *mut PrTime) -> prSuiteError,
    >,
    #[doc = "\tReturns if the sequence timecode is drop or non drop.\n\n\t@param\tinTimelineID\t\tthe timeline instance data\n\t@param\toutDropFrame\t\tif the sequence timecode is dropframe"]
    pub GetTimecodeDropFrame: ::std::option::Option<
        unsafe extern "C" fn(inTimelineID: PrTimelineID, outDropFrame: *mut prBool) -> prSuiteError,
    >,
    #[doc = "\tReturns if the sequence has the proxy flag set.\n\n\t@param\tinTimelineID\t\tthe timeline instance data\n\t@param\toutProxyFlag\t\tif the sequence is in proxy mode"]
    pub GetProxyFlag: ::std::option::Option<
        unsafe extern "C" fn(inTimelineID: PrTimelineID, outDropFrame: *mut prBool) -> prSuiteError,
    >,
    #[doc = "\tReturns the VR Video settings of the specified sequence.\n\n\t@param\tinTimelineID\t\t\t\tThe timeline instance data.\n\t@param\toutProjectionType\t\t\tThe type of projection the specified sequence is using.\n\t@param\toutFrameLayout\t\t\t\tThe type of frame layout the specified sequence is using.\n\t@param\toutHorizontalCapturedView\tHow many degrees of horizontal view is captured in the video stream (up to 360).\n\t@param\toutVerticalCapturedView\t\tHow many degrees of vertical view is captured in the video stream (up to 180)."]
    pub GetImmersiveVideoVRConfiguration: ::std::option::Option<
        unsafe extern "C" fn(
            inTimelineID: PrTimelineID,
            outProjectionType: *mut PrIVProjectionType,
            outFrameLayout: *mut PrIVFrameLayout,
            outHorizontalCapturedView: *mut csSDK_uint32,
            outVerticalCapturedView: *mut csSDK_uint32,
        ) -> prSuiteError,
    >,
    #[doc = " Returns the identifier of the sequence working color space\n\n\t@param\tinTimelineID\t\t\t\tThe timeline instance data.\n\t@param\toutPrWorkingColorSpaceID\tPrSDKColorSpaceID with working color space identifier\n"]
    pub GetWorkingColorSpace: ::std::option::Option<
        unsafe extern "C" fn(
            inTimelineID: PrTimelineID,
            outPrWorkingColorSpaceID: *mut PrSDKColorSpaceID,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet the HDR graphics white luminance value of the sequence in nits.\n\n\t@param\tinTimelineID\tthe timeline instance data\n\t@param\toutGraphicsWhiteLuminance\ton return, HDR graphics white luminance value of the sequence in nits."]
    pub GetGraphicsWhiteLuminance: ::std::option::Option<
        unsafe extern "C" fn(
            inTimelineID: PrTimelineID,
            outGraphicsWhiteLuminance: *mut csSDK_uint32,
        ) -> prSuiteError,
    >,
}
pub type PrSDKStreamLabel = *const ::std::os::raw::c_char;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct SequenceRender_FrameInfoRec {
    pub repeatCount: csSDK_int32,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct SequenceRender_GetFrameReturnRec {
    pub asyncCompletionData: *mut ::std::os::raw::c_void,
    pub returnVal: csSDK_int32,
    pub repeatCount: csSDK_int32,
    pub onMarker: csSDK_int32,
    pub outFrame: PPixHand,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct SequenceRender_ParamsRec {
    pub inRequestedPixelFormatArray: *const PrPixelFormat,
    pub inRequestedPixelFormatArrayCount: csSDK_int32,
    pub inWidth: csSDK_int32,
    pub inHeight: csSDK_int32,
    pub inPixelAspectRatioNumerator: csSDK_int32,
    pub inPixelAspectRatioDenominator: csSDK_int32,
    pub inRenderQuality: PrRenderQuality,
    pub inFieldType: prFieldType,
    pub inDeinterlace: csSDK_int32,
    pub inDeinterlaceQuality: PrRenderQuality,
    pub inCompositeOnBlack: csSDK_int32,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct SequenceRender_ParamsRecExt {
    pub inRequestedPixelFormatArray: *const PrPixelFormat,
    pub inRequestedPixelFormatArrayCount: csSDK_int32,
    pub inWidth: csSDK_int32,
    pub inHeight: csSDK_int32,
    pub inPixelAspectRatioNumerator: csSDK_int32,
    pub inPixelAspectRatioDenominator: csSDK_int32,
    pub inRenderQuality: PrRenderQuality,
    pub inFieldType: prFieldType,
    pub inDeinterlace: csSDK_int32,
    pub inDeinterlaceQuality: PrRenderQuality,
    pub inCompositeOnBlack: csSDK_int32,
    pub inPrSDKColorSpaceID: PrSDKColorSpaceID,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct SequenceRender_ParamsRecExt2 {
    pub inRequestedPixelFormatArray: *const PrPixelFormat,
    pub inRequestedPixelFormatArrayCount: csSDK_int32,
    pub inWidth: csSDK_int32,
    pub inHeight: csSDK_int32,
    pub inPixelAspectRatioNumerator: csSDK_int32,
    pub inPixelAspectRatioDenominator: csSDK_int32,
    pub inRenderQuality: PrRenderQuality,
    pub inFieldType: prFieldType,
    pub inDeinterlace: csSDK_int32,
    pub inDeinterlaceQuality: PrRenderQuality,
    pub inCompositeOnBlack: csSDK_int32,
    pub inPrSDKColorSpaceID: PrSDKColorSpaceID,
    pub inPrSDKLUTID: PrSDKLUTID,
}
pub type PrSDKSequenceAsyncRenderCompletionProc = ::std::option::Option<
    unsafe extern "C" fn(
        inVideoRenderID: csSDK_uint32,
        inCallbackRef: *mut ::std::os::raw::c_void,
        inTime: PrTime,
        inRenderedFrame: PPixHand,
        inGetFrameReturn: *mut SequenceRender_GetFrameReturnRec,
    ),
>;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKSequenceRenderSuite {
    pub MakeVideoRenderer: ::std::option::Option<
        unsafe extern "C" fn(
            pluginID: csSDK_uint32,
            outVideoRenderID: *mut csSDK_uint32,
            inFrameRate: PrTime,
        ) -> prSuiteError,
    >,
    pub ReleaseVideoRenderer: ::std::option::Option<
        unsafe extern "C" fn(pluginID: csSDK_uint32, inVideoRenderID: csSDK_uint32) -> prSuiteError,
    >,
    pub RenderVideoFrame: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inTime: PrTime,
            inRenderParams: *mut SequenceRender_ParamsRec,
            inCacheFlags: PrRenderCacheType,
            getFrameReturn: *mut SequenceRender_GetFrameReturnRec,
        ) -> prSuiteError,
    >,
    pub QueueAsyncVideoFrameRender: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inTime: PrTime,
            outRequestID: *mut csSDK_uint32,
            inRenderParams: *mut SequenceRender_ParamsRec,
            inCacheFlags: PrRenderCacheType,
            inAsyncCompletionData: *mut ::std::os::raw::c_void,
        ) -> prSuiteError,
    >,
    pub SetAsyncRenderCompletionProc: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            asyncGetFrameCallback: PrSDKSequenceAsyncRenderCompletionProc,
            callbackRef: *mut ::std::os::raw::c_void,
        ) -> prSuiteError,
    >,
    pub GetFrameInfo: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inTime: PrTime,
            outFrameInfo: *mut SequenceRender_FrameInfoRec,
        ) -> prSuiteError,
    >,
    #[doc = "\tPre-fetches the media needed to render this frame.\n\tThis is a hint to the importers to begin reading media needed to render this video frame.\n\n\t@param\tinFrame\t\t\t\t\t\t\t\tThe video frame number."]
    pub PrefetchMedia: ::std::option::Option<
        unsafe extern "C" fn(inVideoRenderID: csSDK_uint32, inFrame: PrTime) -> prSuiteError,
    >,
    #[doc = "\tPre-fetches the media needed to render this frame, using all of the parameters used to render the frame.\n\tThis is a hint to the importers to begin reading media needed to render this video frame.\n\n\t@param\tinFrameTime\t\t\t\t\t\t\tThe time of the video frame number.\n\n\t@param\tinRequestedPixelFormatArray\t\t\tAn array of PrPixelFormats that list your format preferences in order.\n\t\t\t\t\t\t\t\t\t\t\t\tThis list must end with PrPixelFormat_BGRA_4444_8u.\n\t@param\tinRequestedPixelFormatArrayCount\tNumber of formats in the format array\n\t@param\tinFrameRect\t\t\t\t\t\t\tVideo frame size\n\t@param\tinPixelAspectRatioNumerator\t\t\tThe numerator for the pixel aspect ratio.\n\t@param\tinPixelAspectRatioDenominator\t\tThe denominator for the pixel aspect ratio.\n\t@param\tinRenderQuality\t\t\t\t\t\tThe render quality of this frame."]
    pub PrefetchMediaWithRenderParameters: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inTime: PrTime,
            inRenderParams: *mut SequenceRender_ParamsRec,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will cancel all media pre-fetches that are still outstanding."]
    pub CancelAllOutstandingMediaPrefetches:
        ::std::option::Option<unsafe extern "C" fn(inVideoRenderID: csSDK_uint32) -> prSuiteError>,
    #[doc = "\tIs all the prefetched media ready?"]
    pub IsPrefetchedMediaReady: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inTime: PrTime,
            outMediaReady: *mut prBool,
        ) -> prSuiteError,
    >,
    pub MakeVideoRendererForTimeline: ::std::option::Option<
        unsafe extern "C" fn(
            inTimeline: PrTimelineID,
            outVideoRendererID: *mut csSDK_uint32,
        ) -> prSuiteError,
    >,
    pub MakeVideoRendererForTimelineWithFrameRate: ::std::option::Option<
        unsafe extern "C" fn(
            inTimeline: PrTimelineID,
            inFrameRate: PrTime,
            outVideoRendererID: *mut csSDK_uint32,
        ) -> prSuiteError,
    >,
    pub ReleaseVideoRendererForTimeline: ::std::option::Option<
        unsafe extern "C" fn(inVideoRendererID: csSDK_uint32) -> prSuiteError,
    >,
    pub RenderVideoFrameAndConformToPixelFormat: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inTime: PrTime,
            inRenderParams: *mut SequenceRender_ParamsRec,
            inCacheFlags: PrRenderCacheType,
            inConformToFormat: PrPixelFormat,
            getFrameReturn: *mut SequenceRender_GetFrameReturnRec,
        ) -> prSuiteError,
    >,
    pub MakeVideoRendererForTimelineWithStreamLabel: ::std::option::Option<
        unsafe extern "C" fn(
            inTimeline: PrTimelineID,
            inStreamLabel: PrSDKStreamLabel,
            outVideoRendererID: *mut csSDK_uint32,
        ) -> prSuiteError,
    >,
    pub RenderColorManagedVideoFrame: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inTime: PrTime,
            inRenderParamsExt: *mut SequenceRender_ParamsRecExt,
            inCacheFlags: PrRenderCacheType,
            getFrameReturn: *mut SequenceRender_GetFrameReturnRec,
        ) -> prSuiteError,
    >,
    pub QueueAsyncColorManagedVideoFrameRender: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inTime: PrTime,
            outRequestID: *mut csSDK_uint32,
            inRenderParamsExt: *mut SequenceRender_ParamsRecExt,
            inCacheFlags: PrRenderCacheType,
            inAsyncCompletionData: *mut ::std::os::raw::c_void,
        ) -> prSuiteError,
    >,
    pub PrefetchColorManagedMedia: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inFrame: PrTime,
            inPrSDKColorSpaceID: PrSDKColorSpaceID,
        ) -> prSuiteError,
    >,
    pub PrefetchColorManagedMediaWithRenderParameters: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inTime: PrTime,
            inRenderParamsExt: *mut SequenceRender_ParamsRecExt,
        ) -> prSuiteError,
    >,
    pub RenderColorManagedVideoFrameAndConformToPixelFormat: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inTime: PrTime,
            inRenderParamsExt: *mut SequenceRender_ParamsRecExt,
            inCacheFlags: PrRenderCacheType,
            inConformToFormat: PrPixelFormat,
            getFrameReturn: *mut SequenceRender_GetFrameReturnRec,
        ) -> prSuiteError,
    >,
    pub RenderColorManagedVideoFrame2: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inTime: PrTime,
            inRenderParamsExt2: *mut SequenceRender_ParamsRecExt2,
            inCacheFlags: PrRenderCacheType,
            outGetFrameReturn: *mut SequenceRender_GetFrameReturnRec,
        ) -> prSuiteError,
    >,
    pub QueueAsyncColorManagedVideoFrameRender2: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inTime: PrTime,
            outRequestID: *mut csSDK_uint32,
            inRenderParamsExt2: *mut SequenceRender_ParamsRecExt2,
            inCacheFlags: PrRenderCacheType,
            inAsyncCompletionData: *mut ::std::os::raw::c_void,
        ) -> prSuiteError,
    >,
    pub PrefetchColorManagedMediaWithRenderParameters2: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inTime: PrTime,
            inRenderParamsExt2: *mut SequenceRender_ParamsRecExt2,
        ) -> prSuiteError,
    >,
    pub RenderColorManagedVideoFrameAndConformToPixelFormat2: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoRenderID: csSDK_uint32,
            inTime: PrTime,
            inRenderParamsExt2: *mut SequenceRender_ParamsRecExt2,
            inCacheFlags: PrRenderCacheType,
            inConformToFormat: PrPixelFormat,
            outGetFrameReturn: *mut SequenceRender_GetFrameReturnRec,
        ) -> prSuiteError,
    >,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrClipSegmentInfo {
    pub mClipID: csSDK_int32,
    pub mSegmentStartTime: csSDK_int64,
    pub mSegmentEndTime: csSDK_int64,
    pub mSegmentOffset: csSDK_int64,
    pub mClipStartTime: csSDK_int64,
    pub mClipEndTime: csSDK_int64,
    pub mClipPath: PrSDKString,
    pub mMediaStartTime: csSDK_int64,
    pub mMediaEndTime: csSDK_int64,
}
pub type SegmentInfoCallback = ::std::option::Option<
    unsafe extern "C" fn(
        inCallbackData: *mut ::std::os::raw::c_void,
        inClipSegmentInfo: *mut PrClipSegmentInfo,
    ),
>;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKSmartRenderingSuite {
    pub BuildSmartRenderSegmentList: ::std::option::Option<
        unsafe extern "C" fn(
            inCallbackFunc: SegmentInfoCallback,
            inCallbackData: *mut ::std::os::raw::c_void,
            inSegmentsID: csSDK_int32,
            inTimeBase: PrTime,
            inPixelFormat: PrPixelFormat,
        ) -> prSuiteError,
    >,
    pub BuildSmartRenderSegmentListNoPreviewFiles: ::std::option::Option<
        unsafe extern "C" fn(
            inCallbackFunc: SegmentInfoCallback,
            inCallbackData: *mut ::std::os::raw::c_void,
            inSegmentsID: csSDK_int32,
            inTimeBase: PrTime,
            inPixelFormat: PrPixelFormat,
        ) -> prSuiteError,
    >,
    pub BuildAncillaryDataSegmentMap: ::std::option::Option<
        unsafe extern "C" fn(
            inCallbackFunc: SegmentInfoCallback,
            inCallbackData: *mut ::std::os::raw::c_void,
            inVideoSegmentsID: csSDK_int32,
            inTimeBase: PrTime,
            inPixelFormat: PrPixelFormat,
        ) -> prSuiteError,
    >,
    pub BuildColorManagedSmartRenderSegmentList: ::std::option::Option<
        unsafe extern "C" fn(
            inCallbackFunc: SegmentInfoCallback,
            inCallbackData: *mut ::std::os::raw::c_void,
            inSegmentsID: csSDK_int32,
            inTimeBase: PrTime,
            inPixelFormat: PrPixelFormat,
            inColorSpaceID: PrSDKColorSpaceID,
        ) -> prSuiteError,
    >,
    pub BuildColorManagedSmartRenderSegmentListNoPreviewFiles: ::std::option::Option<
        unsafe extern "C" fn(
            inCallbackFunc: SegmentInfoCallback,
            inCallbackData: *mut ::std::os::raw::c_void,
            inSegmentsID: csSDK_int32,
            inTimeBase: PrTime,
            inPixelFormat: PrPixelFormat,
            inColorSpaceID: PrSDKColorSpaceID,
        ) -> prSuiteError,
    >,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKStringSuite {
    #[doc = "\tThis will dispose of an SDKString. It is OK to pass in an empty string.\n\n\t@param\tinSDKString\t\t\t\tthe string to dispose of\n\n\t@return suiteError_StringNotFound\tthis string has not been allocated, or may have already been disposed\n\t@return suiteError_InvalidParms\t\tone of the params is invalid"]
    pub DisposeString: ::std::option::Option<
        unsafe extern "C" fn(inSDKString: *const PrSDKString) -> prSuiteError,
    >,
    #[doc = "\tThis will allocate an SDKString from a passed in null terminated string.\n\n\t@param\tinUTF8String\t\t\tnull terminated UTF8 string to copy into the SDK string\n\t@param\tioSDKString\t\t\t\tthis passed in SDK string will receive the new allocated string\n\t\t\t\t\t\t\t\t\t\t- you must dispose of this sdk string\n\n\t@return suiteError_StringNotFound\tthis string has not been allocated, or may have already been disposed\n\t@return suiteError_InvalidParms\t\tone of the params is invalid"]
    pub AllocateFromUTF8: ::std::option::Option<
        unsafe extern "C" fn(
            inUTF8String: *const prUTF8Char,
            outSDKString: *mut PrSDKString,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will copy an SDKString into a UTF8 null terminated string if ioUTF8StringBufferByteCount reports enough bytes in\n\t\tthe string buffer to copy. If there are not enough bytes - suiteError_StringBufferTooSmall will be returned\n\t\tand ioUTF8StringBufferByteCount will contain the number of bytes needed to hold the string.\n\n\t@param\toutUTF8StringBuffer\t\t\t\t\tBuffer where UTF8 string will be stored\n\t@param\tioUTF8StringBufferSizeInElements\tPass in the size, in elements, of outUTF8StringStorage. Returns the number of elements copied.  Includes terminating 0.\n\n\t@return suiteError_InvalidParms\t\t\tOne of the params is invalid\n\t@return suiteError_StringBufferTooSmall\tThe passed in string buffer is too small. ioUTF8StringBufferByteCount will contain the number of bytes needed to copy this string.\n\t@return suiteError_NoError\t\t\t\tThe string has been copied. ioUTF8StringBufferByteCount contains the number of bytes copied."]
    pub CopyToUTF8String: ::std::option::Option<
        unsafe extern "C" fn(
            inSDKString: *const PrSDKString,
            outUTF8StringBuffer: *mut prUTF8Char,
            ioUTF8StringBufferSizeInElements: *mut csSDK_uint32,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will allocate an SDKString from a passed in null terminated string.\n\n\t@param\tinUTF16String\t\t\tnull terminated UTF16 string to copy into the SDK string\n\t@param\tioSDKString\t\t\t\tthis passed in SDK string will receive the new allocated string\n\t\t\t\t\t\t\t\t\t\t- you must dispose of this sdk string\n\n\t@return suiteError_StringNotFound\tthis string has not been allocated, or may have already been disposed\n\t@return suiteError_InvalidParms\t\tone of the params is invalid"]
    pub AllocateFromUTF16: ::std::option::Option<
        unsafe extern "C" fn(
            inUTF16String: *const prUTF16Char,
            outSDKString: *mut PrSDKString,
        ) -> prSuiteError,
    >,
    #[doc = "\tThis will copy an SDKString into a UTF16 null terminated string if ioUTF16StringBufferByteCount reports enough bytes in\n\t\tthe string buffer to copy. If there are not enough bytes - suiteError_StringBufferTooSmall will be returned\n\t\tand ioUTF16StringBufferByteCount will contain the number of bytes needed to hold the string.\n\n\t@param\toutUTF16StringBuffer\t\t\t\tBuffer where UTF16 string will be stored\n\t@param\tioUTF16StringBufferSizeInElements\tPass in the size, in elements, of outUTF16StringStorage. Returns the number of elements copied.  Includes terminating 0.\n\n\t@return suiteError_InvalidParms\t\t\tOne of the params is invalid\n\t@return suiteError_StringBufferTooSmall\tThe passed in string buffer is too small. ioUTF16StringBufferByteCount will contain the number of bytes needed to copy this string.\n\t@return suiteError_NoError\t\t\t\tThe string has been copied. ioUTF16StringBufferByteCount contains the number of bytes copied."]
    pub CopyToUTF16String: ::std::option::Option<
        unsafe extern "C" fn(
            inSDKString: *const PrSDKString,
            outUTF16StringBuffer: *mut prUTF16Char,
            ioUTF16StringBufferSizeInElements: *mut csSDK_uint32,
        ) -> prSuiteError,
    >,
}
pub type ThreadedWorkCallback =
    ::std::option::Option<unsafe extern "C" fn(inInstanceData: *mut ::std::os::raw::c_void)>;
pub type ThreadedWorkCallbackVersion3 = ::std::option::Option<
    unsafe extern "C" fn(
        inInstanceData: *mut ::std::os::raw::c_void,
        inPluginID: csSDK_int32,
        inStatus: prSuiteError,
    ),
>;
pub type ThreadedWorkRegistration = *mut ::std::os::raw::c_void;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKThreadedWorkSuiteVersion2 {
    pub RegisterForThreadedWork: ::std::option::Option<
        unsafe extern "C" fn(
            inCallback: ThreadedWorkCallback,
            inInstanceData: *mut ::std::os::raw::c_void,
            outRegistrationData: *mut ThreadedWorkRegistration,
        ) -> prSuiteError,
    >,
    pub QueueThreadedWork: ::std::option::Option<
        unsafe extern "C" fn(inRegistrationData: ThreadedWorkRegistration) -> prSuiteError,
    >,
    pub UnregisterForThreadedWork: ::std::option::Option<
        unsafe extern "C" fn(inRegistrationData: ThreadedWorkRegistration) -> prSuiteError,
    >,
    pub RegisterForSingleThreadedWork: ::std::option::Option<
        unsafe extern "C" fn(
            inCallback: ThreadedWorkCallback,
            inInstanceData: *mut ::std::os::raw::c_void,
            outRegistrationData: *mut ThreadedWorkRegistration,
        ) -> prSuiteError,
    >,
}
#[doc = "\tThe following typedef is provided for short-term backwards compatibility only.\n\tClients should prefer the explicit versioned struct name."]
pub type PrSDKThreadedWorkSuite = PrSDKThreadedWorkSuiteVersion2;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKThreadedWorkSuiteVersion3 {
    pub RegisterForThreadedWork: ::std::option::Option<
        unsafe extern "C" fn(
            inCallback: ThreadedWorkCallbackVersion3,
            inInstanceData: *mut ::std::os::raw::c_void,
            outRegistrationData: *mut ThreadedWorkRegistration,
        ) -> prSuiteError,
    >,
    pub QueueThreadedWork: ::std::option::Option<
        unsafe extern "C" fn(
            inRegistrationData: ThreadedWorkRegistration,
            inPluginID: csSDK_int32,
        ) -> prSuiteError,
    >,
    pub UnregisterForThreadedWork: ::std::option::Option<
        unsafe extern "C" fn(inRegistrationData: ThreadedWorkRegistration) -> prSuiteError,
    >,
    pub RegisterForSingleThreadedWork: ::std::option::Option<
        unsafe extern "C" fn(
            inCallback: ThreadedWorkCallbackVersion3,
            inInstanceData: *mut ::std::os::raw::c_void,
            outRegistrationData: *mut ThreadedWorkRegistration,
        ) -> prSuiteError,
    >,
}
pub const PrNodeInfoFlag_kPrNodeInfoFlag_IsCompletelyOpaque: PrNodeInfoFlag = 1;
pub const PrNodeInfoFlag_kPrNodeInfoFlag_IsCompletelyTransparent: PrNodeInfoFlag = 2;
pub const PrNodeInfoFlag_kPrNodeInfoFlag_DoesNotDependOnSequenceTime: PrNodeInfoFlag = 4;
pub const PrNodeInfoFlag_kPrNodeInfoFlag_NodeDoesNotDependOnSegmentTime: PrNodeInfoFlag = 8;
pub const PrNodeInfoFlag_kPrNodeInfoFlag_NodeDoesNotDependOnClipInOutTime: PrNodeInfoFlag = 16;
pub const PrNodeInfoFlag_kPrNodeInfoFlag_IsNOP: PrNodeInfoFlag = 32;
pub const PrNodeInfoFlag_kPrNodeInfoFlag_NodeDoesNotDependOnTrackInputs: PrNodeInfoFlag = 64;
pub const PrNodeInfoFlag_kPrNodeInfoFlag_IsAdjustment: PrNodeInfoFlag = 128;
pub const PrNodeInfoFlag_kPrNodeInfoFlag_MaxSize: PrNodeInfoFlag = 4294967295;
pub type PrNodeInfoFlag = ::std::os::raw::c_uint;
pub const kMaxNodeTypeStringSize: ::std::os::raw::c_int = 256;
pub const PrKeyframeInterpolationModeFlag_kPrInterpolationModeFlag_Linear:
    PrKeyframeInterpolationModeFlag = 0;
pub const PrKeyframeInterpolationModeFlag_kPrInterpolationModeFlag_Hold:
    PrKeyframeInterpolationModeFlag = 4;
pub const PrKeyframeInterpolationModeFlag_kPrInterpolationModeFlag_Bezier:
    PrKeyframeInterpolationModeFlag = 5;
pub const PrKeyframeInterpolationModeFlag_kPrInterpolationModeFlag_Time:
    PrKeyframeInterpolationModeFlag = 6;
pub const PrKeyframeInterpolationModeFlag_kPrInterpolationModeFlag_TimeTransitionStart:
    PrKeyframeInterpolationModeFlag = 7;
pub const PrKeyframeInterpolationModeFlag_kPrInterpolationModeFlag_TimeTransitionEnd:
    PrKeyframeInterpolationModeFlag = 8;
pub const PrKeyframeInterpolationModeFlag_kPrInterpolationModeFlag_MaxSize:
    PrKeyframeInterpolationModeFlag = 4294967295;
pub type PrKeyframeInterpolationModeFlag = ::std::os::raw::c_uint;
pub const PrNodeScalePolicy_kPrNodeScalePolicy_None: PrNodeScalePolicy = 0;
pub const PrNodeScalePolicy_kPrNodeScalePolicy_ScaleToFrame: PrNodeScalePolicy = 1;
pub const PrNodeScalePolicy_kPrNodeScalePolicy_ScaleToFillCrop: PrNodeScalePolicy = 2;
pub const PrNodeScalePolicy_kPrNodeScalePolicy_ScaleToFillDistort: PrNodeScalePolicy = 3;
pub type PrNodeScalePolicy = ::std::os::raw::c_uint;
#[doc = "\tThis callback function is used by the property query methods. Iteration can be cancelled at\n\tany time by returning a result other than malNoError.\n\n\t@param\tinPluginObject\t\t\tA value (such as \"this\") passed by the plugin in the original call\n\t\t\t\t\t\t\t\t\tand passed back in the callback. May be NULL.\n\t@param\tinKey\t\t\t\t\tThe key for the property\n\t@param\tinValue\t\t\t\t\tThe value for the property"]
pub type SegmentNodePropertyCallback = ::std::option::Option<
    unsafe extern "C" fn(
        inPluginObject: csSDK_int32,
        inKey: *const ::std::os::raw::c_char,
        inValue: *const prUTF8Char,
    ) -> prSuiteError,
>;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKVideoSegmentSuite {
    #[doc = "\tFrom a sequence, get an ID to its video segments ID. This is a ref-counted\n\tobject, and must be released when no longer needed.\n\n\t@param\tinTimelineID\t\tThe plugin timeline ID for the sequence\n\t@param\toutVideoSegmentsID\tReceives the ID for the Video Segments"]
    pub AcquireVideoSegmentsID: ::std::option::Option<
        unsafe extern "C" fn(
            inTimelineData: PrTimelineID,
            outVideoSegmentsID: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tFrom a sequence, get an ID to its video segments ID with preview files substituted. This is a ref-counted\n\tobject, and must be released when no longer needed.\n\n\t@param\tinTimelineID\t\tThe plugin timeline ID for the sequence\n\t@param\toutVideoSegmentsID\tReceives the ID for the Video Segments with Previews."]
    pub AcquireVideoSegmentsWithPreviewsID: ::std::option::Option<
        unsafe extern "C" fn(
            inTimelineData: PrTimelineID,
            outVideoSegmentsID: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tFrom a sequence, get an ID to its video segments ID with preview files substituted, but only previews\n\tfor sections that are opaque. This is appropriate for use when using previews for nested sequences. This is a ref-counted\n\tobject, and must be released when no longer needed.\n\n\t@param\tinTimelineID\t\tThe plugin timeline ID for the sequence\n\t@param\toutVideoSegmentsID\tRecevies the ID for the Video Segments with Previews."]
    pub AcquireVideoSegmentsWithOpaquePreviewsID: ::std::option::Option<
        unsafe extern "C" fn(
            inTimelineData: PrTimelineID,
            outVideoSegmentsID: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tRelease a Video Segments ID\n\n\t@param\tinVideoSegmentsID\tThe Video Segments ID to release"]
    pub ReleaseVideoSegmentsID:
        ::std::option::Option<unsafe extern "C" fn(inVideoSegmentsID: csSDK_int32) -> prSuiteError>,
    #[doc = "\tGet the hash of a Video Segments object\n\n\t@param\tinVideoSegmentsID\tThe Video Segments ID\n\t@param\toutHash\t\t\t\tThe GUID hash of the segments"]
    pub GetHash: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoSegmentsID: csSDK_int32,
            outHash: *mut prPluginID,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet the number of segments in the segments object\n\n\t@param\tinVideoSegmentsID\tThe Video Segments ID\n\t@param\toutNumSegments\t\tThe number of segments"]
    pub GetSegmentCount: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoSegmentsID: csSDK_int32,
            outNumSegments: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet the details of the Nth Node.\n\n\t@param\tinVideoSegmentsID\tThe Video Segments ID\n\t@param\tinIndex\t\t\t\tWhich segment?\n\t@param\toutStartTime\t\tThe start time of the segment\n\t@param\toutEndTime\t\t\tThe end time of the segment\n\t@param\toutSegmentOffset\tThe offset value for the segment\n\t@param\toutHash\t\t\t\tThe hash for the segment"]
    pub GetSegmentInfo: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoSegmentsID: csSDK_int32,
            inIndex: csSDK_int32,
            outStartTime: *mut PrTime,
            outEndTime: *mut PrTime,
            outSegmentOffset: *mut PrTime,
            outHash: *mut prPluginID,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet a segment node. This object is ref-counted and must be released.\n\n\t@param\tinVideoSegmentsID\tThe Video Segments ID\n\t@param\tinHash\t\t\t\tThe hash for the segment\n\t@param\toutVideoNodeID\t\tThe video node ID."]
    pub AcquireNodeID: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoSegmentsID: csSDK_int32,
            inHash: *mut prPluginID,
            outVideoNodeID: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tRelease a Video Node ID\n\n\t@param\tinVideoNodeID\t\tThe Video Node ID to release"]
    pub ReleaseVideoNodeID:
        ::std::option::Option<unsafe extern "C" fn(inVideoNodeID: csSDK_int32) -> prSuiteError>,
    #[doc = "\tGet details about a node.\n\n\t@param\tinVideoNodeID\t\tThe Video Node ID\n\t@param\toutNodeType\t\t\tA string of size kMaxNodeTypeStringSize holding the node type\n\t@param\toutHash\t\t\t\tThe hash for the node (may be different than the hash used to get the node)\n\t@param\toutInfoFlags\t\tThe flags for this node (see enum above)"]
    pub GetNodeInfo: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            outNodeType: *mut ::std::os::raw::c_char,
            outHash: *mut prPluginID,
            outFlags: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet the number of inputs on the node object\n\n\t@param\tinVideoNodeID\t\tThe Video Node ID\n\t@param\toutNumInputs\t\tThe number of inputs"]
    pub GetNodeInputCount: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            outNumInputs: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet a segment node that is an input to another node. This object is ref-counted and must be released.\n\n\t@param\tinVideoNodeID\t\tThe Video Node ID\n\t@param\tinIndex\t\t\t\tThe index of the input\n\t@param\toutOffset\t\t\tThe time offset relative to it's parent node\n\t@param\toutInputVideoNodeID\tThe video node ID of the input node."]
    pub AcquireInputNodeID: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            inIndex: csSDK_int32,
            outOffset: *mut PrTime,
            outInputVideoNodeID: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet the number of inputs on the node object\n\n\t@param\tinVideoNodeID\t\tThe Video Node ID\n\t@param\toutNumOperators\t\tThe number of operators"]
    pub GetNodeOperatorCount: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            outNumOperators: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet a segment node that is an operator on another node. This object is ref-counted and must be released.\n\n\t@param\tinVideoNodeID\t\tThe Video Node ID\n\t@param\tinIndex\t\t\t\tThe index of the operator\n\t@param\toutOperatorVideoNodeID\tThe video node ID of the input node."]
    pub AcquireOperatorNodeID: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            inIndex: csSDK_int32,
            outOperatorVideoNodeID: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tIterate all of the properties on a node.\n\n\t@param\tinVideoNodeID\t\tThe Video Node ID\n\t@param\tinCallback\t\t\tThe callback function to return the properties\n\t@param\tinPluginObject\t\tThe plugin object returned in the callback."]
    pub IterateNodeProperties: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            inCallback: SegmentNodePropertyCallback,
            inPluginObject: csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet the value of a single property on a node\n\n\t@param\tinVideoNodeID\t\tThe Video Node ID\n\t@param\tinKey\t\t\t\tThe key of the property\n\t@param\toutValue\t\t\tA string holding the value. This UTF8 string is allocated using PrNewPtr,\n\t\t\t\t\t\t\t\tand ownership is transferred to the plugin and must be disposed\n\t\t\t\t\t\t\t\tby the plugin."]
    pub GetNodeProperty: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            inKey: *const ::std::os::raw::c_char,
            outValue: *mut PrMemoryPtr,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet the number of params\n\n\t@param\tinVideoNodeID\t\tThe Video Node ID\n\t@param\toutParamCount\t\tThe number of params"]
    pub GetParamCount: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            outParamCount: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet a specific param value at a specific time\n\n\t@param\tinVideoNodeID\t\tThe Video Node ID\n\t@param\tinIndex\t\t\t\tThe index of the param\n\t@param\tinTime\t\t\t\tThe time requested (in Media time)\n\t@param\toutParam\t\t\tThe param"]
    pub GetParam: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            inIndex: csSDK_int32,
            inTime: PrTime,
            outParam: *mut PrParam,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet the next keyframe time after the specified time.\n\n\tExample: Keyframes at 0 and 10\n\tinTime = -1, outKeyframeTime = 0\n\tinTime = 0, outKeyframeTime = 10\n\tinTime = 9, outKeyframeTime = 10\n\tinTime = 10, returns suiteError_NoKeyframeAfterInTime\n\n\t@param\tinVideoNodeID\t\tThe Video Node ID\n\t@param\tinIndex\t\t\t\tThe index of the param\n\t@param\tinTime\t\t\t\tThe lower bound time\n\t@param\toutKeyframeTime\t\tThe time of the next keyframe > inTime\n\t@param\toutKeyframeInterpolationMode\tThe temporal interpolation mode of the keyframe, see\n\t\t\t\t\t\t\t\t\t\t\tthe enum for PrKeyframeInterpolationModeFlag above"]
    pub GetNextKeyframeTime: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            inIndex: csSDK_int32,
            inTime: PrTime,
            outKeyframeTime: *mut PrTime,
            outKeyframeInterpolationMode: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tTransform a node local time into a time appropriate for node inputs and\n\toperators. When used on the clip node, for instance, this will take into\n\taccount speed change, reverse, time remapping and return a time value\n\twhich can be used in the Media and Effect nodes.\n\tIf the node does not have a time transform, function will not fail but\n\twill return in input time in the output."]
    pub TransformNodeTime: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            inTime: PrTime,
            outTime: *mut PrTime,
        ) -> prSuiteError,
    >,
    #[doc = "\tRetrieve general properties of a sequence (video segments). I.e. width/height, par and framerate.\n\n\t@param\tinTimelineID\t\t\t\t\tThe plugin timeline ID for the sequence\n\t@param\toutWidth\t\t\t\t\t\tReceives width of the sequence\n\t@param\toutHeight\t\t\t\t\t\tReceives height of the sequence\n\t@param\toutPixelAspectRatioNumerator\tReceives the pixel aspect ratio numerator of the sequence\n\t@param\toutPixelAspectRatioDenominator\tReceives the pixel aspect ratio denominator of the sequence\n\t@param\toutFrameRateNumerator\t\t\tReceives the frame rate numerator of the sequence\n\t@param\toutFrameRateDenominator\t\t\tReceives the frame rate denominator of the sequence"]
    pub GetVideoSegmentsProperties: ::std::option::Option<
        unsafe extern "C" fn(
            inTimelineData: PrTimelineID,
            outBounds: *mut prRect,
            outPixelAspectRatioNumerator: *mut csSDK_int32,
            outPixelAspectRatioDenominator: *mut csSDK_int32,
            outFrameRate: *mut PrTime,
            outFieldType: *mut prFieldType,
        ) -> prSuiteError,
    >,
    #[doc = "\tFrom a sequence, get a segment node for a requested time. This is a ref-counted\n\tobject, and must be released when no longer needed.\n\n\t@param\tinVideoSegmentsID\tThe Video Segments ID\n\t@param\tinTime\t\t\t\tRequested segment time\n\t@param\toutVideoNodeID\t\tThe video node ID\n\t@param\toutSegmentOffset\tOffset of retrieved segment"]
    pub AcquireNodeForTime: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoSegmentsID: csSDK_int32,
            inTime: PrTime,
            outVideoNodeID: *mut csSDK_int32,
            outSegmentOffset: *mut PrTime,
        ) -> prSuiteError,
    >,
    #[doc = "\tFrom a sequence, get an ID to its video segments ID. This is a ref-counted\n\tobject, and must be released when no longer needed.\n\n\t@param\tinTimelineID\t\tThe plugin timeline ID for the sequence\n\t@param\toutVideoSegmentsID\tReceives the ID for the Video Segments"]
    pub AcquireVideoSegmentsIDWithStreamLabel: ::std::option::Option<
        unsafe extern "C" fn(
            inTimelineData: PrTimelineID,
            inStreamLabel: PrSDKStreamLabel,
            outVideoSegmentsID: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tFrom a sequence, get an ID to its video segments ID with preview files substituted. This is a ref-counted\n\tobject, and must be released when no longer needed.\n\n\t@param\tinTimelineID\t\tThe plugin timeline ID for the sequence\n\t@param\toutVideoSegmentsID\tReceives the ID for the Video Segments with Previews."]
    pub AcquireVideoSegmentsWithPreviewsIDWithStreamLabel: ::std::option::Option<
        unsafe extern "C" fn(
            inTimelineData: PrTimelineID,
            inStreamLabel: PrSDKStreamLabel,
            outVideoSegmentsID: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tFrom a sequence, get an ID to its video segments ID with preview files substituted, but only previews\n\tfor sections that are opaque. This is appropriate for use when using previews for nested sequences. This is a ref-counted\n\tobject, and must be released when no longer needed.\n\n\t@param\tinTimelineID\t\tThe plugin timeline ID for the sequence\n\t@param\toutVideoSegmentsID\tRecevies the ID for the Video Segments with Previews."]
    pub AcquireVideoSegmentsWithOpaquePreviewsIDWithStreamLabel: ::std::option::Option<
        unsafe extern "C" fn(
            inTimelineData: PrTimelineID,
            inStreamLabel: PrSDKStreamLabel,
            outVideoSegmentsID: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tFrom a sequence, get the first segment node that intersects with a range of times.\n  This is a ref-counted object, and must be released when no longer needed.\n\n\t@param\tinVideoSegmentsID\tThe Video Segments ID\n\t@param\tinStartTime\t\t\tThe start of the requested segment time range\n\t@param\tinEndTime\t\t\tThe end of the requested segment time range\n\t@param\toutVideoNodeID\t\tThe video node ID\n\t@param\toutSegmentOffset\tOffset of retrieved segment"]
    pub AcquireFirstNodeInTimeRange: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoSegmentsID: csSDK_int32,
            inStartTime: PrTime,
            inEndTime: PrTime,
            outVideoNodeID: *mut csSDK_int32,
            outSegmentOffset: *mut PrTime,
        ) -> prSuiteError,
    >,
    #[doc = "\tAcquire the node owning an operator\n\n\t@param\tinVideoNodeID\t\tThe operator\n\t@param\toutOwnerNodeID\t\tThe owner"]
    pub AcquireOperatorOwnerNodeID: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            outOwnerNodeID: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet graphic layer params at a specific time\n\n\t@param\tinVideoNodeID\t\tThe Video Node ID\n\t@param\tinTime\t\t\t\tThe time requested (in Media time)"]
    pub GetGraphicsTransformedParams: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            inTime: PrTime,
            outPosition: *mut prFPoint64,
            outAnchor: *mut prFPoint64,
            outScale: *mut prFPoint64,
            outRotation: *mut f32,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet graphic layer group ID\n\n\t@param\tinVideoNodeID\t\tThe Video Node ID"]
    pub HasGraphicsGroup: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            outHasGraphicGroup: *mut bool,
        ) -> prSuiteError,
    >,
    #[doc = "\tGet graphic layer group ID\n\n\t@param\tinVideoNodeID\t\tThe Video Node ID"]
    pub GetGraphicsGroupID: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            outGroupID: *mut csSDK_int32,
        ) -> prSuiteError,
    >,
    #[doc = " Color managed version of GetVideoSegmentsProperties\n\tRetrieve general properties of a sequence (video segments). I.e. width/height, par and framerate\n and color space\n\n\t@param\tinTimelineID\t\t\t\t\tThe plugin timeline ID for the sequence\n\t@param\toutWidth\t\t\t\t\t\tReceives width of the sequence\n\t@param\toutHeight\t\t\t\t\t\tReceives height of the sequence\n\t@param\toutPixelAspectRatioNumerator\tReceives the pixel aspect ratio numerator of the sequence\n\t@param\toutPixelAspectRatioDenominator\tReceives the pixel aspect ratio denominator of the sequence\n\t@param\toutFrameRateNumerator\t\t\tReceives the frame rate numerator of the sequence\n\t@param\toutFrameRateDenominator\t\t\tReceives the frame rate denominator of the sequence\n @param\toutColorSpaceID\t\t\t\t\tReceives the opaque ID of the sequence's working color space"]
    pub GetVideoSegmentsPropertiesExt: ::std::option::Option<
        unsafe extern "C" fn(
            inTimelineData: PrTimelineID,
            outBounds: *mut prRect,
            outPixelAspectRatioNumerator: *mut csSDK_int32,
            outPixelAspectRatioDenominator: *mut csSDK_int32,
            outFrameRate: *mut PrTime,
            outFieldType: *mut prFieldType,
            outColorSpaceID: *mut PrSDKColorSpaceID,
        ) -> prSuiteError,
    >,
    #[doc = "\tFrom a sequence, get the first segment node that intersects with a range of times.\n  This is a ref-counted object, and must be released when no longer needed.\n\n\t@param\tinVideoSegmentsID\tThe Video Segments ID\n\t@param\tinStartTime\t\t\tThe start of the requested segment time range\n\t@param\tinEndTime\t\t\tThe end of the requested segment time range\n\t@param\toutVideoNodeID\t\tThe video node ID\n\t@param\toutSegmentStartTime\tStart time of retrieved segment\n\t@param\toutSegmentEndTime\tEnd time of retrieved segment\n\t@param\toutSegmentOffset\tOffset of retrieved segment"]
    pub AcquireFirstNodeInTimeRangeExt: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoSegmentsID: csSDK_int32,
            inStartTime: PrTime,
            inEndTime: PrTime,
            outVideoNodeID: *mut csSDK_int32,
            outSegmentStartTime: *mut PrTime,
            outSegmentEndTime: *mut PrTime,
            outSegmentOffset: *mut PrTime,
        ) -> prSuiteError,
    >,
    #[doc = "\tReturns the relative time rate of a node at a given point in time.\n  Node time rate varies with e.g. time remapping but not the playback speed of the sequence\n  Can be thought of as the instantaneous rate of change of TransformNodeTime()\n\t@param\tinVideoNodeID\t\tThe Video Node ID\n\t@param\tinTime\t\t\t\tThe time requested (in Media time - untransformed)\n\t@param\toutRate\t\t\t\tThe node rate relative to the containing sequence"]
    pub GetNodeTimeScale: ::std::option::Option<
        unsafe extern "C" fn(
            inVideoNodeID: csSDK_int32,
            inTime: PrTime,
            outRate: *mut f64,
        ) -> prSuiteError,
    >,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKWindowSuite {
    pub GetMainWindow: ::std::option::Option<unsafe extern "C" fn() -> prWnd>,
    pub UpdateAllWindows: ::std::option::Option<unsafe extern "C" fn()>,
}
pub type A_long = i32;
pub type A_u_long = u32;
pub type A_char = ::std::os::raw::c_char;
pub type A_FpLong = f64;
pub type A_FpShort = f32;
pub type A_short = i16;
pub type A_u_short = u16;
pub type A_u_char = u8;
pub type A_Boolean = u8;
pub type A_intptr_t = isize;
pub type A_u_longlong = u64;
pub type UInt32 = ::std::os::raw::c_uint;
pub type SInt32 = ::std::os::raw::c_int;
pub type Fixed = SInt32;
pub type Ptr = *mut ::std::os::raw::c_char;
pub type Handle = *mut Ptr;
pub type Boolean = ::std::os::raw::c_uchar;
pub type ProcPtr = ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_long>;
pub type ProcHandle = *mut ProcPtr;
#[repr(C, packed(2))]
#[derive(Debug, Copy, Clone)]
pub struct ProcessSerialNumber {
    pub highLongOfPSN: UInt32,
    pub lowLongOfPSN: UInt32,
}
pub type ProcessSerialNumberPtr = *mut ProcessSerialNumber;
pub const PF_Stage_DEVELOP: _bindgen_ty_23 = 0;
pub const PF_Stage_ALPHA: _bindgen_ty_23 = 1;
pub const PF_Stage_BETA: _bindgen_ty_23 = 2;
pub const PF_Stage_RELEASE: _bindgen_ty_23 = 3;
pub type _bindgen_ty_23 = ::std::os::raw::c_uint;
pub type PF_Stage = A_long;
pub const PF_Quality_DRAWING_AUDIO: _bindgen_ty_24 = -1;
pub const PF_Quality_LO: _bindgen_ty_24 = 0;
pub const PF_Quality_HI: _bindgen_ty_24 = 1;
pub type _bindgen_ty_24 = ::std::os::raw::c_int;
pub type PF_Quality = A_long;
pub const PF_MF_Alpha_PREMUL: _bindgen_ty_25 = 0;
pub const PF_MF_Alpha_STRAIGHT: _bindgen_ty_25 = 1;
pub type _bindgen_ty_25 = ::std::os::raw::c_uint;
pub type PF_ModeFlags = A_long;
pub const PF_Field_FRAME: _bindgen_ty_26 = 0;
pub const PF_Field_UPPER: _bindgen_ty_26 = 1;
pub const PF_Field_LOWER: _bindgen_ty_26 = 2;
pub type _bindgen_ty_26 = ::std::os::raw::c_uint;
pub type PF_Field = A_long;
pub const PF_Param_RESERVED: _bindgen_ty_27 = -1;
pub const PF_Param_LAYER: _bindgen_ty_27 = 0;
pub const PF_Param_SLIDER: _bindgen_ty_27 = 1;
pub const PF_Param_FIX_SLIDER: _bindgen_ty_27 = 2;
pub const PF_Param_ANGLE: _bindgen_ty_27 = 3;
pub const PF_Param_CHECKBOX: _bindgen_ty_27 = 4;
pub const PF_Param_COLOR: _bindgen_ty_27 = 5;
pub const PF_Param_POINT: _bindgen_ty_27 = 6;
pub const PF_Param_POPUP: _bindgen_ty_27 = 7;
pub const PF_Param_CUSTOM: _bindgen_ty_27 = 8;
pub const PF_Param_NO_DATA: _bindgen_ty_27 = 9;
pub const PF_Param_FLOAT_SLIDER: _bindgen_ty_27 = 10;
pub const PF_Param_ARBITRARY_DATA: _bindgen_ty_27 = 11;
pub const PF_Param_PATH: _bindgen_ty_27 = 12;
pub const PF_Param_GROUP_START: _bindgen_ty_27 = 13;
pub const PF_Param_GROUP_END: _bindgen_ty_27 = 14;
pub const PF_Param_BUTTON: _bindgen_ty_27 = 15;
pub const PF_Param_RESERVED2: _bindgen_ty_27 = 16;
pub const PF_Param_RESERVED3: _bindgen_ty_27 = 17;
pub const PF_Param_POINT_3D: _bindgen_ty_27 = 18;
pub type _bindgen_ty_27 = ::std::os::raw::c_int;
pub type PF_ParamType = A_long;
pub const PF_ParamFlag_RESERVED1: _bindgen_ty_28 = 1;
pub const PF_ParamFlag_CANNOT_TIME_VARY: _bindgen_ty_28 = 2;
pub const PF_ParamFlag_CANNOT_INTERP: _bindgen_ty_28 = 4;
pub const PF_ParamFlag_RESERVED2: _bindgen_ty_28 = 8;
pub const PF_ParamFlag_RESERVED3: _bindgen_ty_28 = 16;
pub const PF_ParamFlag_COLLAPSE_TWIRLY: _bindgen_ty_28 = 32;
pub const PF_ParamFlag_SUPERVISE: _bindgen_ty_28 = 64;
pub const PF_ParamFlag_START_COLLAPSED: _bindgen_ty_28 = 32;
pub const PF_ParamFlag_USE_VALUE_FOR_OLD_PROJECTS: _bindgen_ty_28 = 128;
pub const PF_ParamFlag_LAYER_PARAM_IS_TRACKMATTE: _bindgen_ty_28 = 128;
pub const PF_ParamFlag_EXCLUDE_FROM_HAVE_INPUTS_CHANGED: _bindgen_ty_28 = 256;
pub const PF_ParamFlag_SKIP_REVEAL_WHEN_UNHIDDEN: _bindgen_ty_28 = 512;
pub type _bindgen_ty_28 = ::std::os::raw::c_uint;
pub type PF_ParamFlags = A_long;
pub const PF_Err_NONE: _bindgen_ty_29 = 0;
pub const PF_Err_OUT_OF_MEMORY: _bindgen_ty_29 = 4;
pub const PF_Err_INTERNAL_STRUCT_DAMAGED: _bindgen_ty_29 = 512;
pub const PF_Err_INVALID_INDEX: _bindgen_ty_29 = 513;
pub const PF_Err_UNRECOGNIZED_PARAM_TYPE: _bindgen_ty_29 = 514;
pub const PF_Err_INVALID_CALLBACK: _bindgen_ty_29 = 515;
pub const PF_Err_BAD_CALLBACK_PARAM: _bindgen_ty_29 = 516;
pub const PF_Interrupt_CANCEL: _bindgen_ty_29 = 517;
pub const PF_Err_CANNOT_PARSE_KEYFRAME_TEXT: _bindgen_ty_29 = 518;
pub type _bindgen_ty_29 = ::std::os::raw::c_uint;
pub type PF_Err = A_long;
pub const PF_WorldFlag_DEEP: _bindgen_ty_30 = 1;
pub const PF_WorldFlag_WRITEABLE: _bindgen_ty_30 = 2;
pub const PF_WorldFlag_RESERVED0: _bindgen_ty_30 = 16777216;
pub const PF_WorldFlag_RESERVED1: _bindgen_ty_30 = 33554432;
pub const PF_WorldFlag_RESERVED2: _bindgen_ty_30 = 67108864;
pub const PF_WorldFlag_RESERVED3: _bindgen_ty_30 = 134217728;
pub const PF_WorldFlag_RESERVED4: _bindgen_ty_30 = 268435456;
pub const PF_WorldFlag_RESERVED5: _bindgen_ty_30 = 536870912;
pub const PF_WorldFlag_RESERVED6: _bindgen_ty_30 = 1073741824;
pub const PF_WorldFlag_RESERVED: _bindgen_ty_30 = 2147483648;
pub type _bindgen_ty_30 = ::std::os::raw::c_uint;
pub type PF_WorldFlags = A_long;
pub const PF_OutFlag_NONE: _bindgen_ty_31 = 0;
pub const PF_OutFlag_KEEP_RESOURCE_OPEN: _bindgen_ty_31 = 1;
pub const PF_OutFlag_WIDE_TIME_INPUT: _bindgen_ty_31 = 2;
pub const PF_OutFlag_NON_PARAM_VARY: _bindgen_ty_31 = 4;
pub const PF_OutFlag_RESERVED6: _bindgen_ty_31 = 8;
pub const PF_OutFlag_SEQUENCE_DATA_NEEDS_FLATTENING: _bindgen_ty_31 = 16;
pub const PF_OutFlag_I_DO_DIALOG: _bindgen_ty_31 = 32;
pub const PF_OutFlag_USE_OUTPUT_EXTENT: _bindgen_ty_31 = 64;
pub const PF_OutFlag_SEND_DO_DIALOG: _bindgen_ty_31 = 128;
pub const PF_OutFlag_DISPLAY_ERROR_MESSAGE: _bindgen_ty_31 = 256;
pub const PF_OutFlag_I_EXPAND_BUFFER: _bindgen_ty_31 = 512;
pub const PF_OutFlag_PIX_INDEPENDENT: _bindgen_ty_31 = 1024;
pub const PF_OutFlag_I_WRITE_INPUT_BUFFER: _bindgen_ty_31 = 2048;
pub const PF_OutFlag_I_SHRINK_BUFFER: _bindgen_ty_31 = 4096;
pub const PF_OutFlag_WORKS_IN_PLACE: _bindgen_ty_31 = 8192;
pub const PF_OutFlag_RESERVED8: _bindgen_ty_31 = 16384;
pub const PF_OutFlag_CUSTOM_UI: _bindgen_ty_31 = 32768;
pub const PF_OutFlag_RESERVED7: _bindgen_ty_31 = 65536;
pub const PF_OutFlag_REFRESH_UI: _bindgen_ty_31 = 131072;
pub const PF_OutFlag_NOP_RENDER: _bindgen_ty_31 = 262144;
pub const PF_OutFlag_I_USE_SHUTTER_ANGLE: _bindgen_ty_31 = 524288;
pub const PF_OutFlag_I_USE_AUDIO: _bindgen_ty_31 = 1048576;
pub const PF_OutFlag_I_AM_OBSOLETE: _bindgen_ty_31 = 2097152;
pub const PF_OutFlag_FORCE_RERENDER: _bindgen_ty_31 = 4194304;
pub const PF_OutFlag_PiPL_OVERRIDES_OUTDATA_OUTFLAGS: _bindgen_ty_31 = 8388608;
pub const PF_OutFlag_I_HAVE_EXTERNAL_DEPENDENCIES: _bindgen_ty_31 = 16777216;
pub const PF_OutFlag_DEEP_COLOR_AWARE: _bindgen_ty_31 = 33554432;
pub const PF_OutFlag_SEND_UPDATE_PARAMS_UI: _bindgen_ty_31 = 67108864;
pub const PF_OutFlag_AUDIO_FLOAT_ONLY: _bindgen_ty_31 = 134217728;
pub const PF_OutFlag_AUDIO_IIR: _bindgen_ty_31 = 268435456;
pub const PF_OutFlag_I_SYNTHESIZE_AUDIO: _bindgen_ty_31 = 536870912;
pub const PF_OutFlag_AUDIO_EFFECT_TOO: _bindgen_ty_31 = 1073741824;
pub const PF_OutFlag_AUDIO_EFFECT_ONLY: _bindgen_ty_31 = 2147483648;
#[doc = " -------------------- Output Flags --------------------\n\nThe out_flags field of the OutData can be set to an OR-ed\ncombination of these flags to communicate various things to\nthe driver program.  The flags are described here:\n\nPF_OutFlag_NONE\nThis is the \"empty\" setting -- no outflags.\n\nPF_OutFlag_WIDE_TIME_INPUT\nSet this flag if the effect calls get_param to inquire a\nparameter at a time besides the current one (e.g. to get\nthe previous video frame). This should be sent, if it is\ngoing to be sent, at PF_Cmd_GLOBAL_SETUP. Can be over-ridden\ndynamically during PF_Cmd_QUERY_DYNAMIC_FLAGS.\n\nAs of AE10, this flag is no longer recommended. It still works the\nsame way and is safe to set, but there's a more efficient option.\nSee PF_OutFlag2_AUTOMATIC_WIDE_TIME_INPUT.\n\nPF_OutFlag_NON_PARAM_VARY\nSet this if the effect uses information other than the parameters\nin the param list to generate its output at the current time.\nFor instance, if the effect uses the current time of the frame\nor some random value to decide the output, set this flag.  This\nflag should be sent at PF_Cmd_GLOBAL_SETUP.  If the effect\nproduces changing frames when applied to a still image and\nall parameters are constant, that's a sure sign that this bit\nshould be set (e.g. Wave Warp).\tCan be over-ridden dynamically\nduring PF_Cmd_QUERY_DYNAMIC_FLAGS.\n\nPF_OutFlag_SEQUENCE_DATA_NEEDS_FLATTENING\nWhen you allocate a sequence data handle, the app\nmay write the handle out to disk and reuse it\nlater. Pass this flag if the handle is not \"flat\"\n(i.e. has pointers or handles hanging off of it).\nBasically, this gives you a chance to alter the\nhandle contents before it is written out to disk,\nso  you won't get invalid handles or pointers. Once\nyou have flattened a handle, you will get an\nopportunity to un-flatten it before the effect\nneeds to continue. For sequence data, you will be\ninvoked with a PF_Cmd_SEQUENCE_RESETUP call. You\nshould store a boolean at a common  offset in your\nunflattened and flattened data that says whether\nthe data is flat or not. If you get a\nPF_Cmd_SEQUENCE_RESETUP and the boolean indicated\nthe data is flattened, you should  unflatten the\ndata, free the flattened data handle, and set the\nsequence_data handle in the  PF_OutData. If you\never set the data to NULL when you flatten it, you\nwill NOT get the sequence  resetup call to\nunflatten it. Instead, you may just get a RENDER\ncall with NULL data. Forewarned is  forearmed. This\nflag, indicating if the data will need to be\nflattened, should be set at  PF_Cmd_GLOBAL_SETUP time.\n\nPF_OutFlag_I_DO_DIALOG\nSet this is the effect responds to a PF_Cmd_DO_DIALOG, i.e. Does this\neffect bring up an options dialog box.  PF_Cmd_DO_DIALOG is generated\nwhen the user presses the Options button on the Effect floater.\nThis flag should be set at PF_Cmd_GLOBAL_SETUP time.\n\nPF_OutFlag_USE_OUTPUT_EXTENT\nThe output layer is passed with an \"extent rect\" indicating\nthe area of the layer that actually contains visible image data.  If\nthe effect changes its behavior based on the extent rect (for instance,\nby not iterating over the entire image), set this flag, so the\napplication will know whether having the extent\tchange should cause\nthe frame to re-render.  Specify this flag at PF_Cmd_GLOBAL_SETUP.\n\nPF_OutFlag_SEND_DO_DIALOG\nSome filters need their options dialog box to be brought up at least\nonce to be valid.  You can set this flag, and the driver app will\nautomatically send a PF_Cmd_DO_DIALOG to the effect when it is applied.\nThe DO_DIALOG will be sent after PF_Cmd_SEQUENCE_SETUP.  This flag\nshould be set in PF_Cmd_SEQUENCE_SETUP if it is going to be set.\n\nPF_OutFlag_DISPLAY_ERROR_MESSAGE\nWhenever the return_msg field in the PF_OutData is set to a string,\nAfter Effects will bring up a simple dialog box containing that\nstring.  If you set this flag, the dialog box will be made to look\nlike an error message dialog box.  If you don't set this flag, it\nwill be an undecorated dialog box.  Using this flag, an effects module\ncan have and display its own error messages and not worry about the\ncode for dialog boxes -- the program will do it for you.\nThis flag can be sent after any command.\n\nPF_OutFlag_I_EXPAND_BUFFER\nStarting with After Effects 2.0, effects will be able to expand their buffers\nbeyond the current layer's dimensions. This has always been part of the\nPF specification, but as an extra precaution (and hint to the AE rendering\nengine) set this flag at PF_Cmd_GLOBAL_SETUP if you plan to expand your\nbuffer.\n\nPF_OutFlag_I_SHRINK_BUFFER\nSet this flag if you can shrink your buffer based on the extent-rects passed\nto you in order to be more memory efficient.\n\nPF_OutFlag_PIX_INDEPENDENT\nSet this flag if the output at a given pixel is not dependent on the values\nof the pixels around it. If this is set, the pixels After Effects does not\ncare about (because of field rendering, for example) could be filled with garbage\ncolors.  Please set this flag at PF_Cmd_GLOBAL_SETUP. Can be over-ridden\ndynamically during PF_Cmd_QUERY_DYNAMIC_FLAGS.\n\nPF_OutFlag_I_WRITE_INPUT_BUFFER\nSet this flag if your effect would like to write into the input buffer. This\ncan be useful if you need an scratch buffer, but it also invalidates some speedups\nin the AE rendering pipeline, so use it with some discretion. Please set this\nflag at PF_Cmd_GLOBAL_SETUP.\n\nPF_OutFlag_KEEP_RESOURCE_OPEN\n\nObsoleted in AE 2015 (does nothing when set).\n\nSet this flag if your effect expects its Macintosh resource fork to be open\nat any time other than global setup.  Note that this does not mean that\nthe resource fork will be kept open at all times, just whenever the\neffect is being executed.\n\nPF_OutFlag_NOP_RENDER\n\nSet this flag in PF_Cmd_GLOBAL_SETUP if the render would never result in changes\nto the source image (or audio?). For example, an expression control would set this.\n\nPF_OutFlag_CUSTOM_UI\n\nThis flag must be set if your effect has a custom UI in the Effect Controls\nWindow, Layer Window or Comp Window.\n\nPF_OutFlag2_CUSTOM_UI_ASYNC_MANAGER\t(new in 13.5)\n\nThis flags enables use of AEGP_CheckoutOrRender_*_AsyncManager() calls\nwhich avoid the need for plugin management of the lifetime of async custom UI renders from the UI thread.\nThe plugin asks for what frames it needs and the manager calls PF_Event_DRAW again when they are available\n(or cancels them as needed automatically).  The plugin responds in PF_Event_DRAW by asking for what it needs\nand drawing what it can from what is available.\n\nDue to separation of Render thread and UI thread in 13.5, frames for custom UI should no longer be\nrendered synchronously (see RenderSuite5 for more details). The manager simplifies this, especially when\nthere are multiple requests needed for DRAW.\n\nWhen enabled, this flag associates a \"PF_AsyncManager\" with the NEW_CONTEXT/CLOSE_CONTEXT and PF_Event_DRAW\nthat will automatically track completion of 1 or more asynch render requests made for drawing custom UI.\nAs requests complete,  PF_Event_DRAW will be called again and the current state of the CUSTOM_UI can be drawn.\nSuch requests may be canceled automatically as the user scrubs the time needle or project changes are made and\nbecome invalid.\n\nThis flag is used in addition to the CUSTOM_UI flag during PF_Cmd_GLOBAL_SETUP\n\nPF_OutFlag_REFRESH_UI\n\nCan be returned from PF_Cmd_EVENT, PF_Cmd_RENDER, and PF_Cmd_DO_DIALOG.\nCauses the effects control window, layer window, and comp window to be re-drawn.\n\nPF_OutFlag_I_USE_SHUTTER_ANGLE\n\nMust be set at PF_Cmd_GLOBAL_SETUP time if the effect uses\nthe shutter_angle or the shutter_phase. Can be over-ridden dynamically during\nPF_Cmd_QUERY_DYNAMIC_FLAGS.\n\nPF_OutFlag_I_USE_AUDIO\n\nMust be set at PF_Cmd_GLOBAL_SETUP time for a visual effect\nthat calls the audio checkout calls.\n\nPF_OutFlag_I_AM_OBSOLETE\n\nSet at PF_Cmd_GLOBAL_SETUP time for effects that don't\nwant to appear in the AE Effects menu (but will still be invoked\nif you load a project that has an old copy of the effect applied).\n\nPF_OutFlag_FORCE_RERENDER\n\nSet at PF_Cmd_EVENT if the effect modified sequence data,\nor did anything else that requires the effect needs to re-render.\nNote that setting PF_ChangeFlag_CHANGED_VALUE automatically\ncauses a re-render, so don't worry about setting PF_OutFlag_FORCE_RERENDER\nin that case. Also, I_MIX_GUID_DEPENDENCIES can be used to trigger a rerender on\ndependant changes if sequence_data has not been changed.\n\nIMPORTANT: FORCE_RERENDER should be used as a last resort. Long term we should be eliminating the need for this\nbecause it causes forced cache invalidation that doesn't work well with undo.\nOnce we have the full set of APIs in place needed to manage render state, we will be able to deprecate this.\nPrefer using ARB data + CHANGED_VALUE or I_MIX_GUID_DEPENDENCIES when possible instead.\n\nIn 13.5 the split between a UI and render threads means that FORCE_RERENDER will now also have the needed\nside effect of copying sequence_data state to the render project.  This can be expensive if the sequence_data is large.\nSupport GET_FLATTENED_SEQUENCE_DATA to prevent deallocation of your sequence_data, which can help.\nGET_FLATTENED_SEQUENCE_DATA support is required for FORCE_RERENDER use in custom mouse/key events.\n\nPF_OutFlag_PiPL_OVERRIDES_OUTDATA_OUTFLAGS\n\nValid only for setting in your PiPL.  When set out_flags will be\nignored at PF_Cmd_GLOBAL_SETUP time (& thus don't need to match).\n\nPF_OutFlag_I_HAVE_EXTERNAL_DEPENDENCIES\n\nSet this flag at PF_Cmd_GLOBAL_SETUP time if the effect has dependencies\nthat the user should know about before transporting their project to a\ndifferent machine.  For example, dependencies on an installed font,\nor on an external file.  If set, the effect will receive a\nPF_Cmd_GET_EXTERNAL_DEPENDENCIES request, where the extra\nparam will be a PF_ExtDependenciesExtra, and the effect should\nreport its information based on the given sequence_data.\n\nPF_OutFlag_SEND_UPDATE_PARAMS_UI\n\nSet this flag at PF_Cmd_GLOBAL_SETUP time if you want to receive\nPF_Cmd_UPDATE_PARAMS_UI messages.\n\nPF_OutFlag_AUDIO_FLOAT_ONLY\n\nSet this flag if you only want to receive PF_SIGNED_FLOAT data\nwhen processing audio data.  Requires PF_OutFlag_AUDIO_EFFECT_TOO\nor PF_OutFlag_AUDIO_EFFECT_ONLY.\n\nPF_OutFlag_AUDIO_IIR\n\nSet this flag at PF_Cmd_GLOBAL_SETUP time if you are an\nInfinite-Impulse-Response audio filter (i.e. your output at a given\ntime depends on your output from previous times).\n\nPF_OutFlag_I_SYNTHESIZE_AUDIO\n\nSet this flag at PF_Cmd_GLOBAL_SETUP time if you generate\naudio even when handed silence.  Requires PF_OutFlag_AUDIO_EFFECT_TOO\nor PF_OutFlag_AUDIO_EFFECT_ONLY.\n\nPF_OutFlag_AUDIO_EFFECT_TOO\n\nMust be set at PF_Cmd_GLOBAL_SETUP time for an effect that\nwants to filter the audio too (as opposed to just reading the audio).\n\nPF_OutFlag_AUDIO_EFFECT_ONLY\n\nMust be set at PF_Cmd_GLOBAL_SETUP time for an effect\nthat only filters audio (no video).\n\nPF_OutFlag2_SUPPORTS_QUERY_DYNAMIC_FLAGS\n\nSet this during PF_Cmd_GLOBAL_SETUP if the effect handles PF_Cmd_QUERY_DYNAMIC_FLAGS.\nSupporting this command can dramatically improve performance for certain\neffects, because it provides dynamic information to the host about what\ncan be cached (as opposed to PIPL bits which cannot be changed at run-time)\n\nPF_OutFlag2_I_USE_3D_CAMERA\n\nThis bit must be set if the effect ever uses the AEGP PF_Interface suite to\naccess camera layers. Can be over-ridden dynamically during PF_Cmd_QUERY_DYNAMIC_FLAGS.\n\nPF_OutFlag2_I_USE_3D_LIGHTS\n\nThis bit must be set if the effect ever uses the AEGP PF_Interface suite to\naccess camera layers. Can be over-ridden dynamically during PF_Cmd_QUERY_DYNAMIC_FLAGS.\n\nPF_OutFlag2_PARAM_GROUP_START_COLLAPSED_FLAG\n\nIf you want a parameter group to honor the PF_ParamFlag_COLLAPSE_TWIRLY or\nPF_ParamFlag_START_COLLAPSED flag, set this bit.  Otherwise, all parameter\ngroups will be collapsed by default.\n\nPF_OutFlag2_DOESNT_NEED_EMPTY_PIXELS\n\nAdded for render optimizations; shrinks the input buffer passed to the effect to\nexclude any empty pixels (where empty means \"zero alpha\" unless\nPF_OutFlag2_REVEALS_ZERO_ALPHA is set, in which case RGB must be zero as well.)\nThe origin of the trimmed buffer can be found in in_data->pre_effect_source_origin.\nEffects with both this flag and PF_OutFlag_I_EXPAND_BUFFER set may get called with\na null input buffer if their input is completely empty, and must be able to handle\nthis case without crashing. This flag can be cleared dynamically during\nPF_Cmd_QUERY_DYNAMIC_FLAGS.\n\nPF_OutFlag2_REVEALS_ZERO_ALPHA\n\nThe effect can take pixels with zero alpha and reveal the RGB data in them (like\nour Set Channels effect). This tells After Effects not to trim such pixels when\ndetermining the input for the effect. This flag can be cleared dynamically during\nPF_Cmd_QUERY_DYNAMIC_FLAGS.\n\nPF_OutFlag2_I_AM_DEPRECATED\nthis effect is still available, and shows up under user-visible \"Obsolete\" category\nin the UI. Setting this flag means \"there's a better way to do this, but this effect\nmay still be useful in some situations\".  distinct from PF_OutFlag_I_AM_OBSOLETE in\nthat these will still show up in the GUI and the user can still apply them to new\nprojects.  The category that is set by the effect is pretty much ignored, as it will\ninstead always go into the \"Obsolete\" category\n\nPF_OutFlag2_I_USE_TIMECODE\nNew in AE 9.0.  The effect depends on the Composition's timecode or a layer's\nsource footage timecode.  If the underlying timecode changes the effects will\nbe asked to rerender.\n\nPF_OutFlag2_AUTOMATIC_WIDE_TIME_INPUT\nNew in AE 10. Requires setting of PF_OutFlag_WIDE_TIME_INPUT (which allows you\nto support old hosts), but effectively overrides that flag. When set, all\nparameter checkouts are tracked so over-time dependencies are known by AE. Note\nthat if you use this new flag, and you cache any time-dependent data in your\nsequence data (or anywhere else), you must validate that cache using the\nnew PF_HaveInputsChangedOverTimeSpan() before using it.\n\nThis only works for smart effects (those that set PF_OutFlag2_SUPPORTS_SMART_RENDER). If you haven't\nset that, After Effects will silently treat this as PF_OutFlag_WIDE_TIME_INPUT instead.\n\nTo test that it's working, apply your effect with one parameter keyframed on every frame.\nRAM Preview to fill the cache, then change one of the keyframes. The related frame and\nall dependent frames (e.g. later frames, in the case of a simulation) should lose their\ncache marks and require re-rendering. Simlarly, upstream changes to sources of layer\nparameters should cause time-selective invalidation of the cache.\n\nPF_OutFlag2_DEPENDS_ON_UNREFERENCED_MASKS\nSet this if you are going to look at paths that aren't directly referenced by a path\nparam, e.g. if you are going to draw a stroke on all masks.\n\nPF_OutFlag2_OUTPUT_IS_WATERMARKED\nSet this if your output is going to be watermarked in some way that makes it unsuitable for\nfinal use, probably because the user is using an unlicensed demo version. It is ok to change\nthis state during the course of app session, if e.g. a floating license status changes.\nPlugin authors that actually do have this state changing asynchronously must be careful to\nhave the next render match the last state returned from QUERY_DYNAMIC_FLAGS otherwise race conditions\ncould cause incorrect frames to be cached. (This is a non-issue if you only change this in response\nto DO_DIALOG.)\n\nPF_OutFlag2_I_MIX_GUID_DEPENDENCIES\t(new in 13.5)\nSmart effects only. With this option, FORCE_RERENDER becomes a cache-savvy more efficient MAYBE rerender.\nIf custom UI or DO_DIALOG change sequence data, returning FORCE_RERENDER requests AE to check whether\nrerender needs to occur.  During PreRender, the effect uses the GuidMixInPtr callback to mix\nany additional state that affects the render into our internal GUID for the cached frame.\nAE can then tell whether the frame already exists and if so, no longer needs to render.\nThis also means that DO_DIALOG no longer always blows the cache and that undo works across DO_DIALOG.\nCancelation of DO_DIALOG no longer blows the cache either.\nThis also means that I_USE_* flags are now basically redundant since any dependency could be mixed in.\nJust be sure to mix in everything that can uniquely affect resulting rendered pixels (that is not already\nan AE stream parameter).  But don't mixin things that are disabled and have no render effect  (this\nresults in less cache efficiency).\n\nPF_OutFlag2_SUPPORTS_THREADED_RENDERING\nIndicates the effect supports rendering on multiple threads at the same time. Single or multiple\napplications of this effect on a layer can be called to render at the same time on multiple threads.\n\nUI selectors are still sent on the main thread, however Sequence Setup, Sequence Resetup, Sequence SetDown,\nPreRender, and Render may be sent on multiple threads at the same time as the UI selectors are being handled\nso all of these selectors must be thread safe.\n\nGlobal Setup and Global Setdown selectors are unaffected by this flag.  Regardless whether this flag is set\nor not, they will only be sent on the main thread, and will not be sent at the same time as any other selectors.\n\nIf the effect sets PF_OutFlag_SEQUENCE_DATA_NEEDS_FLATTENING indicating the sequence data needs flattening\nthen it must also set PF_OutFlag2_SUPPORTS_GET_FLATTENED_SEQUENCE_DATA.\n\nsequence_data is read-only at render time and must be accessed with PF_EffectSequenceDataSuite.\nin_data->sequence_data will be NULL during render. AEGP_ComputeCacheSuite is suggested if writing to\nsequence_data at render time is needed for caching. This suite unifies cache entries so multiple threads do\nnot recompute the same cache value. If neither of these solutions work, see the next flag,\nPF_OutFlag2_MUTABLE_RENDER_SEQUENCE_DATA_SLOWER.\n\nPF_OutFlag2_MUTABLE_RENDER_SEQUENCE_DATA_SLOWER\nIndicates the effect needs sequence_data replicated for each render thread, thus allowing each render to have\nsequence_data which can be written to. Note that changes to sequence_data will be discarded regularly, currently\nafter each span of frames is rendered such as single RAM Preview or Render Queue export."]
pub type _bindgen_ty_31 = ::std::os::raw::c_uint;
pub type PF_OutFlags = A_long;
pub const PF_OutFlag2_NONE: _bindgen_ty_32 = 0;
pub const PF_OutFlag2_SUPPORTS_QUERY_DYNAMIC_FLAGS: _bindgen_ty_32 = 1;
pub const PF_OutFlag2_I_USE_3D_CAMERA: _bindgen_ty_32 = 2;
pub const PF_OutFlag2_I_USE_3D_LIGHTS: _bindgen_ty_32 = 4;
pub const PF_OutFlag2_PARAM_GROUP_START_COLLAPSED_FLAG: _bindgen_ty_32 = 8;
pub const PF_OutFlag2_I_AM_THREADSAFE: _bindgen_ty_32 = 16;
pub const PF_OutFlag2_CAN_COMBINE_WITH_DESTINATION: _bindgen_ty_32 = 32;
pub const PF_OutFlag2_DOESNT_NEED_EMPTY_PIXELS: _bindgen_ty_32 = 64;
pub const PF_OutFlag2_REVEALS_ZERO_ALPHA: _bindgen_ty_32 = 128;
pub const PF_OutFlag2_PRESERVES_FULLY_OPAQUE_PIXELS: _bindgen_ty_32 = 256;
pub const PF_OutFlag2_SUPPORTS_SMART_RENDER: _bindgen_ty_32 = 1024;
pub const PF_OutFlag2_RESERVED9: _bindgen_ty_32 = 2048;
pub const PF_OutFlag2_FLOAT_COLOR_AWARE: _bindgen_ty_32 = 4096;
pub const PF_OutFlag2_I_USE_COLORSPACE_ENUMERATION: _bindgen_ty_32 = 8192;
pub const PF_OutFlag2_I_AM_DEPRECATED: _bindgen_ty_32 = 16384;
pub const PF_OutFlag2_PPRO_DO_NOT_CLONE_SEQUENCE_DATA_FOR_RENDER: _bindgen_ty_32 = 32768;
pub const PF_OutFlag2_RESERVED10: _bindgen_ty_32 = 65536;
pub const PF_OutFlag2_AUTOMATIC_WIDE_TIME_INPUT: _bindgen_ty_32 = 131072;
pub const PF_OutFlag2_I_USE_TIMECODE: _bindgen_ty_32 = 262144;
pub const PF_OutFlag2_DEPENDS_ON_UNREFERENCED_MASKS: _bindgen_ty_32 = 524288;
pub const PF_OutFlag2_OUTPUT_IS_WATERMARKED: _bindgen_ty_32 = 1048576;
pub const PF_OutFlag2_I_MIX_GUID_DEPENDENCIES: _bindgen_ty_32 = 2097152;
pub const PF_OutFlag2_AE13_5_THREADSAFE: _bindgen_ty_32 = 4194304;
pub const PF_OutFlag2_SUPPORTS_GET_FLATTENED_SEQUENCE_DATA: _bindgen_ty_32 = 8388608;
pub const PF_OutFlag2_CUSTOM_UI_ASYNC_MANAGER: _bindgen_ty_32 = 16777216;
pub const PF_OutFlag2_SUPPORTS_GPU_RENDER_F32: _bindgen_ty_32 = 33554432;
pub const PF_OutFlag2_RESERVED12: _bindgen_ty_32 = 67108864;
pub const PF_OutFlag2_SUPPORTS_THREADED_RENDERING: _bindgen_ty_32 = 134217728;
pub const PF_OutFlag2_MUTABLE_RENDER_SEQUENCE_DATA_SLOWER: _bindgen_ty_32 = 268435456;
pub type _bindgen_ty_32 = ::std::os::raw::c_uint;
pub type PF_OutFlags2 = A_long;
pub const PF_InFlag_NONE: _bindgen_ty_33 = 0;
pub const PF_InFlag_PROJECT_IS_RENDER_ONLY: _bindgen_ty_33 = 1;
#[doc = " -------------------- Input Flags --------------------\n\nThe in_flags field of the InData can be set to an OR-ed\ncombination of these flags to communicate various things from AE to an effect plugin\nThe flags are described here:\n\nPF_InFlag_NONE\nThis is the \"empty\" setting -- no inflags.\n\nPF_InFlag_PROJECT_IS_RENDER_ONLY  (since 13.5)\n\nFor efficiency, if a plugin sets up UI that is not used in render, this flag\ncan be tested to skip that step when an effect is being RESETUP for render only.\nEffect instances with this flag on in RESETUP are in read-only AE projects and will not receive UI related selectors.\n\nThis is an optimization hint.  If you don't make such optimizations in render your plugin should still work.\n\nThis flag should generally not be used to suppress errors in render.  Errors should still be reported as usual via AE standard mechanisms,\nand AE will then handle the differences in context reporting.\n\nIf this is off, UI should be set up normally (and the effect could also be running in an earlier version of\nAE that assumed render and UI on the same effect instance.)"]
pub type _bindgen_ty_33 = ::std::os::raw::c_uint;
pub type PF_InFlags = A_long;
pub const PF_Cmd_ABOUT: _bindgen_ty_34 = 0;
pub const PF_Cmd_GLOBAL_SETUP: _bindgen_ty_34 = 1;
pub const PF_Cmd_UNUSED_0: _bindgen_ty_34 = 2;
pub const PF_Cmd_GLOBAL_SETDOWN: _bindgen_ty_34 = 3;
pub const PF_Cmd_PARAMS_SETUP: _bindgen_ty_34 = 4;
pub const PF_Cmd_SEQUENCE_SETUP: _bindgen_ty_34 = 5;
pub const PF_Cmd_SEQUENCE_RESETUP: _bindgen_ty_34 = 6;
pub const PF_Cmd_SEQUENCE_FLATTEN: _bindgen_ty_34 = 7;
pub const PF_Cmd_SEQUENCE_SETDOWN: _bindgen_ty_34 = 8;
pub const PF_Cmd_DO_DIALOG: _bindgen_ty_34 = 9;
pub const PF_Cmd_FRAME_SETUP: _bindgen_ty_34 = 10;
pub const PF_Cmd_RENDER: _bindgen_ty_34 = 11;
pub const PF_Cmd_FRAME_SETDOWN: _bindgen_ty_34 = 12;
pub const PF_Cmd_USER_CHANGED_PARAM: _bindgen_ty_34 = 13;
pub const PF_Cmd_UPDATE_PARAMS_UI: _bindgen_ty_34 = 14;
pub const PF_Cmd_EVENT: _bindgen_ty_34 = 15;
pub const PF_Cmd_GET_EXTERNAL_DEPENDENCIES: _bindgen_ty_34 = 16;
pub const PF_Cmd_COMPLETELY_GENERAL: _bindgen_ty_34 = 17;
pub const PF_Cmd_QUERY_DYNAMIC_FLAGS: _bindgen_ty_34 = 18;
pub const PF_Cmd_AUDIO_RENDER: _bindgen_ty_34 = 19;
pub const PF_Cmd_AUDIO_SETUP: _bindgen_ty_34 = 20;
pub const PF_Cmd_AUDIO_SETDOWN: _bindgen_ty_34 = 21;
pub const PF_Cmd_ARBITRARY_CALLBACK: _bindgen_ty_34 = 22;
pub const PF_Cmd_SMART_PRE_RENDER: _bindgen_ty_34 = 23;
pub const PF_Cmd_SMART_RENDER: _bindgen_ty_34 = 24;
pub const PF_Cmd_RESERVED1: _bindgen_ty_34 = 25;
pub const PF_Cmd_RESERVED2: _bindgen_ty_34 = 26;
pub const PF_Cmd_RESERVED3: _bindgen_ty_34 = 27;
pub const PF_Cmd_GET_FLATTENED_SEQUENCE_DATA: _bindgen_ty_34 = 28;
pub const PF_Cmd_TRANSLATE_PARAMS_TO_PREFS: _bindgen_ty_34 = 29;
pub const PF_Cmd_RESERVED4: _bindgen_ty_34 = 30;
pub const PF_Cmd_SMART_RENDER_GPU: _bindgen_ty_34 = 31;
pub const PF_Cmd_GPU_DEVICE_SETUP: _bindgen_ty_34 = 32;
pub const PF_Cmd_GPU_DEVICE_SETDOWN: _bindgen_ty_34 = 33;
pub const PF_Cmd_NUM_CMDS: _bindgen_ty_34 = 34;
#[doc = " -------------------- Command Selectors --------------------\n\nThe first parameter to the effect routine is one of t\these command\nselectors.  The commands are described here.\n\nPF_Cmd_ABOUT\nThis command should display an information dialog box about the\neffect module.  The easiest thing to do is PF_SPRINTF the info\ninto the out_data->return_msg field.  After Effects will bring\nup a simple undecorated modal dialog with your text proudly displayed.\nThis command can be sent at _any_ time, so don't count on having\nany global data or anything else set.  (Except, as always, the\ncurrent resource file will be set to your effects module.)\n\nPF_Cmd_GLOBAL_SETUP\nWhen you get this command, you should check the version of the\neffect protocol with which you are being invoked, and set any of\nthe necessary out flags (described above) or out data fields\n(described below).  If your global data was flattened, the flat\ndata will be passed here and you should unflatten it, free the\nflat global data, and set the OutData global_data to the new un-flat\ndata.  Alternatively, the global data may come in NULL and you can\nallocate new global data at this time.\n\nPF_Cmd_GLOBAL_SETDOWN\nYou should free any global data you have allocated when you get\nthis command.\n\nPF_Cmd_PARAMS_SETUP\nHere you should add any params your effect wants using the\nPF_ADD_PARAM callback described below.  This is called after global\nsetup -- see the add_param callback described below.\n\nPF_Cmd_SEQUENCE_SETUP\nThis is called when the effect is first applied to a layer.\nA sequence is a series of images that will usually be all be of the same\nsize and in the same context.  You can allocate sequence data\nat this time -- many more input fields are defined at this time.\nSee the PF_InData description below.\n\nAs of 13.5 this only happens on the UI thread.\nExcept for legacy (no GET_FLATTENED_SEQUENCE_DATA) effects that do I_DO_DIALOG which can still hit this in render.\n\nPF_Cmd_SEQUENCE_RESETUP\nThis call is made to unflatten flattened sequence data.\nThere are at least three cases when this can happen:\n1) after the sequence data is written to disk, 2) after the\nsequence data is read in from disk, 3) after a duplicate\nis made (called on both original and the new sequence).\n\nThis can happen in UI or Render thread (13.5),  the effect must handle\ninitialization of a NULL sequence_data input if needed.  See also PF_InFlag_PROJECT_IS_RENDER_ONLY.\n\nPF_Cmd_SEQUENCE_FLATTEN\nThis call is made to flatten unflat sequence data so it can be\ncached to disk.  After the data is flattened, free the un-flat data\nand set the out_data->sequence_data to the new flat data.\nIf you don't want your sequence handle written to disk, you\ncan set it to NULL (after disposing it) at this time.  Presumably\nyou would then reallocate it at another time.\n\nThis command will be sent when saving and when duplicating\nthe sequence.\n\nPF_Cmd_GET_FLATTENED_SEQUENCE_DATA\t(new in 13.5)\nReturns an independent allocation of the sequence data which can be written\nto disk or used to initialise or update other instances of the effect plug-in.\n\nThe host calls this command to serialize the sequence data without\nhaving to flatten and resetup the UI plug-in as was legacy practice. (However, at present effects\nstill may need flattening in render if the sequence_data is about to be assigned.)\n\nAn effect that implements GET_FLATTENED_SEQUENCE_DATA will only receive SEQUENCE_SETUP on the UI thread.\nSEQUENCE_RESETUP can happen on either thread. Make sure you handle a NULL sequence_data in RESETUP.\n(Without GET_FLATTENED, a legacy effect may still get SEQUENCE_SETUP in render but DO_DIALOG will not be called.)\n\nAlso when enabled, this means that the effect is guaranteed to get a\nSEQUENCE_SETDOWN cmd to dispose the effect's sequence_data  (previously\nit was possible for AE to bypass this if the sequence_data was flat,\nbut that lead to SEQUENCE_SETUP/SETDOWN imbalances for some plugins.\nThe imbalance should not happen when using this flag, but the plugin must\nhandle being called on SETDOWN with possibly flat data. For example,\ntry copy and pasting an effect onto itself.\n\nSupport for this command is indicated by setting\nPF_OutFlag2_SUPPORTS_GET_FLATTENED_SEQUENCE_DATA\n\nThe ownership of the returned handle is transferred to the host.\n\nPF_Cmd_SEQUENCE_SETDOWN\nYou should free any sequence data you have allocated when you\nget this command.\n\nPF_Cmd_DO_DIALOG\nThis command indicated that the Options button or command has\nbeen selected and the effect should bring up its options dialog.\nThis command will only be sent it the effect has indicated that\nit has an options dialog with PF_OutFlag_I_DO_DIALOG.  This\ncommand will automatically be sent once upon applying the filter\nif PF_OutFlag_SEND_DO_DIALOG is set in SEQUENCE_SETUP.\n\nPF_Cmd_FRAME_SETUP\nThis is called immediately before each frame is invoked.  You\ncan allocate frame data at this time, if you wish, or you can\njust wait for the RENDER which will immediately follow.\n\nPF_Cmd_RENDER\nThis is the call to render the frame.  All fields in the in_data\nwill be valid at this time and you can inquire parameters or\nwhat-have-you.  This should set the output frame with the new\nimage data.  This is the main action command.\n\nPF_Cmd_FRAME_SETDOWN\nIf you allocated data in PF_Cmd_FRAME_SETUP, this is the time\nto free it and clean up after rendering the frame.\n\nPF_Cmd_USER_CHANGED_PARAM\nThis command will be sent if you set the PF_ParamFlag_SUPERVISE\nflag for a param.  This allows you to modify the params array contents to\ncontrol values or make one control affect others, including arbitrary\ndata.  This command will be sent whenever the user interacts with a\nstandard param controller that has PF_ParamFlag_SUPERVISE\nset.\n\nThe \"extra\" field will be a pointer to a PF_UserChangedParamExtra structure\nwhich contains the param_index of the changed parameter.\n\nYou can return PF_ChangeFlag_CHANGED_VALUE and/or call PF_UpdateParamUI()\nfor any param.\n\nPF_Cmd_UPDATE_PARAMS_UI\nThis command will be sent when the Effect Controls Window (ECW)\nneeds to updated (e.g. after opening the ECW or moving the comp to\na new time) if you have set PF_OutFlag_SEND_UPDATE_PARAMS_UI at\nglobal setup time.\n\nThis gives you a chance to call PF_UpdateParamUI() to modify certain\nui fields for the params.  See the doc for PF_UpdateParamUI()\nto see which fields can be modified.\n\nWARNING: When handling PF_Cmd_UPDATE_PARAMS_UI, you can call\nPF_UpdateParamUI() for any param(s), but not PF_ChangeFlag_CHANGED_VALUE --\nonly cosmetic changes can be made in response to this command.\n\nPF_Cmd_QUERY_DYNAMIC_FLAGS\nThis command will be sent at arbitrary times if PF_OutFlag2_SUPPORTS_QUERY_DYNAMIC_FLAGS\nis set during global setup. During this call the effect may examine the values\nof its parameters at the current time (except layer parameters) by checking them out,\nand decide whether any of the flags that support PF_Cmd_QUERY_DYNAMIC_FLAGS should be set.\n\nThe appropriate flags must be set in out_data->out_flags and out_data->out_flags2 before\nreturning. The effect must decide what information is necessary to render a frame at\nthe current time, given only the values of parameters at that time. Clearing the\nappropriate bits when possible can result in great performance improvements, but\nincorrectly clearing bits will result in caching bugs, and you won't like that. Nope.\n\n Important Reminder***\nBefore you add a new PF_Cmd, evaluate whether it should allow\nnew Sequence Data allocations! If so, remember to add it to\nCmdCanChangeSequenceData() in FLT_Host.cpp!"]
pub type _bindgen_ty_34 = ::std::os::raw::c_uint;
pub type PF_Cmd = A_long;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _PF_LayerAudio {
    _unused: [u8; 0],
}
#[doc = " -------------------- Simple Types --------------------"]
pub type PF_LayerAudio = *mut _PF_LayerAudio;
pub type PF_SndSamplePtr = *mut ::std::os::raw::c_void;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ProgressInfo {
    _unused: [u8; 0],
}
pub type PF_ProgPtr = *mut PF_ProgressInfo;
pub type PF_ParamValue = A_long;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_SpecVersion {
    pub major: A_short,
    pub minor: A_short,
}
pub type PF_ParamIndex = A_long;
pub type PF_UFixed = A_u_long;
pub type PF_Fixed = Fixed;
pub type PF_Boolean = Boolean;
pub type PF_Handle = Handle;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_Point {
    pub h: A_long,
    pub v: A_long,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_LRect {
    pub left: A_long,
    pub top: A_long,
    pub right: A_long,
    pub bottom: A_long,
}
pub type PF_Rect = PF_LRect;
pub type PF_UnionableRect = PF_Rect;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_RationalScale {
    pub num: A_long,
    pub den: A_u_long,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_FixedPoint {
    pub x: PF_Fixed,
    pub y: PF_Fixed,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_FixedRect {
    pub left: PF_Fixed,
    pub top: PF_Fixed,
    pub right: PF_Fixed,
    pub bottom: PF_Fixed,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_Matrix {
    pub mat: [[PF_Fixed; 3usize]; 3usize],
}
pub type PF_TransferMode = A_long;
pub type PF_XferMode = PF_TransferMode;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_Pixel {
    pub alpha: A_u_char,
    pub red: A_u_char,
    pub green: A_u_char,
    pub blue: A_u_char,
}
pub type PF_Pixel8 = PF_Pixel;
pub type PF_UnionablePixel = PF_Pixel;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_Pixel16 {
    pub alpha: A_u_short,
    pub red: A_u_short,
    pub green: A_u_short,
    pub blue: A_u_short,
}
pub type PF_FpShort = A_FpShort;
pub type PF_FpLong = A_FpLong;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_PixelFloat {
    pub alpha: PF_FpShort,
    pub red: PF_FpShort,
    pub green: PF_FpShort,
    pub blue: PF_FpShort,
}
pub type PF_Pixel32 = PF_PixelFloat;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_FloatMatrix {
    pub mat: [[PF_FpLong; 3usize]; 3usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_CompositeMode {
    pub xfer: PF_TransferMode,
    pub rand_seed: A_long,
    pub opacity: A_u_char,
    pub rgb_only: PF_Boolean,
    pub opacitySu: A_u_short,
}
pub type PF_PixLong = A_u_long;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _PF_PixelOpaque {
    _unused: [u8; 0],
}
pub type PF_PixelOpaquePtr = *mut _PF_PixelOpaque;
pub type PF_PixelPtr = *mut PF_Pixel;
pub type PF_RGB_Pixel = [PF_Fixed; 3usize];
pub type PF_YIQ_Pixel = [PF_Fixed; 3usize];
pub type PF_HLS_Pixel = [PF_Fixed; 3usize];
pub type PF_ChannelType = A_long;
pub type PF_DataType = A_long;
#[doc = " for enumerating over all the channels"]
pub type PF_ChannelIndex = A_long;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ChannelDesc {
    pub channel_type: PF_ChannelType,
    pub name: [A_char; 64usize],
    pub data_type: PF_DataType,
    pub dimension: A_long,
}
#[doc = " the opaque type representing the channel data"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ChannelRef {
    pub opaque: [A_intptr_t; 8usize],
}
#[doc = " the opaque type representing the channel data"]
pub type PF_ChannelRefPtr = *mut PF_ChannelRef;
#[doc = " the channel data parallels the image data in size and shape.\n the width is the number of pixels, the height is the number of scanlines\n the height is image_height\n the dimension is the number of planes in a pixel\n the row_bytes is the length of a scanline in bytes\n the data type is the type of data in a plane\n\tNote : a pixel consists of dimensionL * sizeof(data_type) bytes\n dataH is a handle to the data.\n dataPV is a pointer to the dereferenced locked handle\n effects should always have dataPV non null."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ChannelChunk {
    pub channel_ref: PF_ChannelRef,
    pub widthL: A_long,
    pub heightL: A_long,
    pub dimensionL: A_long,
    pub row_bytesL: A_long,
    pub data_type: PF_DataType,
    pub dataH: PF_Handle,
    pub dataPV: *mut ::std::os::raw::c_void,
}
pub const PF_LayerDefault_MYSELF: _bindgen_ty_35 = -1;
pub const PF_LayerDefault_NONE: _bindgen_ty_35 = 0;
#[doc = " -------------------- Effect Parameter Description Structures --------------------\n\nIn general each structure is divided into two parts:\na) description of the parameter\nb) setting of parameter at the current invocation time\n\nA number of these structures end in A_char*, A_char[] unions.  These\nstructures are \"flattened\" between the add_param callback (in which\nthe A_char * should be used) and the read-only values accessible when\nthe effect is later invoked (at which time the A_char [] is used and\nthe string data is concatenated right at the end of the struct)."]
pub type _bindgen_ty_35 = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_LayerDef {
    pub reserved0: *mut ::std::os::raw::c_void,
    pub reserved1: *mut ::std::os::raw::c_void,
    pub world_flags: PF_WorldFlags,
    pub data: PF_PixelPtr,
    pub rowbytes: A_long,
    pub width: A_long,
    pub height: A_long,
    pub extent_hint: PF_UnionableRect,
    pub platform_ref: *mut ::std::os::raw::c_void,
    pub reserved_long1: A_long,
    pub reserved_long4: *mut ::std::os::raw::c_void,
    pub pix_aspect_ratio: PF_RationalScale,
    pub reserved_long2: *mut ::std::os::raw::c_void,
    pub origin_x: A_long,
    pub origin_y: A_long,
    pub reserved_long3: A_long,
    pub dephault: A_long,
}
pub type PF_EffectWorld = PF_LayerDef;
pub const PF_UNSIGNED_PCM: _bindgen_ty_36 = 0;
pub const PF_SIGNED_PCM: _bindgen_ty_36 = 1;
pub const PF_SIGNED_FLOAT: _bindgen_ty_36 = 2;
pub type _bindgen_ty_36 = ::std::os::raw::c_uint;
pub type PF_SoundFormat = A_short;
pub const PF_SSS_1: _bindgen_ty_37 = 1;
pub const PF_SSS_2: _bindgen_ty_37 = 2;
pub const PF_SSS_4: _bindgen_ty_37 = 4;
pub type _bindgen_ty_37 = ::std::os::raw::c_uint;
pub type PF_SoundSampleSize = A_short;
pub const PF_Channels_MONO: _bindgen_ty_38 = 1;
pub const PF_Channels_STEREO: _bindgen_ty_38 = 2;
pub type _bindgen_ty_38 = ::std::os::raw::c_uint;
pub type PF_SoundChannels = A_short;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_SoundFormatInfo {
    pub rateF: PF_FpLong,
    pub num_channels: PF_SoundChannels,
    pub format: PF_SoundFormat,
    pub sample_size: PF_SoundSampleSize,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_SoundWorld {
    pub fi: PF_SoundFormatInfo,
    pub num_samples: A_long,
    pub dataP: *mut ::std::os::raw::c_void,
}
pub const PF_ValueDisplayFlag_NONE: _bindgen_ty_39 = 0;
pub const PF_ValueDisplayFlag_PERCENT: _bindgen_ty_39 = 1;
pub const PF_ValueDisplayFlag_PIXEL: _bindgen_ty_39 = 2;
pub const PF_ValueDisplayFlag_RESERVED1: _bindgen_ty_39 = 4;
pub const PF_ValueDisplayFlag_REVERSE: _bindgen_ty_39 = 8;
pub type _bindgen_ty_39 = ::std::os::raw::c_uint;
pub type PF_ValueDisplayFlags = A_short;
#[doc = " Slider -- PF_Param_SLIDER"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_SliderDef {
    pub value: PF_ParamValue,
    pub value_str: [A_char; 32usize],
    pub value_desc: [A_char; 32usize],
    pub valid_min: PF_ParamValue,
    pub valid_max: PF_ParamValue,
    pub slider_min: PF_ParamValue,
    pub slider_max: PF_ParamValue,
    pub dephault: PF_ParamValue,
}
#[doc = " Fixed Point Slider -- PF_Param_FIX_SLIDER"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_FixedSliderDef {
    pub value: PF_Fixed,
    pub value_str: [A_char; 32usize],
    pub value_desc: [A_char; 32usize],
    pub valid_min: PF_Fixed,
    pub valid_max: PF_Fixed,
    pub slider_min: PF_Fixed,
    pub slider_max: PF_Fixed,
    pub dephault: PF_Fixed,
    pub precision: A_short,
    pub display_flags: PF_ValueDisplayFlags,
}
pub const PF_FSliderFlag_NONE: _bindgen_ty_40 = 0;
pub const PF_FSliderFlag_WANT_PHASE: _bindgen_ty_40 = 1;
pub type _bindgen_ty_40 = ::std::os::raw::c_uint;
pub type PF_FSliderFlags = A_u_long;
#[doc = " Floating Point Slider -- PF_Param_FLOAT_SLIDER"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_FloatSliderDef {
    pub value: PF_FpLong,
    pub phase: PF_FpLong,
    pub value_desc: [A_char; 32usize],
    pub valid_min: PF_FpShort,
    pub valid_max: PF_FpShort,
    pub slider_min: PF_FpShort,
    pub slider_max: PF_FpShort,
    pub dephault: PF_FpShort,
    pub precision: A_short,
    pub display_flags: PF_ValueDisplayFlags,
    pub fs_flags: PF_FSliderFlags,
    pub curve_tolerance: PF_FpShort,
    pub useExponent: PF_Boolean,
    pub exponent: PF_FpShort,
}
#[doc = " Angle -- PF_Param_ANGLE"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_AngleDef {
    pub value: PF_Fixed,
    pub dephault: PF_Fixed,
    pub valid_min: PF_Fixed,
    pub valid_max: PF_Fixed,
}
#[doc = " CheckBox -- PF_Param_CHECKBOX"]
#[repr(C)]
#[derive(Copy, Clone)]
pub struct PF_CheckBoxDef {
    pub value: PF_ParamValue,
    pub dephault: PF_Boolean,
    pub reserved: A_char,
    pub reserved1: A_short,
    pub u: PF_CheckBoxDef__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union PF_CheckBoxDef__bindgen_ty_1 {
    pub nameptr: *const A_char,
}
#[doc = " Color -- PF_Param_COLOR"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ColorDef {
    pub value: PF_UnionablePixel,
    pub dephault: PF_UnionablePixel,
}
#[doc = " Point -- PF_Param_POINT\n\nThe values for the point use the source's coordinate system, with the\norigin at the top left. The values are expressed in fixed point, with\n16 bits of fractional precision (out of a total of 32 bits).\n\nThe dephaults (sorry) are expressed as percentages (with 16 bits of\nfraction) with the origin at the top left. The percent can be negative,\nbut should not be smaller than -600%. It should not be greater than 600%.\n\nIf restrict_bounds is TRUE, the user will not be allowed to specify\npoints outside the bounds of the layer to which they are applying the\neffect. If this is TRUE, the dephaults should be between 0.0 and 100.0."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_PointDef {
    pub x_value: PF_Fixed,
    pub y_value: PF_Fixed,
    pub reserved: [A_char; 3usize],
    pub restrict_bounds: PF_Boolean,
    pub x_dephault: PF_Fixed,
    pub y_dephault: PF_Fixed,
}
#[doc = " 3D Point -- PF_Param_POINT_3D\n\nJust like POINT, with an extra dimension. Supported in AE starting with version 10.5 (CS 5.5)."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_Point3DDef {
    pub x_value: PF_FpLong,
    pub y_value: PF_FpLong,
    pub z_value: PF_FpLong,
    pub x_dephault: PF_FpLong,
    pub y_dephault: PF_FpLong,
    pub z_dephault: PF_FpLong,
    pub reserved: [::std::os::raw::c_char; 16usize],
}
#[doc = " Popup Menu -- PF_Param_POPUP\n\n can also be used as a radio-button group in some hosts\n when PF_PUI_RADIO_BUTTON is set\n"]
#[repr(C)]
#[derive(Copy, Clone)]
pub struct PF_PopupDef {
    pub value: PF_ParamValue,
    pub num_choices: A_short,
    pub dephault: A_short,
    pub u: PF_PopupDef__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union PF_PopupDef__bindgen_ty_1 {
    pub namesptr: *const A_char,
}
#[doc = " Momentary Buttons -- PF_Param_BUTTON\n\n supported by AE starting with CS 5.5 (AE 10.5); may be supported in other hosts\n"]
#[repr(C)]
#[derive(Copy, Clone)]
pub struct PF_ButtonDef {
    pub value: PF_ParamValue,
    pub u: PF_ButtonDef__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union PF_ButtonDef__bindgen_ty_1 {
    pub namesptr: *const A_char,
}
pub const PF_PathID_NONE: _bindgen_ty_41 = 0;
pub type _bindgen_ty_41 = ::std::os::raw::c_uint;
pub type PF_PathID = A_u_long;
pub const PF_MaskMode_NONE: _bindgen_ty_42 = 0;
pub const PF_MaskMode_ADD: _bindgen_ty_42 = 1;
pub const PF_MaskMode_SUBTRACT: _bindgen_ty_42 = 2;
pub const PF_MaskMode_INTERSECT: _bindgen_ty_42 = 3;
pub const PF_MaskMode_LIGHTEN: _bindgen_ty_42 = 4;
pub const PF_MaskMode_DARKEN: _bindgen_ty_42 = 5;
pub const PF_MaskMode_DIFFERENCE: _bindgen_ty_42 = 6;
pub const PF_MaskMode_ACCUM: _bindgen_ty_42 = 7;
pub const PF_NUM_MASKMODES: _bindgen_ty_42 = 8;
pub type _bindgen_ty_42 = ::std::os::raw::c_uint;
pub type PF_MaskMode = A_long;
#[doc = " Path -- PF_Param_PATH\n\nPath parameters give access to the mask/path/shapes of the layer on which\nthe effect is applied.  For more information\non how to use these paths, see the PF_PathQuerySuite, and the PF_PathDataSuite\nin AE_EffectSuites.h"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_PathDef {
    pub path_id: PF_PathID,
    pub reserved0: A_long,
    pub dephault: A_long,
}
pub type PF_ArbitraryH = PF_Handle;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ArbitraryDef {
    pub id: A_short,
    pub pad: A_short,
    pub dephault: PF_ArbitraryH,
    pub value: PF_ArbitraryH,
    pub refconPV: *mut ::std::os::raw::c_void,
}
pub const PF_Arbitrary_NEW_FUNC: _bindgen_ty_43 = 0;
pub const PF_Arbitrary_DISPOSE_FUNC: _bindgen_ty_43 = 1;
pub const PF_Arbitrary_COPY_FUNC: _bindgen_ty_43 = 2;
pub const PF_Arbitrary_FLAT_SIZE_FUNC: _bindgen_ty_43 = 3;
pub const PF_Arbitrary_FLATTEN_FUNC: _bindgen_ty_43 = 4;
pub const PF_Arbitrary_UNFLATTEN_FUNC: _bindgen_ty_43 = 5;
pub const PF_Arbitrary_INTERP_FUNC: _bindgen_ty_43 = 6;
pub const PF_Arbitrary_COMPARE_FUNC: _bindgen_ty_43 = 7;
pub const PF_Arbitrary_PRINT_SIZE_FUNC: _bindgen_ty_43 = 8;
pub const PF_Arbitrary_PRINT_FUNC: _bindgen_ty_43 = 9;
pub const PF_Arbitrary_SCAN_FUNC: _bindgen_ty_43 = 10;
pub type _bindgen_ty_43 = ::std::os::raw::c_uint;
pub type PF_FunctionSelector = A_long;
pub const PF_ArbCompare_EQUAL: _bindgen_ty_44 = 0;
pub const PF_ArbCompare_LESS: _bindgen_ty_44 = 1;
pub const PF_ArbCompare_MORE: _bindgen_ty_44 = 2;
pub const PF_ArbCompare_NOT_EQUAL: _bindgen_ty_44 = 3;
pub type _bindgen_ty_44 = ::std::os::raw::c_uint;
pub type PF_ArbCompareResult = A_long;
pub const PF_ArbPrint_NONE: _bindgen_ty_45 = 0;
pub const PF_ArbPrint_ABBREVIATED: _bindgen_ty_45 = 1;
pub type _bindgen_ty_45 = ::std::os::raw::c_uint;
pub type PF_ArbPrintFlags = A_long;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct PF_ArbParamsExtra {
    pub which_function: PF_FunctionSelector,
    pub id: A_short,
    pub padding: A_short,
    pub u: PF_ArbParamsExtra__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union PF_ArbParamsExtra__bindgen_ty_1 {
    pub new_func_params: PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_1,
    pub dispose_func_params: PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_2,
    pub copy_func_params: PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_3,
    pub flat_size_func_params: PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_4,
    pub flatten_func_params: PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_5,
    pub unflatten_func_params: PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_6,
    pub interp_func_params: PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_7,
    pub compare_func_params: PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_8,
    pub print_size_func_params: PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_9,
    pub print_func_params: PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_10,
    pub scan_func_params: PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_11,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_1 {
    pub refconPV: *mut ::std::os::raw::c_void,
    pub arbPH: *mut PF_ArbitraryH,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_2 {
    pub refconPV: *mut ::std::os::raw::c_void,
    pub arbH: PF_ArbitraryH,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_3 {
    pub refconPV: *mut ::std::os::raw::c_void,
    pub src_arbH: PF_ArbitraryH,
    pub dst_arbPH: *mut PF_ArbitraryH,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_4 {
    pub refconPV: *mut ::std::os::raw::c_void,
    pub arbH: PF_ArbitraryH,
    pub flat_data_sizePLu: *mut A_u_long,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_5 {
    pub refconPV: *mut ::std::os::raw::c_void,
    pub arbH: PF_ArbitraryH,
    pub buf_sizeLu: A_u_long,
    pub flat_dataPV: *mut ::std::os::raw::c_void,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_6 {
    pub refconPV: *mut ::std::os::raw::c_void,
    pub buf_sizeLu: A_u_long,
    pub flat_dataPV: *const ::std::os::raw::c_void,
    pub arbPH: *mut PF_ArbitraryH,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_7 {
    pub refconPV: *mut ::std::os::raw::c_void,
    pub left_arbH: PF_ArbitraryH,
    pub right_arbH: PF_ArbitraryH,
    pub tF: PF_FpLong,
    pub interpPH: *mut PF_ArbitraryH,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_8 {
    pub refconPV: *mut ::std::os::raw::c_void,
    pub a_arbH: PF_ArbitraryH,
    pub b_arbH: PF_ArbitraryH,
    pub compareP: *mut PF_ArbCompareResult,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_9 {
    pub refconPV: *mut ::std::os::raw::c_void,
    pub arbH: PF_ArbitraryH,
    pub print_sizePLu: *mut A_u_long,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_10 {
    pub refconPV: *mut ::std::os::raw::c_void,
    pub print_flags: PF_ArbPrintFlags,
    pub arbH: PF_ArbitraryH,
    pub print_sizeLu: A_u_long,
    pub print_bufferPC: *mut A_char,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ArbParamsExtra__bindgen_ty_1__bindgen_ty_11 {
    pub refconPV: *mut ::std::os::raw::c_void,
    pub bufPC: *const A_char,
    pub bytes_to_scanLu: A_u_long,
    pub arbPH: *mut PF_ArbitraryH,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_UserChangedParamExtra {
    pub param_index: PF_ParamIndex,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ImporterPrefsData {
    _unused: [u8; 0],
}
pub type PF_ImporterPrefsDataPtr = *mut PF_ImporterPrefsData;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_TranslateParamsToPrefsExtra {
    pub prefsPC: PF_ImporterPrefsDataPtr,
    pub prefs_sizeLu: A_u_long,
}
pub const PF_DepCheckType_NONE: _bindgen_ty_46 = 0;
pub const PF_DepCheckType_ALL_DEPENDENCIES: _bindgen_ty_46 = 1;
pub const PF_DepCheckType_MISSING_DEPENDENCIES: _bindgen_ty_46 = 2;
pub type _bindgen_ty_46 = ::std::os::raw::c_uint;
pub type PF_DepCheckType = A_long;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ExtDependenciesExtra {
    pub check_type: PF_DepCheckType,
    pub dependencies_strH: PF_Handle,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union PF_ParamDefUnion {
    pub ld: PF_LayerDef,
    pub sd: PF_SliderDef,
    pub fd: PF_FixedSliderDef,
    pub ad: PF_AngleDef,
    pub bd: PF_CheckBoxDef,
    pub cd: PF_ColorDef,
    pub td: PF_PointDef,
    pub pd: PF_PopupDef,
    pub fs_d: PF_FloatSliderDef,
    pub arb_d: PF_ArbitraryDef,
    pub path_d: PF_PathDef,
    pub button_d: PF_ButtonDef,
    pub point3d_d: PF_Point3DDef,
}
pub const PF_PUI_NONE: _bindgen_ty_47 = 0;
pub const PF_PUI_TOPIC: _bindgen_ty_47 = 1;
pub const PF_PUI_CONTROL: _bindgen_ty_47 = 2;
pub const PF_PUI_STD_CONTROL_ONLY: _bindgen_ty_47 = 4;
pub const PF_PUI_NO_ECW_UI: _bindgen_ty_47 = 8;
pub const PF_PUI_ECW_SEPARATOR: _bindgen_ty_47 = 16;
pub const PF_PUI_DISABLED: _bindgen_ty_47 = 32;
pub const PF_PUI_DONT_ERASE_TOPIC: _bindgen_ty_47 = 64;
pub const PF_PUI_DONT_ERASE_CONTROL: _bindgen_ty_47 = 128;
pub const PF_PUI_RADIO_BUTTON: _bindgen_ty_47 = 256;
pub const PF_PUI_INVISIBLE: _bindgen_ty_47 = 512;
#[doc = " Param UI Flags\n\nPF_PUI_TOPIC\n\nSet this flag if you handle PF_Cmd_EVENTs for the \"topic\" of\nthe parameter.  The \"topic\" is the portion of the param UI\nin the Effect Controls Window (ECW) that is still visible\nwhen the twirly-arrow is twirled up for that param.\n\nIf you set this flag, you must also set PF_OutFlag_CUSTOM_UI\nat PF_Cmd_GLOBAL_SETUP time.\n\nPF_PUI_CONTROL\n\nSet this flag if you handle PF_Cmd_EVENTs for the control\narea in the ECW.  This is the area that becomes invisible\nwhen you twirl up a parameter's twirly arrow (and is the\nusual place to have your custom UI).\n\nIf you set this flag, you must also set PF_OutFlag_CUSTOM_UI\nat PF_Cmd_GLOBAL_SETUP time.\n\nPF_PUI_STD_CONTROL_ONLY\n\nSet this flag if you want the standard control only -- no\ndata stream will be associated with this parameter, and\nthus no keyframes (nothing appears in the Time Layout window\nfor this type of param).\n\nYou might want to do this to control something in your\nsequence data with a standard control.  Or in your arb\ndata, or custom UI in the comp window, or to group-set multiple\nother controls.\n\n\nThis flag can be used with these param types:\nPF_Param_SLIDER, PF_Param_FIX_SLIDER, PF_Param_ANGLE,\nPF_Param_CHECKBOX, PF_Param_COLOR, PF_Param_POINT,\nPF_Param_POPUP, PF_Param_FLOAT_SLIDER, PF_Param_POINT_3D\n\nbut NOT:\n\nPF_Param_CUSTOM, PF_Param_NO_DATA,\nPF_Param_LAYER, PF_Param_ARBITRARY_DATA, PF_Param_PATH\n\nIf you set this flag, you must also set PF_ParamFlag_SUPERVISE\n(otherwise you would never find out about value changes, and\nthe setting would never be used for anything).  This flag\ndoes not require the setting of PF_OutFlag_CUSTOM_UI.\n\nIf you want a standard control for PF_Param_ARBITRARY_DATA,\njust add one (or more) using PF_PUI_STD_CONTROL_ONLY with\nthe supported param types, and then when handling\nPF_Cmd_USER_CHANGED_PARAM you can modify your arb data.\n\n\nPF_PUI_NO_ECW_UI\n\nSet this flag if you want no UI to appear in the Effect Controls\nWindow.  Presumably, you are setting the value of the parameter\nthrough some other method (e.g. custom UI in the comp window,\nor while handling PF_Cmd_USER_CHANGED_PARAM for a different param with\nPF_ParamFlag_SUPERVISE set). In AE, this doesn't affect keyframe\nvisibility in the timeline. In PPro it does remove the entire row,\nso you won't see keyframes.\n\nPF_PUI_ECW_SEPARATOR\n\nSet this flag if you'd like a thick line above this parameter\nin the effect control window. This is provided so that parameters\ncan be grouped visually, if needed (without adding groups).\nThis flag can be changed at runtime through the PF_UpdateParamUI()\nmethod. Not used by AE.\n\nPF_PUI_INVISIBLE\n\nSet this flag if you'd like the parameter to be initially invisible. This is useful\nif your effect needs hidden data parameters that affect rendering.\n\nPremiere only: The parameter can later be made visible by clearing the flag\nduring the PF_UpdateParamUI() callback."]
pub type _bindgen_ty_47 = ::std::os::raw::c_uint;
pub type PF_ParamUIFlags = A_long;
pub const PF_ChangeFlag_NONE: _bindgen_ty_48 = 0;
pub const PF_ChangeFlag_CHANGED_VALUE: _bindgen_ty_48 = 1;
pub const PF_ChangeFlag_RESERVED: _bindgen_ty_48 = 2;
pub const PF_ChangeFlag_SET_TO_VARY: _bindgen_ty_48 = 4;
pub const PF_ChangeFlag_SET_TO_CONSTANT: _bindgen_ty_48 = 8;
#[doc = " PF_ChangeFlags\n\nNew in AE 4.0 (although PF_ChangeFlag_CHANGED_VALUE was implemented\nby setting low bit of old changed field).\n\nPF_ChangeFlag_CHANGED_VALUE\n\nSet this flag for each param whose value you change when handling\na PF_Cmd_USER_CHANGED_PARAM or specific PF_Cmd_EVENT events\n(PF_Event_DO_CLICK, PF_Event_DRAG, & PF_Event_KEYDOWN). If set during\nPF_Cmd_EVENT, but sure to also set PF_EO_HANDLED_EVENT before returning.\nYou can change as many params as you want at once.  These changes are undoable and\nre-doable by the user.  Exception: do not set PF_PUI_STD_CONTROL_ONLY\nparam values with this flag, use PF_UpdateParamUI() instead.\n\nPF_ChangeFlag_SET_TO_VARY\n\nNot yet implemented.  Same restrictions as PF_ChangeFlag_CHANGED_VALUE.\n\nPF_ChangeFlag_SET_TO_CONSTANT\n\nNot yet implemented.  Same restrictions as PF_ChangeFlag_CHANGED_VALUE."]
pub type _bindgen_ty_48 = ::std::os::raw::c_uint;
pub type PF_ChangeFlags = A_long;
#[doc = " ParamDef"]
#[repr(C)]
#[derive(Copy, Clone)]
pub struct PF_ParamDef {
    pub uu: PF_ParamDef__bindgen_ty_1,
    pub ui_flags: PF_ParamUIFlags,
    pub ui_width: A_short,
    pub ui_height: A_short,
    pub param_type: PF_ParamType,
    pub name: [A_char; 32usize],
    pub flags: PF_ParamFlags,
    pub unused: A_long,
    pub u: PF_ParamDefUnion,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union PF_ParamDef__bindgen_ty_1 {
    pub id: A_long,
    pub change_flags: PF_ChangeFlags,
}
#[doc = " ParamDef"]
pub type PF_ParamDefPtr = *mut PF_ParamDef;
#[doc = " ParamDef"]
pub type PF_ParamDefH = *mut *mut PF_ParamDef;
pub type PF_ParamList = *mut *mut PF_ParamDef;
pub const PF_ChannelMask_ALPHA: _bindgen_ty_49 = 1;
pub const PF_ChannelMask_RED: _bindgen_ty_49 = 2;
pub const PF_ChannelMask_GREEN: _bindgen_ty_49 = 4;
pub const PF_ChannelMask_BLUE: _bindgen_ty_49 = 8;
pub const PF_ChannelMask_ARGB: _bindgen_ty_49 = 15;
#[doc = " -------------------- Smart Render Interface Constants and Structures --------------------\n\nPF_Cmd_SMART_PRE_RENDER gets a PF_PreRenderExtra struct in the extra pointer, and must\nfill out the \"output\" field before returning.\n\nPF_Cmd_SMART_RENDER gets a PF_SmartRenderExtra struct in the extra pointer, if pre-render was invoked.\n"]
pub type _bindgen_ty_49 = ::std::os::raw::c_uint;
pub type PF_ChannelMask = A_long;
pub const PF_GPU_Framework_NONE: _bindgen_ty_50 = 0;
pub const PF_GPU_Framework_OPENCL: _bindgen_ty_50 = 1;
pub const PF_GPU_Framework_METAL: _bindgen_ty_50 = 2;
pub const PF_GPU_Framework_CUDA: _bindgen_ty_50 = 3;
pub type _bindgen_ty_50 = ::std::os::raw::c_uint;
pub type PF_GPU_Framework = A_long;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_RenderRequest {
    pub rect: PF_LRect,
    pub field: PF_Field,
    pub channel_mask: PF_ChannelMask,
    pub preserve_rgb_of_zero_alpha: PF_Boolean,
    pub unused: [::std::os::raw::c_char; 3usize],
    pub reserved: [A_long; 4usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_PreRenderInput {
    pub output_request: PF_RenderRequest,
    pub bitdepth: ::std::os::raw::c_short,
    pub gpu_data: *const ::std::os::raw::c_void,
    pub what_gpu: PF_GPU_Framework,
    pub device_index: A_u_long,
}
pub type PF_DeletePreRenderDataFunc =
    ::std::option::Option<unsafe extern "C" fn(pre_render_data: *mut ::std::os::raw::c_void)>;
pub const PF_RenderOutputFlag_RETURNS_EXTRA_PIXELS: _bindgen_ty_51 = 1;
pub const PF_RenderOutputFlag_GPU_RENDER_POSSIBLE: _bindgen_ty_51 = 2;
pub const PF_RenderOutputFlag_RESERVED1: _bindgen_ty_51 = 4;
pub type _bindgen_ty_51 = ::std::os::raw::c_uint;
pub type PF_RenderOutputFlags = ::std::os::raw::c_short;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_PreRenderOutput {
    pub result_rect: PF_LRect,
    pub max_result_rect: PF_LRect,
    pub solid: PF_Boolean,
    pub reserved: PF_Boolean,
    pub flags: PF_RenderOutputFlags,
    pub pre_render_data: *mut ::std::os::raw::c_void,
    pub delete_pre_render_data_func: PF_DeletePreRenderDataFunc,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_CheckoutResult {
    pub result_rect: PF_LRect,
    pub max_result_rect: PF_LRect,
    pub par: PF_RationalScale,
    pub solid: PF_Boolean,
    pub reservedB: [PF_Boolean; 3usize],
    pub ref_width: A_long,
    pub ref_height: A_long,
    pub reserved: [A_long; 6usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_PreRenderCallbacks {
    pub checkout_layer: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            index: PF_ParamIndex,
            checkout_idL: A_long,
            req: *const PF_RenderRequest,
            what_time: A_long,
            time_step: A_long,
            time_scale: A_u_long,
            checkout_result: *mut PF_CheckoutResult,
        ) -> PF_Err,
    >,
    pub GuidMixInPtr: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            buf_sizeLu: A_u_long,
            buf: *const ::std::os::raw::c_void,
        ) -> PF_Err,
    >,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_PreRenderExtra {
    pub input: *mut PF_PreRenderInput,
    pub output: *mut PF_PreRenderOutput,
    pub cb: *mut PF_PreRenderCallbacks,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_SmartRenderInput {
    pub output_request: PF_RenderRequest,
    pub bitdepth: ::std::os::raw::c_short,
    pub pre_render_data: *mut ::std::os::raw::c_void,
    pub gpu_data: *const ::std::os::raw::c_void,
    pub what_gpu: PF_GPU_Framework,
    pub device_index: A_u_long,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_SmartRenderCallbacks {
    pub checkout_layer_pixels: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            checkout_idL: A_long,
            pixels: *mut *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub checkin_layer_pixels: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, checkout_idL: A_long) -> PF_Err,
    >,
    pub checkout_output: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, output: *mut *mut PF_EffectWorld) -> PF_Err,
    >,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_SmartRenderExtra {
    pub input: *mut PF_SmartRenderInput,
    pub cb: *mut PF_SmartRenderCallbacks,
}
#[doc = " -------------------- GPU Setup/Setdown Constants and Structures --------------------\n\nPF_Cmd_GPU_DEVICE_SETUP gets a PF_GPUDeviceSetupExtra struct in the extra pointer.\n\nPF_Cmd_GPU_DEVICE_SETDOWN gets a PF_GPUDeviceSetdownExtra struct in the extra pointer.\n"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_GPUDeviceSetupInput {
    pub what_gpu: PF_GPU_Framework,
    pub device_index: A_u_long,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_GPUDeviceSetupOutput {
    pub gpu_data: *mut ::std::os::raw::c_void,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_GPUDeviceSetupExtra {
    pub input: *mut PF_GPUDeviceSetupInput,
    pub output: *mut PF_GPUDeviceSetupOutput,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_GPUDeviceSetdownInput {
    pub gpu_data: *mut ::std::os::raw::c_void,
    pub what_gpu: PF_GPU_Framework,
    pub device_index: A_u_long,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_GPUDeviceSetdownExtra {
    pub input: *mut PF_GPUDeviceSetdownInput,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _PF_CustomUIInfo {
    _unused: [u8; 0],
}
#[doc = " -------------------- Interaction Callbacks --------------------\n\nEffects modules use callbacks to define their parameters.  When invoked,\nthey will be given the parameters values at the particular invocation\nmoment, but some effects may need to ask for the parameter values at\nother times (notably of layer parameters for, say, a visual echo).\n\nWhile running, effects modules are responsible for checking for user\ninterrupts.  This checking can be done with either the abort callback,\nwhich will return a value indicating if the user has taken any action,\nor with the progress callback, which performs user interrupt checking\njust like the abort callback, and also displays a progress display.\n\nAt the bottom of this section are macros for accessing these callback\nroutines.  The first parameter to each macro is a pointer to a PF_InData\nstructure, defined below.  This pointer will be passed to your effect.\n\ncheckout_param\nThe checkout_param callback allows you to inquire param values at times\nother than the current one, and allows you to access layer params other\nthan the default input layer and the output layer.  See the notes on the\n\"params\" structure at the end of this file.  The PF_ParamDef you must\nspecify cannot point into the \"params\" array; the memory must exist else-\nwhere, such as on the stack.\n\nIf you checkout a layer parameter and the layer popup is currently set\nto <none>, the return value will be filled with zeros.  You can check\nthe \"data\" pointer.  If it is NULL, then the layer param is set to <none>\nand you should do something like faking an all alpha zero layer or some\nsuch nonsense.  IMPORTANT: Due to 13.5 threading changes, checking out\na layer param that is not <none> inside of UPDATE_PARAMS_UI will return\na frame with black pixels to avoid render requests and possible deadlock.\nIn other selectors the actual render will be triggered as it did before.\n\ncheckin_param\nWhen you have called checkout_param, you must call checkin_param when you\nare done, so After Effects can clean up after itself and you.  This is\nvery important for smooth functioning and also to save memory where possible.\nOnce checked in, the fields in the PF_ParamDef will no longer be valid.\n\nadd_param\nWhen given the PARAMS_SETUP message, the effect will generally make a\nseries of calls to the add_param routine to define the interface that\nthe After Effects user will see.  See the PF_ParamDefs defined above.\nCurrently you can only add params at the end, and only at PARAMS_SETUP\ntime.\n\nabort\nPeriodically, you should check if the user wants to interrupt the\ncurrent processing.  The abort proc here will return non-zero if\nthe effects module should suspend its current processing.  If you\ncall this routine and it returns a value other than zero, you should\nreturn that value when your effect returns.  That will let us know\nif the effect completed rendering or not.\n\nprogress\nAlternatively, you may wish to display a progress bar while you are\nprocessing the image.  This routine combines the abort proc user\ninterrupt checking with code that will display a progress bar for\nyou.  The current and total params represent a fraction (current/total)\nthat describes how far you are along in your processing.  Current\nshould equal total when done.  Additionally, this routine will return\nnon-zero if you should suspend/abort your current processing.  You\nshould probably try not to call this too frequently (e.g. at every pixel).\nIt is better to call it, say, once per scanline, unless your filter is\nreally really slow."]
pub type PF_CustomUIInfo = _PF_CustomUIInfo;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_InteractCallbacks {
    pub checkout_param: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            index: PF_ParamIndex,
            what_time: A_long,
            time_step: A_long,
            time_scale: A_u_long,
            param: *mut PF_ParamDef,
        ) -> PF_Err,
    >,
    pub checkin_param: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, param: *mut PF_ParamDef) -> PF_Err,
    >,
    pub add_param: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            index: PF_ParamIndex,
            def: PF_ParamDefPtr,
        ) -> PF_Err,
    >,
    pub abort: ::std::option::Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr) -> PF_Err>,
    pub progress: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, current: A_long, total: A_long) -> PF_Err,
    >,
    pub register_ui: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, cust_info: *mut PF_CustomUIInfo) -> PF_Err,
    >,
    pub checkout_layer_audio: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            index: PF_ParamIndex,
            start_time: A_long,
            duration: A_long,
            time_scale: A_u_long,
            rate: PF_UFixed,
            bytes_per_sample: A_long,
            num_channels: A_long,
            fmt_signed: A_long,
            audio: *mut PF_LayerAudio,
        ) -> PF_Err,
    >,
    pub checkin_layer_audio: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, audio: PF_LayerAudio) -> PF_Err,
    >,
    pub get_audio_data: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            audio: PF_LayerAudio,
            data0: *mut PF_SndSamplePtr,
            num_samples0: *mut A_long,
            rate0: *mut PF_UFixed,
            bytes_per_sample0: *mut A_long,
            num_channels0: *mut A_long,
            fmt_signed0: *mut A_long,
        ) -> PF_Err,
    >,
    pub reserved_str: [*mut ::std::os::raw::c_void; 3usize],
    pub reserved: [*mut ::std::os::raw::c_void; 10usize],
}
#[doc = " -------------------- Effect Parameter Blocks --------------------\n\nThe effects module itself is invoked with input and output blocks\nof parameters for various messages that it needs to handle.  The\noutput block (values returned from the effect to the program) and\nthe input block (values provided by the program for the edification\nof the effect) are defined here.  Discussion follows.\n\nThe Output Block\n\nMost fields of the output block are only examined for changes after\ncertain commands have been sent to the effect module.  Each field\nbelow describes when it will be checked.\n\nmy_version\nThis is the version number of your plug-in effect, not to be confused\nwith the version of the plug-in specification. Please set this\nat PF_Cmd_GLOBAL_SETUP.\n\nname\nThis lets you override the name of the effect in the Time Layout and\nin the Effect Controls windows when the effect is applied. The name from\nthe PiPL resource is always used in the Effect menu. This field is\nchecked after PF_Cmd_SEQUENCE_SETUP. You will almost always leave\nthis field empty.\n\nglobal_data\nThis is a Handle that you can allocate at PF_Cmd_GLOBAL_SETUP\ntime.  It will be passed back to you verbatim in the input\nparameter block for use later on.  In PF_Cmd_GLOBAL_SETUP,\nthe global_data field in the Input Block may be set to a\nflattened version of your global data, in which case you should\nunflatten it, free the flat version, and set this field to the\nunflattened new global data.\n\nIt will be locked & unlocked for you automatically like sequence_data.\n\nnum_params\nThe calling application will sanity check the num_params field\nvs the times add_param is called.  The implicit main\nlayer parameter MUST be included in the parameter count.  Use the\nnum_params value in the in_data as a starting value (it will\ninclude the implicit layer parameter).\nSet this field when you get PF_Cmd_PARAMS_SETUP.\n\nsequence_data\nThis is a Handle that you can allocate (using PF_NEW_HANDLE)\nat PF_Cmd_SEQUENCE_SETUP time.\nIt will be passed back to you in the input parameter block\nfor later use.\n\nWARNING: this handle is always locked for you before your plugin\nis called, and the lock-state is restored on the way out.  If you\nhave arbitrary data, your plugin can be called re-entrantly, so\nif you have a lock/unlock inside your plugin, the handle will\nbecome unlocked prematurely -- instead simply depend on the host\nto lock & unlock your sequence data for you.  Of course during\nPF_Cmd_SEQUENCE_SETUP the handle you allocate will not be\nlocked unless you explicitly lock it at that time.\n\nThe contents of this handle will be written out to\ndisk.  If other handles\thang off this block, you must specify the\nPF_OutFlag_SEQUENCE_DATA_NEEDS_FLATTENING out flag when you get\nthe PF_Cmd_GLOBAL_SETUP command.  You will then receive the\nPF_Cmd_SEQUENCE_FLATTEN before your handle is written out.  At that\ntime, you should create a flat version of the handle contents,\nfree the old unflat handle, and set this field to the flattened\nversion of the handle.  Or after disposing, simply set to NULL\nand nothing will be written to disk.\n\nYou will receive a PF_Cmd_SEQUENCE_RESETUP\ncall to unflatten this handle (as well as to adjust the sequence\ndata to altered frame rates, etc).  If your\nsequence data can be flat or unflat, you should store its current\nstate along with the other data, and check that value in Resetup.\nIf the handle is flat, Resetup should unflatten it, free the flat\nhandle, and set this field to the new unflat usable handle.\n\nflat_sdata_size\nOBSOLETE.  Turns out, it was never used.  Since the handle\nset in sequence_data must be allocated using PF_NEW_HANDLE,\nthe host can find out the size of the handle without asking.\n\nframe_data\nThis is a Handle that you can allocated at PF_Cmd_FRAME_SETUP\ntime.  It will be passed to you in the input parameters, as\nwith the global_data and the sequence_data.  This will not\nbe written out to disk.  There is no particular use for this.\nSet this field in PF_Cmd_FRAME_SETUP, if you must.\n\nIt will be locked & unlocked for you like sequence_data.\n\nwidth\nheight\norigin\nYou set these fields at PF_Cmd_FRAME_SETUP time to indicate\nthat the output image will be larger than the input image.\nYou\tshould set width and height to the size that you want the\noutput buffer to be.  Set origin to the place that the\npoint (0,0) in the input should map to in the new larger\noutput.  Thus, if you created a 5 pixel drop shadow up and left,\nyou would set origin to (5, 5).\n\nout_flags\nout_flags2\nThis field can be set to an OR-ed combination of the PF_OutFlag\nand PF_OutFlag2 constants (don't mix them up!) to communicate\nthings to After Effects.  This will be checked after every\ncommand, but only certain flags are relevant at given times.\nCheck the PF_OutFlag constants above.\n\nreturn_msg\nThis is a message string (in C string format) that will be\ninterpreted as either an error message or a useful display\nmessage (for instance, for handling PF_Cmd_ABOUT).  Fill\nthis string with a message you want After Effects to report\nto the user for you.  It will come up in a simple dialog\nwith an OK button.  Set the first byte of this string to '\\0'\nto indicate no string -- it is set that way upon entry.  This\nfield is examined after every PF_Cmd.\n\nThe Input Block\n\nMany parts of the input block are actually structures defined elsewhere\nin this file, or in the companion file AE_EffectCB.h.  See the documentation\nwhere those structures are defined to understand their contents.\nWith any given PF_Cmd, only certain fields in the Input Block will\nhave valid values.  Each field described below tells when it is valid.\n\nin_flags\nin_flags2\nThese are various flags indicating some boolean value to\nthe effect module.  This is a combination of PF_InFlag values\nOR-ed together.  This is set for all commands, though most\nflags make sense only at certain times.  Usually this is\njust a copy of the PiPL global flags.  See PF_OutFlags and\nPF_OutFlags2 above.\n\ninter\nThis is a structure defined above containing callbacks\nrelated to user interaction.  This has callbacks to add parameters,\nto check if the user has interrupted the effect, to display\na progress bar, and to inquire parameter values outside of the\ncurrent moment.  See the doc above.  When each callback can\nvalidly be executed is defined above.\n\nutils\nThis is a pointer to a block of useful graphical and mathematical\ncallbacks provided for the effects module.  The documentation\nfor this block is in the AE_EffectCB.h file.  This is a void *,\nwhich can be confusing.  See AE_EffectCB.h for macros to use these\nfunctions.  This pointer will be defined at all times.\n\neffect_ref\nThis is a opaque piece of data that needs to be passed to\nmost of the various callback routines.  Don't worry about it.\n\nquality\nThis is set to one of the PF_Quality constants above to\ndescribe the Quality currently chosen by the user.  Ideally,\nyour effect should do a faster version with LO quality, and\na better, \"broadcast\"-able version with HI quality.  Also,\nsome of the utility callbacks perform differently between\nLO and HI quality.  This is defined for all PF_Cmds related\nto SEQUENCE and FRAME (obviously, including RENDER).\n\nversion\nThis is the version of the effects spec with which you are\nbeing invoked.  This will not be defined until after GLOBAL_SETUP.\n\nserial_num\nThis is the serial number of the invoking application.\n\nappl_id\nThis is the identifier of the invoking application.  It will\nbe the creator A_long of the app.\n\nfreq\nThis is an estimate of the frequency with which you should\ncall the abort check callback.  You can ignore this.\n\nnum_params\nThis is set to the number of input parameters you are receiving.\n\nwhat_cpu\nThis is set to the return value from Gestalt asking what sort\nof CPU your machine has.  If your effect requires a certain\ntype of CPU it should check this value and return an error\nindicating that it cannot run.  After Effects only runs on\n68020s and higher, so don't sweat it if you require that.\n\nwhat_fpu\nThis is set to the return value from Gestalt asking what sort\nof FPU your machine has.  If you require a floating point unit,\nyou should return the OutFlag indicating that in GLOBAL_SETUP,\nand then do not execute your floating point code if this value\nis set to 0 -- just do a PF_COPY of the input to the output when\nyou get the PF_Cmd_RENDER.  See OutFlag description above.\n\ncurrent_time\nThis is the time of the current frame.  It will be set in RENDER.\nThe number of the current frame is current_time / time_step.\nAll effects sequences start at time 0.\n\ntime_step\nThis is the time difference to the next or last frame.  This value\nand current_time and total_time are in units given by time_scale.\nThe time between frames is time_step, not 1.  This value will be 0\nat SEQUENCE_SETUP if it is not constant for all frames.  It will\nbe set correctly in the FRAME calls, even if it's not constant.\n\ntotal_time\nThis is the amount of time from the start to the end of the\nimage sequence on which this effect is being invoked.  The total\nnumber of frames is total_time / time_step.\n\ntime_scale\nThese are the units that current_time, time_step, and total_time\nare in.  See QuickTime for an explanation of how these time values work.\n\nwidth\nheight\nThese are the size of the input image. As Stoney Ballard points out,\nthese are certainly NOT the same as the\twidth and height fields in param[0],\nbut rather reflect the full-resolution dimensions of the input layer.\n\nfield\nWill be set to PF_Field_UPPER or PF_Field_LOWER during field-rendering\nif certain conditions are met -- for example: effect must have\nPF_OutFlag_PIX_INDEPENDENT set, and the layer to which the effect is\napplied must not be rotated, scaled nor positioned on a subpixel.\nYou can safely ignore the setting of this field, but might be able to\noptimize things by only processing the specified field.\n\nextent_hint\nThis is a rectangle that indicates the intersection of the visible\nportions of the input and output layers.  For an effect that does\nnot do a geometric distortion of the image, copying just this rectangle\nfrom the source image to the destination image is sufficient to copy\nall the image data that the user will see.  This can speed up effects\nvery much.  Just iterate over only this rectangle of pixels.\n\noutput_origin_x\noutput_origin_y\nThese fields correspond to the origin returned in the out_data at\nPF_Cmd_FRAME_SETUP time. They indicate the position of the top left\ncorner of the input buffer in the output buffer.\n\ndownsample_x\ndownsample_y\nFor speed, the user may have asked for only every Nth vertical or\nhorizontal pixel to be actually rendered by After Effects.  The width\nand height of all effect parameters (including layers) will be\nautomatically adjusted to compensate, but the effect needs to know\nthe downsampling factors to correctly interpret scalar parameters\n(ie. sliders) that represent pixel distances in the image.\nDownsample factors will be in the range 1 to 999+.  This is set in\nSEQUENCE_SETUP or RESETUP as the case may be. As of PF_PLUG_IN_VERSION 2,\nthis factor is a rational quantity.\n\nglobal_data\nsequence_data\nframe_data\nThese fields are copied from the out data on previous invocations\nand set here for you to access as you need them.  They will only\nbe set if they have been allocated during previous commands.\n\npre_effect_source_origin_x\npre_effect_source_origin_y\nThese fields are the origin of the source image in the input buffer. They are set\nonly during frame calls (PF_Cmd_FRAME_SETUP, PF_Cmd_RENDER, PF_Cmd_FRAME_SETDOWN).\nThey will be non-zero only if one or more effects that preceded this effect\non the same layer resized the output buffer (i.e. specified that the output\nimage will be larger or smaller than the input image)."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_OutData {
    pub my_version: A_u_long,
    pub name: [A_char; 32usize],
    pub global_data: PF_Handle,
    pub num_params: A_long,
    pub sequence_data: PF_Handle,
    pub flat_sdata_size: A_long,
    pub frame_data: PF_Handle,
    pub width: A_long,
    pub height: A_long,
    pub origin: PF_Point,
    pub out_flags: PF_OutFlags,
    pub return_msg: [A_char; 256usize],
    pub start_sampL: A_long,
    pub dur_sampL: A_long,
    pub dest_snd: PF_SoundWorld,
    pub out_flags2: PF_OutFlags2,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_InData {
    pub inter: PF_InteractCallbacks,
    pub utils: *mut _PF_UtilCallbacks,
    pub effect_ref: PF_ProgPtr,
    pub quality: PF_Quality,
    pub version: PF_SpecVersion,
    pub serial_num: A_long,
    pub appl_id: A_long,
    pub num_params: A_long,
    pub reserved: A_long,
    pub what_cpu: A_long,
    pub what_fpu: A_long,
    pub current_time: A_long,
    pub time_step: A_long,
    pub total_time: A_long,
    pub local_time_step: A_long,
    pub time_scale: A_u_long,
    pub field: PF_Field,
    pub shutter_angle: PF_Fixed,
    pub width: A_long,
    pub height: A_long,
    pub extent_hint: PF_Rect,
    pub output_origin_x: A_long,
    pub output_origin_y: A_long,
    pub downsample_x: PF_RationalScale,
    pub downsample_y: PF_RationalScale,
    pub pixel_aspect_ratio: PF_RationalScale,
    pub in_flags: PF_InFlags,
    pub global_data: PF_Handle,
    pub sequence_data: PF_Handle,
    pub frame_data: PF_Handle,
    pub start_sampL: A_long,
    pub dur_sampL: A_long,
    pub total_sampL: A_long,
    pub src_snd: PF_SoundWorld,
    pub pica_basicP: *mut SPBasicSuite,
    pub pre_effect_source_origin_x: A_long,
    pub pre_effect_source_origin_y: A_long,
    pub shutter_phase: PF_Fixed,
}
#[doc = " -------------------- Effect Prototype --------------------\n\nThe effects module provides a single entry point corresponding to the\nbelow prototype through which all messages are dispatched to the\nappropriate code.\n\nThe cmd parameter is one of the PF_Cmd enumeration defined above.\nAll commands are discussed at that enumeration.  There are a lot.\n\nThe in_data and out_data parameters are respectively, PF_InData and\nPF_OutData blocks defined and described above.  The in_data contains\nread only information that the effect can use.  The out_data contains\nwrite only information through which the effect communicates back to\nthe calling program.  The descriptions above give a lot more detail.\n\nThe params list is an array of pointers to variably sized PF_ParamDef\nstructs.  This is in typical Unix-like argv format, where the last item\npoints to NULL.  The entries in this array describe the current settings\nof the parameters to the effect.  Params[0] is the layer to which the\neffect has been applied and is a PF_LayerDef param.  Other parameters\nare defined by the effect.\n\nThe output param is also a PF_LayerDef param, like params[0], and is\nan output buffer into which your effect should write the new contents\nof the layer.\n\nA brief explanation about parameter passing to effects:\n\nWhen you are invoked to Render, all \"params\" array entries will be filled\nwith their value at the current time, except for layer params other than\nthe default input layer parameter (ie. param[0]).  To get other layer param\nvalues, you must call the checkout_param callback.  (See callbacks above.)\n\nIn other words, on PF_Cmd_RENDER, params[0] will be a valid ready-to-use\nPF_EffectWorld and output will be a valid ready-to-use PF_EffectWorld.  Other params that\nare not layer params (i.e. sliders, popups, etc.) will be ready-to-use, filled\nwith their value at the current time; you do not need to call checkout_param for\nthem.  However, other params (besides [0]) that are layer params will NOT be\nfilled in correctly -- you must make a checkout_param callback to get them.\n\nANY param which you call checkout_param on, you must also call checkin_param\nbefore you exit.  If not, After Effects will automatically erase your effect\nmodule code resource from the users hard disk, along with any files that contain\nyour name or any nicknames you have.  Sorry.  Calling checkin_param is important!"]
pub type PF_FilterProc = ::std::option::Option<
    unsafe extern "C" fn(
        cmd: PF_Cmd,
        in_data: *mut PF_InData,
        out_data: *mut PF_OutData,
        params: PF_ParamList,
        output: *mut PF_LayerDef,
        extra: *mut ::std::os::raw::c_void,
    ) -> PF_Err,
>;
pub type PF_KernelFlags = A_u_long;
pub const PF_SampleEdgeBehav_ZERO: _bindgen_ty_52 = 0;
#[doc = " ---------- PF_SampleEdgeBehav ----------\n\nThe sampling routines always deal with 32 bit images, and thus\nneed to compute properly alpha-weighted samples. An issue arises\nwhen an attempt is made to sample outside of the image content area.\n\nBefore PF_PLUG_IN_VERSION 2, After Effects always treated pixels\noutside of the image content area as having alpha = 0, which is desirable\nin many cases. Distortions and other effects may want different sampling\nbehaviors, however, hence the PF_SampleEdgeBehav.\n"]
pub type _bindgen_ty_52 = ::std::os::raw::c_uint;
pub type PF_SampleEdgeBehav = A_u_long;
pub const PF_Xfer_NONE: _bindgen_ty_53 = -1;
pub const PF_Xfer_COPY: _bindgen_ty_53 = 0;
pub const PF_Xfer_BEHIND: _bindgen_ty_53 = 1;
pub const PF_Xfer_IN_FRONT: _bindgen_ty_53 = 2;
pub const PF_Xfer_DISSOLVE: _bindgen_ty_53 = 3;
pub const PF_Xfer_ADD: _bindgen_ty_53 = 4;
pub const PF_Xfer_MULTIPLY: _bindgen_ty_53 = 5;
pub const PF_Xfer_SCREEN: _bindgen_ty_53 = 6;
pub const PF_Xfer_OVERLAY: _bindgen_ty_53 = 7;
pub const PF_Xfer_SOFT_LIGHT: _bindgen_ty_53 = 8;
pub const PF_Xfer_HARD_LIGHT: _bindgen_ty_53 = 9;
pub const PF_Xfer_DARKEN: _bindgen_ty_53 = 10;
pub const PF_Xfer_LIGHTEN: _bindgen_ty_53 = 11;
pub const PF_Xfer_DIFFERENCE: _bindgen_ty_53 = 12;
pub const PF_Xfer_HUE: _bindgen_ty_53 = 13;
pub const PF_Xfer_SATURATION: _bindgen_ty_53 = 14;
pub const PF_Xfer_COLOR: _bindgen_ty_53 = 15;
pub const PF_Xfer_LUMINOSITY: _bindgen_ty_53 = 16;
pub const PF_Xfer_MULTIPLY_ALPHA: _bindgen_ty_53 = 17;
pub const PF_Xfer_MULTIPLY_ALPHA_LUMA: _bindgen_ty_53 = 18;
pub const PF_Xfer_MULTIPLY_NOT_ALPHA: _bindgen_ty_53 = 19;
pub const PF_Xfer_MULTIPLY_NOT_ALPHA_LUMA: _bindgen_ty_53 = 20;
pub const PF_Xfer_ADDITIVE_PREMUL: _bindgen_ty_53 = 21;
pub const PF_Xfer_ALPHA_ADD: _bindgen_ty_53 = 22;
pub const PF_Xfer_COLOR_DODGE: _bindgen_ty_53 = 23;
pub const PF_Xfer_COLOR_BURN: _bindgen_ty_53 = 24;
pub const PF_Xfer_EXCLUSION: _bindgen_ty_53 = 25;
pub const PF_Xfer_DIFFERENCE2: _bindgen_ty_53 = 26;
pub const PF_Xfer_COLOR_DODGE2: _bindgen_ty_53 = 27;
pub const PF_Xfer_COLOR_BURN2: _bindgen_ty_53 = 28;
pub const PF_Xfer_LINEAR_DODGE: _bindgen_ty_53 = 29;
pub const PF_Xfer_LINEAR_BURN: _bindgen_ty_53 = 30;
pub const PF_Xfer_LINEAR_LIGHT: _bindgen_ty_53 = 31;
pub const PF_Xfer_VIVID_LIGHT: _bindgen_ty_53 = 32;
pub const PF_Xfer_PIN_LIGHT: _bindgen_ty_53 = 33;
pub const PF_Xfer_HARD_MIX: _bindgen_ty_53 = 34;
pub const PF_Xfer_LIGHTER_COLOR: _bindgen_ty_53 = 35;
pub const PF_Xfer_DARKER_COLOR: _bindgen_ty_53 = 36;
pub const PF_Xfer_SUBTRACT: _bindgen_ty_53 = 37;
pub const PF_Xfer_DIVIDE: _bindgen_ty_53 = 38;
pub const PF_Xfer_RESERVED0: _bindgen_ty_53 = 39;
pub const PF_Xfer_RESERVED1: _bindgen_ty_53 = 40;
pub const PF_Xfer_NUM_MODES: _bindgen_ty_53 = 41;
pub type _bindgen_ty_53 = ::std::os::raw::c_int;
pub const PF_Xfer_TINT: _bindgen_ty_54 = 29;
pub const PF_Xfer_SHADE: _bindgen_ty_54 = 30;
pub const PF_Xfer_INTENSE_LIGHT: _bindgen_ty_54 = 32;
pub type _bindgen_ty_54 = ::std::os::raw::c_uint;
pub const PF_MaskFlag_NONE: _bindgen_ty_55 = 0;
pub const PF_MaskFlag_INVERTED: _bindgen_ty_55 = 1;
pub const PF_MaskFlag_LUMINANCE: _bindgen_ty_55 = 2;
pub type _bindgen_ty_55 = ::std::os::raw::c_uint;
pub type PF_MaskFlags = A_long;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_MaskWorld {
    pub mask: PF_EffectWorld,
    pub offset: PF_Point,
    pub what_is_mask: PF_MaskFlags,
}
#[doc = " ---------- PF_SampPB ----------\n\nThere are calls to sample an a non-integral point in an image,\nand to sample an area of an image.  This parameter block describes\nsome information needed for these image resampling routines."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_SampPB {
    pub x_radius: PF_Fixed,
    pub y_radius: PF_Fixed,
    pub area: PF_Fixed,
    pub src: *mut PF_EffectWorld,
    pub samp_behave: PF_SampleEdgeBehav,
    pub allow_asynch: A_long,
    pub motion_blur: A_long,
    pub comp_mode: PF_CompositeMode,
    pub mask0: PF_PixelPtr,
    pub fcm_table: *mut A_u_char,
    pub fcd_table: *mut A_u_char,
    pub reserved: [A_long; 8usize],
}
pub const PF_Callback_NONE: _bindgen_ty_56 = 0;
pub const PF_Callback_BEGIN_SAMPLING: _bindgen_ty_56 = 1;
pub const PF_Callback_SUBPIXEL_SAMPLE: _bindgen_ty_56 = 2;
pub const PF_Callback_AREA_SAMPLE: _bindgen_ty_56 = 3;
pub const PF_Callback_OBSOLETE0: _bindgen_ty_56 = 4;
pub const PF_Callback_END_SAMPLING: _bindgen_ty_56 = 5;
pub const PF_Callback_COMPOSITE_RECT: _bindgen_ty_56 = 6;
pub const PF_Callback_BLEND: _bindgen_ty_56 = 7;
pub const PF_Callback_CONVOLVE: _bindgen_ty_56 = 8;
pub const PF_Callback_COPY: _bindgen_ty_56 = 9;
pub const PF_Callback_FILL: _bindgen_ty_56 = 10;
pub const PF_Callback_GAUSSIAN: _bindgen_ty_56 = 11;
pub const PF_Callback_ITERATE: _bindgen_ty_56 = 12;
pub const PF_Callback_PREMUL: _bindgen_ty_56 = 13;
pub const PF_Callback_PREMUL_COLOR: _bindgen_ty_56 = 14;
pub const PF_Callback_RGB_TO_HLS: _bindgen_ty_56 = 15;
pub const PF_Callback_HLS_TO_RGB: _bindgen_ty_56 = 16;
pub const PF_Callback_RGB_TO_YIQ: _bindgen_ty_56 = 17;
pub const PF_Callback_YIQ_TO_RGB: _bindgen_ty_56 = 18;
pub const PF_Callback_LUMINANCE: _bindgen_ty_56 = 19;
pub const PF_Callback_HUE: _bindgen_ty_56 = 20;
pub const PF_Callback_LIGHTNESS: _bindgen_ty_56 = 21;
pub const PF_Callback_SATURATION: _bindgen_ty_56 = 22;
pub const PF_Callback_NEW_WORLD: _bindgen_ty_56 = 23;
pub const PF_Callback_DISPOSE_WORLD: _bindgen_ty_56 = 24;
pub const PF_Callback_ITERATE_ORIGIN: _bindgen_ty_56 = 25;
pub const PF_Callback_ITERATE_LUT: _bindgen_ty_56 = 26;
pub const PF_Callback_TRANSFER_RECT: _bindgen_ty_56 = 27;
pub const PF_Callback_TRANSFORM_WORLD: _bindgen_ty_56 = 28;
pub const PF_Callback_ITERATE_ORIGIN_NON_CLIP_SRC: _bindgen_ty_56 = 29;
pub const PF_Callback_ITERATE_GENERIC: _bindgen_ty_56 = 30;
pub const PF_Callback_SUBPIXEL_SAMPLE16: _bindgen_ty_56 = 31;
pub const PF_Callback_AREA_SAMPLE16: _bindgen_ty_56 = 32;
pub const PF_Callback_FILL16: _bindgen_ty_56 = 33;
pub const PF_Callback_PREMUL_COLOR16: _bindgen_ty_56 = 34;
pub const PF_Callback_ITERATE16: _bindgen_ty_56 = 35;
pub const PF_Callback_ITERATE_ORIGIN16: _bindgen_ty_56 = 36;
pub const PF_Callback_ITERATE_ORIGIN_NON_CLIP_SRC16: _bindgen_ty_56 = 37;
pub const PF_Callback_ITERATE_GENERIC_NO_MAX_THREADS: _bindgen_ty_56 = 38;
pub const PF_Callback_ITERATE_NO_MAX_THREADS: _bindgen_ty_56 = 39;
pub const PF_Callback_ITERATE_ORIGIN_NO_MAX_THREADS: _bindgen_ty_56 = 40;
pub const PF_Callback_ITERATE_ORIGIN_NON_CLIP_SRC_NO_MAX_THREADS: _bindgen_ty_56 = 41;
pub const PF_Callback_ITERATE16_NO_MAX_THREADS: _bindgen_ty_56 = 42;
pub const PF_Callback_ITERATE_ORIGIN16_NO_MAX_THREADS: _bindgen_ty_56 = 43;
pub const PF_Callback_ITERATE_ORIGIN_NON_CLIP_SRC16_NO_MAX_THREADS: _bindgen_ty_56 = 44;
#[doc = " ---------- Callback Selectors ----------\n\nSome callbacks have different high and low quality versions.\nThe parameter block of function pointers will automatically\nbe filled with the appropriate versions for the current quality\nsetting, but some filters may wish to override this and access\na callback of different quality.  To do this, a get_callback_addr\ncallback is provided which will take a callback selector and a\ndesired quality and return the callback of that quality.  The\nselectors for the various callbacks are listed here.  Also, a\ntypedef for the function pointer that will be returned is given."]
pub type _bindgen_ty_56 = ::std::os::raw::c_uint;
pub type PF_CallbackID = A_long;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_YouMustCastThisToActualFunctionType {
    _unused: [u8; 0],
}
#[doc = "Previous versions of PF_CallbackFunc were defined using varargs in attempt to enforce\nthe effect_ref passed as the first argument to all callbacks. The actual host\nimplementations are generally *not* varargs, and on some platforms the calling\nconventions between normal C ABI and C varargs ABI are not compatible. If your\ncode is trying to call through a PF_CallbackFunc it is unsafe; with this definition\nit will now no longer compile. To fix, cast to the proper API signature before\ncalling. Or better, use the extensive Suite implementations which are explicitly typed"]
pub type PF_CallbackFunc = *mut PF_YouMustCastThisToActualFunctionType;
pub const PF_PlatData_MAIN_WND: _bindgen_ty_57 = 0;
pub const PF_PlatData_EXE_FILE_PATH_DEPRECATED: _bindgen_ty_57 = 1;
pub const PF_PlatData_RES_FILE_PATH_DEPRECATED: _bindgen_ty_57 = 2;
pub const PF_PlatData_RES_REFNUM: _bindgen_ty_57 = 3;
pub const PF_PlatData_RES_DLLINSTANCE: _bindgen_ty_57 = 4;
pub const PF_PlatData_SP_PLUG_REF: _bindgen_ty_57 = 5;
pub const PF_PlatData_BUNDLE_REF: _bindgen_ty_57 = 6;
pub const PF_PlatData_EXE_FILE_PATH_W: _bindgen_ty_57 = 7;
pub const PF_PlatData_RES_FILE_PATH_W: _bindgen_ty_57 = 8;
pub type _bindgen_ty_57 = ::std::os::raw::c_uint;
pub type PF_PlatDataID = A_long;
pub const PF_Plane_ALPHA: _bindgen_ty_58 = 1;
pub const PF_Plane_RED: _bindgen_ty_58 = 2;
pub const PF_Plane_GREEN: _bindgen_ty_58 = 4;
pub const PF_Plane_BLUE: _bindgen_ty_58 = 8;
#[doc = " ---------- Image Plane Selectors ----------\n\nThese constants can be used to specify a subset\nof the planes of the 32-bit image."]
pub type _bindgen_ty_58 = ::std::os::raw::c_uint;
pub type PF_Plane = A_u_long;
#[doc = " ---------- ANSI Routines Block ----------\n\nWithin the callback routines block there is a block of ANSI\nroutines, so that the filter will not need to link with the\nANSI library.  The following structure describes that block\nand is included in the larger Callback Routines block below.\n\nAll angles are expressed in radians; use PF_RAD_PER_DEGREE\nto convert from degrees to radians, if necessary.  Be aware\nthat angle parameter types use degrees (in fixed point).\n\nSprintf and strcpy are provided to facilitate string usage,\nsuch as printing for names and supervised controls.\n\nNone of these callbacks vary based on the Quality setting."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ANSICallbacks {
    pub atan: ::std::option::Option<unsafe extern "C" fn(arg1: A_FpLong) -> A_FpLong>,
    pub atan2: ::std::option::Option<unsafe extern "C" fn(y: A_FpLong, x: A_FpLong) -> A_FpLong>,
    pub ceil: ::std::option::Option<unsafe extern "C" fn(arg1: A_FpLong) -> A_FpLong>,
    pub cos: ::std::option::Option<unsafe extern "C" fn(arg1: A_FpLong) -> A_FpLong>,
    pub exp: ::std::option::Option<unsafe extern "C" fn(arg1: A_FpLong) -> A_FpLong>,
    pub fabs: ::std::option::Option<unsafe extern "C" fn(arg1: A_FpLong) -> A_FpLong>,
    pub floor: ::std::option::Option<unsafe extern "C" fn(arg1: A_FpLong) -> A_FpLong>,
    pub fmod: ::std::option::Option<unsafe extern "C" fn(x: A_FpLong, y: A_FpLong) -> A_FpLong>,
    pub hypot: ::std::option::Option<unsafe extern "C" fn(x: A_FpLong, y: A_FpLong) -> A_FpLong>,
    pub log: ::std::option::Option<unsafe extern "C" fn(arg1: A_FpLong) -> A_FpLong>,
    pub log10: ::std::option::Option<unsafe extern "C" fn(arg1: A_FpLong) -> A_FpLong>,
    pub pow: ::std::option::Option<unsafe extern "C" fn(x: A_FpLong, y: A_FpLong) -> A_FpLong>,
    pub sin: ::std::option::Option<unsafe extern "C" fn(arg1: A_FpLong) -> A_FpLong>,
    pub sqrt: ::std::option::Option<unsafe extern "C" fn(arg1: A_FpLong) -> A_FpLong>,
    pub tan: ::std::option::Option<unsafe extern "C" fn(arg1: A_FpLong) -> A_FpLong>,
    pub sprintf: ::std::option::Option<
        unsafe extern "C" fn(arg1: *mut A_char, arg2: *const A_char, ...) -> ::std::os::raw::c_int,
    >,
    pub strcpy: ::std::option::Option<
        unsafe extern "C" fn(arg1: *mut A_char, arg2: *const A_char) -> *mut A_char,
    >,
    pub asin: ::std::option::Option<unsafe extern "C" fn(arg1: A_FpLong) -> A_FpLong>,
    pub acos: ::std::option::Option<unsafe extern "C" fn(arg1: A_FpLong) -> A_FpLong>,
    pub ansi_procs: [A_long; 1usize],
}
#[doc = " ---------- Colorspace Conversion Callbacks\n"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_ColorCallbacks {
    pub RGBtoHLS: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            rgb: *mut PF_Pixel,
            hls: *mut PF_Fixed,
        ) -> PF_Err,
    >,
    pub HLStoRGB: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            hls: *mut PF_Fixed,
            rgb: *mut PF_Pixel,
        ) -> PF_Err,
    >,
    pub RGBtoYIQ: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            rgb: *mut PF_Pixel,
            yiq: *mut PF_Fixed,
        ) -> PF_Err,
    >,
    pub YIQtoRGB: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            yiq: *mut PF_Fixed,
            rgb: *mut PF_Pixel,
        ) -> PF_Err,
    >,
    pub Luminance: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            rgb: *mut PF_Pixel,
            lum100: *mut A_long,
        ) -> PF_Err,
    >,
    pub Hue: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            rgb: *mut PF_Pixel,
            hue: *mut A_long,
        ) -> PF_Err,
    >,
    pub Lightness: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            rgb: *mut PF_Pixel,
            lightness: *mut A_long,
        ) -> PF_Err,
    >,
    pub Saturation: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            rgb: *mut PF_Pixel,
            saturation: *mut A_long,
        ) -> PF_Err,
    >,
}
pub type PF_BatchSampleFunc = *mut ::std::os::raw::c_void;
pub type PF_BatchSample16Func = *mut ::std::os::raw::c_void;
pub const PF_NewWorldFlag_NONE: _bindgen_ty_59 = 0;
pub const PF_NewWorldFlag_CLEAR_PIXELS: _bindgen_ty_59 = 1;
pub const PF_NewWorldFlag_DEEP_PIXELS: _bindgen_ty_59 = 2;
pub const PF_NewWorldFlag_RESERVED0: _bindgen_ty_59 = 4;
pub const PF_NewWorldFlag_RESERVED1: _bindgen_ty_59 = 8;
pub type _bindgen_ty_59 = ::std::os::raw::c_uint;
pub type PF_NewWorldFlags = A_long;
#[doc = "prototypes for PF_ITERATE8 and PF_ITERATE16 pixel functions\n\nthe user of PF_ITERATE provides a refcon; After Effects may distribute iteration\nacross multiple threads, so any data pointed to by refconL should be read-only or\nproperly synchronized\n\ninP is writable only if the world you pass to PF_ITERATE() is PF_WorldFlag_WRITEABLE\n\n"]
pub type PF_IteratePixel8Func = ::std::option::Option<
    unsafe extern "C" fn(
        refconP: *mut ::std::os::raw::c_void,
        xL: A_long,
        yL: A_long,
        inP: *mut PF_Pixel,
        outP: *mut PF_Pixel,
    ) -> PF_Err,
>;
pub type PF_IteratePixel16Func = ::std::option::Option<
    unsafe extern "C" fn(
        refconP: *mut ::std::os::raw::c_void,
        xL: A_long,
        yL: A_long,
        inP: *mut PF_Pixel16,
        outP: *mut PF_Pixel16,
    ) -> PF_Err,
>;
pub type PF_IteratePixelFloatFunc = ::std::option::Option<
    unsafe extern "C" fn(
        refconP: *mut ::std::os::raw::c_void,
        xL: A_long,
        yL: A_long,
        inP: *mut PF_PixelFloat,
        outP: *mut PF_PixelFloat,
    ) -> PF_Err,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _PF_UtilCallbacks {
    pub begin_sampling: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            qual: PF_Quality,
            mf: PF_ModeFlags,
            params: *mut PF_SampPB,
        ) -> PF_Err,
    >,
    pub subpixel_sample: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            x: PF_Fixed,
            y: PF_Fixed,
            params: *const PF_SampPB,
            dst_pixel: *mut PF_Pixel,
        ) -> PF_Err,
    >,
    pub area_sample: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            x: PF_Fixed,
            y: PF_Fixed,
            params: *const PF_SampPB,
            dst_pixel: *mut PF_Pixel,
        ) -> PF_Err,
    >,
    pub get_batch_func_is_deprecated: *mut ::std::os::raw::c_void,
    pub end_sampling: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            qual: PF_Quality,
            mf: PF_ModeFlags,
            params: *mut PF_SampPB,
        ) -> PF_Err,
    >,
    pub composite_rect: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            src_rect: *mut PF_Rect,
            src_opacity: A_long,
            source_wld: *mut PF_EffectWorld,
            dest_x: A_long,
            dest_y: A_long,
            field_rdr: PF_Field,
            xfer_mode: PF_XferMode,
            dest_wld: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub blend: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            src1: *const PF_EffectWorld,
            src2: *const PF_EffectWorld,
            ratio: PF_Fixed,
            dst: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub convolve: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            src: *mut PF_EffectWorld,
            area: *const PF_Rect,
            flags: PF_KernelFlags,
            kernel_size: A_long,
            a_kernel: *mut ::std::os::raw::c_void,
            r_kernel: *mut ::std::os::raw::c_void,
            g_kernel: *mut ::std::os::raw::c_void,
            b_kernel: *mut ::std::os::raw::c_void,
            dst: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub copy: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            src: *mut PF_EffectWorld,
            dst: *mut PF_EffectWorld,
            src_r: *mut PF_Rect,
            dst_r: *mut PF_Rect,
        ) -> PF_Err,
    >,
    pub fill: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            color: *const PF_Pixel,
            dst_rect: *const PF_Rect,
            world: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub gaussian_kernel: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            kRadius: A_FpLong,
            flags: PF_KernelFlags,
            multiplier: A_FpLong,
            diameter: *mut A_long,
            kernel: *mut ::std::os::raw::c_void,
        ) -> PF_Err,
    >,
    pub iterate: ::std::option::Option<
        unsafe extern "C" fn(
            in_data: *mut PF_InData,
            progress_base: A_long,
            progress_final: A_long,
            src: *mut PF_EffectWorld,
            area: *const PF_Rect,
            refcon: *mut ::std::os::raw::c_void,
            pix_fn: PF_IteratePixel8Func,
            dst: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub premultiply: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            forward: A_long,
            dst: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub premultiply_color: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            src: *mut PF_EffectWorld,
            color: *const PF_Pixel,
            forward: A_long,
            dst: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub new_world: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            width: A_long,
            height: A_long,
            flags: PF_NewWorldFlags,
            world: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub dispose_world: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, world: *mut PF_EffectWorld) -> PF_Err,
    >,
    pub iterate_origin: ::std::option::Option<
        unsafe extern "C" fn(
            in_data: *mut PF_InData,
            progress_base: A_long,
            progress_final: A_long,
            src: *mut PF_EffectWorld,
            area: *const PF_Rect,
            origin: *const PF_Point,
            refcon: *mut ::std::os::raw::c_void,
            pix_fn: PF_IteratePixel8Func,
            dst: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub iterate_lut: ::std::option::Option<
        unsafe extern "C" fn(
            in_data: *mut PF_InData,
            progress_base: A_long,
            progress_final: A_long,
            src: *mut PF_EffectWorld,
            area: *const PF_Rect,
            a_lut0: *mut A_u_char,
            r_lut0: *mut A_u_char,
            g_lut0: *mut A_u_char,
            b_lut0: *mut A_u_char,
            dst: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub transfer_rect: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            quality: PF_Quality,
            m_flags: PF_ModeFlags,
            field: PF_Field,
            src_rec: *const PF_Rect,
            src_world: *const PF_EffectWorld,
            comp_mode: *const PF_CompositeMode,
            mask_world0: *const PF_MaskWorld,
            dest_x: A_long,
            dest_y: A_long,
            dst_world: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub transform_world: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            quality: PF_Quality,
            m_flags: PF_ModeFlags,
            field: PF_Field,
            src_world: *const PF_EffectWorld,
            comp_mode: *const PF_CompositeMode,
            mask_world0: *const PF_MaskWorld,
            matrices: *const PF_FloatMatrix,
            num_matrices: A_long,
            src2dst_matrix: PF_Boolean,
            dest_rect: *const PF_Rect,
            dst_world: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub host_new_handle:
        ::std::option::Option<unsafe extern "C" fn(size: A_u_longlong) -> PF_Handle>,
    pub host_lock_handle: ::std::option::Option<
        unsafe extern "C" fn(pf_handle: PF_Handle) -> *mut ::std::os::raw::c_void,
    >,
    pub host_unlock_handle: ::std::option::Option<unsafe extern "C" fn(pf_handle: PF_Handle)>,
    pub host_dispose_handle: ::std::option::Option<unsafe extern "C" fn(pf_handle: PF_Handle)>,
    pub get_callback_addr: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            quality: PF_Quality,
            mode_flags: PF_ModeFlags,
            which_callback: PF_CallbackID,
            fn_ptr: *mut PF_CallbackFunc,
        ) -> PF_Err,
    >,
    pub app:
        ::std::option::Option<unsafe extern "C" fn(arg1: PF_ProgPtr, arg2: A_long, ...) -> PF_Err>,
    pub ansi: PF_ANSICallbacks,
    pub colorCB: PF_ColorCallbacks,
    pub get_platform_data: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            which: PF_PlatDataID,
            data: *mut ::std::os::raw::c_void,
        ) -> PF_Err,
    >,
    pub host_get_handle_size:
        ::std::option::Option<unsafe extern "C" fn(pf_handle: PF_Handle) -> A_u_longlong>,
    pub iterate_origin_non_clip_src: ::std::option::Option<
        unsafe extern "C" fn(
            in_data: *mut PF_InData,
            progress_base: A_long,
            progress_final: A_long,
            src: *mut PF_EffectWorld,
            area: *const PF_Rect,
            origin: *const PF_Point,
            refcon: *mut ::std::os::raw::c_void,
            pix_fn: PF_IteratePixel8Func,
            dst: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub iterate_generic: ::std::option::Option<
        unsafe extern "C" fn(
            iterationsL: A_long,
            refconPV: *mut ::std::os::raw::c_void,
            fn_func: ::std::option::Option<
                unsafe extern "C" fn(
                    refconPV: *mut ::std::os::raw::c_void,
                    thread_indexL: A_long,
                    i: A_long,
                    iterationsL: A_long,
                ) -> PF_Err,
            >,
        ) -> PF_Err,
    >,
    pub host_resize_handle: ::std::option::Option<
        unsafe extern "C" fn(new_sizeL: A_u_longlong, handlePH: *mut PF_Handle) -> PF_Err,
    >,
    pub subpixel_sample16: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            x: PF_Fixed,
            y: PF_Fixed,
            params: *const PF_SampPB,
            dst_pixel: *mut PF_Pixel16,
        ) -> PF_Err,
    >,
    pub area_sample16: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            x: PF_Fixed,
            y: PF_Fixed,
            params: *const PF_SampPB,
            dst_pixel: *mut PF_Pixel16,
        ) -> PF_Err,
    >,
    pub fill16: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            color: *const PF_Pixel16,
            dst_rect: *const PF_Rect,
            world: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub premultiply_color16: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            src: *mut PF_EffectWorld,
            color: *const PF_Pixel16,
            forward: A_long,
            dst: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub iterate16: ::std::option::Option<
        unsafe extern "C" fn(
            in_data: *mut PF_InData,
            progress_base: A_long,
            progress_final: A_long,
            src: *mut PF_EffectWorld,
            area: *const PF_Rect,
            refcon: *mut ::std::os::raw::c_void,
            pix_fn: PF_IteratePixel16Func,
            dst: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub iterate_origin16: ::std::option::Option<
        unsafe extern "C" fn(
            in_data: *mut PF_InData,
            progress_base: A_long,
            progress_final: A_long,
            src: *mut PF_EffectWorld,
            area: *const PF_Rect,
            origin: *const PF_Point,
            refcon: *mut ::std::os::raw::c_void,
            pix_fn: PF_IteratePixel16Func,
            dst: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub iterate_origin_non_clip_src16: ::std::option::Option<
        unsafe extern "C" fn(
            in_data: *mut PF_InData,
            progress_base: A_long,
            progress_final: A_long,
            src: *mut PF_EffectWorld,
            area: *const PF_Rect,
            origin: *const PF_Point,
            refcon: *mut ::std::os::raw::c_void,
            pix_fn: PF_IteratePixel16Func,
            dst: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub get_pixel_data8: ::std::option::Option<
        unsafe extern "C" fn(
            worldP: *mut PF_EffectWorld,
            pixelsP0: PF_PixelPtr,
            pixPP: *mut *mut PF_Pixel8,
        ) -> PF_Err,
    >,
    pub get_pixel_data16: ::std::option::Option<
        unsafe extern "C" fn(
            worldP: *mut PF_EffectWorld,
            pixelsP0: PF_PixelPtr,
            pixPP: *mut *mut PF_Pixel16,
        ) -> PF_Err,
    >,
    pub reserved: [A_long; 1usize],
}
pub type PF_UtilCallbacks = _PF_UtilCallbacks;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_CacheOnLoadSuite1 {
    pub PF_SetNoCacheOnLoad: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            effectAvailable: ::std::os::raw::c_long,
        ) -> PF_Err,
    >,
}
pub const PF_TimeDisplay_24: _bindgen_ty_60 = 1;
pub const PF_TimeDisplay_25: _bindgen_ty_60 = 2;
pub const PF_TimeDisplay_30Drop: _bindgen_ty_60 = 3;
pub const PF_TimeDisplay_30NonDrop: _bindgen_ty_60 = 4;
pub const PF_TimeDisplay_50: _bindgen_ty_60 = 5;
pub const PF_TimeDisplay_60Drop: _bindgen_ty_60 = 6;
pub const PF_TimeDisplay_60NonDrop: _bindgen_ty_60 = 7;
pub const PF_TimeDisplay_NonStandard: _bindgen_ty_60 = 8;
pub const PF_TimeDisplay_Invalid: _bindgen_ty_60 = 9;
pub type _bindgen_ty_60 = ::std::os::raw::c_uint;
pub type PF_TimeDisplay = csSDK_uint32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_PixelFormatSuite1 {
    pub AddSupportedPixelFormat: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, pixelFormat: PrPixelFormat) -> PF_Err,
    >,
    pub ClearSupportedPixelFormats:
        ::std::option::Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr) -> PF_Err>,
    pub NewWorldOfPixelFormat: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            width: A_u_long,
            height: A_u_long,
            flags: PF_NewWorldFlags,
            pixelFormat: PrPixelFormat,
            world: *mut PF_EffectWorld,
        ) -> PF_Err,
    >,
    pub DisposeWorld: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, world: *mut PF_EffectWorld) -> PF_Err,
    >,
    pub GetPixelFormat: ::std::option::Option<
        unsafe extern "C" fn(
            inWorld: *mut PF_EffectWorld,
            pixelFormat: *mut PrPixelFormat,
        ) -> PF_Err,
    >,
    pub GetBlackForPixelFormat: ::std::option::Option<
        unsafe extern "C" fn(
            pixelFormat: PrPixelFormat,
            pixelData: *mut ::std::os::raw::c_void,
        ) -> PF_Err,
    >,
    pub GetWhiteForPixelFormat: ::std::option::Option<
        unsafe extern "C" fn(
            pixelFormat: PrPixelFormat,
            pixelData: *mut ::std::os::raw::c_void,
        ) -> PF_Err,
    >,
    pub ConvertColorToPixelFormattedData: ::std::option::Option<
        unsafe extern "C" fn(
            pixelFormat: PrPixelFormat,
            alpha: f32,
            red: f32,
            green: f32,
            blue: f32,
            pixelData: *mut ::std::os::raw::c_void,
        ) -> PF_Err,
    >,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_BackgroundFrameSuite1 {
    pub AddSupportedBackgroundTransferMode: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            supportedTransferMode: PF_TransferMode,
            supportedPixelFormat: PrPixelFormat,
        ) -> PF_Err,
    >,
    pub GetBackgroundFrame: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            backgroundFrame: *mut *mut PF_LayerDef,
            backgroundTransferMode: *mut PF_TransferMode,
        ) -> PF_Err,
    >,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_UtilitySuite4 {
    pub GetFilterInstanceID: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outFilterInstanceID: *mut A_long) -> PF_Err,
    >,
    pub GetMediaTimecode: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            outCurrentFrame: *mut A_long,
            outTimeDisplay: *mut PF_TimeDisplay,
        ) -> PF_Err,
    >,
    pub GetClipSpeed: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, speed: *mut f64) -> PF_Err,
    >,
    pub GetClipDuration: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetClipStart: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetUnscaledClipDuration: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetUnscaledClipStart: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetTrackItemStart: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetMediaFieldType: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outFieldType: *mut prFieldType) -> PF_Err,
    >,
    pub GetMediaFrameRate: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTicksPerFrame: *mut PrTime) -> PF_Err,
    >,
    pub GetContainingTimelineID: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTimelineID: *mut PrTimelineID) -> PF_Err,
    >,
    pub GetClipName: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outSDKString: *mut PrSDKString) -> PF_Err,
    >,
    pub EffectWantsCheckedOutFramesToMatchRenderPixelFormat:
        ::std::option::Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr) -> PF_Err>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_UtilitySuite {
    pub GetFilterInstanceID: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outFilterInstanceID: *mut A_long) -> PF_Err,
    >,
    pub GetMediaTimecode: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            outCurrentFrame: *mut A_long,
            outTimeDisplay: *mut PF_TimeDisplay,
        ) -> PF_Err,
    >,
    pub GetClipSpeed: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, speed: *mut f64) -> PF_Err,
    >,
    pub GetClipDuration: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetClipStart: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetUnscaledClipDuration: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetUnscaledClipStart: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetTrackItemStart: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetMediaFieldType: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outFieldType: *mut prFieldType) -> PF_Err,
    >,
    pub GetMediaFrameRate: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTicksPerFrame: *mut PrTime) -> PF_Err,
    >,
    pub GetContainingTimelineID: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTimelineID: *mut PrTimelineID) -> PF_Err,
    >,
    pub GetClipName: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inGetMasterClipName: A_Boolean,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub EffectWantsCheckedOutFramesToMatchRenderPixelFormat:
        ::std::option::Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr) -> PF_Err>,
    pub EffectDependsOnClipName: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, inDependsOnClipName: A_Boolean) -> PF_Err,
    >,
    pub SetEffectInstanceName: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, inSDKString: *const PrSDKString) -> PF_Err,
    >,
    pub GetFileName: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outSDKString: *mut PrSDKString) -> PF_Err,
    >,
    pub GetOriginalClipFrameRate: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTicksPerFrame: *mut PrTime) -> PF_Err,
    >,
    pub GetSourceTrackMediaTimecode: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inApplyTransform: bool,
            inAddStartTimeOffset: bool,
            outCurrentFrame: *mut A_long,
        ) -> PF_Err,
    >,
    pub GetSourceTrackClipName: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inGetMasterClipName: A_Boolean,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetSourceTrackFileName: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub EffectDependsOnClipName2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inDependsOnClipName: A_Boolean,
            inLayerParamIndex: csSDK_uint32,
        ) -> PF_Err,
    >,
    pub GetMediaTimecode2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inApplyTrim: bool,
            outCurrentFrame: *mut A_long,
            outTimeDisplay: *mut PF_TimeDisplay,
        ) -> PF_Err,
    >,
    pub GetSourceTrackMediaTimecode2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inApplyTransform: bool,
            inAddStartTimeOffset: bool,
            inSequenceTime: PrTime,
            outCurrentFrame: *mut A_long,
        ) -> PF_Err,
    >,
    pub GetSourceTrackClipName2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inGetMasterClipName: A_Boolean,
            outSDKString: *mut PrSDKString,
            inSequenceTime: PrTime,
        ) -> PF_Err,
    >,
    pub GetSourceTrackFileName2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            outSDKString: *mut PrSDKString,
            inSequenceTime: PrTime,
        ) -> PF_Err,
    >,
    pub GetCommentString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetLogNoteString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetCameraRollString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetClientMetadataString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetDailyRollString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetDescriptionString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetLabRollString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetSceneString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetShotString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetTapeNameString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetVideoCodecString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetGoodMetadataString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetSoundRollString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetSequenceTime: ::std::option::Option<
        unsafe extern "C" fn(inEffectRef: PF_ProgPtr, outSequenceTime: *mut PrTime) -> PF_Err,
    >,
    pub GetSoundTimecode: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outCurrentFrame: *mut A_long,
        ) -> PF_Err,
    >,
    pub GetOriginalClipFrameRateForSourceTrack: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            outTicksPerFrame: *mut PrTime,
        ) -> PF_Err,
    >,
    pub GetMediaFrameRateForSourceTrack: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outTicksPerFrame: *mut PrTime,
        ) -> PF_Err,
    >,
    pub GetSourceTrackMediaActualStartTime: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inSequenceTime: PrTime,
            outClipActualStartTime: *mut PrTime,
        ) -> PF_Err,
    >,
    pub IsSourceTrackMediaTrimmed: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inSequenceTime: PrTime,
            outTrimApplied: *mut bool,
        ) -> PF_Err,
    >,
    pub IsMediaTrimmed: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSequenceTime: PrTime,
            outTrimApplied: *mut bool,
        ) -> PF_Err,
    >,
    pub IsTrackEmpty: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inSequenceTime: PrTime,
            outIsTrackEmpty: *mut bool,
        ) -> PF_Err,
    >,
    pub IsTrackItemEffectAppliedToSynthetic: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            outIsTrackItemEffectAppliedToSynthetic: *mut bool,
        ) -> PF_Err,
    >,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_UtilitySuite10 {
    pub GetFilterInstanceID: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outFilterInstanceID: *mut A_long) -> PF_Err,
    >,
    pub GetMediaTimecode: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            outCurrentFrame: *mut A_long,
            outTimeDisplay: *mut PF_TimeDisplay,
        ) -> PF_Err,
    >,
    pub GetClipSpeed: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, speed: *mut f64) -> PF_Err,
    >,
    pub GetClipDuration: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetClipStart: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetUnscaledClipDuration: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetUnscaledClipStart: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetTrackItemStart: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetMediaFieldType: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outFieldType: *mut prFieldType) -> PF_Err,
    >,
    pub GetMediaFrameRate: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTicksPerFrame: *mut PrTime) -> PF_Err,
    >,
    pub GetContainingTimelineID: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTimelineID: *mut PrTimelineID) -> PF_Err,
    >,
    pub GetClipName: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inGetMasterClipName: A_Boolean,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub EffectWantsCheckedOutFramesToMatchRenderPixelFormat:
        ::std::option::Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr) -> PF_Err>,
    pub EffectDependsOnClipName: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, inDependsOnClipName: A_Boolean) -> PF_Err,
    >,
    pub SetEffectInstanceName: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, inSDKString: *const PrSDKString) -> PF_Err,
    >,
    pub GetFileName: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outSDKString: *mut PrSDKString) -> PF_Err,
    >,
    pub GetOriginalClipFrameRate: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTicksPerFrame: *mut PrTime) -> PF_Err,
    >,
    pub GetSourceTrackMediaTimecode: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inApplyTransform: bool,
            inAddStartTimeOffset: bool,
            outCurrentFrame: *mut A_long,
        ) -> PF_Err,
    >,
    pub GetSourceTrackClipName: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inGetMasterClipName: A_Boolean,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetSourceTrackFileName: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub EffectDependsOnClipName2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inDependsOnClipName: A_Boolean,
            inLayerParamIndex: csSDK_uint32,
        ) -> PF_Err,
    >,
    pub GetMediaTimecode2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inApplyTrim: bool,
            outCurrentFrame: *mut A_long,
            outTimeDisplay: *mut PF_TimeDisplay,
        ) -> PF_Err,
    >,
    pub GetSourceTrackMediaTimecode2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inApplyTransform: bool,
            inAddStartTimeOffset: bool,
            inSequenceTime: PrTime,
            outCurrentFrame: *mut A_long,
        ) -> PF_Err,
    >,
    pub GetSourceTrackClipName2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inGetMasterClipName: A_Boolean,
            outSDKString: *mut PrSDKString,
            inSequenceTime: PrTime,
        ) -> PF_Err,
    >,
    pub GetSourceTrackFileName2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            outSDKString: *mut PrSDKString,
            inSequenceTime: PrTime,
        ) -> PF_Err,
    >,
    pub GetCommentString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetLogNoteString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetCameraRollString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetClientMetadataString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetDailyRollString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetDescriptionString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetLabRollString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetSceneString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetShotString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetTapeNameString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetVideoCodecString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetGoodMetadataString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetSoundRollString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetSequenceTime: ::std::option::Option<
        unsafe extern "C" fn(inEffectRef: PF_ProgPtr, outSequenceTime: *mut PrTime) -> PF_Err,
    >,
    pub GetSoundTimecode: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outCurrentFrame: *mut A_long,
        ) -> PF_Err,
    >,
    pub GetOriginalClipFrameRateForSourceTrack: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            outTicksPerFrame: *mut PrTime,
        ) -> PF_Err,
    >,
    pub GetMediaFrameRateForSourceTrack: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outTicksPerFrame: *mut PrTime,
        ) -> PF_Err,
    >,
    pub GetSourceTrackMediaActualStartTime: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inSequenceTime: PrTime,
            outClipActualStartTime: *mut PrTime,
        ) -> PF_Err,
    >,
    pub IsSourceTrackMediaTrimmed: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inSequenceTime: PrTime,
            outTrimApplied: *mut bool,
        ) -> PF_Err,
    >,
    pub IsMediaTrimmed: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSequenceTime: PrTime,
            outTrimApplied: *mut bool,
        ) -> PF_Err,
    >,
    pub IsTrackEmpty: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inSequenceTime: PrTime,
            outIsTrackEmpty: *mut bool,
        ) -> PF_Err,
    >,
    pub IsTrackItemEffectAppliedToSynthetic: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            outIsTrackItemEffectAppliedToSynthetic: *mut bool,
        ) -> PF_Err,
    >,
    pub GetSourceTrackCurrentMediaTimeInfo: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inUseSoundTimecodeAsStartTime: bool,
            inSequenceTime: PrTime,
            outCurrentMediaTime: *mut PrTime,
            outMediaTicksPerFrame: *mut PrTime,
            outMediaTimeDisplay: *mut PF_TimeDisplay,
        ) -> PF_Err,
    >,
    pub GetSequenceZeroPoint: ::std::option::Option<
        unsafe extern "C" fn(inEffectRef: PF_ProgPtr, outZeroPointTime: *mut PrTime) -> PF_Err,
    >,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_UtilitySuite11 {
    pub GetFilterInstanceID: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outFilterInstanceID: *mut A_long) -> PF_Err,
    >,
    pub GetMediaTimecode: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            outCurrentFrame: *mut A_long,
            outTimeDisplay: *mut PF_TimeDisplay,
        ) -> PF_Err,
    >,
    pub GetClipSpeed: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, speed: *mut f64) -> PF_Err,
    >,
    pub GetClipDuration: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetClipStart: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetUnscaledClipDuration: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetUnscaledClipStart: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetTrackItemStart: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, frameDuration: *mut A_long) -> PF_Err,
    >,
    pub GetMediaFieldType: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outFieldType: *mut prFieldType) -> PF_Err,
    >,
    pub GetMediaFrameRate: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTicksPerFrame: *mut PrTime) -> PF_Err,
    >,
    pub GetContainingTimelineID: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTimelineID: *mut PrTimelineID) -> PF_Err,
    >,
    pub GetClipName: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inGetMasterClipName: A_Boolean,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub EffectWantsCheckedOutFramesToMatchRenderPixelFormat:
        ::std::option::Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr) -> PF_Err>,
    pub EffectDependsOnClipName: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, inDependsOnClipName: A_Boolean) -> PF_Err,
    >,
    pub SetEffectInstanceName: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, inSDKString: *const PrSDKString) -> PF_Err,
    >,
    pub GetFileName: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outSDKString: *mut PrSDKString) -> PF_Err,
    >,
    pub GetOriginalClipFrameRate: ::std::option::Option<
        unsafe extern "C" fn(effect_ref: PF_ProgPtr, outTicksPerFrame: *mut PrTime) -> PF_Err,
    >,
    pub GetSourceTrackMediaTimecode: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inApplyTransform: bool,
            inAddStartTimeOffset: bool,
            outCurrentFrame: *mut A_long,
        ) -> PF_Err,
    >,
    pub GetSourceTrackClipName: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inGetMasterClipName: A_Boolean,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetSourceTrackFileName: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub EffectDependsOnClipName2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inDependsOnClipName: A_Boolean,
            inLayerParamIndex: csSDK_uint32,
        ) -> PF_Err,
    >,
    pub GetMediaTimecode2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inApplyTrim: bool,
            outCurrentFrame: *mut A_long,
            outTimeDisplay: *mut PF_TimeDisplay,
        ) -> PF_Err,
    >,
    pub GetSourceTrackMediaTimecode2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inApplyTransform: bool,
            inAddStartTimeOffset: bool,
            inSequenceTime: PrTime,
            outCurrentFrame: *mut A_long,
        ) -> PF_Err,
    >,
    pub GetSourceTrackClipName2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inGetMasterClipName: A_Boolean,
            outSDKString: *mut PrSDKString,
            inSequenceTime: PrTime,
        ) -> PF_Err,
    >,
    pub GetSourceTrackFileName2: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            outSDKString: *mut PrSDKString,
            inSequenceTime: PrTime,
        ) -> PF_Err,
    >,
    pub GetCommentString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetLogNoteString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetCameraRollString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetClientMetadataString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetDailyRollString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetDescriptionString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetLabRollString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetSceneString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetShotString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetTapeNameString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetVideoCodecString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetGoodMetadataString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetSoundRollString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
    pub GetSequenceTime: ::std::option::Option<
        unsafe extern "C" fn(inEffectRef: PF_ProgPtr, outSequenceTime: *mut PrTime) -> PF_Err,
    >,
    pub GetSoundTimecode: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outCurrentFrame: *mut A_long,
        ) -> PF_Err,
    >,
    pub GetOriginalClipFrameRateForSourceTrack: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            outTicksPerFrame: *mut PrTime,
        ) -> PF_Err,
    >,
    pub GetMediaFrameRateForSourceTrack: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outTicksPerFrame: *mut PrTime,
        ) -> PF_Err,
    >,
    pub GetSourceTrackMediaActualStartTime: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inSequenceTime: PrTime,
            outClipActualStartTime: *mut PrTime,
        ) -> PF_Err,
    >,
    pub IsSourceTrackMediaTrimmed: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inSequenceTime: PrTime,
            outTrimApplied: *mut bool,
        ) -> PF_Err,
    >,
    pub IsMediaTrimmed: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSequenceTime: PrTime,
            outTrimApplied: *mut bool,
        ) -> PF_Err,
    >,
    pub IsTrackEmpty: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inSequenceTime: PrTime,
            outIsTrackEmpty: *mut bool,
        ) -> PF_Err,
    >,
    pub IsTrackItemEffectAppliedToSynthetic: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            outIsTrackItemEffectAppliedToSynthetic: *mut bool,
        ) -> PF_Err,
    >,
    pub GetSourceTrackCurrentMediaTimeInfo: ::std::option::Option<
        unsafe extern "C" fn(
            effect_ref: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inUseSoundTimecodeAsStartTime: bool,
            inSequenceTime: PrTime,
            outCurrentMediaTime: *mut PrTime,
            outMediaTicksPerFrame: *mut PrTime,
            outMediaTimeDisplay: *mut PF_TimeDisplay,
        ) -> PF_Err,
    >,
    pub GetSequenceZeroPoint: ::std::option::Option<
        unsafe extern "C" fn(inEffectRef: PF_ProgPtr, outZeroPointTime: *mut PrTime) -> PF_Err,
    >,
    pub GetSourceTrackCurrentClipDuration: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inLayerParamIndex: csSDK_uint32,
            inSequenceTime: PrTime,
            outClipDuration: *mut PrTime,
        ) -> PF_Err,
    >,
    pub GetSequenceDuration: ::std::option::Option<
        unsafe extern "C" fn(inEffectRef: PF_ProgPtr, outSequenceDuration: *mut PrTime) -> PF_Err,
    >,
    pub GetVideoResolutionString: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inSourceTrack: i32,
            inSequenceTime: PrTime,
            outSDKString: *mut PrSDKString,
        ) -> PF_Err,
    >,
}
pub type PF_UtilitySuiteVersion1 = PF_UtilitySuite;
pub type PF_UtilitySuite2 = PF_UtilitySuite;
pub type PF_UtilitySuite3 = PF_UtilitySuite;
pub type PF_UtilitySuite5 = PF_UtilitySuite;
pub type PF_UtilitySuite6 = PF_UtilitySuite;
pub type PF_UtilitySuite7 = PF_UtilitySuite;
pub type PF_UtilitySuite8 = PF_UtilitySuite;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_SourceSettingsSuite {
    pub PerformSourceSettingsCommand: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            ioCommandStruct: *mut ::std::os::raw::c_void,
            inDataSize: csSDK_uint32,
        ) -> PF_Err,
    >,
    pub SetIsSourceSettingsEffect: ::std::option::Option<
        unsafe extern "C" fn(
            inEffectRef: PF_ProgPtr,
            inIsSourceSettingsEffect: A_Boolean,
        ) -> PF_Err,
    >,
}
pub type PF_SourceSettingsSuite2 = PF_SourceSettingsSuite;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PF_TransitionSuite {
    #[doc = "\tRegister an effect as a transition using the passed in\n\tinput layer as the outgoing clip. When registered the effect\n\twill be available to be dragged directly onto clip ends rather\n\tthan only applied to layers."]
    pub RegisterTransitionInputParam: ::std::option::Option<
        unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inIndex: PF_ParamIndex) -> PF_Err,
    >,
    #[doc = "\tRegister a PF_ADD_FLOAT_SLIDER parameter to receive\n\tchanges to the start of the transition region through the\n\tPF_Cmd_USER_CHANGED_PARAM command."]
    pub RegisterTransitionStartParam: ::std::option::Option<
        unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inIndex: PF_ParamIndex) -> PF_Err,
    >,
    #[doc = "\tRegister a PF_ADD_FLOAT_SLIDER parameter to receive\n\tchanges to the end of the transition region through the\n\tPF_Cmd_USER_CHANGED_PARAM command."]
    pub RegisterTransitionEndParam: ::std::option::Option<
        unsafe extern "C" fn(inEffectRef: PF_ProgPtr, inIndex: PF_ParamIndex) -> PF_Err,
    >,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OpaqueEffectDataType {
    _unused: [u8; 0],
}
#[doc = "\tThis suite provides effects a means to share unflattened sequence data between its instances.\n  The data is opaque to the host and effects are responsible for maintaining thread safety\n  of the shared data.  The host provides ref counting that the effect can use to manage\n  the lifetime of the shared data."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PrSDKOpaqueEffectDataSuite {
    #[doc = "\tAcquire pointer to opaque effect data.  This is reference counted meaning that\n  AcquireOpaqueEffectData and ReleaseOpaqueEffectData should always be called in pairs.\n  If no opaque effect was registered for the given effect_ref AcquireOpaqueEffectData\n  will return 0 and the reference count remains 0."]
    pub AcquireOpaqueEffectData: ::std::option::Option<
        unsafe extern "C" fn(
            instanceID: csSDK_int32,
            outOpaqueEffectDataPP: *mut *mut OpaqueEffectDataType,
        ) -> PF_Err,
    >,
    #[doc = "Register opaque effect data.  If multiple threads invoke RegisterOpaqueEffectData\n  only one will be successful.  The ioOpaqueEffectDataPP of the successful thread\n  will be returned to all callers.  Calling threads are always responsible for\n  managing the data they register.  This is the case whether or not threads are\n  successful registering their data.\n  Similarly, RegisterOpaqueEffectData always increments the internal reference count.\n\n//\n// Sample code showing how to use RegisterOpaqueEffectData.\n// Note: code is simplified (not exception-safe, etc.)\n//\n\n//\n// Try to acquire first, in case another thread registered the opaque effect data earlier\n//\nOpaqueEffectDataType * pData = 0;\nPF_Err err = opaqueEffectDataSuite->AcquireOpaqueEffectData(instanceID, &pData);\nassert(err == PF_Err_NONE);\n\n//\n// If acquire did not return a valid pointer, create a new object and register it\n// otherwise we are done\n//\nif (pData == 0)\n{\nOpaqueEffectDataType * pNewData(new OpaqueEffectDataType());\npData = pNewData;\nerr = opaqueEffectDataSuite->RegisterOpaqueEffectData(instanceID, &pData);\nassert(err == PF_Err_NONE);\n\n// now we check if this thread actually succeeded registering\n// if the returned pData is unchanged it means that it was successful\nif (pData != pNewData)\n{\ndelete pNewData;\n}\n}\n\n// pData now points to the right OpaqueEffectDataType object and we can start using it\n...\n\n\n\n"]
    pub RegisterOpaqueEffectData: ::std::option::Option<
        unsafe extern "C" fn(
            instanceID: csSDK_int32,
            ioOpaqueEffectDataPP: *mut *mut OpaqueEffectDataType,
        ) -> PF_Err,
    >,
    #[doc = "\tRelease opaque effect data.  This decrements the internal reference count.\n  If the internal reference count goes to 0 outDisposeOpaqueEffectDataPP is set\n  to the managed data that should be deleted, otherwise it is set to NULL.\n  If the internal reference count goes to 0 any calls made to AcquireOpaqueEffectData\n  will return 0 until new opaque effect data is registered via RegisterOpaqueEffectData."]
    pub ReleaseOpaqueEffectData: ::std::option::Option<
        unsafe extern "C" fn(
            instanceID: csSDK_int32,
            outDisposeOpaqueEffectDataPP: *mut *mut OpaqueEffectDataType,
        ) -> PF_Err,
    >,
}
pub const PrPixelFormatGpu_GPU_BGRA_4444_32f: PrPixelFormatGpu = 1094992704;
pub const PrPixelFormatGpu_GPU_BGRA_4444_16f: PrPixelFormatGpu = 1631863616;
pub type PrPixelFormatGpu = ::std::os::raw::c_uint;