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
/* automatically generated by rust-bindgen */

#[repr(C)]
pub struct __BindgenUnionField<T>(::std::marker::PhantomData<T>);
impl <T> __BindgenUnionField<T> {
    #[inline]
    pub fn new() -> Self { __BindgenUnionField(::std::marker::PhantomData) }
    #[inline]
    pub unsafe fn as_ref(&self) -> &T { ::std::mem::transmute(self) }
    #[inline]
    pub unsafe fn as_mut(&mut self) -> &mut T { ::std::mem::transmute(self) }
}
impl <T> ::std::default::Default for __BindgenUnionField<T> {
    #[inline]
    fn default() -> Self { Self::new() }
}
impl <T> ::std::clone::Clone for __BindgenUnionField<T> {
    #[inline]
    fn clone(&self) -> Self { Self::new() }
}
impl <T> ::std::marker::Copy for __BindgenUnionField<T> { }
impl <T> ::std::fmt::Debug for __BindgenUnionField<T> {
    fn fmt(&self, fmt: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        fmt.write_str("__BindgenUnionField")
    }
}
pub const __WORDSIZE: ::std::os::raw::c_uint = 64;
pub const __DARWIN_ONLY_64_BIT_INO_T: ::std::os::raw::c_uint = 0;
pub const __DARWIN_ONLY_VERS_1050: ::std::os::raw::c_uint = 0;
pub const __DARWIN_ONLY_UNIX_CONFORMANCE: ::std::os::raw::c_uint = 1;
pub const __DARWIN_UNIX03: ::std::os::raw::c_uint = 1;
pub const __DARWIN_64_BIT_INO_T: ::std::os::raw::c_uint = 1;
pub const __DARWIN_VERS_1050: ::std::os::raw::c_uint = 1;
pub const __DARWIN_NON_CANCELABLE: ::std::os::raw::c_uint = 0;
pub const __DARWIN_SUF_64_BIT_INO_T: &'static [u8; 9usize] = b"$INODE64\x00";
pub const __DARWIN_SUF_1050: &'static [u8; 6usize] = b"$1050\x00";
pub const __DARWIN_SUF_EXTSN: &'static [u8; 14usize] = b"$DARWIN_EXTSN\x00";
pub const __DARWIN_C_ANSI: ::std::os::raw::c_uint = 4096;
pub const __DARWIN_C_FULL: ::std::os::raw::c_uint = 900000;
pub const __DARWIN_C_LEVEL: ::std::os::raw::c_uint = 900000;
pub const __STDC_WANT_LIB_EXT1__: ::std::os::raw::c_uint = 1;
pub const _DARWIN_FEATURE_64_BIT_INODE: ::std::os::raw::c_uint = 1;
pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: ::std::os::raw::c_uint = 1;
pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: ::std::os::raw::c_uint = 3;
pub const __PTHREAD_SIZE__: ::std::os::raw::c_uint = 8176;
pub const __PTHREAD_ATTR_SIZE__: ::std::os::raw::c_uint = 56;
pub const __PTHREAD_MUTEXATTR_SIZE__: ::std::os::raw::c_uint = 8;
pub const __PTHREAD_MUTEX_SIZE__: ::std::os::raw::c_uint = 56;
pub const __PTHREAD_CONDATTR_SIZE__: ::std::os::raw::c_uint = 8;
pub const __PTHREAD_COND_SIZE__: ::std::os::raw::c_uint = 40;
pub const __PTHREAD_ONCE_SIZE__: ::std::os::raw::c_uint = 8;
pub const __PTHREAD_RWLOCK_SIZE__: ::std::os::raw::c_uint = 192;
pub const __PTHREAD_RWLOCKATTR_SIZE__: ::std::os::raw::c_uint = 16;
pub const INT8_MAX: ::std::os::raw::c_uint = 127;
pub const INT16_MAX: ::std::os::raw::c_uint = 32767;
pub const INT32_MAX: ::std::os::raw::c_uint = 2147483647;
pub const INT64_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const INT8_MIN: ::std::os::raw::c_int = -128;
pub const INT16_MIN: ::std::os::raw::c_int = -32768;
pub const INT32_MIN: ::std::os::raw::c_int = -2147483648;
pub const INT64_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const UINT8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT16_MAX: ::std::os::raw::c_uint = 65535;
pub const UINT32_MAX: ::std::os::raw::c_uint = 4294967295;
pub const UINT64_MAX: ::std::os::raw::c_int = -1;
pub const INT_LEAST8_MIN: ::std::os::raw::c_int = -128;
pub const INT_LEAST16_MIN: ::std::os::raw::c_int = -32768;
pub const INT_LEAST32_MIN: ::std::os::raw::c_int = -2147483648;
pub const INT_LEAST64_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INT_LEAST8_MAX: ::std::os::raw::c_uint = 127;
pub const INT_LEAST16_MAX: ::std::os::raw::c_uint = 32767;
pub const INT_LEAST32_MAX: ::std::os::raw::c_uint = 2147483647;
pub const INT_LEAST64_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const UINT_LEAST8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT_LEAST16_MAX: ::std::os::raw::c_uint = 65535;
pub const UINT_LEAST32_MAX: ::std::os::raw::c_uint = 4294967295;
pub const UINT_LEAST64_MAX: ::std::os::raw::c_int = -1;
pub const INT_FAST8_MIN: ::std::os::raw::c_int = -128;
pub const INT_FAST16_MIN: ::std::os::raw::c_int = -32768;
pub const INT_FAST32_MIN: ::std::os::raw::c_int = -2147483648;
pub const INT_FAST64_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INT_FAST8_MAX: ::std::os::raw::c_uint = 127;
pub const INT_FAST16_MAX: ::std::os::raw::c_uint = 32767;
pub const INT_FAST32_MAX: ::std::os::raw::c_uint = 2147483647;
pub const INT_FAST64_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const UINT_FAST8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT_FAST16_MAX: ::std::os::raw::c_uint = 65535;
pub const UINT_FAST32_MAX: ::std::os::raw::c_uint = 4294967295;
pub const UINT_FAST64_MAX: ::std::os::raw::c_int = -1;
pub const INTPTR_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INTPTR_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const UINTPTR_MAX: ::std::os::raw::c_int = -1;
pub const INTMAX_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INTMAX_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const UINTMAX_MAX: ::std::os::raw::c_int = -1;
pub const PTRDIFF_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const PTRDIFF_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const SIZE_MAX: ::std::os::raw::c_int = -1;
pub const RSIZE_MAX: ::std::os::raw::c_int = -1;
pub const WINT_MIN: ::std::os::raw::c_int = -2147483648;
pub const WINT_MAX: ::std::os::raw::c_uint = 2147483647;
pub const SIG_ATOMIC_MIN: ::std::os::raw::c_int = -2147483648;
pub const SIG_ATOMIC_MAX: ::std::os::raw::c_uint = 2147483647;
pub const __PRI_8_LENGTH_MODIFIER__: &'static [u8; 3usize] = b"hh\x00";
pub const __PRI_64_LENGTH_MODIFIER__: &'static [u8; 3usize] = b"ll\x00";
pub const __SCN_64_LENGTH_MODIFIER__: &'static [u8; 3usize] = b"ll\x00";
pub const __PRI_MAX_LENGTH_MODIFIER__: &'static [u8; 2usize] = b"j\x00";
pub const __SCN_MAX_LENGTH_MODIFIER__: &'static [u8; 2usize] = b"j\x00";
pub const PRId8: &'static [u8; 4usize] = b"hhd\x00";
pub const PRIi8: &'static [u8; 4usize] = b"hhi\x00";
pub const PRIo8: &'static [u8; 4usize] = b"hho\x00";
pub const PRIu8: &'static [u8; 4usize] = b"hhu\x00";
pub const PRIx8: &'static [u8; 4usize] = b"hhx\x00";
pub const PRIX8: &'static [u8; 4usize] = b"hhX\x00";
pub const PRId16: &'static [u8; 3usize] = b"hd\x00";
pub const PRIi16: &'static [u8; 3usize] = b"hi\x00";
pub const PRIo16: &'static [u8; 3usize] = b"ho\x00";
pub const PRIu16: &'static [u8; 3usize] = b"hu\x00";
pub const PRIx16: &'static [u8; 3usize] = b"hx\x00";
pub const PRIX16: &'static [u8; 3usize] = b"hX\x00";
pub const PRId32: &'static [u8; 2usize] = b"d\x00";
pub const PRIi32: &'static [u8; 2usize] = b"i\x00";
pub const PRIo32: &'static [u8; 2usize] = b"o\x00";
pub const PRIu32: &'static [u8; 2usize] = b"u\x00";
pub const PRIx32: &'static [u8; 2usize] = b"x\x00";
pub const PRIX32: &'static [u8; 2usize] = b"X\x00";
pub const PRId64: &'static [u8; 4usize] = b"lld\x00";
pub const PRIi64: &'static [u8; 4usize] = b"lli\x00";
pub const PRIo64: &'static [u8; 4usize] = b"llo\x00";
pub const PRIu64: &'static [u8; 4usize] = b"llu\x00";
pub const PRIx64: &'static [u8; 4usize] = b"llx\x00";
pub const PRIX64: &'static [u8; 4usize] = b"llX\x00";
pub const PRIdLEAST8: &'static [u8; 4usize] = b"hhd\x00";
pub const PRIiLEAST8: &'static [u8; 4usize] = b"hhi\x00";
pub const PRIoLEAST8: &'static [u8; 4usize] = b"hho\x00";
pub const PRIuLEAST8: &'static [u8; 4usize] = b"hhu\x00";
pub const PRIxLEAST8: &'static [u8; 4usize] = b"hhx\x00";
pub const PRIXLEAST8: &'static [u8; 4usize] = b"hhX\x00";
pub const PRIdLEAST16: &'static [u8; 3usize] = b"hd\x00";
pub const PRIiLEAST16: &'static [u8; 3usize] = b"hi\x00";
pub const PRIoLEAST16: &'static [u8; 3usize] = b"ho\x00";
pub const PRIuLEAST16: &'static [u8; 3usize] = b"hu\x00";
pub const PRIxLEAST16: &'static [u8; 3usize] = b"hx\x00";
pub const PRIXLEAST16: &'static [u8; 3usize] = b"hX\x00";
pub const PRIdLEAST32: &'static [u8; 2usize] = b"d\x00";
pub const PRIiLEAST32: &'static [u8; 2usize] = b"i\x00";
pub const PRIoLEAST32: &'static [u8; 2usize] = b"o\x00";
pub const PRIuLEAST32: &'static [u8; 2usize] = b"u\x00";
pub const PRIxLEAST32: &'static [u8; 2usize] = b"x\x00";
pub const PRIXLEAST32: &'static [u8; 2usize] = b"X\x00";
pub const PRIdLEAST64: &'static [u8; 4usize] = b"lld\x00";
pub const PRIiLEAST64: &'static [u8; 4usize] = b"lli\x00";
pub const PRIoLEAST64: &'static [u8; 4usize] = b"llo\x00";
pub const PRIuLEAST64: &'static [u8; 4usize] = b"llu\x00";
pub const PRIxLEAST64: &'static [u8; 4usize] = b"llx\x00";
pub const PRIXLEAST64: &'static [u8; 4usize] = b"llX\x00";
pub const PRIdFAST8: &'static [u8; 4usize] = b"hhd\x00";
pub const PRIiFAST8: &'static [u8; 4usize] = b"hhi\x00";
pub const PRIoFAST8: &'static [u8; 4usize] = b"hho\x00";
pub const PRIuFAST8: &'static [u8; 4usize] = b"hhu\x00";
pub const PRIxFAST8: &'static [u8; 4usize] = b"hhx\x00";
pub const PRIXFAST8: &'static [u8; 4usize] = b"hhX\x00";
pub const PRIdFAST16: &'static [u8; 3usize] = b"hd\x00";
pub const PRIiFAST16: &'static [u8; 3usize] = b"hi\x00";
pub const PRIoFAST16: &'static [u8; 3usize] = b"ho\x00";
pub const PRIuFAST16: &'static [u8; 3usize] = b"hu\x00";
pub const PRIxFAST16: &'static [u8; 3usize] = b"hx\x00";
pub const PRIXFAST16: &'static [u8; 3usize] = b"hX\x00";
pub const PRIdFAST32: &'static [u8; 2usize] = b"d\x00";
pub const PRIiFAST32: &'static [u8; 2usize] = b"i\x00";
pub const PRIoFAST32: &'static [u8; 2usize] = b"o\x00";
pub const PRIuFAST32: &'static [u8; 2usize] = b"u\x00";
pub const PRIxFAST32: &'static [u8; 2usize] = b"x\x00";
pub const PRIXFAST32: &'static [u8; 2usize] = b"X\x00";
pub const PRIdFAST64: &'static [u8; 4usize] = b"lld\x00";
pub const PRIiFAST64: &'static [u8; 4usize] = b"lli\x00";
pub const PRIoFAST64: &'static [u8; 4usize] = b"llo\x00";
pub const PRIuFAST64: &'static [u8; 4usize] = b"llu\x00";
pub const PRIxFAST64: &'static [u8; 4usize] = b"llx\x00";
pub const PRIXFAST64: &'static [u8; 4usize] = b"llX\x00";
pub const PRIdPTR: &'static [u8; 3usize] = b"ld\x00";
pub const PRIiPTR: &'static [u8; 3usize] = b"li\x00";
pub const PRIoPTR: &'static [u8; 3usize] = b"lo\x00";
pub const PRIuPTR: &'static [u8; 3usize] = b"lu\x00";
pub const PRIxPTR: &'static [u8; 3usize] = b"lx\x00";
pub const PRIXPTR: &'static [u8; 3usize] = b"lX\x00";
pub const PRIdMAX: &'static [u8; 3usize] = b"jd\x00";
pub const PRIiMAX: &'static [u8; 3usize] = b"ji\x00";
pub const PRIoMAX: &'static [u8; 3usize] = b"jo\x00";
pub const PRIuMAX: &'static [u8; 3usize] = b"ju\x00";
pub const PRIxMAX: &'static [u8; 3usize] = b"jx\x00";
pub const PRIXMAX: &'static [u8; 3usize] = b"jX\x00";
pub const SCNd8: &'static [u8; 4usize] = b"hhd\x00";
pub const SCNi8: &'static [u8; 4usize] = b"hhi\x00";
pub const SCNo8: &'static [u8; 4usize] = b"hho\x00";
pub const SCNu8: &'static [u8; 4usize] = b"hhu\x00";
pub const SCNx8: &'static [u8; 4usize] = b"hhx\x00";
pub const SCNd16: &'static [u8; 3usize] = b"hd\x00";
pub const SCNi16: &'static [u8; 3usize] = b"hi\x00";
pub const SCNo16: &'static [u8; 3usize] = b"ho\x00";
pub const SCNu16: &'static [u8; 3usize] = b"hu\x00";
pub const SCNx16: &'static [u8; 3usize] = b"hx\x00";
pub const SCNd32: &'static [u8; 2usize] = b"d\x00";
pub const SCNi32: &'static [u8; 2usize] = b"i\x00";
pub const SCNo32: &'static [u8; 2usize] = b"o\x00";
pub const SCNu32: &'static [u8; 2usize] = b"u\x00";
pub const SCNx32: &'static [u8; 2usize] = b"x\x00";
pub const SCNd64: &'static [u8; 4usize] = b"lld\x00";
pub const SCNi64: &'static [u8; 4usize] = b"lli\x00";
pub const SCNo64: &'static [u8; 4usize] = b"llo\x00";
pub const SCNu64: &'static [u8; 4usize] = b"llu\x00";
pub const SCNx64: &'static [u8; 4usize] = b"llx\x00";
pub const SCNdLEAST8: &'static [u8; 4usize] = b"hhd\x00";
pub const SCNiLEAST8: &'static [u8; 4usize] = b"hhi\x00";
pub const SCNoLEAST8: &'static [u8; 4usize] = b"hho\x00";
pub const SCNuLEAST8: &'static [u8; 4usize] = b"hhu\x00";
pub const SCNxLEAST8: &'static [u8; 4usize] = b"hhx\x00";
pub const SCNdLEAST16: &'static [u8; 3usize] = b"hd\x00";
pub const SCNiLEAST16: &'static [u8; 3usize] = b"hi\x00";
pub const SCNoLEAST16: &'static [u8; 3usize] = b"ho\x00";
pub const SCNuLEAST16: &'static [u8; 3usize] = b"hu\x00";
pub const SCNxLEAST16: &'static [u8; 3usize] = b"hx\x00";
pub const SCNdLEAST32: &'static [u8; 2usize] = b"d\x00";
pub const SCNiLEAST32: &'static [u8; 2usize] = b"i\x00";
pub const SCNoLEAST32: &'static [u8; 2usize] = b"o\x00";
pub const SCNuLEAST32: &'static [u8; 2usize] = b"u\x00";
pub const SCNxLEAST32: &'static [u8; 2usize] = b"x\x00";
pub const SCNdLEAST64: &'static [u8; 4usize] = b"lld\x00";
pub const SCNiLEAST64: &'static [u8; 4usize] = b"lli\x00";
pub const SCNoLEAST64: &'static [u8; 4usize] = b"llo\x00";
pub const SCNuLEAST64: &'static [u8; 4usize] = b"llu\x00";
pub const SCNxLEAST64: &'static [u8; 4usize] = b"llx\x00";
pub const SCNdFAST8: &'static [u8; 4usize] = b"hhd\x00";
pub const SCNiFAST8: &'static [u8; 4usize] = b"hhi\x00";
pub const SCNoFAST8: &'static [u8; 4usize] = b"hho\x00";
pub const SCNuFAST8: &'static [u8; 4usize] = b"hhu\x00";
pub const SCNxFAST8: &'static [u8; 4usize] = b"hhx\x00";
pub const SCNdFAST16: &'static [u8; 3usize] = b"hd\x00";
pub const SCNiFAST16: &'static [u8; 3usize] = b"hi\x00";
pub const SCNoFAST16: &'static [u8; 3usize] = b"ho\x00";
pub const SCNuFAST16: &'static [u8; 3usize] = b"hu\x00";
pub const SCNxFAST16: &'static [u8; 3usize] = b"hx\x00";
pub const SCNdFAST32: &'static [u8; 2usize] = b"d\x00";
pub const SCNiFAST32: &'static [u8; 2usize] = b"i\x00";
pub const SCNoFAST32: &'static [u8; 2usize] = b"o\x00";
pub const SCNuFAST32: &'static [u8; 2usize] = b"u\x00";
pub const SCNxFAST32: &'static [u8; 2usize] = b"x\x00";
pub const SCNdFAST64: &'static [u8; 4usize] = b"lld\x00";
pub const SCNiFAST64: &'static [u8; 4usize] = b"lli\x00";
pub const SCNoFAST64: &'static [u8; 4usize] = b"llo\x00";
pub const SCNuFAST64: &'static [u8; 4usize] = b"llu\x00";
pub const SCNxFAST64: &'static [u8; 4usize] = b"llx\x00";
pub const SCNdPTR: &'static [u8; 3usize] = b"ld\x00";
pub const SCNiPTR: &'static [u8; 3usize] = b"li\x00";
pub const SCNoPTR: &'static [u8; 3usize] = b"lo\x00";
pub const SCNuPTR: &'static [u8; 3usize] = b"lu\x00";
pub const SCNxPTR: &'static [u8; 3usize] = b"lx\x00";
pub const SCNdMAX: &'static [u8; 3usize] = b"jd\x00";
pub const SCNiMAX: &'static [u8; 3usize] = b"ji\x00";
pub const SCNoMAX: &'static [u8; 3usize] = b"jo\x00";
pub const SCNuMAX: &'static [u8; 3usize] = b"ju\x00";
pub const SCNxMAX: &'static [u8; 3usize] = b"jx\x00";
pub const __MAC_10_0: ::std::os::raw::c_uint = 1000;
pub const __MAC_10_1: ::std::os::raw::c_uint = 1010;
pub const __MAC_10_2: ::std::os::raw::c_uint = 1020;
pub const __MAC_10_3: ::std::os::raw::c_uint = 1030;
pub const __MAC_10_4: ::std::os::raw::c_uint = 1040;
pub const __MAC_10_5: ::std::os::raw::c_uint = 1050;
pub const __MAC_10_6: ::std::os::raw::c_uint = 1060;
pub const __MAC_10_7: ::std::os::raw::c_uint = 1070;
pub const __MAC_10_8: ::std::os::raw::c_uint = 1080;
pub const __MAC_10_9: ::std::os::raw::c_uint = 1090;
pub const __MAC_10_10: ::std::os::raw::c_uint = 101000;
pub const __MAC_10_10_2: ::std::os::raw::c_uint = 101002;
pub const __MAC_10_10_3: ::std::os::raw::c_uint = 101003;
pub const __MAC_10_11: ::std::os::raw::c_uint = 101100;
pub const __MAC_10_11_2: ::std::os::raw::c_uint = 101102;
pub const __MAC_10_11_3: ::std::os::raw::c_uint = 101103;
pub const __MAC_10_11_4: ::std::os::raw::c_uint = 101104;
pub const __MAC_10_12: ::std::os::raw::c_uint = 101200;
pub const __MAC_10_12_1: ::std::os::raw::c_uint = 101201;
pub const __MAC_10_12_2: ::std::os::raw::c_uint = 101202;
pub const __MAC_10_12_4: ::std::os::raw::c_uint = 101204;
pub const __IPHONE_2_0: ::std::os::raw::c_uint = 20000;
pub const __IPHONE_2_1: ::std::os::raw::c_uint = 20100;
pub const __IPHONE_2_2: ::std::os::raw::c_uint = 20200;
pub const __IPHONE_3_0: ::std::os::raw::c_uint = 30000;
pub const __IPHONE_3_1: ::std::os::raw::c_uint = 30100;
pub const __IPHONE_3_2: ::std::os::raw::c_uint = 30200;
pub const __IPHONE_4_0: ::std::os::raw::c_uint = 40000;
pub const __IPHONE_4_1: ::std::os::raw::c_uint = 40100;
pub const __IPHONE_4_2: ::std::os::raw::c_uint = 40200;
pub const __IPHONE_4_3: ::std::os::raw::c_uint = 40300;
pub const __IPHONE_5_0: ::std::os::raw::c_uint = 50000;
pub const __IPHONE_5_1: ::std::os::raw::c_uint = 50100;
pub const __IPHONE_6_0: ::std::os::raw::c_uint = 60000;
pub const __IPHONE_6_1: ::std::os::raw::c_uint = 60100;
pub const __IPHONE_7_0: ::std::os::raw::c_uint = 70000;
pub const __IPHONE_7_1: ::std::os::raw::c_uint = 70100;
pub const __IPHONE_8_0: ::std::os::raw::c_uint = 80000;
pub const __IPHONE_8_1: ::std::os::raw::c_uint = 80100;
pub const __IPHONE_8_2: ::std::os::raw::c_uint = 80200;
pub const __IPHONE_8_3: ::std::os::raw::c_uint = 80300;
pub const __IPHONE_8_4: ::std::os::raw::c_uint = 80400;
pub const __IPHONE_9_0: ::std::os::raw::c_uint = 90000;
pub const __IPHONE_9_1: ::std::os::raw::c_uint = 90100;
pub const __IPHONE_9_2: ::std::os::raw::c_uint = 90200;
pub const __IPHONE_9_3: ::std::os::raw::c_uint = 90300;
pub const __IPHONE_10_0: ::std::os::raw::c_uint = 100000;
pub const __IPHONE_10_1: ::std::os::raw::c_uint = 100100;
pub const __IPHONE_10_2: ::std::os::raw::c_uint = 100200;
pub const __IPHONE_10_3: ::std::os::raw::c_uint = 100300;
pub const __TVOS_9_0: ::std::os::raw::c_uint = 90000;
pub const __TVOS_9_1: ::std::os::raw::c_uint = 90100;
pub const __TVOS_9_2: ::std::os::raw::c_uint = 90200;
pub const __TVOS_10_0: ::std::os::raw::c_uint = 100000;
pub const __TVOS_10_0_1: ::std::os::raw::c_uint = 100001;
pub const __TVOS_10_1: ::std::os::raw::c_uint = 100100;
pub const __TVOS_10_2: ::std::os::raw::c_uint = 100200;
pub const __WATCHOS_1_0: ::std::os::raw::c_uint = 10000;
pub const __WATCHOS_2_0: ::std::os::raw::c_uint = 20000;
pub const __WATCHOS_2_1: ::std::os::raw::c_uint = 20100;
pub const __WATCHOS_2_2: ::std::os::raw::c_uint = 20200;
pub const __WATCHOS_3_0: ::std::os::raw::c_uint = 30000;
pub const __WATCHOS_3_1: ::std::os::raw::c_uint = 30100;
pub const __WATCHOS_3_1_1: ::std::os::raw::c_uint = 30101;
pub const __WATCHOS_3_2: ::std::os::raw::c_uint = 30200;
pub const __MAC_OS_X_VERSION_MAX_ALLOWED: ::std::os::raw::c_uint = 101204;
pub const __DARWIN_WCHAR_MIN: ::std::os::raw::c_int = -2147483648;
pub const _FORTIFY_SOURCE: ::std::os::raw::c_uint = 2;
pub const VPX_IMAGE_ABI_VERSION: ::std::os::raw::c_uint = 4;
pub const VPX_IMG_FMT_PLANAR: ::std::os::raw::c_uint = 256;
pub const VPX_IMG_FMT_UV_FLIP: ::std::os::raw::c_uint = 512;
pub const VPX_IMG_FMT_HAS_ALPHA: ::std::os::raw::c_uint = 1024;
pub const VPX_IMG_FMT_HIGHBITDEPTH: ::std::os::raw::c_uint = 2048;
pub const VPX_PLANE_PACKED: ::std::os::raw::c_uint = 0;
pub const VPX_PLANE_Y: ::std::os::raw::c_uint = 0;
pub const VPX_PLANE_U: ::std::os::raw::c_uint = 1;
pub const VPX_PLANE_V: ::std::os::raw::c_uint = 2;
pub const VPX_PLANE_ALPHA: ::std::os::raw::c_uint = 3;
pub const VPX_CODEC_ABI_VERSION: ::std::os::raw::c_uint = 7;
pub const VPX_CODEC_CAP_DECODER: ::std::os::raw::c_uint = 1;
pub const VPX_CODEC_CAP_ENCODER: ::std::os::raw::c_uint = 2;
pub const VPX_TS_MAX_PERIODICITY: ::std::os::raw::c_uint = 16;
pub const VPX_TS_MAX_LAYERS: ::std::os::raw::c_uint = 5;
pub const MAX_PERIODICITY: ::std::os::raw::c_uint = 16;
pub const VPX_MAX_LAYERS: ::std::os::raw::c_uint = 12;
pub const MAX_LAYERS: ::std::os::raw::c_uint = 12;
pub const VPX_SS_MAX_LAYERS: ::std::os::raw::c_uint = 5;
pub const VPX_SS_DEFAULT_LAYERS: ::std::os::raw::c_uint = 1;
pub const VPX_ENCODER_ABI_VERSION: ::std::os::raw::c_uint = 12;
pub const VPX_CODEC_CAP_PSNR: ::std::os::raw::c_uint = 65536;
pub const VPX_CODEC_CAP_OUTPUT_PARTITION: ::std::os::raw::c_uint = 131072;
pub const VPX_CODEC_CAP_HIGHBITDEPTH: ::std::os::raw::c_uint = 262144;
pub const VPX_CODEC_USE_PSNR: ::std::os::raw::c_uint = 65536;
pub const VPX_CODEC_USE_OUTPUT_PARTITION: ::std::os::raw::c_uint = 131072;
pub const VPX_CODEC_USE_HIGHBITDEPTH: ::std::os::raw::c_uint = 262144;
pub const VPX_FRAME_IS_KEY: ::std::os::raw::c_uint = 1;
pub const VPX_FRAME_IS_DROPPABLE: ::std::os::raw::c_uint = 2;
pub const VPX_FRAME_IS_INVISIBLE: ::std::os::raw::c_uint = 4;
pub const VPX_FRAME_IS_FRAGMENT: ::std::os::raw::c_uint = 8;
pub const VPX_ERROR_RESILIENT_DEFAULT: ::std::os::raw::c_uint = 1;
pub const VPX_ERROR_RESILIENT_PARTITIONS: ::std::os::raw::c_uint = 2;
pub const VPX_EFLAG_FORCE_KF: ::std::os::raw::c_uint = 1;
pub const VPX_DL_REALTIME: ::std::os::raw::c_uint = 1;
pub const VPX_DL_GOOD_QUALITY: ::std::os::raw::c_uint = 1000000;
pub const VPX_DL_BEST_QUALITY: ::std::os::raw::c_uint = 0;
pub const VP8_EFLAG_NO_REF_LAST: ::std::os::raw::c_uint = 65536;
pub const VP8_EFLAG_NO_REF_GF: ::std::os::raw::c_uint = 131072;
pub const VP8_EFLAG_NO_REF_ARF: ::std::os::raw::c_uint = 2097152;
pub const VP8_EFLAG_NO_UPD_LAST: ::std::os::raw::c_uint = 262144;
pub const VP8_EFLAG_NO_UPD_GF: ::std::os::raw::c_uint = 4194304;
pub const VP8_EFLAG_NO_UPD_ARF: ::std::os::raw::c_uint = 8388608;
pub const VP8_EFLAG_FORCE_GF: ::std::os::raw::c_uint = 524288;
pub const VP8_EFLAG_FORCE_ARF: ::std::os::raw::c_uint = 16777216;
pub const VP8_EFLAG_NO_UPD_ENTROPY: ::std::os::raw::c_uint = 1048576;
pub const VPX_MAXIMUM_WORK_BUFFERS: ::std::os::raw::c_uint = 8;
pub const VP9_MAXIMUM_REF_BUFFERS: ::std::os::raw::c_uint = 8;
pub const VPX_DECODER_ABI_VERSION: ::std::os::raw::c_uint = 10;
pub const VPX_CODEC_CAP_PUT_SLICE: ::std::os::raw::c_uint = 65536;
pub const VPX_CODEC_CAP_PUT_FRAME: ::std::os::raw::c_uint = 131072;
pub const VPX_CODEC_CAP_POSTPROC: ::std::os::raw::c_uint = 262144;
pub const VPX_CODEC_CAP_ERROR_CONCEALMENT: ::std::os::raw::c_uint = 524288;
pub const VPX_CODEC_CAP_INPUT_FRAGMENTS: ::std::os::raw::c_uint = 1048576;
pub const VPX_CODEC_CAP_FRAME_THREADING: ::std::os::raw::c_uint = 2097152;
pub const VPX_CODEC_CAP_EXTERNAL_FRAME_BUFFER: ::std::os::raw::c_uint =
    4194304;
