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

#![allow(dead_code)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
pub unsafe fn x264_encoder_open(params: *mut x264_param_t) -> *mut x264_t {
                               x264_encoder_open_148(params)
                          }

pub const _INTTYPES_H: ::std::os::raw::c_uint = 1;
pub const _FEATURES_H: ::std::os::raw::c_uint = 1;
pub const _DEFAULT_SOURCE: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC11: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC99: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC95: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX_IMPLICITLY: ::std::os::raw::c_uint = 1;
pub const _POSIX_SOURCE: ::std::os::raw::c_uint = 1;
pub const _POSIX_C_SOURCE: ::std::os::raw::c_uint = 200809;
pub const __USE_POSIX: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX2: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX199309: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX199506: ::std::os::raw::c_uint = 1;
pub const __USE_XOPEN2K: ::std::os::raw::c_uint = 1;
pub const __USE_XOPEN2K8: ::std::os::raw::c_uint = 1;
pub const _ATFILE_SOURCE: ::std::os::raw::c_uint = 1;
pub const __USE_MISC: ::std::os::raw::c_uint = 1;
pub const __USE_ATFILE: ::std::os::raw::c_uint = 1;
pub const __USE_FORTIFY_LEVEL: ::std::os::raw::c_uint = 0;
pub const _STDC_PREDEF_H: ::std::os::raw::c_uint = 1;
pub const __STDC_IEC_559__: ::std::os::raw::c_uint = 1;
pub const __STDC_IEC_559_COMPLEX__: ::std::os::raw::c_uint = 1;
pub const __STDC_ISO_10646__: ::std::os::raw::c_uint = 201605;
pub const __STDC_NO_THREADS__: ::std::os::raw::c_uint = 1;
pub const __GNU_LIBRARY__: ::std::os::raw::c_uint = 6;
pub const __GLIBC__: ::std::os::raw::c_uint = 2;
pub const __GLIBC_MINOR__: ::std::os::raw::c_uint = 24;
pub const _SYS_CDEFS_H: ::std::os::raw::c_uint = 1;
pub const __WORDSIZE: ::std::os::raw::c_uint = 64;
pub const __WORDSIZE_TIME64_COMPAT32: ::std::os::raw::c_uint = 1;
pub const __SYSCALL_WORDSIZE: ::std::os::raw::c_uint = 64;
pub const _STDINT_H: ::std::os::raw::c_uint = 1;
pub const _BITS_WCHAR_H: ::std::os::raw::c_uint = 1;
pub const INT8_MIN: ::std::os::raw::c_int = -128;
pub const INT16_MIN: ::std::os::raw::c_int = -32768;
pub const INT32_MIN: ::std::os::raw::c_int = -2147483648;
pub const INT8_MAX: ::std::os::raw::c_uint = 127;
pub const INT16_MAX: ::std::os::raw::c_uint = 32767;
pub const INT32_MAX: ::std::os::raw::c_uint = 2147483647;
pub const UINT8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT16_MAX: ::std::os::raw::c_uint = 65535;
pub const UINT32_MAX: ::std::os::raw::c_uint = 4294967295;
pub const INT_LEAST8_MIN: ::std::os::raw::c_int = -128;
pub const INT_LEAST16_MIN: ::std::os::raw::c_int = -32768;
pub const INT_LEAST32_MIN: ::std::os::raw::c_int = -2147483648;
pub const INT_LEAST8_MAX: ::std::os::raw::c_uint = 127;
pub const INT_LEAST16_MAX: ::std::os::raw::c_uint = 32767;
pub const INT_LEAST32_MAX: ::std::os::raw::c_uint = 2147483647;
pub const UINT_LEAST8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT_LEAST16_MAX: ::std::os::raw::c_uint = 65535;
pub const UINT_LEAST32_MAX: ::std::os::raw::c_uint = 4294967295;
pub const INT_FAST8_MIN: ::std::os::raw::c_int = -128;
pub const INT_FAST16_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INT_FAST32_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INT_FAST8_MAX: ::std::os::raw::c_uint = 127;
pub const INT_FAST16_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const INT_FAST32_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const UINT_FAST8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT_FAST16_MAX: ::std::os::raw::c_int = -1;
pub const UINT_FAST32_MAX: ::std::os::raw::c_int = -1;
pub const INTPTR_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INTPTR_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const UINTPTR_MAX: ::std::os::raw::c_int = -1;
pub const PTRDIFF_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const PTRDIFF_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const SIG_ATOMIC_MIN: ::std::os::raw::c_int = -2147483648;
pub const SIG_ATOMIC_MAX: ::std::os::raw::c_uint = 2147483647;
pub const SIZE_MAX: ::std::os::raw::c_int = -1;
pub const WINT_MIN: ::std::os::raw::c_uint = 0;
pub const WINT_MAX: ::std::os::raw::c_uint = 4294967295;
pub const ____gwchar_t_defined: ::std::os::raw::c_uint = 1;
pub const __PRI64_PREFIX: &'static [u8; 2usize] = b"l\x00";
pub const __PRIPTR_PREFIX: &'static [u8; 2usize] = b"l\x00";
pub const PRId8: &'static [u8; 2usize] = b"d\x00";
pub const PRId16: &'static [u8; 2usize] = b"d\x00";
pub const PRId32: &'static [u8; 2usize] = b"d\x00";
pub const PRId64: &'static [u8; 3usize] = b"ld\x00";
pub const PRIdLEAST8: &'static [u8; 2usize] = b"d\x00";
pub const PRIdLEAST16: &'static [u8; 2usize] = b"d\x00";
pub const PRIdLEAST32: &'static [u8; 2usize] = b"d\x00";
pub const PRIdLEAST64: &'static [u8; 3usize] = b"ld\x00";
pub const PRIdFAST8: &'static [u8; 2usize] = b"d\x00";
pub const PRIdFAST16: &'static [u8; 3usize] = b"ld\x00";
pub const PRIdFAST32: &'static [u8; 3usize] = b"ld\x00";
pub const PRIdFAST64: &'static [u8; 3usize] = b"ld\x00";
pub const PRIi8: &'static [u8; 2usize] = b"i\x00";
pub const PRIi16: &'static [u8; 2usize] = b"i\x00";
pub const PRIi32: &'static [u8; 2usize] = b"i\x00";
pub const PRIi64: &'static [u8; 3usize] = b"li\x00";
pub const PRIiLEAST8: &'static [u8; 2usize] = b"i\x00";
pub const PRIiLEAST16: &'static [u8; 2usize] = b"i\x00";
pub const PRIiLEAST32: &'static [u8; 2usize] = b"i\x00";
pub const PRIiLEAST64: &'static [u8; 3usize] = b"li\x00";
pub const PRIiFAST8: &'static [u8; 2usize] = b"i\x00";
pub const PRIiFAST16: &'static [u8; 3usize] = b"li\x00";
pub const PRIiFAST32: &'static [u8; 3usize] = b"li\x00";
pub const PRIiFAST64: &'static [u8; 3usize] = b"li\x00";
pub const PRIo8: &'static [u8; 2usize] = b"o\x00";
pub const PRIo16: &'static [u8; 2usize] = b"o\x00";
pub const PRIo32: &'static [u8; 2usize] = b"o\x00";
pub const PRIo64: &'static [u8; 3usize] = b"lo\x00";
pub const PRIoLEAST8: &'static [u8; 2usize] = b"o\x00";
pub const PRIoLEAST16: &'static [u8; 2usize] = b"o\x00";
pub const PRIoLEAST32: &'static [u8; 2usize] = b"o\x00";
pub const PRIoLEAST64: &'static [u8; 3usize] = b"lo\x00";
pub const PRIoFAST8: &'static [u8; 2usize] = b"o\x00";
pub const PRIoFAST16: &'static [u8; 3usize] = b"lo\x00";
pub const PRIoFAST32: &'static [u8; 3usize] = b"lo\x00";
pub const PRIoFAST64: &'static [u8; 3usize] = b"lo\x00";
pub const PRIu8: &'static [u8; 2usize] = b"u\x00";
pub const PRIu16: &'static [u8; 2usize] = b"u\x00";
pub const PRIu32: &'static [u8; 2usize] = b"u\x00";
pub const PRIu64: &'static [u8; 3usize] = b"lu\x00";
pub const PRIuLEAST8: &'static [u8; 2usize] = b"u\x00";
pub const PRIuLEAST16: &'static [u8; 2usize] = b"u\x00";
pub const PRIuLEAST32: &'static [u8; 2usize] = b"u\x00";
pub const PRIuLEAST64: &'static [u8; 3usize] = b"lu\x00";
pub const PRIuFAST8: &'static [u8; 2usize] = b"u\x00";
pub const PRIuFAST16: &'static [u8; 3usize] = b"lu\x00";
pub const PRIuFAST32: &'static [u8; 3usize] = b"lu\x00";
pub const PRIuFAST64: &'static [u8; 3usize] = b"lu\x00";
pub const PRIx8: &'static [u8; 2usize] = b"x\x00";
pub const PRIx16: &'static [u8; 2usize] = b"x\x00";
pub const PRIx32: &'static [u8; 2usize] = b"x\x00";
pub const PRIx64: &'static [u8; 3usize] = b"lx\x00";
pub const PRIxLEAST8: &'static [u8; 2usize] = b"x\x00";
pub const PRIxLEAST16: &'static [u8; 2usize] = b"x\x00";
pub const PRIxLEAST32: &'static [u8; 2usize] = b"x\x00";
pub const PRIxLEAST64: &'static [u8; 3usize] = b"lx\x00";
pub const PRIxFAST8: &'static [u8; 2usize] = b"x\x00";
pub const PRIxFAST16: &'static [u8; 3usize] = b"lx\x00";
pub const PRIxFAST32: &'static [u8; 3usize] = b"lx\x00";
pub const PRIxFAST64: &'static [u8; 3usize] = b"lx\x00";
pub const PRIX8: &'static [u8; 2usize] = b"X\x00";
pub const PRIX16: &'static [u8; 2usize] = b"X\x00";
pub const PRIX32: &'static [u8; 2usize] = b"X\x00";
pub const PRIX64: &'static [u8; 3usize] = b"lX\x00";
pub const PRIXLEAST8: &'static [u8; 2usize] = b"X\x00";
pub const PRIXLEAST16: &'static [u8; 2usize] = b"X\x00";
pub const PRIXLEAST32: &'static [u8; 2usize] = b"X\x00";
pub const PRIXLEAST64: &'static [u8; 3usize] = b"lX\x00";
pub const PRIXFAST8: &'static [u8; 2usize] = b"X\x00";
pub const PRIXFAST16: &'static [u8; 3usize] = b"lX\x00";
pub const PRIXFAST32: &'static [u8; 3usize] = b"lX\x00";
pub const PRIXFAST64: &'static [u8; 3usize] = b"lX\x00";
pub const PRIdMAX: &'static [u8; 3usize] = b"ld\x00";
pub const PRIiMAX: &'static [u8; 3usize] = b"li\x00";
pub const PRIoMAX: &'static [u8; 3usize] = b"lo\x00";
pub const PRIuMAX: &'static [u8; 3usize] = b"lu\x00";
pub const PRIxMAX: &'static [u8; 3usize] = b"lx\x00";
pub const PRIXMAX: &'static [u8; 3usize] = b"lX\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 SCNd8: &'static [u8; 4usize] = b"hhd\x00";
pub const SCNd16: &'static [u8; 3usize] = b"hd\x00";
pub const SCNd32: &'static [u8; 2usize] = b"d\x00";
pub const SCNd64: &'static [u8; 3usize] = b"ld\x00";
pub const SCNdLEAST8: &'static [u8; 4usize] = b"hhd\x00";
pub const SCNdLEAST16: &'static [u8; 3usize] = b"hd\x00";
pub const SCNdLEAST32: &'static [u8; 2usize] = b"d\x00";
pub const SCNdLEAST64: &'static [u8; 3usize] = b"ld\x00";
pub const SCNdFAST8: &'static [u8; 4usize] = b"hhd\x00";
pub const SCNdFAST16: &'static [u8; 3usize] = b"ld\x00";
pub const SCNdFAST32: &'static [u8; 3usize] = b"ld\x00";
pub const SCNdFAST64: &'static [u8; 3usize] = b"ld\x00";
pub const SCNi8: &'static [u8; 4usize] = b"hhi\x00";
pub const SCNi16: &'static [u8; 3usize] = b"hi\x00";
pub const SCNi32: &'static [u8; 2usize] = b"i\x00";
pub const SCNi64: &'static [u8; 3usize] = b"li\x00";
pub const SCNiLEAST8: &'static [u8; 4usize] = b"hhi\x00";
pub const SCNiLEAST16: &'static [u8; 3usize] = b"hi\x00";
pub const SCNiLEAST32: &'static [u8; 2usize] = b"i\x00";
pub const SCNiLEAST64: &'static [u8; 3usize] = b"li\x00";
pub const SCNiFAST8: &'static [u8; 4usize] = b"hhi\x00";
pub const SCNiFAST16: &'static [u8; 3usize] = b"li\x00";
pub const SCNiFAST32: &'static [u8; 3usize] = b"li\x00";
pub const SCNiFAST64: &'static [u8; 3usize] = b"li\x00";
pub const SCNu8: &'static [u8; 4usize] = b"hhu\x00";
pub const SCNu16: &'static [u8; 3usize] = b"hu\x00";
pub const SCNu32: &'static [u8; 2usize] = b"u\x00";
pub const SCNu64: &'static [u8; 3usize] = b"lu\x00";
pub const SCNuLEAST8: &'static [u8; 4usize] = b"hhu\x00";
pub const SCNuLEAST16: &'static [u8; 3usize] = b"hu\x00";
pub const SCNuLEAST32: &'static [u8; 2usize] = b"u\x00";
pub const SCNuLEAST64: &'static [u8; 3usize] = b"lu\x00";
pub const SCNuFAST8: &'static [u8; 4usize] = b"hhu\x00";
pub const SCNuFAST16: &'static [u8; 3usize] = b"lu\x00";
pub const SCNuFAST32: &'static [u8; 3usize] = b"lu\x00";
pub const SCNuFAST64: &'static [u8; 3usize] = b"lu\x00";
pub const SCNo8: &'static [u8; 4usize] = b"hho\x00";
pub const SCNo16: &'static [u8; 3usize] = b"ho\x00";
pub const SCNo32: &'static [u8; 2usize] = b"o\x00";
pub const SCNo64: &'static [u8; 3usize] = b"lo\x00";
pub const SCNoLEAST8: &'static [u8; 4usize] = b"hho\x00";
pub const SCNoLEAST16: &'static [u8; 3usize] = b"ho\x00";
pub const SCNoLEAST32: &'static [u8; 2usize] = b"o\x00";
pub const SCNoLEAST64: &'static [u8; 3usize] = b"lo\x00";
pub const SCNoFAST8: &'static [u8; 4usize] = b"hho\x00";
pub const SCNoFAST16: &'static [u8; 3usize] = b"lo\x00";
pub const SCNoFAST32: &'static [u8; 3usize] = b"lo\x00";
pub const SCNoFAST64: &'static [u8; 3usize] = b"lo\x00";
pub const SCNx8: &'static [u8; 4usize] = b"hhx\x00";
pub const SCNx16: &'static [u8; 3usize] = b"hx\x00";
pub const SCNx32: &'static [u8; 2usize] = b"x\x00";
pub const SCNx64: &'static [u8; 3usize] = b"lx\x00";
pub const SCNxLEAST8: &'static [u8; 4usize] = b"hhx\x00";
pub const SCNxLEAST16: &'static [u8; 3usize] = b"hx\x00";
pub const SCNxLEAST32: &'static [u8; 2usize] = b"x\x00";
pub const SCNxLEAST64: &'static [u8; 3usize] = b"lx\x00";
pub const SCNxFAST8: &'static [u8; 4usize] = b"hhx\x00";
pub const SCNxFAST16: &'static [u8; 3usize] = b"lx\x00";
pub const SCNxFAST32: &'static [u8; 3usize] = b"lx\x00";
pub const SCNxFAST64: &'static [u8; 3usize] = b"lx\x00";
pub const SCNdMAX: &'static [u8; 3usize] = b"ld\x00";
pub const SCNiMAX: &'static [u8; 3usize] = b"li\x00";
pub const SCNoMAX: &'static [u8; 3usize] = b"lo\x00";
pub const SCNuMAX: &'static [u8; 3usize] = b"lu\x00";
pub const SCNxMAX: &'static [u8; 3usize] = b"lx\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 __GNUC_VA_LIST: ::std::os::raw::c_uint = 1;
pub const X264_BIT_DEPTH: ::std::os::raw::c_uint = 8;
pub const X264_GPL: ::std::os::raw::c_uint = 1;
pub const X264_INTERLACED: ::std::os::raw::c_uint = 1;
pub const X264_CHROMA_FORMAT: ::std::os::raw::c_uint = 0;
pub const X264_VERSION: &'static [u8; 15usize] = b" r2748 97eaef2\x00";
pub const X264_POINTVER: &'static [u8; 19usize] = b"0.148.2748 97eaef2\x00";
pub const X264_BUILD: ::std::os::raw::c_uint = 148;
pub const X264_CPU_CMOV: ::std::os::raw::c_uint = 1;
pub const X264_CPU_MMX: ::std::os::raw::c_uint = 2;
pub const X264_CPU_MMX2: ::std::os::raw::c_uint = 4;
pub const X264_CPU_MMXEXT: ::std::os::raw::c_uint = 4;
pub const X264_CPU_SSE: ::std::os::raw::c_uint = 8;
pub const X264_CPU_SSE2: ::std::os::raw::c_uint = 16;
pub const X264_CPU_SSE3: ::std::os::raw::c_uint = 32;
pub const X264_CPU_SSSE3: ::std::os::raw::c_uint = 64;
pub const X264_CPU_SSE4: ::std::os::raw::c_uint = 128;
pub const X264_CPU_SSE42: ::std::os::raw::c_uint = 256;
pub const X264_CPU_LZCNT: ::std::os::raw::c_uint = 512;
pub const X264_CPU_AVX: ::std::os::raw::c_uint = 1024;
pub const X264_CPU_XOP: ::std::os::raw::c_uint = 2048;
pub const X264_CPU_FMA4: ::std::os::raw::c_uint = 4096;
pub const X264_CPU_FMA3: ::std::os::raw::c_uint = 8192;
pub const X264_CPU_AVX2: ::std::os::raw::c_uint = 16384;
pub const X264_CPU_BMI1: ::std::os::raw::c_uint = 32768;
pub const X264_CPU_BMI2: ::std::os::raw::c_uint = 65536;
pub const X264_CPU_CACHELINE_32: ::std::os::raw::c_uint = 131072;
pub const X264_CPU_CACHELINE_64: ::std::os::raw::c_uint = 262144;
pub const X264_CPU_SSE2_IS_SLOW: ::std::os::raw::c_uint = 524288;
pub const X264_CPU_SSE2_IS_FAST: ::std::os::raw::c_uint = 1048576;
pub const X264_CPU_SLOW_SHUFFLE: ::std::os::raw::c_uint = 2097152;
pub const X264_CPU_STACK_MOD4: ::std::os::raw::c_uint = 4194304;
pub const X264_CPU_SLOW_CTZ: ::std::os::raw::c_uint = 8388608;
pub const X264_CPU_SLOW_ATOM: ::std::os::raw::c_uint = 16777216;
pub const X264_CPU_SLOW_PSHUFB: ::std::os::raw::c_uint = 33554432;
pub const X264_CPU_SLOW_PALIGNR: ::std::os::raw::c_uint = 67108864;
pub const X264_CPU_ALTIVEC: ::std::os::raw::c_uint = 1;
pub const X264_CPU_ARMV6: ::std::os::raw::c_uint = 1;
pub const X264_CPU_NEON: ::std::os::raw::c_uint = 2;
pub const X264_CPU_FAST_NEON_MRC: ::std::os::raw::c_uint = 4;
pub const X264_CPU_ARMV8: ::std::os::raw::c_uint = 8;
pub const X264_CPU_MSA: ::std::os::raw::c_uint = 1;
pub const X264_ANALYSE_I4x4: ::std::os::raw::c_uint = 1;
pub const X264_ANALYSE_I8x8: ::std::os::raw::c_uint = 2;
pub const X264_ANALYSE_PSUB16x16: ::std::os::raw::c_uint = 16;
pub const X264_ANALYSE_PSUB8x8: ::std::os::raw::c_uint = 32;
pub const X264_ANALYSE_BSUB16x16: ::std::os::raw::c_uint = 256;
pub const X264_DIRECT_PRED_NONE: ::std::os::raw::c_uint = 0;
pub const X264_DIRECT_PRED_SPATIAL: ::std::os::raw::c_uint = 1;
pub const X264_DIRECT_PRED_TEMPORAL: ::std::os::raw::c_uint = 2;
pub const X264_DIRECT_PRED_AUTO: ::std::os::raw::c_uint = 3;
pub const X264_ME_DIA: ::std::os::raw::c_uint = 0;
pub const X264_ME_HEX: ::std::os::raw::c_uint = 1;
pub const X264_ME_UMH: ::std::os::raw::c_uint = 2;
pub const X264_ME_ESA: ::std::os::raw::c_uint = 3;
pub const X264_ME_TESA: ::std::os::raw::c_uint = 4;
pub const X264_CQM_FLAT: ::std::os::raw::c_uint = 0;
pub const X264_CQM_JVT: ::std::os::raw::c_uint = 1;
pub const X264_CQM_CUSTOM: ::std::os::raw::c_uint = 2;
pub const X264_RC_CQP: ::std::os::raw::c_uint = 0;
pub const X264_RC_CRF: ::std::os::raw::c_uint = 1;
pub const X264_RC_ABR: ::std::os::raw::c_uint = 2;
pub const X264_QP_AUTO: ::std::os::raw::c_uint = 0;
pub const X264_AQ_NONE: ::std::os::raw::c_uint = 0;
pub const X264_AQ_VARIANCE: ::std::os::raw::c_uint = 1;
pub const X264_AQ_AUTOVARIANCE: ::std::os::raw::c_uint = 2;
pub const X264_AQ_AUTOVARIANCE_BIASED: ::std::os::raw::c_uint = 3;
pub const X264_B_ADAPT_NONE: ::std::os::raw::c_uint = 0;
pub const X264_B_ADAPT_FAST: ::std::os::raw::c_uint = 1;
pub const X264_B_ADAPT_TRELLIS: ::std::os::raw::c_uint = 2;
pub const X264_WEIGHTP_NONE: ::std::os::raw::c_uint = 0;
pub const X264_WEIGHTP_SIMPLE: ::std::os::raw::c_uint = 1;
pub const X264_WEIGHTP_SMART: ::std::os::raw::c_uint = 2;
pub const X264_B_PYRAMID_NONE: ::std::os::raw::c_uint = 0;
pub const X264_B_PYRAMID_STRICT: ::std::os::raw::c_uint = 1;
pub const X264_B_PYRAMID_NORMAL: ::std::os::raw::c_uint = 2;
pub const X264_KEYINT_MIN_AUTO: ::std::os::raw::c_uint = 0;
pub const X264_KEYINT_MAX_INFINITE: ::std::os::raw::c_uint = 1073741824;
pub const X264_CSP_MASK: ::std::os::raw::c_uint = 255;
pub const X264_CSP_NONE: ::std::os::raw::c_uint = 0;
pub const X264_CSP_I420: ::std::os::raw::c_uint = 1;
pub const X264_CSP_YV12: ::std::os::raw::c_uint = 2;
pub const X264_CSP_NV12: ::std::os::raw::c_uint = 3;
pub const X264_CSP_NV21: ::std::os::raw::c_uint = 4;
pub const X264_CSP_I422: ::std::os::raw::c_uint = 5;
pub const X264_CSP_YV16: ::std::os::raw::c_uint = 6;
pub const X264_CSP_NV16: ::std::os::raw::c_uint = 7;
pub const X264_CSP_V210: ::std::os::raw::c_uint = 8;
pub const X264_CSP_I444: ::std::os::raw::c_uint = 9;
pub const X264_CSP_YV24: ::std::os::raw::c_uint = 10;
pub const X264_CSP_BGR: ::std::os::raw::c_uint = 11;
pub const X264_CSP_BGRA: ::std::os::raw::c_uint = 12;
pub const X264_CSP_RGB: ::std::os::raw::c_uint = 13;
pub const X264_CSP_MAX: ::std::os::raw::c_uint = 14;
pub const X264_CSP_VFLIP: ::std::os::raw::c_uint = 4096;
pub const X264_CSP_HIGH_DEPTH: ::std::os::raw::c_uint = 8192;
pub const X264_TYPE_AUTO: ::std::os::raw::c_uint = 0;
pub const X264_TYPE_IDR: ::std::os::raw::c_uint = 1;
pub const X264_TYPE_I: ::std::os::raw::c_uint = 2;
pub const X264_TYPE_P: ::std::os::raw::c_uint = 3;
pub const X264_TYPE_BREF: ::std::os::raw::c_uint = 4;
pub const X264_TYPE_B: ::std::os::raw::c_uint = 5;
pub const X264_TYPE_KEYFRAME: ::std::os::raw::c_uint = 6;
pub const X264_LOG_NONE: ::std::os::raw::c_int = -1;
pub const X264_LOG_ERROR: ::std::os::raw::c_uint = 0;
pub const X264_LOG_WARNING: ::std::os::raw::c_uint = 1;
pub const X264_LOG_INFO: ::std::os::raw::c_uint = 2;
pub const X264_LOG_DEBUG: ::std::os::raw::c_uint = 3;
pub const X264_THREADS_AUTO: ::std::os::raw::c_uint = 0;
pub const X264_SYNC_LOOKAHEAD_AUTO: ::std::os::raw::c_int = -1;
pub const X264_NAL_HRD_NONE: ::std::os::raw::c_uint = 0;
pub const X264_NAL_HRD_VBR: ::std::os::raw::c_uint = 1;
pub const X264_NAL_HRD_CBR: ::std::os::raw::c_uint = 2;
pub const X264_PARAM_BAD_NAME: ::std::os::raw::c_int = -1;
pub const X264_PARAM_BAD_VALUE: ::std::os::raw::c_int = -2;
pub const X264_MBINFO_CONSTANT: ::std::os::raw::c_uint = 1;
pub type int_least8_t = ::std::os::raw::c_schar;
pub type int_least16_t = ::std::os::raw::c_short;
pub type int_least32_t = ::std::os::raw::c_int;
pub type int_least64_t = ::std::os::raw::c_long;
pub type uint_least8_t = ::std::os::raw::c_uchar;
pub type uint_least16_t = ::std::os::raw::c_ushort;
pub type uint_least32_t = ::std::os::raw::c_uint;
pub type uint_least64_t = ::std::os::raw::c_ulong;
pub type int_fast8_t = ::std::os::raw::c_schar;
pub type int_fast16_t = ::std::os::raw::c_long;
pub type int_fast32_t = ::std::os::raw::c_long;
pub type int_fast64_t = ::std::os::raw::c_long;
pub type uint_fast8_t = ::std::os::raw::c_uchar;
pub type uint_fast16_t = ::std::os::raw::c_ulong;
pub type uint_fast32_t = ::std::os::raw::c_ulong;
pub type uint_fast64_t = ::std::os::raw::c_ulong;
pub type intmax_t = ::std::os::raw::c_long;
pub type uintmax_t = ::std::os::raw::c_ulong;
pub type __gwchar_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct imaxdiv_t {
    pub quot: ::std::os::raw::c_long,
    pub rem: ::std::os::raw::c_long,
}
#[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 imaxabs(__n: intmax_t) -> intmax_t;
}
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 __gwchar_t,
                     __endptr: *mut *mut __gwchar_t,
                     __base: ::std::os::raw::c_int) -> intmax_t;
}
extern "C" {
    pub fn wcstoumax(__nptr: *const __gwchar_t,
                     __endptr: *mut *mut __gwchar_t,
                     __base: ::std::os::raw::c_int) -> uintmax_t;
}
pub type va_list = __builtin_va_list;
pub type __gnuc_va_list = __builtin_va_list;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct x264_t([u8; 0]);
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nal_unit_type_e {
    NAL_UNKNOWN = 0,
    NAL_SLICE = 1,
    NAL_SLICE_DPA = 2,
    NAL_SLICE_DPB = 3,
    NAL_SLICE_DPC = 4,
    NAL_SLICE_IDR = 5,
    NAL_SEI = 6,
    NAL_SPS = 7,
    NAL_PPS = 8,
    NAL_AUD = 9,
    NAL_FILLER = 12,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nal_priority_e {
    NAL_PRIORITY_DISPOSABLE = 0,
    NAL_PRIORITY_LOW = 1,
    NAL_PRIORITY_HIGH = 2,
    NAL_PRIORITY_HIGHEST = 3,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct x264_nal_t {
    pub i_ref_idc: ::std::os::raw::c_int,
    pub i_type: ::std::os::raw::c_int,
    pub b_long_startcode: ::std::os::raw::c_int,
    pub i_first_mb: ::std::os::raw::c_int,
    pub i_last_mb: ::std::os::raw::c_int,
    pub i_payload: ::std::os::raw::c_int,
    pub p_payload: *mut u8,
    pub i_padding: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_x264_nal_t() {
    assert_eq!(::std::mem::size_of::<x264_nal_t>() , 40usize , concat ! (
               "Size of: " , stringify ! ( x264_nal_t ) ));
    assert_eq! (::std::mem::align_of::<x264_nal_t>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( x264_nal_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_nal_t ) ) . i_ref_idc as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_nal_t ) , "::" ,
                stringify ! ( i_ref_idc ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_nal_t ) ) . i_type as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_nal_t ) , "::" ,
                stringify ! ( i_type ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_nal_t ) ) . b_long_startcode as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_nal_t ) , "::" ,
                stringify ! ( b_long_startcode ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_nal_t ) ) . i_first_mb as * const _
                as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_nal_t ) , "::" ,
                stringify ! ( i_first_mb ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_nal_t ) ) . i_last_mb as * const _
                as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_nal_t ) , "::" ,
                stringify ! ( i_last_mb ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_nal_t ) ) . i_payload as * const _
                as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_nal_t ) , "::" ,
                stringify ! ( i_payload ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_nal_t ) ) . p_payload as * const _
                as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_nal_t ) , "::" ,
                stringify ! ( p_payload ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_nal_t ) ) . i_padding as * const _
                as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_nal_t ) , "::" ,
                stringify ! ( i_padding ) ));
}
impl Clone for x264_nal_t {
    fn clone(&self) -> Self { *self }
}
extern "C" {
    #[link_name = "x264_direct_pred_names"]
    pub static mut x264_direct_pred_names:
               [*const ::std::os::raw::c_char; 5usize];
}
extern "C" {
    #[link_name = "x264_motion_est_names"]
    pub static mut x264_motion_est_names:
               [*const ::std::os::raw::c_char; 6usize];
}
extern "C" {
    #[link_name = "x264_b_pyramid_names"]
    pub static mut x264_b_pyramid_names:
               [*const ::std::os::raw::c_char; 4usize];
}
extern "C" {
    #[link_name = "x264_overscan_names"]
    pub static mut x264_overscan_names:
               [*const ::std::os::raw::c_char; 4usize];
}
extern "C" {
    #[link_name = "x264_vidformat_names"]
    pub static mut x264_vidformat_names:
               [*const ::std::os::raw::c_char; 7usize];
}
extern "C" {
    #[link_name = "x264_fullrange_names"]
    pub static mut x264_fullrange_names:
               [*const ::std::os::raw::c_char; 3usize];
}
extern "C" {
    #[link_name = "x264_colorprim_names"]
    pub static mut x264_colorprim_names:
               [*const ::std::os::raw::c_char; 14usize];
}
extern "C" {
    #[link_name = "x264_transfer_names"]
    pub static mut x264_transfer_names:
               [*const ::std::os::raw::c_char; 19usize];
}
extern "C" {
    #[link_name = "x264_colmatrix_names"]
    pub static mut x264_colmatrix_names:
               [*const ::std::os::raw::c_char; 13usize];
}
extern "C" {
    #[link_name = "x264_nal_hrd_names"]
    pub static mut x264_nal_hrd_names:
               [*const ::std::os::raw::c_char; 4usize];
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct x264_zone_t {
    pub i_start: ::std::os::raw::c_int,
    pub i_end: ::std::os::raw::c_int,
    pub b_force_qp: ::std::os::raw::c_int,
    pub i_qp: ::std::os::raw::c_int,
    pub f_bitrate_factor: f32,
    pub param: *mut x264_param_t,
}
#[test]
fn bindgen_test_layout_x264_zone_t() {
    assert_eq!(::std::mem::size_of::<x264_zone_t>() , 32usize , concat ! (
               "Size of: " , stringify ! ( x264_zone_t ) ));
    assert_eq! (::std::mem::align_of::<x264_zone_t>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( x264_zone_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_zone_t ) ) . i_start as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_zone_t ) , "::" ,
                stringify ! ( i_start ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_zone_t ) ) . i_end as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_zone_t ) , "::" ,
                stringify ! ( i_end ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_zone_t ) ) . b_force_qp as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_zone_t ) , "::" ,
                stringify ! ( b_force_qp ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_zone_t ) ) . i_qp as * const _ as
                usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_zone_t ) , "::" ,
                stringify ! ( i_qp ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_zone_t ) ) . f_bitrate_factor as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_zone_t ) , "::" ,
                stringify ! ( f_bitrate_factor ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_zone_t ) ) . param as * const _ as
                usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_zone_t ) , "::" ,
                stringify ! ( param ) ));
}
impl Clone for x264_zone_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct x264_param_t {
    pub cpu: ::std::os::raw::c_uint,
    pub i_threads: ::std::os::raw::c_int,
    pub i_lookahead_threads: ::std::os::raw::c_int,
    pub b_sliced_threads: ::std::os::raw::c_int,
    pub b_deterministic: ::std::os::raw::c_int,
    pub b_cpu_independent: ::std::os::raw::c_int,
    pub i_sync_lookahead: ::std::os::raw::c_int,
    pub i_width: ::std::os::raw::c_int,
    pub i_height: ::std::os::raw::c_int,
    pub i_csp: ::std::os::raw::c_int,
    pub i_level_idc: ::std::os::raw::c_int,
    pub i_frame_total: ::std::os::raw::c_int,
    pub i_nal_hrd: ::std::os::raw::c_int,
    pub vui: x264_param_t__bindgen_ty_1,
    pub i_frame_reference: ::std::os::raw::c_int,
    pub i_dpb_size: ::std::os::raw::c_int,
    pub i_keyint_max: ::std::os::raw::c_int,
    pub i_keyint_min: ::std::os::raw::c_int,
    pub i_scenecut_threshold: ::std::os::raw::c_int,
    pub b_intra_refresh: ::std::os::raw::c_int,
    pub i_bframe: ::std::os::raw::c_int,
    pub i_bframe_adaptive: ::std::os::raw::c_int,
    pub i_bframe_bias: ::std::os::raw::c_int,
    pub i_bframe_pyramid: ::std::os::raw::c_int,
    pub b_open_gop: ::std::os::raw::c_int,
    pub b_bluray_compat: ::std::os::raw::c_int,
    pub i_avcintra_class: ::std::os::raw::c_int,
    pub b_deblocking_filter: ::std::os::raw::c_int,
    pub i_deblocking_filter_alphac0: ::std::os::raw::c_int,
    pub i_deblocking_filter_beta: ::std::os::raw::c_int,
    pub b_cabac: ::std::os::raw::c_int,
    pub i_cabac_init_idc: ::std::os::raw::c_int,
    pub b_interlaced: ::std::os::raw::c_int,
    pub b_constrained_intra: ::std::os::raw::c_int,
    pub i_cqm_preset: ::std::os::raw::c_int,
    pub psz_cqm_file: *mut ::std::os::raw::c_char,
    pub cqm_4iy: [u8; 16usize],
    pub cqm_4py: [u8; 16usize],
    pub cqm_4ic: [u8; 16usize],
    pub cqm_4pc: [u8; 16usize],
    pub cqm_8iy: [u8; 64usize],
    pub cqm_8py: [u8; 64usize],
    pub cqm_8ic: [u8; 64usize],
    pub cqm_8pc: [u8; 64usize],
    pub pf_log: ::std::option::Option<unsafe extern "C" fn(arg1:
                                                               *mut ::std::os::raw::c_void,
                                                           i_level:
                                                               ::std::os::raw::c_int,
                                                           psz:
                                                               *const ::std::os::raw::c_char,
                                                           arg2:
                                                               *mut __va_list_tag)>,
    pub p_log_private: *mut ::std::os::raw::c_void,
    pub i_log_level: ::std::os::raw::c_int,
    pub b_full_recon: ::std::os::raw::c_int,
    pub psz_dump_yuv: *mut ::std::os::raw::c_char,
    pub analyse: x264_param_t__bindgen_ty_2,
    pub rc: x264_param_t__bindgen_ty_3,
    pub crop_rect: x264_param_t__bindgen_ty_4,
    pub i_frame_packing: ::std::os::raw::c_int,
    pub b_aud: ::std::os::raw::c_int,
    pub b_repeat_headers: ::std::os::raw::c_int,
    pub b_annexb: ::std::os::raw::c_int,
    pub i_sps_id: ::std::os::raw::c_int,
    pub b_vfr_input: ::std::os::raw::c_int,
    pub b_pulldown: ::std::os::raw::c_int,
    pub i_fps_num: u32,
    pub i_fps_den: u32,
    pub i_timebase_num: u32,
    pub i_timebase_den: u32,
    pub b_tff: ::std::os::raw::c_int,
    pub b_pic_struct: ::std::os::raw::c_int,
    pub b_fake_interlaced: ::std::os::raw::c_int,
    pub b_stitchable: ::std::os::raw::c_int,
    pub b_opencl: ::std::os::raw::c_int,
    pub i_opencl_device: ::std::os::raw::c_int,
    pub opencl_device_id: *mut ::std::os::raw::c_void,
    pub psz_clbin_file: *mut ::std::os::raw::c_char,
    pub i_slice_max_size: ::std::os::raw::c_int,
    pub i_slice_max_mbs: ::std::os::raw::c_int,
    pub i_slice_min_mbs: ::std::os::raw::c_int,
    pub i_slice_count: ::std::os::raw::c_int,
    pub i_slice_count_max: ::std::os::raw::c_int,
    pub param_free: ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                   *mut ::std::os::raw::c_void)>,
    pub nalu_process: ::std::option::Option<unsafe extern "C" fn(h:
                                                                     *mut x264_t,
                                                                 nal:
                                                                     *mut x264_nal_t,
                                                                 opaque:
                                                                     *mut ::std::os::raw::c_void)>,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct x264_param_t__bindgen_ty_1 {
    pub i_sar_height: ::std::os::raw::c_int,
    pub i_sar_width: ::std::os::raw::c_int,
    pub i_overscan: ::std::os::raw::c_int,
    pub i_vidformat: ::std::os::raw::c_int,
    pub b_fullrange: ::std::os::raw::c_int,
    pub i_colorprim: ::std::os::raw::c_int,
    pub i_transfer: ::std::os::raw::c_int,
    pub i_colmatrix: ::std::os::raw::c_int,
    pub i_chroma_loc: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_x264_param_t__bindgen_ty_1() {
    assert_eq!(::std::mem::size_of::<x264_param_t__bindgen_ty_1>() , 36usize ,
               concat ! (
               "Size of: " , stringify ! ( x264_param_t__bindgen_ty_1 ) ));
    assert_eq! (::std::mem::align_of::<x264_param_t__bindgen_ty_1>() , 4usize
                , concat ! (
                "Alignment of " , stringify ! ( x264_param_t__bindgen_ty_1 )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_1 ) ) .
                i_sar_height as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_1 ) , "::" , stringify ! (
                i_sar_height ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_1 ) ) .
                i_sar_width as * const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_1 ) , "::" , stringify ! (
                i_sar_width ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_1 ) ) .
                i_overscan as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_1 ) , "::" , stringify ! ( i_overscan
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_1 ) ) .
                i_vidformat as * const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_1 ) , "::" , stringify ! (
                i_vidformat ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_1 ) ) .
                b_fullrange as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_1 ) , "::" , stringify ! (
                b_fullrange ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_1 ) ) .
                i_colorprim as * const _ as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_1 ) , "::" , stringify ! (
                i_colorprim ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_1 ) ) .
                i_transfer as * const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_1 ) , "::" , stringify ! ( i_transfer
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_1 ) ) .
                i_colmatrix as * const _ as usize } , 28usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_1 ) , "::" , stringify ! (
                i_colmatrix ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_1 ) ) .
                i_chroma_loc as * const _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_1 ) , "::" , stringify ! (
                i_chroma_loc ) ));
}
impl Clone for x264_param_t__bindgen_ty_1 {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct x264_param_t__bindgen_ty_2 {
    pub intra: ::std::os::raw::c_uint,
    pub inter: ::std::os::raw::c_uint,
    pub b_transform_8x8: ::std::os::raw::c_int,
    pub i_weighted_pred: ::std::os::raw::c_int,
    pub b_weighted_bipred: ::std::os::raw::c_int,
    pub i_direct_mv_pred: ::std::os::raw::c_int,
    pub i_chroma_qp_offset: ::std::os::raw::c_int,
    pub i_me_method: ::std::os::raw::c_int,
    pub i_me_range: ::std::os::raw::c_int,
    pub i_mv_range: ::std::os::raw::c_int,
    pub i_mv_range_thread: ::std::os::raw::c_int,
    pub i_subpel_refine: ::std::os::raw::c_int,
    pub b_chroma_me: ::std::os::raw::c_int,
    pub b_mixed_references: ::std::os::raw::c_int,
    pub i_trellis: ::std::os::raw::c_int,
    pub b_fast_pskip: ::std::os::raw::c_int,
    pub b_dct_decimate: ::std::os::raw::c_int,
    pub i_noise_reduction: ::std::os::raw::c_int,
    pub f_psy_rd: f32,
    pub f_psy_trellis: f32,
    pub b_psy: ::std::os::raw::c_int,
    pub b_mb_info: ::std::os::raw::c_int,
    pub b_mb_info_update: ::std::os::raw::c_int,
    pub i_luma_deadzone: [::std::os::raw::c_int; 2usize],
    pub b_psnr: ::std::os::raw::c_int,
    pub b_ssim: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_x264_param_t__bindgen_ty_2() {
    assert_eq!(::std::mem::size_of::<x264_param_t__bindgen_ty_2>() , 108usize
               , concat ! (
               "Size of: " , stringify ! ( x264_param_t__bindgen_ty_2 ) ));
    assert_eq! (::std::mem::align_of::<x264_param_t__bindgen_ty_2>() , 4usize
                , concat ! (
                "Alignment of " , stringify ! ( x264_param_t__bindgen_ty_2 )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) . intra as
                * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! ( intra )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) . inter as
                * const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! ( inter )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                b_transform_8x8 as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                b_transform_8x8 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                i_weighted_pred as * const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                i_weighted_pred ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                b_weighted_bipred as * const _ as usize } , 16usize , concat !
                (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                b_weighted_bipred ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                i_direct_mv_pred as * const _ as usize } , 20usize , concat !
                (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                i_direct_mv_pred ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                i_chroma_qp_offset as * const _ as usize } , 24usize , concat
                ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                i_chroma_qp_offset ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                i_me_method as * const _ as usize } , 28usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                i_me_method ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                i_me_range as * const _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! ( i_me_range
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                i_mv_range as * const _ as usize } , 36usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! ( i_mv_range
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                i_mv_range_thread as * const _ as usize } , 40usize , concat !
                (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                i_mv_range_thread ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                i_subpel_refine as * const _ as usize } , 44usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                i_subpel_refine ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                b_chroma_me as * const _ as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                b_chroma_me ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                b_mixed_references as * const _ as usize } , 52usize , concat
                ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                b_mixed_references ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                i_trellis as * const _ as usize } , 56usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! ( i_trellis
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                b_fast_pskip as * const _ as usize } , 60usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                b_fast_pskip ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                b_dct_decimate as * const _ as usize } , 64usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                b_dct_decimate ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                i_noise_reduction as * const _ as usize } , 68usize , concat !
                (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                i_noise_reduction ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) . f_psy_rd
                as * const _ as usize } , 72usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! ( f_psy_rd )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                f_psy_trellis as * const _ as usize } , 76usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                f_psy_trellis ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) . b_psy as
                * const _ as usize } , 80usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! ( b_psy )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                b_mb_info as * const _ as usize } , 84usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! ( b_mb_info
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                b_mb_info_update as * const _ as usize } , 88usize , concat !
                (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                b_mb_info_update ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) .
                i_luma_deadzone as * const _ as usize } , 92usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! (
                i_luma_deadzone ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) . b_psnr
                as * const _ as usize } , 100usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! ( b_psnr )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_2 ) ) . b_ssim
                as * const _ as usize } , 104usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_2 ) , "::" , stringify ! ( b_ssim )
                ));
}
impl Clone for x264_param_t__bindgen_ty_2 {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct x264_param_t__bindgen_ty_3 {
    pub i_rc_method: ::std::os::raw::c_int,
    pub i_qp_constant: ::std::os::raw::c_int,
    pub i_qp_min: ::std::os::raw::c_int,
    pub i_qp_max: ::std::os::raw::c_int,
    pub i_qp_step: ::std::os::raw::c_int,
    pub i_bitrate: ::std::os::raw::c_int,
    pub f_rf_constant: f32,
    pub f_rf_constant_max: f32,
    pub f_rate_tolerance: f32,
    pub i_vbv_max_bitrate: ::std::os::raw::c_int,
    pub i_vbv_buffer_size: ::std::os::raw::c_int,
    pub f_vbv_buffer_init: f32,
    pub f_ip_factor: f32,
    pub f_pb_factor: f32,
    pub b_filler: ::std::os::raw::c_int,
    pub i_aq_mode: ::std::os::raw::c_int,
    pub f_aq_strength: f32,
    pub b_mb_tree: ::std::os::raw::c_int,
    pub i_lookahead: ::std::os::raw::c_int,
    pub b_stat_write: ::std::os::raw::c_int,
    pub psz_stat_out: *mut ::std::os::raw::c_char,
    pub b_stat_read: ::std::os::raw::c_int,
    pub psz_stat_in: *mut ::std::os::raw::c_char,
    pub f_qcompress: f32,
    pub f_qblur: f32,
    pub f_complexity_blur: f32,
    pub zones: *mut x264_zone_t,
    pub i_zones: ::std::os::raw::c_int,
    pub psz_zones: *mut ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout_x264_param_t__bindgen_ty_3() {
    assert_eq!(::std::mem::size_of::<x264_param_t__bindgen_ty_3>() , 144usize
               , concat ! (
               "Size of: " , stringify ! ( x264_param_t__bindgen_ty_3 ) ));
    assert_eq! (::std::mem::align_of::<x264_param_t__bindgen_ty_3>() , 8usize
                , concat ! (
                "Alignment of " , stringify ! ( x264_param_t__bindgen_ty_3 )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                i_rc_method as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                i_rc_method ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                i_qp_constant as * const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                i_qp_constant ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) . i_qp_min
                as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! ( i_qp_min )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) . i_qp_max
                as * const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! ( i_qp_max )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                i_qp_step as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! ( i_qp_step
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                i_bitrate as * const _ as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! ( i_bitrate
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                f_rf_constant as * const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                f_rf_constant ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                f_rf_constant_max as * const _ as usize } , 28usize , concat !
                (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                f_rf_constant_max ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                f_rate_tolerance as * const _ as usize } , 32usize , concat !
                (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                f_rate_tolerance ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                i_vbv_max_bitrate as * const _ as usize } , 36usize , concat !
                (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                i_vbv_max_bitrate ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                i_vbv_buffer_size as * const _ as usize } , 40usize , concat !
                (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                i_vbv_buffer_size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                f_vbv_buffer_init as * const _ as usize } , 44usize , concat !
                (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                f_vbv_buffer_init ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                f_ip_factor as * const _ as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                f_ip_factor ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                f_pb_factor as * const _ as usize } , 52usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                f_pb_factor ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) . b_filler
                as * const _ as usize } , 56usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! ( b_filler )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                i_aq_mode as * const _ as usize } , 60usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! ( i_aq_mode
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                f_aq_strength as * const _ as usize } , 64usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                f_aq_strength ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                b_mb_tree as * const _ as usize } , 68usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! ( b_mb_tree
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                i_lookahead as * const _ as usize } , 72usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                i_lookahead ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                b_stat_write as * const _ as usize } , 76usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                b_stat_write ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                psz_stat_out as * const _ as usize } , 80usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                psz_stat_out ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                b_stat_read as * const _ as usize } , 88usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                b_stat_read ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                psz_stat_in as * const _ as usize } , 96usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                psz_stat_in ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                f_qcompress as * const _ as usize } , 104usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                f_qcompress ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) . f_qblur
                as * const _ as usize } , 108usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! ( f_qblur )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                f_complexity_blur as * const _ as usize } , 112usize , concat
                ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! (
                f_complexity_blur ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) . zones as
                * const _ as usize } , 120usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! ( zones )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) . i_zones
                as * const _ as usize } , 128usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! ( i_zones )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_3 ) ) .
                psz_zones as * const _ as usize } , 136usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_3 ) , "::" , stringify ! ( psz_zones
                ) ));
}
impl Clone for x264_param_t__bindgen_ty_3 {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct x264_param_t__bindgen_ty_4 {
    pub i_left: ::std::os::raw::c_uint,
    pub i_top: ::std::os::raw::c_uint,
    pub i_right: ::std::os::raw::c_uint,
    pub i_bottom: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout_x264_param_t__bindgen_ty_4() {
    assert_eq!(::std::mem::size_of::<x264_param_t__bindgen_ty_4>() , 16usize ,
               concat ! (
               "Size of: " , stringify ! ( x264_param_t__bindgen_ty_4 ) ));
    assert_eq! (::std::mem::align_of::<x264_param_t__bindgen_ty_4>() , 4usize
                , concat ! (
                "Alignment of " , stringify ! ( x264_param_t__bindgen_ty_4 )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_4 ) ) . i_left
                as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_4 ) , "::" , stringify ! ( i_left )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_4 ) ) . i_top as
                * const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_4 ) , "::" , stringify ! ( i_top )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_4 ) ) . i_right
                as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_4 ) , "::" , stringify ! ( i_right )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t__bindgen_ty_4 ) ) . i_bottom
                as * const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! (
                x264_param_t__bindgen_ty_4 ) , "::" , stringify ! ( i_bottom )
                ));
}
impl Clone for x264_param_t__bindgen_ty_4 {
    fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_x264_param_t() {
    assert_eq!(::std::mem::size_of::<x264_param_t>() , 936usize , concat ! (
               "Size of: " , stringify ! ( x264_param_t ) ));
    assert_eq! (::std::mem::align_of::<x264_param_t>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( x264_param_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . cpu as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( cpu ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_threads as * const _
                as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_threads ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_lookahead_threads as
                * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_lookahead_threads ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_sliced_threads as *
                const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_sliced_threads ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_deterministic as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_deterministic ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_cpu_independent as *
                const _ as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_cpu_independent ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_sync_lookahead as *
                const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_sync_lookahead ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_width as * const _
                as usize } , 28usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_width ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_height as * const _
                as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_height ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_csp as * const _ as
                usize } , 36usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_csp ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_level_idc as * const
                _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_level_idc ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_frame_total as *
                const _ as usize } , 44usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_frame_total ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_nal_hrd as * const _
                as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_nal_hrd ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . vui as * const _ as
                usize } , 52usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( vui ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_frame_reference as *
                const _ as usize } , 88usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_frame_reference ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_dpb_size as * const
                _ as usize } , 92usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_dpb_size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_keyint_max as *
                const _ as usize } , 96usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_keyint_max ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_keyint_min as *
                const _ as usize } , 100usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_keyint_min ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_scenecut_threshold
                as * const _ as usize } , 104usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_scenecut_threshold ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_intra_refresh as *
                const _ as usize } , 108usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_intra_refresh ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_bframe as * const _
                as usize } , 112usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_bframe ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_bframe_adaptive as *
                const _ as usize } , 116usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_bframe_adaptive ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_bframe_bias as *
                const _ as usize } , 120usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_bframe_bias ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_bframe_pyramid as *
                const _ as usize } , 124usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_bframe_pyramid ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_open_gop as * const
                _ as usize } , 128usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_open_gop ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_bluray_compat as *
                const _ as usize } , 132usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_bluray_compat ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_avcintra_class as *
                const _ as usize } , 136usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_avcintra_class ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_deblocking_filter as
                * const _ as usize } , 140usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_deblocking_filter ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) .
                i_deblocking_filter_alphac0 as * const _ as usize } , 144usize
                , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_deblocking_filter_alphac0 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) .
                i_deblocking_filter_beta as * const _ as usize } , 148usize ,
                concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_deblocking_filter_beta ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_cabac as * const _
                as usize } , 152usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_cabac ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_cabac_init_idc as *
                const _ as usize } , 156usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_cabac_init_idc ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_interlaced as *
                const _ as usize } , 160usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_interlaced ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_constrained_intra as
                * const _ as usize } , 164usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_constrained_intra ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_cqm_preset as *
                const _ as usize } , 168usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_cqm_preset ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . psz_cqm_file as *
                const _ as usize } , 176usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( psz_cqm_file ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . cqm_4iy as * const _
                as usize } , 184usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( cqm_4iy ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . cqm_4py as * const _
                as usize } , 200usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( cqm_4py ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . cqm_4ic as * const _
                as usize } , 216usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( cqm_4ic ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . cqm_4pc as * const _
                as usize } , 232usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( cqm_4pc ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . cqm_8iy as * const _
                as usize } , 248usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( cqm_8iy ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . cqm_8py as * const _
                as usize } , 312usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( cqm_8py ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . cqm_8ic as * const _
                as usize } , 376usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( cqm_8ic ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . cqm_8pc as * const _
                as usize } , 440usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( cqm_8pc ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . pf_log as * const _ as
                usize } , 504usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( pf_log ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . p_log_private as *
                const _ as usize } , 512usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( p_log_private ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_log_level as * const
                _ as usize } , 520usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_log_level ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_full_recon as *
                const _ as usize } , 524usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_full_recon ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . psz_dump_yuv as *
                const _ as usize } , 528usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( psz_dump_yuv ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . analyse as * const _
                as usize } , 536usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( analyse ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . rc as * const _ as
                usize } , 648usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( rc ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . crop_rect as * const _
                as usize } , 792usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( crop_rect ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_frame_packing as *
                const _ as usize } , 808usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_frame_packing ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_aud as * const _ as
                usize } , 812usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_aud ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_repeat_headers as *
                const _ as usize } , 816usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_repeat_headers ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_annexb as * const _
                as usize } , 820usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_annexb ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_sps_id as * const _
                as usize } , 824usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_sps_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_vfr_input as * const
                _ as usize } , 828usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_vfr_input ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_pulldown as * const
                _ as usize } , 832usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_pulldown ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_fps_num as * const _
                as usize } , 836usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_fps_num ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_fps_den as * const _
                as usize } , 840usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_fps_den ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_timebase_num as *
                const _ as usize } , 844usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_timebase_num ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_timebase_den as *
                const _ as usize } , 848usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_timebase_den ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_tff as * const _ as
                usize } , 852usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_tff ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_pic_struct as *
                const _ as usize } , 856usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_pic_struct ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_fake_interlaced as *
                const _ as usize } , 860usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_fake_interlaced ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_stitchable as *
                const _ as usize } , 864usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_stitchable ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . b_opencl as * const _
                as usize } , 868usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( b_opencl ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_opencl_device as *
                const _ as usize } , 872usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_opencl_device ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . opencl_device_id as *
                const _ as usize } , 880usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( opencl_device_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . psz_clbin_file as *
                const _ as usize } , 888usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( psz_clbin_file ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_slice_max_size as *
                const _ as usize } , 896usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_slice_max_size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_slice_max_mbs as *
                const _ as usize } , 900usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_slice_max_mbs ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_slice_min_mbs as *
                const _ as usize } , 904usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_slice_min_mbs ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_slice_count as *
                const _ as usize } , 908usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_slice_count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . i_slice_count_max as *
                const _ as usize } , 912usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( i_slice_count_max ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . param_free as * const
                _ as usize } , 920usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( param_free ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_param_t ) ) . nalu_process as *
                const _ as usize } , 928usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_param_t ) , "::" ,
                stringify ! ( nalu_process ) ));
}
extern "C" {
    pub fn x264_nal_encode(h: *mut x264_t, dst: *mut u8,
                           nal: *mut x264_nal_t);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct x264_level_t {
    pub level_idc: ::std::os::raw::c_int,
    pub mbps: ::std::os::raw::c_int,
    pub frame_size: ::std::os::raw::c_int,
    pub dpb: ::std::os::raw::c_int,
    pub bitrate: ::std::os::raw::c_int,
    pub cpb: ::std::os::raw::c_int,
    pub mv_range: ::std::os::raw::c_int,
    pub mvs_per_2mb: ::std::os::raw::c_int,
    pub slice_rate: ::std::os::raw::c_int,
    pub mincr: ::std::os::raw::c_int,
    pub bipred8x8: ::std::os::raw::c_int,
    pub direct8x8: ::std::os::raw::c_int,
    pub frame_only: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_x264_level_t() {
    assert_eq!(::std::mem::size_of::<x264_level_t>() , 52usize , concat ! (
               "Size of: " , stringify ! ( x264_level_t ) ));
    assert_eq! (::std::mem::align_of::<x264_level_t>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( x264_level_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_level_t ) ) . level_idc as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_level_t ) , "::" ,
                stringify ! ( level_idc ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_level_t ) ) . mbps as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_level_t ) , "::" ,
                stringify ! ( mbps ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_level_t ) ) . frame_size as * const
                _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_level_t ) , "::" ,
                stringify ! ( frame_size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_level_t ) ) . dpb as * const _ as
                usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_level_t ) , "::" ,
                stringify ! ( dpb ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_level_t ) ) . bitrate as * const _
                as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_level_t ) , "::" ,
                stringify ! ( bitrate ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_level_t ) ) . cpb as * const _ as
                usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_level_t ) , "::" ,
                stringify ! ( cpb ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_level_t ) ) . mv_range as * const _
                as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_level_t ) , "::" ,
                stringify ! ( mv_range ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_level_t ) ) . mvs_per_2mb as * const
                _ as usize } , 28usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_level_t ) , "::" ,
                stringify ! ( mvs_per_2mb ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_level_t ) ) . slice_rate as * const
                _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_level_t ) , "::" ,
                stringify ! ( slice_rate ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_level_t ) ) . mincr as * const _ as
                usize } , 36usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_level_t ) , "::" ,
                stringify ! ( mincr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_level_t ) ) . bipred8x8 as * const _
                as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_level_t ) , "::" ,
                stringify ! ( bipred8x8 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_level_t ) ) . direct8x8 as * const _
                as usize } , 44usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_level_t ) , "::" ,
                stringify ! ( direct8x8 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_level_t ) ) . frame_only as * const
                _ as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_level_t ) , "::" ,
                stringify ! ( frame_only ) ));
}
impl Clone for x264_level_t {
    fn clone(&self) -> Self { *self }
}
extern "C" {
    #[link_name = "x264_levels"]
    pub static mut x264_levels: [x264_level_t; 0usize];
}
extern "C" {
    pub fn x264_param_default(arg1: *mut x264_param_t);
}
extern "C" {
    pub fn x264_param_parse(arg1: *mut x264_param_t,
                            name: *const ::std::os::raw::c_char,
                            value: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
}
extern "C" {
    #[link_name = "x264_preset_names"]
    pub static mut x264_preset_names:
               [*const ::std::os::raw::c_char; 11usize];
}
extern "C" {
    #[link_name = "x264_tune_names"]
    pub static mut x264_tune_names: [*const ::std::os::raw::c_char; 9usize];
}
extern "C" {
    pub fn x264_param_default_preset(arg1: *mut x264_param_t,
                                     preset: *const ::std::os::raw::c_char,
                                     tune: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn x264_param_apply_fastfirstpass(arg1: *mut x264_param_t);
}
extern "C" {
    #[link_name = "x264_profile_names"]
    pub static mut x264_profile_names:
               [*const ::std::os::raw::c_char; 7usize];
}
extern "C" {
    pub fn x264_param_apply_profile(arg1: *mut x264_param_t,
                                    profile: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
}
extern "C" {
    #[link_name = "x264_bit_depth"]
    pub static x264_bit_depth: ::std::os::raw::c_int;
}
extern "C" {
    #[link_name = "x264_chroma_format"]
    pub static x264_chroma_format: ::std::os::raw::c_int;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum pic_struct_e {
    PIC_STRUCT_AUTO = 0,
    PIC_STRUCT_PROGRESSIVE = 1,
    PIC_STRUCT_TOP_BOTTOM = 4,
    PIC_STRUCT_BOTTOM_TOP = 5,
    PIC_STRUCT_TOP_BOTTOM_TOP = 6,
    PIC_STRUCT_BOTTOM_TOP_BOTTOM = 7,
    PIC_STRUCT_DOUBLE = 8,
    PIC_STRUCT_TRIPLE = 9,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct x264_hrd_t {
    pub cpb_initial_arrival_time: f64,
    pub cpb_final_arrival_time: f64,
    pub cpb_removal_time: f64,
    pub dpb_output_time: f64,
}
#[test]
fn bindgen_test_layout_x264_hrd_t() {
    assert_eq!(::std::mem::size_of::<x264_hrd_t>() , 32usize , concat ! (
               "Size of: " , stringify ! ( x264_hrd_t ) ));
    assert_eq! (::std::mem::align_of::<x264_hrd_t>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( x264_hrd_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_hrd_t ) ) . cpb_initial_arrival_time
                as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_hrd_t ) , "::" ,
                stringify ! ( cpb_initial_arrival_time ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_hrd_t ) ) . cpb_final_arrival_time
                as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_hrd_t ) , "::" ,
                stringify ! ( cpb_final_arrival_time ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_hrd_t ) ) . cpb_removal_time as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_hrd_t ) , "::" ,
                stringify ! ( cpb_removal_time ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_hrd_t ) ) . dpb_output_time as *
                const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_hrd_t ) , "::" ,
                stringify ! ( dpb_output_time ) ));
}
impl Clone for x264_hrd_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct x264_sei_payload_t {
    pub payload_size: ::std::os::raw::c_int,
    pub payload_type: ::std::os::raw::c_int,
    pub payload: *mut u8,
}
#[test]
fn bindgen_test_layout_x264_sei_payload_t() {
    assert_eq!(::std::mem::size_of::<x264_sei_payload_t>() , 16usize , concat
               ! ( "Size of: " , stringify ! ( x264_sei_payload_t ) ));
    assert_eq! (::std::mem::align_of::<x264_sei_payload_t>() , 8usize , concat
                ! ( "Alignment of " , stringify ! ( x264_sei_payload_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_sei_payload_t ) ) . payload_size as
                * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_sei_payload_t ) ,
                "::" , stringify ! ( payload_size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_sei_payload_t ) ) . payload_type as
                * const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_sei_payload_t ) ,
                "::" , stringify ! ( payload_type ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_sei_payload_t ) ) . payload as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_sei_payload_t ) ,
                "::" , stringify ! ( payload ) ));
}
impl Clone for x264_sei_payload_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct x264_sei_t {
    pub num_payloads: ::std::os::raw::c_int,
    pub payloads: *mut x264_sei_payload_t,
    pub sei_free: ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                 *mut ::std::os::raw::c_void)>,
}
#[test]
fn bindgen_test_layout_x264_sei_t() {
    assert_eq!(::std::mem::size_of::<x264_sei_t>() , 24usize , concat ! (
               "Size of: " , stringify ! ( x264_sei_t ) ));
    assert_eq! (::std::mem::align_of::<x264_sei_t>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( x264_sei_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_sei_t ) ) . num_payloads as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_sei_t ) , "::" ,
                stringify ! ( num_payloads ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_sei_t ) ) . payloads as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_sei_t ) , "::" ,
                stringify ! ( payloads ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_sei_t ) ) . sei_free as * const _ as
                usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_sei_t ) , "::" ,
                stringify ! ( sei_free ) ));
}
impl Clone for x264_sei_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct x264_image_t {
    pub i_csp: ::std::os::raw::c_int,
    pub i_plane: ::std::os::raw::c_int,
    pub i_stride: [::std::os::raw::c_int; 4usize],
    pub plane: [*mut u8; 4usize],
}
#[test]
fn bindgen_test_layout_x264_image_t() {
    assert_eq!(::std::mem::size_of::<x264_image_t>() , 56usize , concat ! (
               "Size of: " , stringify ! ( x264_image_t ) ));
    assert_eq! (::std::mem::align_of::<x264_image_t>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( x264_image_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_image_t ) ) . i_csp as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_image_t ) , "::" ,
                stringify ! ( i_csp ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_image_t ) ) . i_plane as * const _
                as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_image_t ) , "::" ,
                stringify ! ( i_plane ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_image_t ) ) . i_stride as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_image_t ) , "::" ,
                stringify ! ( i_stride ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_image_t ) ) . plane as * const _ as
                usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_image_t ) , "::" ,
                stringify ! ( plane ) ));
}
impl Clone for x264_image_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct x264_image_properties_t {
    pub quant_offsets: *mut f32,
    pub quant_offsets_free: ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                           *mut ::std::os::raw::c_void)>,
    pub mb_info: *mut u8,
    pub mb_info_free: ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                     *mut ::std::os::raw::c_void)>,
    pub f_ssim: f64,
    pub f_psnr_avg: f64,
    pub f_psnr: [f64; 3usize],
    pub f_crf_avg: f64,
}
#[test]
fn bindgen_test_layout_x264_image_properties_t() {
    assert_eq!(::std::mem::size_of::<x264_image_properties_t>() , 80usize ,
               concat ! (
               "Size of: " , stringify ! ( x264_image_properties_t ) ));
    assert_eq! (::std::mem::align_of::<x264_image_properties_t>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( x264_image_properties_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_image_properties_t ) ) .
                quant_offsets as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_image_properties_t
                ) , "::" , stringify ! ( quant_offsets ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_image_properties_t ) ) .
                quant_offsets_free as * const _ as usize } , 8usize , concat !
                (
                "Alignment of field: " , stringify ! ( x264_image_properties_t
                ) , "::" , stringify ! ( quant_offsets_free ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_image_properties_t ) ) . mb_info as
                * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_image_properties_t
                ) , "::" , stringify ! ( mb_info ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_image_properties_t ) ) .
                mb_info_free as * const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_image_properties_t
                ) , "::" , stringify ! ( mb_info_free ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_image_properties_t ) ) . f_ssim as *
                const _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_image_properties_t
                ) , "::" , stringify ! ( f_ssim ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_image_properties_t ) ) . f_psnr_avg
                as * const _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_image_properties_t
                ) , "::" , stringify ! ( f_psnr_avg ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_image_properties_t ) ) . f_psnr as *
                const _ as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_image_properties_t
                ) , "::" , stringify ! ( f_psnr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_image_properties_t ) ) . f_crf_avg
                as * const _ as usize } , 72usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_image_properties_t
                ) , "::" , stringify ! ( f_crf_avg ) ));
}
impl Clone for x264_image_properties_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct x264_picture_t {
    pub i_type: ::std::os::raw::c_int,
    pub i_qpplus1: ::std::os::raw::c_int,
    pub i_pic_struct: ::std::os::raw::c_int,
    pub b_keyframe: ::std::os::raw::c_int,
    pub i_pts: i64,
    pub i_dts: i64,
    pub param: *mut x264_param_t,
    pub img: x264_image_t,
    pub prop: x264_image_properties_t,
    pub hrd_timing: x264_hrd_t,
    pub extra_sei: x264_sei_t,
    pub opaque: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_x264_picture_t() {
    assert_eq!(::std::mem::size_of::<x264_picture_t>() , 240usize , concat ! (
               "Size of: " , stringify ! ( x264_picture_t ) ));
    assert_eq! (::std::mem::align_of::<x264_picture_t>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( x264_picture_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_picture_t ) ) . i_type as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_picture_t ) , "::"
                , stringify ! ( i_type ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_picture_t ) ) . i_qpplus1 as * const
                _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_picture_t ) , "::"
                , stringify ! ( i_qpplus1 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_picture_t ) ) . i_pic_struct as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_picture_t ) , "::"
                , stringify ! ( i_pic_struct ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_picture_t ) ) . b_keyframe as *
                const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_picture_t ) , "::"
                , stringify ! ( b_keyframe ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_picture_t ) ) . i_pts as * const _
                as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_picture_t ) , "::"
                , stringify ! ( i_pts ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_picture_t ) ) . i_dts as * const _
                as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_picture_t ) , "::"
                , stringify ! ( i_dts ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_picture_t ) ) . param as * const _
                as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_picture_t ) , "::"
                , stringify ! ( param ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_picture_t ) ) . img as * const _ as
                usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_picture_t ) , "::"
                , stringify ! ( img ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_picture_t ) ) . prop as * const _ as
                usize } , 96usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_picture_t ) , "::"
                , stringify ! ( prop ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_picture_t ) ) . hrd_timing as *
                const _ as usize } , 176usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_picture_t ) , "::"
                , stringify ! ( hrd_timing ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_picture_t ) ) . extra_sei as * const
                _ as usize } , 208usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_picture_t ) , "::"
                , stringify ! ( extra_sei ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const x264_picture_t ) ) . opaque as * const _
                as usize } , 232usize , concat ! (
                "Alignment of field: " , stringify ! ( x264_picture_t ) , "::"
                , stringify ! ( opaque ) ));
}
impl Clone for x264_picture_t {
    fn clone(&self) -> Self { *self }
}
extern "C" {
    pub fn x264_picture_init(pic: *mut x264_picture_t);
}
extern "C" {
    pub fn x264_picture_alloc(pic: *mut x264_picture_t,
                              i_csp: ::std::os::raw::c_int,
                              i_width: ::std::os::raw::c_int,
                              i_height: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn x264_picture_clean(pic: *mut x264_picture_t);
}
extern "C" {
    pub fn x264_encoder_open_148(arg1: *mut x264_param_t) -> *mut x264_t;
}
extern "C" {
    pub fn x264_encoder_reconfig(arg1: *mut x264_t, arg2: *mut x264_param_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn x264_encoder_parameters(arg1: *mut x264_t,
                                   arg2: *mut x264_param_t);
}
extern "C" {
    pub fn x264_encoder_headers(arg1: *mut x264_t,
                                pp_nal: *mut *mut x264_nal_t,
                                pi_nal: *mut ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn x264_encoder_encode(arg1: *mut x264_t,
                               pp_nal: *mut *mut x264_nal_t,
                               pi_nal: *mut ::std::os::raw::c_int,
                               pic_in: *mut x264_picture_t,
                               pic_out: *mut x264_picture_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn x264_encoder_close(arg1: *mut x264_t);
}
extern "C" {
    pub fn x264_encoder_delayed_frames(arg1: *mut x264_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn x264_encoder_maximum_delayed_frames(h: *mut x264_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn x264_encoder_intra_refresh(arg1: *mut x264_t);
}
extern "C" {
    pub fn x264_encoder_invalidate_reference(arg1: *mut x264_t, pts: i64)
     -> ::std::os::raw::c_int;
}
#[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];