pub const VPX_CODEC_USE_POSTPROC: ::std::os::raw::c_uint = 65536;
pub const VPX_CODEC_USE_ERROR_CONCEALMENT: ::std::os::raw::c_uint = 131072;
pub const VPX_CODEC_USE_INPUT_FRAGMENTS: ::std::os::raw::c_uint = 262144;
pub const VPX_CODEC_USE_FRAME_THREADING: ::std::os::raw::c_uint = 524288;
pub type wchar_t = ::std::os::raw::c_int;
pub type max_align_t = f64;
pub type int_least8_t = i8;
pub type int_least16_t = i16;
pub type int_least32_t = i32;
pub type int_least64_t = i64;
pub type uint_least8_t = u8;
pub type uint_least16_t = u16;
pub type uint_least32_t = u32;
pub type uint_least64_t = u64;
pub type int_fast8_t = i8;
pub type int_fast16_t = i16;
pub type int_fast32_t = i32;
pub type int_fast64_t = i64;
pub type uint_fast8_t = u8;
pub type uint_fast16_t = u16;
pub type uint_fast32_t = u32;
pub type uint_fast64_t = u64;
pub type __int8_t = ::std::os::raw::c_schar;
pub type __uint8_t = ::std::os::raw::c_uchar;
pub type __int16_t = ::std::os::raw::c_short;
pub type __uint16_t = ::std::os::raw::c_ushort;
pub type __int32_t = ::std::os::raw::c_int;
pub type __uint32_t = ::std::os::raw::c_uint;
pub type __int64_t = ::std::os::raw::c_longlong;
pub type __uint64_t = ::std::os::raw::c_ulonglong;
pub type __darwin_intptr_t = ::std::os::raw::c_long;
pub type __darwin_natural_t = ::std::os::raw::c_uint;
pub type __darwin_ct_rune_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __mbstate_t {
    pub __mbstate8: __BindgenUnionField<[::std::os::raw::c_char; 128usize]>,
    pub _mbstateL: __BindgenUnionField<::std::os::raw::c_longlong>,
    pub bindgen_union_field: [u64; 16usize],
}
#[test]
fn bindgen_test_layout___mbstate_t() {
    assert_eq!(::std::mem::size_of::<__mbstate_t>() , 128usize , concat ! (
               "Size of: " , stringify ! ( __mbstate_t ) ));
    assert_eq! (::std::mem::align_of::<__mbstate_t>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( __mbstate_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __mbstate_t ) ) . __mbstate8 as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( __mbstate_t ) , "::" ,
                stringify ! ( __mbstate8 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __mbstate_t ) ) . _mbstateL as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( __mbstate_t ) , "::" ,
                stringify ! ( _mbstateL ) ));
}
impl Clone for __mbstate_t {
    fn clone(&self) -> Self { *self }
}
pub type __darwin_mbstate_t = __mbstate_t;
pub type __darwin_ptrdiff_t = ::std::os::raw::c_long;
pub type __darwin_size_t = ::std::os::raw::c_ulong;
pub type __darwin_va_list = __builtin_va_list;
pub type __darwin_wchar_t = ::std::os::raw::c_int;
pub type __darwin_rune_t = __darwin_wchar_t;
pub type __darwin_wint_t = ::std::os::raw::c_int;
pub type __darwin_clock_t = ::std::os::raw::c_ulong;
pub type __darwin_socklen_t = __uint32_t;
pub type __darwin_ssize_t = ::std::os::raw::c_long;
pub type __darwin_time_t = ::std::os::raw::c_long;
pub type __darwin_blkcnt_t = __int64_t;
pub type __darwin_blksize_t = __int32_t;
pub type __darwin_dev_t = __int32_t;
pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint;
pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint;
pub type __darwin_gid_t = __uint32_t;
pub type __darwin_id_t = __uint32_t;
pub type __darwin_ino64_t = __uint64_t;
pub type __darwin_ino_t = __darwin_ino64_t;
pub type __darwin_mach_port_name_t = __darwin_natural_t;
pub type __darwin_mach_port_t = __darwin_mach_port_name_t;
pub type __darwin_mode_t = __uint16_t;
pub type __darwin_off_t = __int64_t;
pub type __darwin_pid_t = __int32_t;
pub type __darwin_sigset_t = __uint32_t;
pub type __darwin_suseconds_t = __int32_t;
pub type __darwin_uid_t = __uint32_t;
pub type __darwin_useconds_t = __uint32_t;
pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize];
pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize];
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __darwin_pthread_handler_rec {
    pub __routine: ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                  *mut ::std::os::raw::c_void)>,
    pub __arg: *mut ::std::os::raw::c_void,
    pub __next: *mut __darwin_pthread_handler_rec,
}
#[test]
fn bindgen_test_layout___darwin_pthread_handler_rec() {
    assert_eq!(::std::mem::size_of::<__darwin_pthread_handler_rec>() , 24usize
               , concat ! (
               "Size of: " , stringify ! ( __darwin_pthread_handler_rec ) ));
    assert_eq! (::std::mem::align_of::<__darwin_pthread_handler_rec>() ,
                8usize , concat ! (
                "Alignment of " , stringify ! ( __darwin_pthread_handler_rec )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __darwin_pthread_handler_rec ) ) .
                __routine as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                __darwin_pthread_handler_rec ) , "::" , stringify ! (
                __routine ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __darwin_pthread_handler_rec ) ) . __arg
                as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                __darwin_pthread_handler_rec ) , "::" , stringify ! ( __arg )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __darwin_pthread_handler_rec ) ) . __next
                as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! (
                __darwin_pthread_handler_rec ) , "::" , stringify ! ( __next )
                ));
}
impl Clone for __darwin_pthread_handler_rec {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct _opaque_pthread_attr_t {
    pub __sig: ::std::os::raw::c_long,
    pub __opaque: [::std::os::raw::c_char; 56usize],
}
#[test]
fn bindgen_test_layout__opaque_pthread_attr_t() {
    assert_eq!(::std::mem::size_of::<_opaque_pthread_attr_t>() , 64usize ,
               concat ! ( "Size of: " , stringify ! ( _opaque_pthread_attr_t )
               ));
    assert_eq! (::std::mem::align_of::<_opaque_pthread_attr_t>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( _opaque_pthread_attr_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_attr_t ) ) . __sig as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _opaque_pthread_attr_t
                ) , "::" , stringify ! ( __sig ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_attr_t ) ) . __opaque as
                * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _opaque_pthread_attr_t
                ) , "::" , stringify ! ( __opaque ) ));
}
#[repr(C)]
pub struct _opaque_pthread_cond_t {
    pub __sig: ::std::os::raw::c_long,
    pub __opaque: [::std::os::raw::c_char; 40usize],
}
#[test]
fn bindgen_test_layout__opaque_pthread_cond_t() {
    assert_eq!(::std::mem::size_of::<_opaque_pthread_cond_t>() , 48usize ,
               concat ! ( "Size of: " , stringify ! ( _opaque_pthread_cond_t )
               ));
    assert_eq! (::std::mem::align_of::<_opaque_pthread_cond_t>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( _opaque_pthread_cond_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_cond_t ) ) . __sig as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _opaque_pthread_cond_t
                ) , "::" , stringify ! ( __sig ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_cond_t ) ) . __opaque as
                * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _opaque_pthread_cond_t
                ) , "::" , stringify ! ( __opaque ) ));
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _opaque_pthread_condattr_t {
    pub __sig: ::std::os::raw::c_long,
    pub __opaque: [::std::os::raw::c_char; 8usize],
}
#[test]
fn bindgen_test_layout__opaque_pthread_condattr_t() {
    assert_eq!(::std::mem::size_of::<_opaque_pthread_condattr_t>() , 16usize ,
               concat ! (
               "Size of: " , stringify ! ( _opaque_pthread_condattr_t ) ));
    assert_eq! (::std::mem::align_of::<_opaque_pthread_condattr_t>() , 8usize
                , concat ! (
                "Alignment of " , stringify ! ( _opaque_pthread_condattr_t )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_condattr_t ) ) . __sig as
                * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                _opaque_pthread_condattr_t ) , "::" , stringify ! ( __sig )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_condattr_t ) ) . __opaque
                as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                _opaque_pthread_condattr_t ) , "::" , stringify ! ( __opaque )
                ));
}
impl Clone for _opaque_pthread_condattr_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct _opaque_pthread_mutex_t {
    pub __sig: ::std::os::raw::c_long,
    pub __opaque: [::std::os::raw::c_char; 56usize],
}
#[test]
fn bindgen_test_layout__opaque_pthread_mutex_t() {
    assert_eq!(::std::mem::size_of::<_opaque_pthread_mutex_t>() , 64usize ,
               concat ! (
               "Size of: " , stringify ! ( _opaque_pthread_mutex_t ) ));
    assert_eq! (::std::mem::align_of::<_opaque_pthread_mutex_t>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( _opaque_pthread_mutex_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_mutex_t ) ) . __sig as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _opaque_pthread_mutex_t
                ) , "::" , stringify ! ( __sig ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_mutex_t ) ) . __opaque as
                * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _opaque_pthread_mutex_t
                ) , "::" , stringify ! ( __opaque ) ));
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _opaque_pthread_mutexattr_t {
    pub __sig: ::std::os::raw::c_long,
    pub __opaque: [::std::os::raw::c_char; 8usize],
}
#[test]
fn bindgen_test_layout__opaque_pthread_mutexattr_t() {
    assert_eq!(::std::mem::size_of::<_opaque_pthread_mutexattr_t>() , 16usize
               , concat ! (
               "Size of: " , stringify ! ( _opaque_pthread_mutexattr_t ) ));
    assert_eq! (::std::mem::align_of::<_opaque_pthread_mutexattr_t>() , 8usize
                , concat ! (
                "Alignment of " , stringify ! ( _opaque_pthread_mutexattr_t )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_mutexattr_t ) ) . __sig
                as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                _opaque_pthread_mutexattr_t ) , "::" , stringify ! ( __sig )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_mutexattr_t ) ) .
                __opaque as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                _opaque_pthread_mutexattr_t ) , "::" , stringify ! ( __opaque
                ) ));
}
impl Clone for _opaque_pthread_mutexattr_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _opaque_pthread_once_t {
    pub __sig: ::std::os::raw::c_long,
    pub __opaque: [::std::os::raw::c_char; 8usize],
}
#[test]
fn bindgen_test_layout__opaque_pthread_once_t() {
    assert_eq!(::std::mem::size_of::<_opaque_pthread_once_t>() , 16usize ,
               concat ! ( "Size of: " , stringify ! ( _opaque_pthread_once_t )
               ));
    assert_eq! (::std::mem::align_of::<_opaque_pthread_once_t>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( _opaque_pthread_once_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_once_t ) ) . __sig as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _opaque_pthread_once_t
                ) , "::" , stringify ! ( __sig ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_once_t ) ) . __opaque as
                * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _opaque_pthread_once_t
                ) , "::" , stringify ! ( __opaque ) ));
}
impl Clone for _opaque_pthread_once_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct _opaque_pthread_rwlock_t {
    pub __sig: ::std::os::raw::c_long,
    pub __opaque: [::std::os::raw::c_char; 192usize],
}
#[test]
fn bindgen_test_layout__opaque_pthread_rwlock_t() {
    assert_eq!(::std::mem::size_of::<_opaque_pthread_rwlock_t>() , 200usize ,
               concat ! (
               "Size of: " , stringify ! ( _opaque_pthread_rwlock_t ) ));
    assert_eq! (::std::mem::align_of::<_opaque_pthread_rwlock_t>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( _opaque_pthread_rwlock_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_rwlock_t ) ) . __sig as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                _opaque_pthread_rwlock_t ) , "::" , stringify ! ( __sig ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_rwlock_t ) ) . __opaque
                as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                _opaque_pthread_rwlock_t ) , "::" , stringify ! ( __opaque )
                ));
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _opaque_pthread_rwlockattr_t {
    pub __sig: ::std::os::raw::c_long,
    pub __opaque: [::std::os::raw::c_char; 16usize],
}
#[test]
fn bindgen_test_layout__opaque_pthread_rwlockattr_t() {
    assert_eq!(::std::mem::size_of::<_opaque_pthread_rwlockattr_t>() , 24usize
               , concat ! (
               "Size of: " , stringify ! ( _opaque_pthread_rwlockattr_t ) ));
    assert_eq! (::std::mem::align_of::<_opaque_pthread_rwlockattr_t>() ,
                8usize , concat ! (
                "Alignment of " , stringify ! ( _opaque_pthread_rwlockattr_t )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_rwlockattr_t ) ) . __sig
                as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                _opaque_pthread_rwlockattr_t ) , "::" , stringify ! ( __sig )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_rwlockattr_t ) ) .
                __opaque as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                _opaque_pthread_rwlockattr_t ) , "::" , stringify ! ( __opaque
                ) ));
}
impl Clone for _opaque_pthread_rwlockattr_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct _opaque_pthread_t {
    pub __sig: ::std::os::raw::c_long,
    pub __cleanup_stack: *mut __darwin_pthread_handler_rec,
    pub __opaque: [::std::os::raw::c_char; 8176usize],
}
#[test]
fn bindgen_test_layout__opaque_pthread_t() {
    assert_eq!(::std::mem::size_of::<_opaque_pthread_t>() , 8192usize , concat
               ! ( "Size of: " , stringify ! ( _opaque_pthread_t ) ));
    assert_eq! (::std::mem::align_of::<_opaque_pthread_t>() , 8usize , concat
                ! ( "Alignment of " , stringify ! ( _opaque_pthread_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_t ) ) . __sig as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _opaque_pthread_t ) ,
                "::" , stringify ! ( __sig ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_t ) ) . __cleanup_stack
                as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _opaque_pthread_t ) ,
                "::" , stringify ! ( __cleanup_stack ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _opaque_pthread_t ) ) . __opaque as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( _opaque_pthread_t ) ,
                "::" , stringify ! ( __opaque ) ));
}
pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t;
pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t;
pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t;
pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong;
pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t;
pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t;
pub type __darwin_pthread_once_t = _opaque_pthread_once_t;
pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t;
pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t;
pub type __darwin_pthread_t = *mut _opaque_pthread_t;
pub type intmax_t = ::std::os::raw::c_long;
pub type uintmax_t = ::std::os::raw::c_ulong;
pub type __darwin_nl_item = ::std::os::raw::c_int;
pub type __darwin_wctrans_t = ::std::os::raw::c_int;
pub type __darwin_wctype_t = __uint32_t;
extern "C" {
    pub fn imaxabs(j: intmax_t) -> intmax_t;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct imaxdiv_t {
    pub quot: intmax_t,
    pub rem: intmax_t,
}
#[test]
fn bindgen_test_layout_imaxdiv_t() {
    assert_eq!(::std::mem::size_of::<imaxdiv_t>() , 16usize , concat ! (
               "Size of: " , stringify ! ( imaxdiv_t ) ));
    assert_eq! (::std::mem::align_of::<imaxdiv_t>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( imaxdiv_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const imaxdiv_t ) ) . quot as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( imaxdiv_t ) , "::" ,
                stringify ! ( quot ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const imaxdiv_t ) ) . rem as * const _ as usize
                } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( imaxdiv_t ) , "::" ,
                stringify ! ( rem ) ));
}
impl Clone for imaxdiv_t {
    fn clone(&self) -> Self { *self }
}
extern "C" {
    pub fn imaxdiv(__numer: intmax_t, __denom: intmax_t) -> imaxdiv_t;
}
extern "C" {
    pub fn strtoimax(__nptr: *const ::std::os::raw::c_char,
                     __endptr: *mut *mut ::std::os::raw::c_char,
                     __base: ::std::os::raw::c_int) -> intmax_t;
}
extern "C" {
    pub fn strtoumax(__nptr: *const ::std::os::raw::c_char,
                     __endptr: *mut *mut ::std::os::raw::c_char,
                     __base: ::std::os::raw::c_int) -> uintmax_t;
}
extern "C" {
    pub fn wcstoimax(__nptr: *const wchar_t, __endptr: *mut *mut wchar_t,
                     __base: ::std::os::raw::c_int) -> intmax_t;
}
extern "C" {
    pub fn wcstoumax(__nptr: *const wchar_t, __endptr: *mut *mut wchar_t,
                     __base: ::std::os::raw::c_int) -> uintmax_t;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vpx_img_fmt {
    VPX_IMG_FMT_NONE = 0,
    VPX_IMG_FMT_RGB24 = 1,
    VPX_IMG_FMT_RGB32 = 2,
    VPX_IMG_FMT_RGB565 = 3,
    VPX_IMG_FMT_RGB555 = 4,
    VPX_IMG_FMT_UYVY = 5,
    VPX_IMG_FMT_YUY2 = 6,
    VPX_IMG_FMT_YVYU = 7,
    VPX_IMG_FMT_BGR24 = 8,
    VPX_IMG_FMT_RGB32_LE = 9,
    VPX_IMG_FMT_ARGB = 10,
    VPX_IMG_FMT_ARGB_LE = 11,
    VPX_IMG_FMT_RGB565_LE = 12,
    VPX_IMG_FMT_RGB555_LE = 13,
    VPX_IMG_FMT_YV12 = 769,
    VPX_IMG_FMT_I420 = 258,
    VPX_IMG_FMT_VPXYV12 = 771,
    VPX_IMG_FMT_VPXI420 = 260,
    VPX_IMG_FMT_I422 = 261,
    VPX_IMG_FMT_I444 = 262,
    VPX_IMG_FMT_I440 = 263,
    VPX_IMG_FMT_444A = 1286,
    VPX_IMG_FMT_I42016 = 2306,
    VPX_IMG_FMT_I42216 = 2309,
    VPX_IMG_FMT_I44416 = 2310,
    VPX_IMG_FMT_I44016 = 2311,
}
pub use self::vpx_img_fmt as vpx_img_fmt_t;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vpx_color_space {
    VPX_CS_UNKNOWN = 0,
    VPX_CS_BT_601 = 1,
    VPX_CS_BT_709 = 2,
    VPX_CS_SMPTE_170 = 3,
    VPX_CS_SMPTE_240 = 4,
    VPX_CS_BT_2020 = 5,
    VPX_CS_RESERVED = 6,
    VPX_CS_SRGB = 7,
}
pub use self::vpx_color_space as vpx_color_space_t;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vpx_color_range { VPX_CR_STUDIO_RANGE = 0, VPX_CR_FULL_RANGE = 1, }
pub use self::vpx_color_range as vpx_color_range_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_image {
    pub fmt: vpx_img_fmt_t,
    pub cs: vpx_color_space_t,
    pub range: vpx_color_range_t,
    pub w: ::std::os::raw::c_uint,
    pub h: ::std::os::raw::c_uint,
    pub bit_depth: ::std::os::raw::c_uint,
    pub d_w: ::std::os::raw::c_uint,
    pub d_h: ::std::os::raw::c_uint,
    pub r_w: ::std::os::raw::c_uint,
    pub r_h: ::std::os::raw::c_uint,
    pub x_chroma_shift: ::std::os::raw::c_uint,
    pub y_chroma_shift: ::std::os::raw::c_uint,
    pub planes: [*mut ::std::os::raw::c_uchar; 4usize],
    pub stride: [::std::os::raw::c_int; 4usize],
    pub bps: ::std::os::raw::c_int,
    pub user_priv: *mut ::std::os::raw::c_void,
    pub img_data: *mut ::std::os::raw::c_uchar,
    pub img_data_owner: ::std::os::raw::c_int,
    pub self_allocd: ::std::os::raw::c_int,
    pub fb_priv: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_vpx_image() {
    assert_eq!(::std::mem::size_of::<vpx_image>() , 136usize , concat ! (
               "Size of: " , stringify ! ( vpx_image ) ));
    assert_eq! (::std::mem::align_of::<vpx_image>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( vpx_image ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . fmt as * const _ as usize
                } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( fmt ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . cs as * const _ as usize
                } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( cs ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . range as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( range ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . w as * const _ as usize }
                , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( w ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . h as * const _ as usize }
                , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( h ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . bit_depth as * const _ as
                usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( bit_depth ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . d_w as * const _ as usize
                } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( d_w ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . d_h as * const _ as usize
                } , 28usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( d_h ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . r_w as * const _ as usize
                } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( r_w ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . r_h as * const _ as usize
                } , 36usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( r_h ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . x_chroma_shift as * const
                _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( x_chroma_shift ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . y_chroma_shift as * const
                _ as usize } , 44usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( y_chroma_shift ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . planes as * const _ as
                usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( planes ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . stride as * const _ as
                usize } , 80usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( stride ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . bps as * const _ as usize
                } , 96usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( bps ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . user_priv as * const _ as
                usize } , 104usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( user_priv ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . img_data as * const _ as
                usize } , 112usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( img_data ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . img_data_owner as * const
                _ as usize } , 120usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( img_data_owner ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . self_allocd as * const _
                as usize } , 124usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( self_allocd ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image ) ) . fb_priv as * const _ as
                usize } , 128usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image ) , "::" ,
                stringify ! ( fb_priv ) ));
}
impl Clone for vpx_image {
    fn clone(&self) -> Self { *self }
}
pub type vpx_image_t = vpx_image;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_image_rect {
    pub x: ::std::os::raw::c_uint,
    pub y: ::std::os::raw::c_uint,
    pub w: ::std::os::raw::c_uint,
    pub h: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout_vpx_image_rect() {
    assert_eq!(::std::mem::size_of::<vpx_image_rect>() , 16usize , concat ! (
               "Size of: " , stringify ! ( vpx_image_rect ) ));
    assert_eq! (::std::mem::align_of::<vpx_image_rect>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( vpx_image_rect ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image_rect ) ) . x as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image_rect ) , "::"
                , stringify ! ( x ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image_rect ) ) . y as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image_rect ) , "::"
                , stringify ! ( y ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image_rect ) ) . w as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image_rect ) , "::"
                , stringify ! ( w ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_image_rect ) ) . h as * const _ as
                usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_image_rect ) , "::"
                , stringify ! ( h ) ));
}
impl Clone for vpx_image_rect {
    fn clone(&self) -> Self { *self }
}
pub type vpx_image_rect_t = vpx_image_rect;
extern "C" {
    pub fn vpx_img_alloc(img: *mut vpx_image_t, fmt: vpx_img_fmt_t,
                         d_w: ::std::os::raw::c_uint,
                         d_h: ::std::os::raw::c_uint,
                         align: ::std::os::raw::c_uint) -> *mut vpx_image_t;
}
extern "C" {
    pub fn vpx_img_wrap(img: *mut vpx_image_t, fmt: vpx_img_fmt_t,
                        d_w: ::std::os::raw::c_uint,
                        d_h: ::std::os::raw::c_uint,
                        align: ::std::os::raw::c_uint,
                        img_data: *mut ::std::os::raw::c_uchar)
     -> *mut vpx_image_t;
}
extern "C" {
    pub fn vpx_img_set_rect(img: *mut vpx_image_t, x: ::std::os::raw::c_uint,
                            y: ::std::os::raw::c_uint,
                            w: ::std::os::raw::c_uint,
                            h: ::std::os::raw::c_uint)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn vpx_img_flip(img: *mut vpx_image_t);
}
extern "C" {
    pub fn vpx_img_free(img: *mut vpx_image_t);
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vpx_codec_err_t {
    VPX_CODEC_OK = 0,
    VPX_CODEC_ERROR = 1,
    VPX_CODEC_MEM_ERROR = 2,
    VPX_CODEC_ABI_MISMATCH = 3,
    VPX_CODEC_INCAPABLE = 4,
    VPX_CODEC_UNSUP_BITSTREAM = 5,
    VPX_CODEC_UNSUP_FEATURE = 6,
    VPX_CODEC_CORRUPT_FRAME = 7,
    VPX_CODEC_INVALID_PARAM = 8,
    VPX_CODEC_LIST_END = 9,
}
pub type vpx_codec_caps_t = ::std::os::raw::c_long;
pub type vpx_codec_flags_t = ::std::os::raw::c_long;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct vpx_codec_iface {
    _unused: [u8; 0],
}
pub type vpx_codec_iface_t = vpx_codec_iface;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct vpx_codec_priv {
    _unused: [u8; 0],
}
pub type vpx_codec_priv_t = vpx_codec_priv;
pub type vpx_codec_iter_t = *const ::std::os::raw::c_void;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_codec_ctx {
    pub name: *const ::std::os::raw::c_char,
    pub iface: *mut vpx_codec_iface_t,
    pub err: vpx_codec_err_t,
    pub err_detail: *const ::std::os::raw::c_char,
    pub init_flags: vpx_codec_flags_t,
    pub config: vpx_codec_ctx__bindgen_ty_1,
    pub priv_: *mut vpx_codec_priv_t,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_codec_ctx__bindgen_ty_1 {
    pub dec: __BindgenUnionField<*const vpx_codec_dec_cfg>,
    pub enc: __BindgenUnionField<*const vpx_codec_enc_cfg>,
    pub raw: __BindgenUnionField<*const ::std::os::raw::c_void>,
    pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout_vpx_codec_ctx__bindgen_ty_1() {
    assert_eq!(::std::mem::size_of::<vpx_codec_ctx__bindgen_ty_1>() , 8usize ,
               concat ! (
               "Size of: " , stringify ! ( vpx_codec_ctx__bindgen_ty_1 ) ));
    assert_eq! (::std::mem::align_of::<vpx_codec_ctx__bindgen_ty_1>() , 8usize
                , concat ! (
                "Alignment of " , stringify ! ( vpx_codec_ctx__bindgen_ty_1 )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_ctx__bindgen_ty_1 ) ) . dec as
                * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_ctx__bindgen_ty_1 ) , "::" , stringify ! ( dec ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_ctx__bindgen_ty_1 ) ) . enc as
                * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_ctx__bindgen_ty_1 ) , "::" , stringify ! ( enc ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_ctx__bindgen_ty_1 ) ) . raw as
                * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_ctx__bindgen_ty_1 ) , "::" , stringify ! ( raw ) ));
}
impl Clone for vpx_codec_ctx__bindgen_ty_1 {
    fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_vpx_codec_ctx() {
    assert_eq!(::std::mem::size_of::<vpx_codec_ctx>() , 56usize , concat ! (
               "Size of: " , stringify ! ( vpx_codec_ctx ) ));
    assert_eq! (::std::mem::align_of::<vpx_codec_ctx>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( vpx_codec_ctx ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_ctx ) ) . name as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_ctx ) , "::"
                , stringify ! ( name ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_ctx ) ) . iface as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_ctx ) , "::"
                , stringify ! ( iface ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_ctx ) ) . err as * const _ as
                usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_ctx ) , "::"
                , stringify ! ( err ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_ctx ) ) . err_detail as * const
                _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_ctx ) , "::"
                , stringify ! ( err_detail ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_ctx ) ) . init_flags as * const
                _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_ctx ) , "::"
                , stringify ! ( init_flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_ctx ) ) . config as * const _
                as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_ctx ) , "::"
                , stringify ! ( config ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_ctx ) ) . priv_ as * const _ as
                usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_ctx ) , "::"
                , stringify ! ( priv_ ) ));
}
impl Clone for vpx_codec_ctx {
    fn clone(&self) -> Self { *self }
}
pub type vpx_codec_ctx_t = vpx_codec_ctx;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vpx_bit_depth { VPX_BITS_8 = 8, VPX_BITS_10 = 10, VPX_BITS_12 = 12, }
pub use self::vpx_bit_depth as vpx_bit_depth_t;
extern "C" {
    pub fn vpx_codec_version() -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn vpx_codec_version_str() -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn vpx_codec_version_extra_str() -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn vpx_codec_build_config() -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn vpx_codec_iface_name(iface: *mut vpx_codec_iface_t)
     -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn vpx_codec_err_to_string(err: vpx_codec_err_t)
     -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn vpx_codec_error(ctx: *mut vpx_codec_ctx_t)
     -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn vpx_codec_error_detail(ctx: *mut vpx_codec_ctx_t)
     -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn vpx_codec_destroy(ctx: *mut vpx_codec_ctx_t) -> vpx_codec_err_t;
}
extern "C" {
    pub fn vpx_codec_get_caps(iface: *mut vpx_codec_iface_t)
     -> vpx_codec_caps_t;
}
extern "C" {
    pub fn vpx_codec_control_(ctx: *mut vpx_codec_ctx_t,
                              ctrl_id: ::std::os::raw::c_int, ...)
     -> vpx_codec_err_t;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vp8_com_control_id {
    VP8_SET_REFERENCE = 1,
    VP8_COPY_REFERENCE = 2,
    VP8_SET_POSTPROC = 3,
    VP8_SET_DBG_COLOR_REF_FRAME = 4,
    VP8_SET_DBG_COLOR_MB_MODES = 5,
    VP8_SET_DBG_COLOR_B_MODES = 6,
    VP8_SET_DBG_DISPLAY_MV = 7,
    VP9_GET_REFERENCE = 128,
    VP8_COMMON_CTRL_ID_MAX = 129,
    VP8_DECODER_CTRL_ID_START = 256,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vp8_postproc_level {
    VP8_NOFILTERING = 0,
    VP8_DEBLOCK = 1,
    VP8_DEMACROBLOCK = 2,
    VP8_ADDNOISE = 4,
    VP8_DEBUG_TXT_FRAME_INFO = 8,
    VP8_DEBUG_TXT_MBLK_MODES = 16,
    VP8_DEBUG_TXT_DC_DIFF = 32,
    VP8_DEBUG_TXT_RATE_INFO = 64,
    VP8_MFQE = 1024,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vp8_postproc_cfg {
    pub post_proc_flag: ::std::os::raw::c_int,
    pub deblocking_level: ::std::os::raw::c_int,
    pub noise_level: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_vp8_postproc_cfg() {
    assert_eq!(::std::mem::size_of::<vp8_postproc_cfg>() , 12usize , concat !
               ( "Size of: " , stringify ! ( vp8_postproc_cfg ) ));
    assert_eq! (::std::mem::align_of::<vp8_postproc_cfg>() , 4usize , concat !
                ( "Alignment of " , stringify ! ( vp8_postproc_cfg ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vp8_postproc_cfg ) ) . post_proc_flag as
                * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vp8_postproc_cfg ) ,
                "::" , stringify ! ( post_proc_flag ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vp8_postproc_cfg ) ) . deblocking_level
                as * const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( vp8_postproc_cfg ) ,
                "::" , stringify ! ( deblocking_level ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vp8_postproc_cfg ) ) . noise_level as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vp8_postproc_cfg ) ,
                "::" , stringify ! ( noise_level ) ));
}
impl Clone for vp8_postproc_cfg {
    fn clone(&self) -> Self { *self }
}
pub type vp8_postproc_cfg_t = vp8_postproc_cfg;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vpx_ref_frame_type {
    VP8_LAST_FRAME = 1,
    VP8_GOLD_FRAME = 2,
    VP8_ALTR_FRAME = 4,
}
pub use self::vpx_ref_frame_type as vpx_ref_frame_type_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_ref_frame {
    pub frame_type: vpx_ref_frame_type_t,
    pub img: vpx_image_t,
}
#[test]
fn bindgen_test_layout_vpx_ref_frame() {
    assert_eq!(::std::mem::size_of::<vpx_ref_frame>() , 144usize , concat ! (
               "Size of: " , stringify ! ( vpx_ref_frame ) ));
    assert_eq! (::std::mem::align_of::<vpx_ref_frame>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( vpx_ref_frame ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_ref_frame ) ) . frame_type as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_ref_frame ) , "::"
                , stringify ! ( frame_type ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_ref_frame ) ) . img as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_ref_frame ) , "::"
                , stringify ! ( img ) ));
}
impl Clone for vpx_ref_frame {
    fn clone(&self) -> Self { *self }
}
pub type vpx_ref_frame_t = vpx_ref_frame;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vp9_ref_frame {
    pub idx: ::std::os::raw::c_int,
    pub img: vpx_image_t,
}
#[test]
fn bindgen_test_layout_vp9_ref_frame() {
    assert_eq!(::std::mem::size_of::<vp9_ref_frame>() , 144usize , concat ! (
               "Size of: " , stringify ! ( vp9_ref_frame ) ));
    assert_eq! (::std::mem::align_of::<vp9_ref_frame>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( vp9_ref_frame ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vp9_ref_frame ) ) . idx as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vp9_ref_frame ) , "::"
                , stringify ! ( idx ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vp9_ref_frame ) ) . img as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vp9_ref_frame ) , "::"
                , stringify ! ( img ) ));
}
impl Clone for vp9_ref_frame {
    fn clone(&self) -> Self { *self }
}
pub type vp9_ref_frame_t = vp9_ref_frame;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_fixed_buf {
    pub buf: *mut ::std::os::raw::c_void,
    pub sz: usize,
}
#[test]
fn bindgen_test_layout_vpx_fixed_buf() {
    assert_eq!(::std::mem::size_of::<vpx_fixed_buf>() , 16usize , concat ! (
               "Size of: " , stringify ! ( vpx_fixed_buf ) ));
    assert_eq! (::std::mem::align_of::<vpx_fixed_buf>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( vpx_fixed_buf ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_fixed_buf ) ) . buf as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_fixed_buf ) , "::"
                , stringify ! ( buf ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_fixed_buf ) ) . sz as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_fixed_buf ) , "::"
                , stringify ! ( sz ) ));
}
impl Clone for vpx_fixed_buf {
    fn clone(&self) -> Self { *self }
}
pub type vpx_fixed_buf_t = vpx_fixed_buf;
pub type vpx_codec_pts_t = i64;
pub type vpx_codec_frame_flags_t = u32;
pub type vpx_codec_er_flags_t = u32;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vpx_codec_cx_pkt_kind {
    VPX_CODEC_CX_FRAME_PKT = 0,
    VPX_CODEC_STATS_PKT = 1,
    VPX_CODEC_FPMB_STATS_PKT = 2,
    VPX_CODEC_PSNR_PKT = 3,
    VPX_CODEC_CUSTOM_PKT = 256,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_codec_cx_pkt {
    pub kind: vpx_codec_cx_pkt_kind,
    pub data: vpx_codec_cx_pkt__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_codec_cx_pkt__bindgen_ty_1 {
    pub frame: __BindgenUnionField<vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1>,
    pub twopass_stats: __BindgenUnionField<vpx_fixed_buf_t>,
    pub firstpass_mb_stats: __BindgenUnionField<vpx_fixed_buf_t>,
    pub psnr: __BindgenUnionField<vpx_codec_cx_pkt__bindgen_ty_1_vpx_psnr_pkt>,
    pub raw: __BindgenUnionField<vpx_fixed_buf_t>,
    pub pad: __BindgenUnionField<[::std::os::raw::c_char; 124usize]>,
    pub bindgen_union_field: [u64; 16usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1 {
    pub buf: *mut ::std::os::raw::c_void,
    pub sz: usize,
    pub pts: vpx_codec_pts_t,
    pub duration: ::std::os::raw::c_ulong,
    pub flags: vpx_codec_frame_flags_t,
    pub partition_id: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1() {
    assert_eq!(::std::mem::size_of::<vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1>()
               , 40usize , concat ! (
               "Size of: " , stringify ! (
               vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1 ) ));
    assert_eq! (::std::mem::align_of::<vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1>()
                , 8usize , concat ! (
                "Alignment of " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1 ) ));
    assert_eq! (unsafe {
                & (
                * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1
                ) ) . buf as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1 ) , "::" ,
                stringify ! ( buf ) ));
    assert_eq! (unsafe {
                & (
                * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1
                ) ) . sz as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1 ) , "::" ,
                stringify ! ( sz ) ));
    assert_eq! (unsafe {
                & (
                * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1
                ) ) . pts as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1 ) , "::" ,
                stringify ! ( pts ) ));
    assert_eq! (unsafe {
                & (
                * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1
                ) ) . duration as * const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1 ) , "::" ,
                stringify ! ( duration ) ));
    assert_eq! (unsafe {
                & (
                * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1
                ) ) . flags as * const _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1 ) , "::" ,
                stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & (
                * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1
                ) ) . partition_id as * const _ as usize } , 36usize , concat
                ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1 ) , "::" ,
                stringify ! ( partition_id ) ));
}
impl Clone for vpx_codec_cx_pkt__bindgen_ty_1__bindgen_ty_1 {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_codec_cx_pkt__bindgen_ty_1_vpx_psnr_pkt {
    pub samples: [::std::os::raw::c_uint; 4usize],
    pub sse: [u64; 4usize],
    pub psnr: [f64; 4usize],
}
#[test]
fn bindgen_test_layout_vpx_codec_cx_pkt__bindgen_ty_1_vpx_psnr_pkt() {
    assert_eq!(::std::mem::size_of::<vpx_codec_cx_pkt__bindgen_ty_1_vpx_psnr_pkt>()
               , 80usize , concat ! (
               "Size of: " , stringify ! (
               vpx_codec_cx_pkt__bindgen_ty_1_vpx_psnr_pkt ) ));
    assert_eq! (::std::mem::align_of::<vpx_codec_cx_pkt__bindgen_ty_1_vpx_psnr_pkt>()
                , 8usize , concat ! (
                "Alignment of " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1_vpx_psnr_pkt ) ));
    assert_eq! (unsafe {
                & (
                * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1_vpx_psnr_pkt )
                ) . samples as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1_vpx_psnr_pkt ) , "::" ,
                stringify ! ( samples ) ));
    assert_eq! (unsafe {
                & (
                * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1_vpx_psnr_pkt )
                ) . sse as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1_vpx_psnr_pkt ) , "::" ,
                stringify ! ( sse ) ));
    assert_eq! (unsafe {
                & (
                * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1_vpx_psnr_pkt )
                ) . psnr as * const _ as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1_vpx_psnr_pkt ) , "::" ,
                stringify ! ( psnr ) ));
}
impl Clone for vpx_codec_cx_pkt__bindgen_ty_1_vpx_psnr_pkt {
    fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_vpx_codec_cx_pkt__bindgen_ty_1() {
    assert_eq!(::std::mem::size_of::<vpx_codec_cx_pkt__bindgen_ty_1>() ,
               128usize , concat ! (
               "Size of: " , stringify ! ( vpx_codec_cx_pkt__bindgen_ty_1 )
               ));
    assert_eq! (::std::mem::align_of::<vpx_codec_cx_pkt__bindgen_ty_1>() ,
                8usize , concat ! (
                "Alignment of " , stringify ! ( vpx_codec_cx_pkt__bindgen_ty_1
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1 ) ) .
                frame as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1 ) , "::" , stringify ! ( frame
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1 ) ) .
                twopass_stats as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1 ) , "::" , stringify ! (
                twopass_stats ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1 ) ) .
                firstpass_mb_stats as * const _ as usize } , 0usize , concat !
                (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1 ) , "::" , stringify ! (
                firstpass_mb_stats ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1 ) ) . psnr
                as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1 ) , "::" , stringify ! ( psnr )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1 ) ) . raw
                as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1 ) , "::" , stringify ! ( raw )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_cx_pkt__bindgen_ty_1 ) ) . pad
                as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_cx_pkt__bindgen_ty_1 ) , "::" , stringify ! ( pad )
                ));
}
impl Clone for vpx_codec_cx_pkt__bindgen_ty_1 {
    fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_vpx_codec_cx_pkt() {
    assert_eq!(::std::mem::size_of::<vpx_codec_cx_pkt>() , 136usize , concat !
               ( "Size of: " , stringify ! ( vpx_codec_cx_pkt ) ));
    assert_eq! (::std::mem::align_of::<vpx_codec_cx_pkt>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( vpx_codec_cx_pkt ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_cx_pkt ) ) . kind as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_cx_pkt ) ,
                "::" , stringify ! ( kind ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_cx_pkt ) ) . data as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_cx_pkt ) ,
                "::" , stringify ! ( data ) ));
}
impl Clone for vpx_codec_cx_pkt {
    fn clone(&self) -> Self { *self }
}
pub type vpx_codec_cx_pkt_t = vpx_codec_cx_pkt;
pub type vpx_codec_enc_output_cx_pkt_cb_fn_t =
    ::std::option::Option<unsafe extern "C" fn(pkt: *mut vpx_codec_cx_pkt_t,
                                               user_data:
                                                   *mut ::std::os::raw::c_void)>;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_codec_enc_output_cx_cb_pair {
    pub output_cx_pkt: vpx_codec_enc_output_cx_pkt_cb_fn_t,
    pub user_priv: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_vpx_codec_enc_output_cx_cb_pair() {
    assert_eq!(::std::mem::size_of::<vpx_codec_enc_output_cx_cb_pair>() ,
               16usize , concat ! (
               "Size of: " , stringify ! ( vpx_codec_enc_output_cx_cb_pair )
               ));
    assert_eq! (::std::mem::align_of::<vpx_codec_enc_output_cx_cb_pair>() ,
                8usize , concat ! (
                "Alignment of " , stringify ! (
                vpx_codec_enc_output_cx_cb_pair ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_output_cx_cb_pair ) ) .
                output_cx_pkt as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_enc_output_cx_cb_pair ) , "::" , stringify ! (
                output_cx_pkt ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_output_cx_cb_pair ) ) .
                user_priv as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_codec_enc_output_cx_cb_pair ) , "::" , stringify ! (
                user_priv ) ));
}
impl Clone for vpx_codec_enc_output_cx_cb_pair {
    fn clone(&self) -> Self { *self }
}
pub type vpx_codec_priv_output_cx_pkt_cb_pair_t =
    vpx_codec_enc_output_cx_cb_pair;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_rational {
    pub num: ::std::os::raw::c_int,
    pub den: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_vpx_rational() {
    assert_eq!(::std::mem::size_of::<vpx_rational>() , 8usize , concat ! (
               "Size of: " , stringify ! ( vpx_rational ) ));
    assert_eq! (::std::mem::align_of::<vpx_rational>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( vpx_rational ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_rational ) ) . num as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_rational ) , "::" ,
                stringify ! ( num ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_rational ) ) . den as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_rational ) , "::" ,
                stringify ! ( den ) ));
}
impl Clone for vpx_rational {
    fn clone(&self) -> Self { *self }
}
pub type vpx_rational_t = vpx_rational;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vpx_enc_pass {
    VPX_RC_ONE_PASS = 0,
    VPX_RC_FIRST_PASS = 1,
    VPX_RC_LAST_PASS = 2,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vpx_rc_mode { VPX_VBR = 0, VPX_CBR = 1, VPX_CQ = 2, VPX_Q = 3, }
pub const vpx_kf_mode_VPX_KF_DISABLED: vpx_kf_mode =
    vpx_kf_mode::VPX_KF_FIXED;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vpx_kf_mode { VPX_KF_FIXED = 0, VPX_KF_AUTO = 1, }
pub type vpx_enc_frame_flags_t = ::std::os::raw::c_long;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_codec_enc_cfg {
    pub g_usage: ::std::os::raw::c_uint,
    pub g_threads: ::std::os::raw::c_uint,
    pub g_profile: ::std::os::raw::c_uint,
    pub g_w: ::std::os::raw::c_uint,
    pub g_h: ::std::os::raw::c_uint,
    pub g_bit_depth: vpx_bit_depth_t,
    pub g_input_bit_depth: ::std::os::raw::c_uint,
    pub g_timebase: vpx_rational,
    pub g_error_resilient: vpx_codec_er_flags_t,
    pub g_pass: vpx_enc_pass,
    pub g_lag_in_frames: ::std::os::raw::c_uint,
    pub rc_dropframe_thresh: ::std::os::raw::c_uint,
    pub rc_resize_allowed: ::std::os::raw::c_uint,
    pub rc_scaled_width: ::std::os::raw::c_uint,
    pub rc_scaled_height: ::std::os::raw::c_uint,
    pub rc_resize_up_thresh: ::std::os::raw::c_uint,
    pub rc_resize_down_thresh: ::std::os::raw::c_uint,
    pub rc_end_usage: vpx_rc_mode,
    pub rc_twopass_stats_in: vpx_fixed_buf_t,
    pub rc_firstpass_mb_stats_in: vpx_fixed_buf_t,
    pub rc_target_bitrate: ::std::os::raw::c_uint,
    pub rc_min_quantizer: ::std::os::raw::c_uint,
    pub rc_max_quantizer: ::std::os::raw::c_uint,
    pub rc_undershoot_pct: ::std::os::raw::c_uint,
    pub rc_overshoot_pct: ::std::os::raw::c_uint,
    pub rc_buf_sz: ::std::os::raw::c_uint,
    pub rc_buf_initial_sz: ::std::os::raw::c_uint,
    pub rc_buf_optimal_sz: ::std::os::raw::c_uint,
    pub rc_2pass_vbr_bias_pct: ::std::os::raw::c_uint,
    pub rc_2pass_vbr_minsection_pct: ::std::os::raw::c_uint,
    pub rc_2pass_vbr_maxsection_pct: ::std::os::raw::c_uint,
    pub kf_mode: vpx_kf_mode,
    pub kf_min_dist: ::std::os::raw::c_uint,
    pub kf_max_dist: ::std::os::raw::c_uint,
    pub ss_number_layers: ::std::os::raw::c_uint,
    pub ss_enable_auto_alt_ref: [::std::os::raw::c_int; 5usize],
    pub ss_target_bitrate: [::std::os::raw::c_uint; 5usize],
    pub ts_number_layers: ::std::os::raw::c_uint,
    pub ts_target_bitrate: [::std::os::raw::c_uint; 5usize],
    pub ts_rate_decimator: [::std::os::raw::c_uint; 5usize],
    pub ts_periodicity: ::std::os::raw::c_uint,
    pub ts_layer_id: [::std::os::raw::c_uint; 16usize],
    pub layer_target_bitrate: [::std::os::raw::c_uint; 12usize],
    pub temporal_layering_mode: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_vpx_codec_enc_cfg() {
    assert_eq!(::std::mem::size_of::<vpx_codec_enc_cfg>() , 376usize , concat
               ! ( "Size of: " , stringify ! ( vpx_codec_enc_cfg ) ));
    assert_eq! (::std::mem::align_of::<vpx_codec_enc_cfg>() , 8usize , concat
                ! ( "Alignment of " , stringify ! ( vpx_codec_enc_cfg ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . g_usage as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( g_usage ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . g_threads as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( g_threads ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . g_profile as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( g_profile ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . g_w as * const _
                as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( g_w ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . g_h as * const _
                as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( g_h ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . g_bit_depth as *
                const _ as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( g_bit_depth ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . g_input_bit_depth
                as * const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( g_input_bit_depth ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . g_timebase as *
                const _ as usize } , 28usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( g_timebase ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . g_error_resilient
                as * const _ as usize } , 36usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( g_error_resilient ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . g_pass as * const
                _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( g_pass ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . g_lag_in_frames
                as * const _ as usize } , 44usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( g_lag_in_frames ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) .
                rc_dropframe_thresh as * const _ as usize } , 48usize , concat
                ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_dropframe_thresh ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . rc_resize_allowed
                as * const _ as usize } , 52usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_resize_allowed ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . rc_scaled_width
                as * const _ as usize } , 56usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_scaled_width ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . rc_scaled_height
                as * const _ as usize } , 60usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_scaled_height ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) .
                rc_resize_up_thresh as * const _ as usize } , 64usize , concat
                ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_resize_up_thresh ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) .
                rc_resize_down_thresh as * const _ as usize } , 68usize ,
                concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_resize_down_thresh ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . rc_end_usage as *
                const _ as usize } , 72usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_end_usage ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) .
                rc_twopass_stats_in as * const _ as usize } , 80usize , concat
                ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_twopass_stats_in ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) .
                rc_firstpass_mb_stats_in as * const _ as usize } , 96usize ,
                concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_firstpass_mb_stats_in ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . rc_target_bitrate
                as * const _ as usize } , 112usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_target_bitrate ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . rc_min_quantizer
                as * const _ as usize } , 116usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_min_quantizer ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . rc_max_quantizer
                as * const _ as usize } , 120usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_max_quantizer ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . rc_undershoot_pct
                as * const _ as usize } , 124usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_undershoot_pct ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . rc_overshoot_pct
                as * const _ as usize } , 128usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_overshoot_pct ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . rc_buf_sz as *
                const _ as usize } , 132usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_buf_sz ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . rc_buf_initial_sz
                as * const _ as usize } , 136usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_buf_initial_sz ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . rc_buf_optimal_sz
                as * const _ as usize } , 140usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_buf_optimal_sz ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) .
                rc_2pass_vbr_bias_pct as * const _ as usize } , 144usize ,
                concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_2pass_vbr_bias_pct ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) .
                rc_2pass_vbr_minsection_pct as * const _ as usize } , 148usize
                , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_2pass_vbr_minsection_pct ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) .
                rc_2pass_vbr_maxsection_pct as * const _ as usize } , 152usize
                , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( rc_2pass_vbr_maxsection_pct ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . kf_mode as *
                const _ as usize } , 156usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( kf_mode ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . kf_min_dist as *
                const _ as usize } , 160usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( kf_min_dist ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . kf_max_dist as *
                const _ as usize } , 164usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( kf_max_dist ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . ss_number_layers
                as * const _ as usize } , 168usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( ss_number_layers ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) .
                ss_enable_auto_alt_ref as * const _ as usize } , 172usize ,
                concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( ss_enable_auto_alt_ref ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . ss_target_bitrate
                as * const _ as usize } , 192usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( ss_target_bitrate ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . ts_number_layers
                as * const _ as usize } , 212usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( ts_number_layers ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . ts_target_bitrate
                as * const _ as usize } , 216usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( ts_target_bitrate ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . ts_rate_decimator
                as * const _ as usize } , 236usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( ts_rate_decimator ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . ts_periodicity as
                * const _ as usize } , 256usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( ts_periodicity ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) . ts_layer_id as *
                const _ as usize } , 260usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( ts_layer_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) .
                layer_target_bitrate as * const _ as usize } , 324usize ,
                concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( layer_target_bitrate ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_enc_cfg ) ) .
                temporal_layering_mode as * const _ as usize } , 372usize ,
                concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_enc_cfg ) ,
                "::" , stringify ! ( temporal_layering_mode ) ));
}
impl Clone for vpx_codec_enc_cfg {
    fn clone(&self) -> Self { *self }
}
pub type vpx_codec_enc_cfg_t = vpx_codec_enc_cfg;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_svc_parameters {
    pub max_quantizers: [::std::os::raw::c_int; 12usize],
    pub min_quantizers: [::std::os::raw::c_int; 12usize],
    pub scaling_factor_num: [::std::os::raw::c_int; 12usize],
    pub scaling_factor_den: [::std::os::raw::c_int; 12usize],
    pub speed_per_layer: [::std::os::raw::c_int; 12usize],
    pub temporal_layering_mode: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_vpx_svc_parameters() {
    assert_eq!(::std::mem::size_of::<vpx_svc_parameters>() , 244usize , concat
               ! ( "Size of: " , stringify ! ( vpx_svc_parameters ) ));
    assert_eq! (::std::mem::align_of::<vpx_svc_parameters>() , 4usize , concat
                ! ( "Alignment of " , stringify ! ( vpx_svc_parameters ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_svc_parameters ) ) . max_quantizers
                as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_svc_parameters ) ,
                "::" , stringify ! ( max_quantizers ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_svc_parameters ) ) . min_quantizers
                as * const _ as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_svc_parameters ) ,
                "::" , stringify ! ( min_quantizers ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_svc_parameters ) ) .
                scaling_factor_num as * const _ as usize } , 96usize , concat
                ! (
                "Alignment of field: " , stringify ! ( vpx_svc_parameters ) ,
                "::" , stringify ! ( scaling_factor_num ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_svc_parameters ) ) .
                scaling_factor_den as * const _ as usize } , 144usize , concat
                ! (
                "Alignment of field: " , stringify ! ( vpx_svc_parameters ) ,
                "::" , stringify ! ( scaling_factor_den ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_svc_parameters ) ) . speed_per_layer
                as * const _ as usize } , 192usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_svc_parameters ) ,
                "::" , stringify ! ( speed_per_layer ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_svc_parameters ) ) .
                temporal_layering_mode as * const _ as usize } , 240usize ,
                concat ! (
                "Alignment of field: " , stringify ! ( vpx_svc_parameters ) ,
                "::" , stringify ! ( temporal_layering_mode ) ));
}
impl Clone for vpx_svc_parameters {
    fn clone(&self) -> Self { *self }
}
pub type vpx_svc_extra_cfg_t = vpx_svc_parameters;
extern "C" {
    pub fn vpx_codec_enc_init_ver(ctx: *mut vpx_codec_ctx_t,
                                  iface: *mut vpx_codec_iface_t,
                                  cfg: *const vpx_codec_enc_cfg_t,
                                  flags: vpx_codec_flags_t,
                                  ver: ::std::os::raw::c_int)
     -> vpx_codec_err_t;
}
extern "C" {
    pub fn vpx_codec_enc_init_multi_ver(ctx: *mut vpx_codec_ctx_t,
                                        iface: *mut vpx_codec_iface_t,
                                        cfg: *mut vpx_codec_enc_cfg_t,
                                        num_enc: ::std::os::raw::c_int,
                                        flags: vpx_codec_flags_t,
                                        dsf: *mut vpx_rational_t,
                                        ver: ::std::os::raw::c_int)
     -> vpx_codec_err_t;
}
extern "C" {
    pub fn vpx_codec_enc_config_default(iface: *mut vpx_codec_iface_t,
                                        cfg: *mut vpx_codec_enc_cfg_t,
                                        reserved: ::std::os::raw::c_uint)
     -> vpx_codec_err_t;
}
extern "C" {
    pub fn vpx_codec_enc_config_set(ctx: *mut vpx_codec_ctx_t,
                                    cfg: *const vpx_codec_enc_cfg_t)
     -> vpx_codec_err_t;
}
extern "C" {
    pub fn vpx_codec_get_global_headers(ctx: *mut vpx_codec_ctx_t)
     -> *mut vpx_fixed_buf_t;
}
extern "C" {
    pub fn vpx_codec_encode(ctx: *mut vpx_codec_ctx_t,
                            img: *const vpx_image_t, pts: vpx_codec_pts_t,
                            duration: ::std::os::raw::c_ulong,
                            flags: vpx_enc_frame_flags_t,
                            deadline: ::std::os::raw::c_ulong)
     -> vpx_codec_err_t;
}
extern "C" {
    pub fn vpx_codec_set_cx_data_buf(ctx: *mut vpx_codec_ctx_t,
                                     buf: *const vpx_fixed_buf_t,
                                     pad_before: ::std::os::raw::c_uint,
                                     pad_after: ::std::os::raw::c_uint)
     -> vpx_codec_err_t;
}
extern "C" {
    pub fn vpx_codec_get_cx_data(ctx: *mut vpx_codec_ctx_t,
                                 iter: *mut vpx_codec_iter_t)
     -> *const vpx_codec_cx_pkt_t;
}
extern "C" {
    pub fn vpx_codec_get_preview_frame(ctx: *mut vpx_codec_ctx_t)
     -> *const vpx_image_t;
}
extern "C" {
    #[link_name = "vpx_codec_vp8_cx_algo"]
    pub static mut vpx_codec_vp8_cx_algo: vpx_codec_iface_t;
}
extern "C" {
    pub fn vpx_codec_vp8_cx() -> *mut vpx_codec_iface_t;
}
extern "C" {
    #[link_name = "vpx_codec_vp9_cx_algo"]
    pub static mut vpx_codec_vp9_cx_algo: vpx_codec_iface_t;
}
extern "C" {
    pub fn vpx_codec_vp9_cx() -> *mut vpx_codec_iface_t;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vp8e_enc_control_id {
    VP8E_SET_ROI_MAP = 8,
    VP8E_SET_ACTIVEMAP = 9,
    VP8E_SET_SCALEMODE = 11,
    VP8E_SET_CPUUSED = 13,
    VP8E_SET_ENABLEAUTOALTREF = 14,
    VP8E_SET_NOISE_SENSITIVITY = 15,
    VP8E_SET_SHARPNESS = 16,
    VP8E_SET_STATIC_THRESHOLD = 17,
    VP8E_SET_TOKEN_PARTITIONS = 18,
    VP8E_GET_LAST_QUANTIZER = 19,
    VP8E_GET_LAST_QUANTIZER_64 = 20,
    VP8E_SET_ARNR_MAXFRAMES = 21,
    VP8E_SET_ARNR_STRENGTH = 22,
    VP8E_SET_ARNR_TYPE = 23,
    VP8E_SET_TUNING = 24,
    VP8E_SET_CQ_LEVEL = 25,
    VP8E_SET_MAX_INTRA_BITRATE_PCT = 26,
    VP8E_SET_FRAME_FLAGS = 27,
    VP9E_SET_MAX_INTER_BITRATE_PCT = 28,
    VP9E_SET_GF_CBR_BOOST_PCT = 29,
    VP8E_SET_TEMPORAL_LAYER_ID = 30,
    VP8E_SET_SCREEN_CONTENT_MODE = 31,
    VP9E_SET_LOSSLESS = 32,
    VP9E_SET_TILE_COLUMNS = 33,
    VP9E_SET_TILE_ROWS = 34,
    VP9E_SET_FRAME_PARALLEL_DECODING = 35,
    VP9E_SET_AQ_MODE = 36,
    VP9E_SET_FRAME_PERIODIC_BOOST = 37,
    VP9E_SET_NOISE_SENSITIVITY = 38,
    VP9E_SET_SVC = 39,
    VP9E_SET_SVC_PARAMETERS = 40,
    VP9E_SET_SVC_LAYER_ID = 41,
    VP9E_SET_TUNE_CONTENT = 42,
    VP9E_GET_SVC_LAYER_ID = 43,
    VP9E_REGISTER_CX_CALLBACK = 44,
    VP9E_SET_COLOR_SPACE = 45,
    VP9E_SET_TEMPORAL_LAYERING_MODE = 46,
    VP9E_SET_MIN_GF_INTERVAL = 47,
    VP9E_SET_MAX_GF_INTERVAL = 48,
    VP9E_GET_ACTIVEMAP = 49,
    VP9E_SET_COLOR_RANGE = 50,
    VP9E_SET_SVC_REF_FRAME_CONFIG = 51,
    VP9E_SET_RENDER_SIZE = 52,
    VP9E_SET_TARGET_LEVEL = 53,
    VP9E_GET_LEVEL = 54,
    VP9E_SET_ALT_REF_AQ = 55,
    VP8E_SET_GF_CBR_BOOST_PCT = 56,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vpx_scaling_mode_1d {
    VP8E_NORMAL = 0,
    VP8E_FOURFIVE = 1,
    VP8E_THREEFIVE = 2,
    VP8E_ONETWO = 3,
}
pub use self::vpx_scaling_mode_1d as VPX_SCALING_MODE;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vp9e_temporal_layering_mode {
    VP9E_TEMPORAL_LAYERING_MODE_NOLAYERING = 0,
    VP9E_TEMPORAL_LAYERING_MODE_BYPASS = 1,
    VP9E_TEMPORAL_LAYERING_MODE_0101 = 2,
    VP9E_TEMPORAL_LAYERING_MODE_0212 = 3,
}
pub use self::vp9e_temporal_layering_mode as VP9E_TEMPORAL_LAYERING_MODE;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_roi_map {
    pub roi_map: *mut ::std::os::raw::c_uchar,
    pub rows: ::std::os::raw::c_uint,
    pub cols: ::std::os::raw::c_uint,
    pub delta_q: [::std::os::raw::c_int; 4usize],
    pub delta_lf: [::std::os::raw::c_int; 4usize],
    pub static_threshold: [::std::os::raw::c_uint; 4usize],
}
#[test]
fn bindgen_test_layout_vpx_roi_map() {
    assert_eq!(::std::mem::size_of::<vpx_roi_map>() , 64usize , concat ! (
               "Size of: " , stringify ! ( vpx_roi_map ) ));
    assert_eq! (::std::mem::align_of::<vpx_roi_map>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( vpx_roi_map ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_roi_map ) ) . roi_map as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_roi_map ) , "::" ,
                stringify ! ( roi_map ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_roi_map ) ) . rows as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_roi_map ) , "::" ,
                stringify ! ( rows ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_roi_map ) ) . cols as * const _ as
                usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_roi_map ) , "::" ,
                stringify ! ( cols ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_roi_map ) ) . delta_q as * const _ as
                usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_roi_map ) , "::" ,
                stringify ! ( delta_q ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_roi_map ) ) . delta_lf as * const _
                as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_roi_map ) , "::" ,
                stringify ! ( delta_lf ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_roi_map ) ) . static_threshold as *
                const _ as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_roi_map ) , "::" ,
                stringify ! ( static_threshold ) ));
}
impl Clone for vpx_roi_map {
    fn clone(&self) -> Self { *self }
}
pub type vpx_roi_map_t = vpx_roi_map;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_active_map {
    pub active_map: *mut ::std::os::raw::c_uchar,
    pub rows: ::std::os::raw::c_uint,
    pub cols: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout_vpx_active_map() {
    assert_eq!(::std::mem::size_of::<vpx_active_map>() , 16usize , concat ! (
               "Size of: " , stringify ! ( vpx_active_map ) ));
    assert_eq! (::std::mem::align_of::<vpx_active_map>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( vpx_active_map ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_active_map ) ) . active_map as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_active_map ) , "::"
                , stringify ! ( active_map ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_active_map ) ) . rows as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_active_map ) , "::"
                , stringify ! ( rows ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_active_map ) ) . cols as * const _ as
                usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_active_map ) , "::"
                , stringify ! ( cols ) ));
}
impl Clone for vpx_active_map {
    fn clone(&self) -> Self { *self }
}
pub type vpx_active_map_t = vpx_active_map;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_scaling_mode {
    pub h_scaling_mode: VPX_SCALING_MODE,
    pub v_scaling_mode: VPX_SCALING_MODE,
}
#[test]
fn bindgen_test_layout_vpx_scaling_mode() {
    assert_eq!(::std::mem::size_of::<vpx_scaling_mode>() , 8usize , concat ! (
               "Size of: " , stringify ! ( vpx_scaling_mode ) ));
    assert_eq! (::std::mem::align_of::<vpx_scaling_mode>() , 4usize , concat !
                ( "Alignment of " , stringify ! ( vpx_scaling_mode ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_scaling_mode ) ) . h_scaling_mode as
                * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_scaling_mode ) ,
                "::" , stringify ! ( h_scaling_mode ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_scaling_mode ) ) . v_scaling_mode as
                * const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_scaling_mode ) ,
                "::" , stringify ! ( v_scaling_mode ) ));
}
impl Clone for vpx_scaling_mode {
    fn clone(&self) -> Self { *self }
}
pub type vpx_scaling_mode_t = vpx_scaling_mode;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vp8e_token_partitions {
    VP8_ONE_TOKENPARTITION = 0,
    VP8_TWO_TOKENPARTITION = 1,
    VP8_FOUR_TOKENPARTITION = 2,
    VP8_EIGHT_TOKENPARTITION = 3,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vp9e_tune_content {
    VP9E_CONTENT_DEFAULT = 0,
    VP9E_CONTENT_SCREEN = 1,
    VP9E_CONTENT_INVALID = 2,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vp8e_tuning { VP8_TUNE_PSNR = 0, VP8_TUNE_SSIM = 1, }
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_svc_layer_id {
    pub spatial_layer_id: ::std::os::raw::c_int,
    pub temporal_layer_id: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_vpx_svc_layer_id() {
    assert_eq!(::std::mem::size_of::<vpx_svc_layer_id>() , 8usize , concat ! (
               "Size of: " , stringify ! ( vpx_svc_layer_id ) ));
    assert_eq! (::std::mem::align_of::<vpx_svc_layer_id>() , 4usize , concat !
                ( "Alignment of " , stringify ! ( vpx_svc_layer_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_svc_layer_id ) ) . spatial_layer_id
                as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_svc_layer_id ) ,
                "::" , stringify ! ( spatial_layer_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_svc_layer_id ) ) . temporal_layer_id
                as * const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_svc_layer_id ) ,
                "::" , stringify ! ( temporal_layer_id ) ));
}
impl Clone for vpx_svc_layer_id {
    fn clone(&self) -> Self { *self }
}
pub type vpx_svc_layer_id_t = vpx_svc_layer_id;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_svc_ref_frame_config {
    pub frame_flags: [::std::os::raw::c_int; 5usize],
    pub lst_fb_idx: [::std::os::raw::c_int; 5usize],
    pub gld_fb_idx: [::std::os::raw::c_int; 5usize],
    pub alt_fb_idx: [::std::os::raw::c_int; 5usize],
}
#[test]
fn bindgen_test_layout_vpx_svc_ref_frame_config() {
    assert_eq!(::std::mem::size_of::<vpx_svc_ref_frame_config>() , 80usize ,
               concat ! (
               "Size of: " , stringify ! ( vpx_svc_ref_frame_config ) ));
    assert_eq! (::std::mem::align_of::<vpx_svc_ref_frame_config>() , 4usize ,
                concat ! (
                "Alignment of " , stringify ! ( vpx_svc_ref_frame_config ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_svc_ref_frame_config ) ) .
                frame_flags as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_svc_ref_frame_config ) , "::" , stringify ! ( frame_flags
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_svc_ref_frame_config ) ) . lst_fb_idx
                as * const _ as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_svc_ref_frame_config ) , "::" , stringify ! ( lst_fb_idx )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_svc_ref_frame_config ) ) . gld_fb_idx
                as * const _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_svc_ref_frame_config ) , "::" , stringify ! ( gld_fb_idx )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_svc_ref_frame_config ) ) . alt_fb_idx
                as * const _ as usize } , 60usize , concat ! (
                "Alignment of field: " , stringify ! (
                vpx_svc_ref_frame_config ) , "::" , stringify ! ( alt_fb_idx )
                ));
}
impl Clone for vpx_svc_ref_frame_config {
    fn clone(&self) -> Self { *self }
}
pub type vpx_svc_ref_frame_config_t = vpx_svc_ref_frame_config;
extern "C" {
    #[link_name = "vpx_codec_vp8_dx_algo"]
    pub static mut vpx_codec_vp8_dx_algo: vpx_codec_iface_t;
}
extern "C" {
    pub fn vpx_codec_vp8_dx() -> *mut vpx_codec_iface_t;
}
extern "C" {
    #[link_name = "vpx_codec_vp9_dx_algo"]
    pub static mut vpx_codec_vp9_dx_algo: vpx_codec_iface_t;
}
extern "C" {
    pub fn vpx_codec_vp9_dx() -> *mut vpx_codec_iface_t;
}
pub const vp8_dec_control_id_VP8D_SET_DECRYPTOR: vp8_dec_control_id =
    vp8_dec_control_id::VPXD_SET_DECRYPTOR;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum vp8_dec_control_id {
    VP8D_GET_LAST_REF_UPDATES = 256,
    VP8D_GET_FRAME_CORRUPTED = 257,
    VP8D_GET_LAST_REF_USED = 258,
    VPXD_SET_DECRYPTOR = 259,
    VP9D_GET_FRAME_SIZE = 260,
    VP9D_GET_DISPLAY_SIZE = 261,
    VP9D_GET_BIT_DEPTH = 262,
    VP9_SET_BYTE_ALIGNMENT = 263,
    VP9_INVERT_TILE_DECODE_ORDER = 264,
    VP9_SET_SKIP_LOOP_FILTER = 265,
    VP9_DECODE_SVC_SPATIAL_LAYER = 266,
    VP8_DECODER_CTRL_ID_MAX = 267,
}
pub type vpx_decrypt_cb =
    ::std::option::Option<unsafe extern "C" fn(decrypt_state:
                                                   *mut ::std::os::raw::c_void,
                                               input:
                                                   *const ::std::os::raw::c_uchar,
                                               output:
                                                   *mut ::std::os::raw::c_uchar,
                                               count: ::std::os::raw::c_int)>;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_decrypt_init {
    pub decrypt_cb: vpx_decrypt_cb,
    pub decrypt_state: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_vpx_decrypt_init() {
    assert_eq!(::std::mem::size_of::<vpx_decrypt_init>() , 16usize , concat !
               ( "Size of: " , stringify ! ( vpx_decrypt_init ) ));
    assert_eq! (::std::mem::align_of::<vpx_decrypt_init>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( vpx_decrypt_init ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_decrypt_init ) ) . decrypt_cb as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_decrypt_init ) ,
                "::" , stringify ! ( decrypt_cb ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_decrypt_init ) ) . decrypt_state as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_decrypt_init ) ,
                "::" , stringify ! ( decrypt_state ) ));
}
impl Clone for vpx_decrypt_init {
    fn clone(&self) -> Self { *self }
}
pub type vp8_decrypt_init = vpx_decrypt_init;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_codec_frame_buffer {
    pub data: *mut u8,
    pub size: usize,
    pub priv_: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_vpx_codec_frame_buffer() {
    assert_eq!(::std::mem::size_of::<vpx_codec_frame_buffer>() , 24usize ,
               concat ! ( "Size of: " , stringify ! ( vpx_codec_frame_buffer )
               ));
    assert_eq! (::std::mem::align_of::<vpx_codec_frame_buffer>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( vpx_codec_frame_buffer ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_frame_buffer ) ) . data as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_frame_buffer
                ) , "::" , stringify ! ( data ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_frame_buffer ) ) . size as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_frame_buffer
                ) , "::" , stringify ! ( size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_frame_buffer ) ) . priv_ as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_frame_buffer
                ) , "::" , stringify ! ( priv_ ) ));
}
impl Clone for vpx_codec_frame_buffer {
    fn clone(&self) -> Self { *self }
}
pub type vpx_codec_frame_buffer_t = vpx_codec_frame_buffer;
pub type vpx_get_frame_buffer_cb_fn_t =
    ::std::option::Option<unsafe extern "C" fn(priv_:
                                                   *mut ::std::os::raw::c_void,
                                               min_size: usize,
                                               fb:
                                                   *mut vpx_codec_frame_buffer_t)
                              -> ::std::os::raw::c_int>;
pub type vpx_release_frame_buffer_cb_fn_t =
    ::std::option::Option<unsafe extern "C" fn(priv_:
                                                   *mut ::std::os::raw::c_void,
                                               fb:
                                                   *mut vpx_codec_frame_buffer_t)
                              -> ::std::os::raw::c_int>;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_codec_stream_info {
    pub sz: ::std::os::raw::c_uint,
    pub w: ::std::os::raw::c_uint,
    pub h: ::std::os::raw::c_uint,
    pub is_kf: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout_vpx_codec_stream_info() {
    assert_eq!(::std::mem::size_of::<vpx_codec_stream_info>() , 16usize ,
               concat ! ( "Size of: " , stringify ! ( vpx_codec_stream_info )
               ));
    assert_eq! (::std::mem::align_of::<vpx_codec_stream_info>() , 4usize ,
                concat ! (
                "Alignment of " , stringify ! ( vpx_codec_stream_info ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_stream_info ) ) . sz as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_stream_info )
                , "::" , stringify ! ( sz ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_stream_info ) ) . w as * const
                _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_stream_info )
                , "::" , stringify ! ( w ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_stream_info ) ) . h as * const
                _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_stream_info )
                , "::" , stringify ! ( h ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_stream_info ) ) . is_kf as *
                const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_stream_info )
                , "::" , stringify ! ( is_kf ) ));
}
impl Clone for vpx_codec_stream_info {
    fn clone(&self) -> Self { *self }
}
pub type vpx_codec_stream_info_t = vpx_codec_stream_info;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct vpx_codec_dec_cfg {
    pub threads: ::std::os::raw::c_uint,
    pub w: ::std::os::raw::c_uint,
    pub h: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout_vpx_codec_dec_cfg() {
    assert_eq!(::std::mem::size_of::<vpx_codec_dec_cfg>() , 12usize , concat !
               ( "Size of: " , stringify ! ( vpx_codec_dec_cfg ) ));
    assert_eq! (::std::mem::align_of::<vpx_codec_dec_cfg>() , 4usize , concat
                ! ( "Alignment of " , stringify ! ( vpx_codec_dec_cfg ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_dec_cfg ) ) . threads as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_dec_cfg ) ,
                "::" , stringify ! ( threads ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_dec_cfg ) ) . w as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_dec_cfg ) ,
                "::" , stringify ! ( w ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const vpx_codec_dec_cfg ) ) . h as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( vpx_codec_dec_cfg ) ,
                "::" , stringify ! ( h ) ));
}
impl Clone for vpx_codec_dec_cfg {
    fn clone(&self) -> Self { *self }
}
pub type vpx_codec_dec_cfg_t = vpx_codec_dec_cfg;
extern "C" {
    pub fn vpx_codec_dec_init_ver(ctx: *mut vpx_codec_ctx_t,
                                  iface: *mut vpx_codec_iface_t,
                                  cfg: *const vpx_codec_dec_cfg_t,
                                  flags: vpx_codec_flags_t,
                                  ver: ::std::os::raw::c_int)
     -> vpx_codec_err_t;
}
extern "C" {
    pub fn vpx_codec_peek_stream_info(iface: *mut vpx_codec_iface_t,
                                      data: *const u8,
                                      data_sz: ::std::os::raw::c_uint,
                                      si: *mut vpx_codec_stream_info_t)
     -> vpx_codec_err_t;
}
extern "C" {
    pub fn vpx_codec_get_stream_info(ctx: *mut vpx_codec_ctx_t,
                                     si: *mut vpx_codec_stream_info_t)
     -> vpx_codec_err_t;
}
extern "C" {
    pub fn vpx_codec_decode(ctx: *mut vpx_codec_ctx_t, data: *const u8,
                            data_sz: ::std::os::raw::c_uint,
                            user_priv: *mut ::std::os::raw::c_void,
                            deadline: ::std::os::raw::c_long)
     -> vpx_codec_err_t;
}
extern "C" {
    pub fn vpx_codec_get_frame(ctx: *mut vpx_codec_ctx_t,
                               iter: *mut vpx_codec_iter_t)
     -> *mut vpx_image_t;
}
pub type vpx_codec_put_frame_cb_fn_t =
    ::std::option::Option<unsafe extern "C" fn(user_priv:
                                                   *mut ::std::os::raw::c_void,
                                               img: *const vpx_image_t)>;
extern "C" {
    pub fn vpx_codec_register_put_frame_cb(ctx: *mut vpx_codec_ctx_t,
                                           cb: vpx_codec_put_frame_cb_fn_t,
                                           user_priv:
                                               *mut ::std::os::raw::c_void)
     -> vpx_codec_err_t;
}
pub type vpx_codec_put_slice_cb_fn_t =
    ::std::option::Option<unsafe extern "C" fn(user_priv:
                                                   *mut ::std::os::raw::c_void,
                                               img: *const vpx_image_t,
                                               valid: *const vpx_image_rect_t,
                                               update:
                                                   *const vpx_image_rect_t)>;
extern "C" {
    pub fn vpx_codec_register_put_slice_cb(ctx: *mut vpx_codec_ctx_t,
                                           cb: vpx_codec_put_slice_cb_fn_t,
                                           user_priv:
                                               *mut ::std::os::raw::c_void)
     -> vpx_codec_err_t;
}
extern "C" {
    pub fn vpx_codec_set_frame_buffer_functions(ctx: *mut vpx_codec_ctx_t,
                                                cb_get:
                                                    vpx_get_frame_buffer_cb_fn_t,
                                                cb_release:
                                                    vpx_release_frame_buffer_cb_fn_t,
                                                cb_priv:
                                                    *mut ::std::os::raw::c_void)
     -> vpx_codec_err_t;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __va_list_tag {
    pub gp_offset: ::std::os::raw::c_uint,
    pub fp_offset: ::std::os::raw::c_uint,
    pub overflow_arg_area: *mut ::std::os::raw::c_void,
    pub reg_save_area: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout___va_list_tag() {
    assert_eq!(::std::mem::size_of::<__va_list_tag>() , 24usize , concat ! (
               "Size of: " , stringify ! ( __va_list_tag ) ));
    assert_eq! (::std::mem::align_of::<__va_list_tag>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( __va_list_tag ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __va_list_tag ) ) . gp_offset as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( __va_list_tag ) , "::"
                , stringify ! ( gp_offset ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __va_list_tag ) ) . fp_offset as * const
                _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( __va_list_tag ) , "::"
                , stringify ! ( fp_offset ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __va_list_tag ) ) . overflow_arg_area as
                * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( __va_list_tag ) , "::"
                , stringify ! ( overflow_arg_area ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __va_list_tag ) ) . reg_save_area as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( __va_list_tag ) , "::"
                , stringify ! ( reg_save_area ) ));
}
impl Clone for __va_list_tag {
    fn clone(&self) -> Self { *self }
}
pub type __builtin_va_list = [__va_list_tag; 1usize];