pub const OPJ_TRUE : u32 = 1 ; pub const OPJ_FALSE : u32 = 0 ; pub const OPJ_HAVE_STDINT_H : u32 = 1 ; pub const OPJ_VERSION_MAJOR : u32 = 2 ; pub const OPJ_VERSION_MINOR : u32 = 3 ; pub const OPJ_VERSION_BUILD : u32 = 1 ; pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = -128 ; pub const INT16_MIN : i32 = -32768 ; pub const INT32_MIN : i32 = -2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = -128 ; pub const INT_LEAST16_MIN : i32 = -32768 ; pub const INT_LEAST32_MIN : i32 = -2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = -128 ; pub const INT_FAST16_MIN : i64 = -9223372036854775808 ; pub const INT_FAST32_MIN : i64 = -9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = -1 ; pub const UINT_FAST32_MAX : i32 = -1 ; pub const INTPTR_MIN : i64 = -9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = -1 ; pub const PTRDIFF_MIN : i64 = -9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = -2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = -1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub const _STDIO_H : u32 = 1 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [ u8 ; 5usize ] = b"/tmp\0" ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const OPJ_PATH_LEN : u32 = 4096 ; pub const OPJ_J2K_MAXRLVLS : u32 = 33 ; pub const OPJ_J2K_MAXBANDS : u32 = 97 ; pub const OPJ_J2K_DEFAULT_NB_SEGS : u32 = 10 ; pub const OPJ_J2K_STREAM_CHUNK_SIZE : u32 = 1048576 ; pub const OPJ_J2K_DEFAULT_HEADER_SIZE : u32 = 1000 ; pub const OPJ_J2K_MCC_DEFAULT_NB_RECORDS : u32 = 10 ; pub const OPJ_J2K_MCT_DEFAULT_NB_RECORDS : u32 = 10 ; pub const JPWL_MAX_NO_TILESPECS : u32 = 16 ; pub const JPWL_MAX_NO_PACKSPECS : u32 = 16 ; pub const JPWL_MAX_NO_MARKERS : u32 = 512 ; pub const JPWL_PRIVATEINDEX_NAME : & 'static [ u8 ; 27usize ] = b"jpwl_index_privatefilename\0" ; pub const JPWL_EXPECTED_COMPONENTS : u32 = 3 ; pub const JPWL_MAXIMUM_TILES : u32 = 8192 ; pub const JPWL_MAXIMUM_HAMMING : u32 = 2 ; pub const JPWL_MAXIMUM_EPB_ROOM : u32 = 65450 ; pub const OPJ_IMG_INFO : u32 = 1 ; pub const OPJ_J2K_MH_INFO : u32 = 2 ; pub const OPJ_J2K_TH_INFO : u32 = 4 ; pub const OPJ_J2K_TCH_INFO : u32 = 8 ; pub const OPJ_J2K_MH_IND : u32 = 16 ; pub const OPJ_J2K_TH_IND : u32 = 32 ; pub const OPJ_JP2_INFO : u32 = 128 ; pub const OPJ_JP2_IND : u32 = 256 ; pub const OPJ_PROFILE_NONE : u32 = 0 ; pub const OPJ_PROFILE_0 : u32 = 1 ; pub const OPJ_PROFILE_1 : u32 = 2 ; pub const OPJ_PROFILE_PART2 : u32 = 32768 ; pub const OPJ_PROFILE_CINEMA_2K : u32 = 3 ; pub const OPJ_PROFILE_CINEMA_4K : u32 = 4 ; pub const OPJ_PROFILE_CINEMA_S2K : u32 = 5 ; pub const OPJ_PROFILE_CINEMA_S4K : u32 = 6 ; pub const OPJ_PROFILE_CINEMA_LTS : u32 = 7 ; pub const OPJ_PROFILE_BC_SINGLE : u32 = 256 ; pub const OPJ_PROFILE_BC_MULTI : u32 = 512 ; pub const OPJ_PROFILE_BC_MULTI_R : u32 = 768 ; pub const OPJ_PROFILE_IMF_2K : u32 = 1024 ; pub const OPJ_PROFILE_IMF_4K : u32 = 1025 ; pub const OPJ_PROFILE_IMF_8K : u32 = 1026 ; pub const OPJ_PROFILE_IMF_2K_R : u32 = 1027 ; pub const OPJ_PROFILE_IMF_4K_R : u32 = 2048 ; pub const OPJ_PROFILE_IMF_8K_R : u32 = 2049 ; pub const OPJ_EXTENSION_NONE : u32 = 0 ; pub const OPJ_EXTENSION_MCT : u32 = 256 ; pub const OPJ_CINEMA_24_CS : u32 = 1302083 ; pub const OPJ_CINEMA_48_CS : u32 = 651041 ; pub const OPJ_CINEMA_24_COMP : u32 = 1041666 ; pub const OPJ_CINEMA_48_COMP : u32 = 520833 ; pub const OPJ_DPARAMETERS_IGNORE_PCLR_CMAP_CDEF_FLAG : u32 = 1 ; pub const OPJ_DPARAMETERS_DUMP_FLAG : u32 = 2 ; pub const OPJ_STREAM_READ : u32 = 1 ; pub const OPJ_STREAM_WRITE : u32 = 0 ; pub type OPJ_BOOL = :: std :: os :: raw :: c_int ; pub type OPJ_CHAR = :: std :: os :: raw :: c_char ; pub type OPJ_FLOAT32 = f32 ; pub type OPJ_FLOAT64 = f64 ; pub type OPJ_BYTE = :: std :: os :: raw :: c_uchar ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __fsid_t { pub __val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __fsid_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type int_least8_t = :: 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 = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type OPJ_INT8 = i8 ; pub type OPJ_UINT8 = u8 ; pub type OPJ_INT16 = i16 ; pub type OPJ_UINT16 = u16 ; pub type OPJ_INT32 = i32 ; pub type OPJ_UINT32 = u32 ; pub type OPJ_INT64 = i64 ; pub type OPJ_UINT64 = u64 ; pub type OPJ_OFF_T = i64 ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [ :: std :: os :: raw :: c_char ; 4usize ] , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout___mbstate_t__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t__bindgen_ty_1 > ( ) ) ) . __wch as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t__bindgen_ty_1 > ( ) ) ) . __wchb as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wchb ) ) ) ; } # [ test ] fn bindgen_test_layout___mbstate_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __value as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __value ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __state ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos64_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos64_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos64_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __state ) ) ) ; } pub type va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [ :: std :: os :: raw :: c_char ; 1usize ] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_FILE > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _IO_FILE ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_FILE > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_FILE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_ptr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_end as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_base as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_base as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_ptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_end as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_base as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_buf_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_end as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_buf_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_base as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_save_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_backup_base as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_backup_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_end as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_save_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _markers as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _markers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _chain as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _chain ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _fileno as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _fileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags2 as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _old_offset as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _old_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _cur_column as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _cur_column ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _vtable_offset as * const _ as usize } , 130usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _vtable_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _shortbuf as * const _ as usize } , 131usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _shortbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _lock as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _offset as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad5 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _mode as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _unused2 as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _unused2 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { # [ link_name = "\u{1}_IO_2_1_stdin_" ] pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { # [ link_name = "\u{1}_IO_2_1_stdout_" ] pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { # [ link_name = "\u{1}_IO_2_1_stderr_" ] pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : usize ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : usize ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) -> usize ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type fpos_t = _G_fpos_t ; extern "C" { # [ link_name = "\u{1}stdin" ] pub static mut stdin : * mut _IO_FILE ; } extern "C" { # [ link_name = "\u{1}stdout" ] pub static mut stdout : * mut _IO_FILE ; } extern "C" { # [ link_name = "\u{1}stderr" ] pub static mut stderr : * mut _IO_FILE ; } extern "C" { pub fn remove ( __filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rename ( __old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn renameat ( __oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tmpfile ( ) -> * mut FILE ; } extern "C" { pub fn tmpnam ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tmpnam_r ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tempnam ( __dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn freopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> * mut FILE ; } extern "C" { pub fn fdopen ( __fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn fmemopen ( __s : * mut :: std :: os :: raw :: c_void , __len : usize , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut usize ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : usize , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : usize , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut usize , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __s : * mut FILE ) -> usize ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : usize , __n : usize , __stream : * mut FILE ) -> usize ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { # [ link_name = "\u{1}sys_nerr" ] pub static mut sys_nerr : :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}sys_errlist" ] pub static mut sys_errlist : [ * const :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub fn fileno ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fileno_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn popen ( __command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn pclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ctermid ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn flockfile ( __stream : * mut FILE ) ; } extern "C" { pub fn ftrylockfile ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn funlockfile ( __stream : * mut FILE ) ; } pub type OPJ_SIZE_T = usize ; pub const RSIZ_CAPABILITIES_OPJ_STD_RSIZ : RSIZ_CAPABILITIES = 0 ;
pub const RSIZ_CAPABILITIES_OPJ_CINEMA2K : RSIZ_CAPABILITIES = 3 ;
pub const RSIZ_CAPABILITIES_OPJ_CINEMA4K : RSIZ_CAPABILITIES = 4 ;
pub const RSIZ_CAPABILITIES_OPJ_MCT : RSIZ_CAPABILITIES = 33024 ;
pub type RSIZ_CAPABILITIES = u32 ; pub use self :: RSIZ_CAPABILITIES as OPJ_RSIZ_CAPABILITIES ; pub const CINEMA_MODE_OPJ_OFF : CINEMA_MODE = 0 ;
pub const CINEMA_MODE_OPJ_CINEMA2K_24 : CINEMA_MODE = 1 ;
pub const CINEMA_MODE_OPJ_CINEMA2K_48 : CINEMA_MODE = 2 ;
pub const CINEMA_MODE_OPJ_CINEMA4K_24 : CINEMA_MODE = 3 ;
pub type CINEMA_MODE = u32 ; pub use self :: CINEMA_MODE as OPJ_CINEMA_MODE ;
pub const PROG_ORDER_OPJ_PROG_UNKNOWN : PROG_ORDER = -1 ;
pub const PROG_ORDER_OPJ_LRCP : PROG_ORDER = 0 ;
pub const PROG_ORDER_OPJ_RLCP : PROG_ORDER = 1 ;
pub const PROG_ORDER_OPJ_RPCL : PROG_ORDER = 2 ;
pub const PROG_ORDER_OPJ_PCRL : PROG_ORDER = 3 ;
pub const PROG_ORDER_OPJ_CPRL : PROG_ORDER = 4 ;
pub type PROG_ORDER = i32 ; pub use self :: PROG_ORDER as OPJ_PROG_ORDER ;
pub const COLOR_SPACE_OPJ_CLRSPC_UNKNOWN : COLOR_SPACE = -1 ;
pub const COLOR_SPACE_OPJ_CLRSPC_UNSPECIFIED : COLOR_SPACE = 0 ;
pub const COLOR_SPACE_OPJ_CLRSPC_SRGB : COLOR_SPACE = 1 ;
pub const COLOR_SPACE_OPJ_CLRSPC_GRAY : COLOR_SPACE = 2 ;
pub const COLOR_SPACE_OPJ_CLRSPC_SYCC : COLOR_SPACE = 3 ;
pub const COLOR_SPACE_OPJ_CLRSPC_EYCC : COLOR_SPACE = 4 ;
pub const COLOR_SPACE_OPJ_CLRSPC_CMYK : COLOR_SPACE = 5 ;
pub type COLOR_SPACE = i32 ; pub use self :: COLOR_SPACE as OPJ_COLOR_SPACE ;
pub const CODEC_FORMAT_OPJ_CODEC_UNKNOWN : CODEC_FORMAT = -1 ;
pub const CODEC_FORMAT_OPJ_CODEC_J2K : CODEC_FORMAT = 0 ;
pub const CODEC_FORMAT_OPJ_CODEC_JPT : CODEC_FORMAT = 1 ;
pub const CODEC_FORMAT_OPJ_CODEC_JP2 : CODEC_FORMAT = 2 ;
pub const CODEC_FORMAT_OPJ_CODEC_JPP : CODEC_FORMAT = 3 ;
pub const CODEC_FORMAT_OPJ_CODEC_JPX : CODEC_FORMAT = 4 ;
pub type CODEC_FORMAT = i32 ; pub use self :: CODEC_FORMAT as OPJ_CODEC_FORMAT ;
pub type opj_msg_callback = :: std :: option :: Option < unsafe extern "C" fn ( msg : * const :: std :: os :: raw :: c_char , client_data : * mut :: std :: os :: raw :: c_void ) > ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_poc {
pub resno0 : OPJ_UINT32 ,
pub compno0 : OPJ_UINT32 ,
pub layno1 : OPJ_UINT32 ,
pub resno1 : OPJ_UINT32 ,
pub compno1 : OPJ_UINT32 ,
pub layno0 : OPJ_UINT32 ,
pub precno0 : OPJ_UINT32 ,
pub precno1 : OPJ_UINT32 ,
pub prg1 : OPJ_PROG_ORDER ,
pub prg : OPJ_PROG_ORDER ,
pub progorder : [ OPJ_CHAR ; 5usize ] ,
pub tile : OPJ_UINT32 ,
pub tx0 : OPJ_INT32 ,
pub tx1 : OPJ_INT32 ,
pub ty0 : OPJ_INT32 ,
pub ty1 : OPJ_INT32 ,
pub layS : OPJ_UINT32 ,
pub resS : OPJ_UINT32 ,
pub compS : OPJ_UINT32 ,
pub prcS : OPJ_UINT32 ,
pub layE : OPJ_UINT32 ,
pub resE : OPJ_UINT32 ,
pub compE : OPJ_UINT32 ,
pub prcE : OPJ_UINT32 ,
pub txS : OPJ_UINT32 ,
pub txE : OPJ_UINT32 ,
pub tyS : OPJ_UINT32 ,
pub tyE : OPJ_UINT32 ,
pub dx : OPJ_UINT32 ,
pub dy : OPJ_UINT32 ,
pub lay_t : OPJ_UINT32 ,
pub res_t : OPJ_UINT32 ,
pub comp_t : OPJ_UINT32 ,
pub prc_t : OPJ_UINT32 ,
pub tx0_t : OPJ_UINT32 ,
pub ty0_t : OPJ_UINT32 , } # [ test ] fn bindgen_test_layout_opj_poc ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_poc > ( ) , 148usize , concat ! ( "Size of: " , stringify ! ( opj_poc ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_poc > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( opj_poc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . resno0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( resno0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . compno0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( compno0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . layno1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( layno1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . resno1 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( resno1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . compno1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( compno1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . layno0 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( layno0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . precno0 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( precno0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . precno1 as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( precno1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . prg1 as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( prg1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . prg as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( prg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . progorder as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( progorder ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . tile as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( tile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . tx0 as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( tx0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . tx1 as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( tx1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . ty0 as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( ty0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . ty1 as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( ty1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . layS as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( layS ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . resS as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( resS ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . compS as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( compS ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . prcS as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( prcS ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . layE as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( layE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . resE as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( resE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . compE as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( compE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . prcE as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( prcE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . txS as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( txS ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . txE as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( txE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . tyS as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( tyS ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . tyE as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( tyE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . dx as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( dx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . dy as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( dy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . lay_t as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( lay_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . res_t as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( res_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . comp_t as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( comp_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . prc_t as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( prc_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . tx0_t as * const _ as usize } , 140usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( tx0_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_poc > ( ) ) ) . ty0_t as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( opj_poc ) , "::" , stringify ! ( ty0_t ) ) ) ; } pub type opj_poc_t = opj_poc ;
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct opj_cparameters {
pub tile_size_on : OPJ_BOOL ,
pub cp_tx0 : :: std :: os :: raw :: c_int ,
pub cp_ty0 : :: std :: os :: raw :: c_int ,
pub cp_tdx : :: std :: os :: raw :: c_int ,
pub cp_tdy : :: std :: os :: raw :: c_int ,
pub cp_disto_alloc : :: std :: os :: raw :: c_int ,
pub cp_fixed_alloc : :: std :: os :: raw :: c_int ,
pub cp_fixed_quality : :: std :: os :: raw :: c_int ,
pub cp_matrice : * mut :: std :: os :: raw :: c_int ,
pub cp_comment : * mut :: std :: os :: raw :: c_char ,
pub csty : :: std :: os :: raw :: c_int ,
pub prog_order : OPJ_PROG_ORDER ,
pub POC : [ opj_poc_t ; 32usize ] ,
pub numpocs : OPJ_UINT32 ,
pub tcp_numlayers : :: std :: os :: raw :: c_int ,
pub tcp_rates : [ f32 ; 100usize ] ,
pub tcp_distoratio : [ f32 ; 100usize ] ,
pub numresolution : :: std :: os :: raw :: c_int ,
pub cblockw_init : :: std :: os :: raw :: c_int ,
pub cblockh_init : :: std :: os :: raw :: c_int ,
pub mode : :: std :: os :: raw :: c_int ,
pub irreversible : :: std :: os :: raw :: c_int ,
pub roi_compno : :: std :: os :: raw :: c_int ,
pub roi_shift : :: std :: os :: raw :: c_int , pub res_spec : :: std :: os :: raw :: c_int ,
pub prcw_init : [ :: std :: os :: raw :: c_int ; 33usize ] ,
pub prch_init : [ :: std :: os :: raw :: c_int ; 33usize ] ,
pub infile : [ :: std :: os :: raw :: c_char ; 4096usize ] ,
pub outfile : [ :: std :: os :: raw :: c_char ; 4096usize ] ,
pub index_on : :: std :: os :: raw :: c_int ,
pub index : [ :: std :: os :: raw :: c_char ; 4096usize ] ,
pub image_offset_x0 : :: std :: os :: raw :: c_int ,
pub image_offset_y0 : :: std :: os :: raw :: c_int ,
pub subsampling_dx : :: std :: os :: raw :: c_int ,
pub subsampling_dy : :: std :: os :: raw :: c_int ,
pub decod_format : :: std :: os :: raw :: c_int ,
pub cod_format : :: std :: os :: raw :: c_int ,
pub jpwl_epc_on : OPJ_BOOL ,
pub jpwl_hprot_MH : :: std :: os :: raw :: c_int ,
pub jpwl_hprot_TPH_tileno : [ :: std :: os :: raw :: c_int ; 16usize ] ,
pub jpwl_hprot_TPH : [ :: std :: os :: raw :: c_int ; 16usize ] ,
pub jpwl_pprot_tileno : [ :: std :: os :: raw :: c_int ; 16usize ] ,
pub jpwl_pprot_packno : [ :: std :: os :: raw :: c_int ; 16usize ] ,
pub jpwl_pprot : [ :: std :: os :: raw :: c_int ; 16usize ] ,
pub jpwl_sens_size : :: std :: os :: raw :: c_int ,
pub jpwl_sens_addr : :: std :: os :: raw :: c_int ,
pub jpwl_sens_range : :: std :: os :: raw :: c_int ,
pub jpwl_sens_MH : :: std :: os :: raw :: c_int ,
pub jpwl_sens_TPH_tileno : [ :: std :: os :: raw :: c_int ; 16usize ] ,
pub jpwl_sens_TPH : [ :: std :: os :: raw :: c_int ; 16usize ] ,
pub cp_cinema : OPJ_CINEMA_MODE ,
pub max_comp_size : :: std :: os :: raw :: c_int ,
pub cp_rsiz : OPJ_RSIZ_CAPABILITIES ,
pub tp_on : :: std :: os :: raw :: c_char ,
pub tp_flag : :: std :: os :: raw :: c_char ,
pub tcp_mct : :: std :: os :: raw :: c_char ,
pub jpip_on : OPJ_BOOL ,
pub mct_data : * mut :: std :: os :: raw :: c_void ,
pub max_cs_size : :: std :: os :: raw :: c_int ,
pub rsiz : OPJ_UINT16 , } # [ test ] fn bindgen_test_layout_opj_cparameters ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_cparameters > ( ) , 18720usize , concat ! ( "Size of: " , stringify ! ( opj_cparameters ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_cparameters > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_cparameters ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . tile_size_on as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( tile_size_on ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_tx0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_tx0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_ty0 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_ty0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_tdx as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_tdx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_tdy as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_tdy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_disto_alloc as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_disto_alloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_fixed_alloc as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_fixed_alloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_fixed_quality as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_fixed_quality ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_matrice as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_matrice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_comment as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_comment ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . csty as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( csty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . prog_order as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( prog_order ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . POC as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( POC ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . numpocs as * const _ as usize } , 4792usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( numpocs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . tcp_numlayers as * const _ as usize } , 4796usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( tcp_numlayers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . tcp_rates as * const _ as usize } , 4800usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( tcp_rates ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . tcp_distoratio as * const _ as usize } , 5200usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( tcp_distoratio ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . numresolution as * const _ as usize } , 5600usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( numresolution ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cblockw_init as * const _ as usize } , 5604usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cblockw_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cblockh_init as * const _ as usize } , 5608usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cblockh_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . mode as * const _ as usize } , 5612usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . irreversible as * const _ as usize } , 5616usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( irreversible ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . roi_compno as * const _ as usize } , 5620usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( roi_compno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . roi_shift as * const _ as usize } , 5624usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( roi_shift ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . res_spec as * const _ as usize } , 5628usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( res_spec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . prcw_init as * const _ as usize } , 5632usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( prcw_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . prch_init as * const _ as usize } , 5764usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( prch_init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . infile as * const _ as usize } , 5896usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( infile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . outfile as * const _ as usize } , 9992usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( outfile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . index_on as * const _ as usize } , 14088usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( index_on ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . index as * const _ as usize } , 14092usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . image_offset_x0 as * const _ as usize } , 18188usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( image_offset_x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . image_offset_y0 as * const _ as usize } , 18192usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( image_offset_y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . subsampling_dx as * const _ as usize } , 18196usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( subsampling_dx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . subsampling_dy as * const _ as usize } , 18200usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( subsampling_dy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . decod_format as * const _ as usize } , 18204usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( decod_format ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cod_format as * const _ as usize } , 18208usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cod_format ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_epc_on as * const _ as usize } , 18212usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_epc_on ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_hprot_MH as * const _ as usize } , 18216usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_hprot_MH ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_hprot_TPH_tileno as * const _ as usize } , 18220usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_hprot_TPH_tileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_hprot_TPH as * const _ as usize } , 18284usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_hprot_TPH ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_pprot_tileno as * const _ as usize } , 18348usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_pprot_tileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_pprot_packno as * const _ as usize } , 18412usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_pprot_packno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_pprot as * const _ as usize } , 18476usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_pprot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_sens_size as * const _ as usize } , 18540usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_sens_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_sens_addr as * const _ as usize } , 18544usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_sens_addr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_sens_range as * const _ as usize } , 18548usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_sens_range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_sens_MH as * const _ as usize } , 18552usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_sens_MH ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_sens_TPH_tileno as * const _ as usize } , 18556usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_sens_TPH_tileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpwl_sens_TPH as * const _ as usize } , 18620usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpwl_sens_TPH ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_cinema as * const _ as usize } , 18684usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_cinema ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . max_comp_size as * const _ as usize } , 18688usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( max_comp_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . cp_rsiz as * const _ as usize } , 18692usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( cp_rsiz ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . tp_on as * const _ as usize } , 18696usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( tp_on ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . tp_flag as * const _ as usize } , 18697usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( tp_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . tcp_mct as * const _ as usize } , 18698usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( tcp_mct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . jpip_on as * const _ as usize } , 18700usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( jpip_on ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . mct_data as * const _ as usize } , 18704usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( mct_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . max_cs_size as * const _ as usize } , 18712usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( max_cs_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_cparameters > ( ) ) ) . rsiz as * const _ as usize } , 18716usize , concat ! ( "Offset of field: " , stringify ! ( opj_cparameters ) , "::" , stringify ! ( rsiz ) ) ) ; } pub type opj_cparameters_t = opj_cparameters ;
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct opj_dparameters {
pub cp_reduce : OPJ_UINT32 ,
pub cp_layer : OPJ_UINT32 ,
pub infile : [ :: std :: os :: raw :: c_char ; 4096usize ] ,
pub outfile : [ :: std :: os :: raw :: c_char ; 4096usize ] ,
pub decod_format : :: std :: os :: raw :: c_int ,
pub cod_format : :: std :: os :: raw :: c_int ,
pub DA_x0 : OPJ_UINT32 ,
pub DA_x1 : OPJ_UINT32 ,
pub DA_y0 : OPJ_UINT32 ,
pub DA_y1 : OPJ_UINT32 ,
pub m_verbose : OPJ_BOOL ,
pub tile_index : OPJ_UINT32 ,
pub nb_tile_to_decode : OPJ_UINT32 ,
pub jpwl_correct : OPJ_BOOL ,
pub jpwl_exp_comps : :: std :: os :: raw :: c_int ,
pub jpwl_max_tiles : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_opj_dparameters ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_dparameters > ( ) , 8252usize , concat ! ( "Size of: " , stringify ! ( opj_dparameters ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_dparameters > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( opj_dparameters ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . cp_reduce as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( cp_reduce ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . cp_layer as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( cp_layer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . infile as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( infile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . outfile as * const _ as usize } , 4104usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( outfile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . decod_format as * const _ as usize } , 8200usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( decod_format ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . cod_format as * const _ as usize } , 8204usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( cod_format ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . DA_x0 as * const _ as usize } , 8208usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( DA_x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . DA_x1 as * const _ as usize } , 8212usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( DA_x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . DA_y0 as * const _ as usize } , 8216usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( DA_y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . DA_y1 as * const _ as usize } , 8220usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( DA_y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . m_verbose as * const _ as usize } , 8224usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( m_verbose ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . tile_index as * const _ as usize } , 8228usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( tile_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . nb_tile_to_decode as * const _ as usize } , 8232usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( nb_tile_to_decode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . jpwl_correct as * const _ as usize } , 8236usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( jpwl_correct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . jpwl_exp_comps as * const _ as usize } , 8240usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( jpwl_exp_comps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . jpwl_max_tiles as * const _ as usize } , 8244usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( jpwl_max_tiles ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_dparameters > ( ) ) ) . flags as * const _ as usize } , 8248usize , concat ! ( "Offset of field: " , stringify ! ( opj_dparameters ) , "::" , stringify ! ( flags ) ) ) ; } pub type opj_dparameters_t = opj_dparameters ;
pub type opj_codec_t = * mut :: std :: os :: raw :: c_void ; pub type opj_stream_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( p_buffer : * mut :: std :: os :: raw :: c_void , p_nb_bytes : OPJ_SIZE_T , p_user_data : * mut :: std :: os :: raw :: c_void ) -> OPJ_SIZE_T > ; pub type opj_stream_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( p_buffer : * mut :: std :: os :: raw :: c_void , p_nb_bytes : OPJ_SIZE_T , p_user_data : * mut :: std :: os :: raw :: c_void ) -> OPJ_SIZE_T > ; pub type opj_stream_skip_fn = :: std :: option :: Option < unsafe extern "C" fn ( p_nb_bytes : OPJ_OFF_T , p_user_data : * mut :: std :: os :: raw :: c_void ) -> OPJ_OFF_T > ; pub type opj_stream_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( p_nb_bytes : OPJ_OFF_T , p_user_data : * mut :: std :: os :: raw :: c_void ) -> OPJ_BOOL > ; pub type opj_stream_free_user_data_fn = :: std :: option :: Option < unsafe extern "C" fn ( p_user_data : * mut :: std :: os :: raw :: c_void ) > ; pub type opj_stream_t = * mut :: std :: os :: raw :: c_void ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_image_comp {
pub dx : OPJ_UINT32 ,
pub dy : OPJ_UINT32 ,
pub w : OPJ_UINT32 ,
pub h : OPJ_UINT32 ,
pub x0 : OPJ_UINT32 ,
pub y0 : OPJ_UINT32 ,
pub prec : OPJ_UINT32 ,
pub bpp : OPJ_UINT32 ,
pub sgnd : OPJ_UINT32 ,
pub resno_decoded : OPJ_UINT32 ,
pub factor : OPJ_UINT32 ,
pub data : * mut OPJ_INT32 ,
pub alpha : OPJ_UINT16 , } # [ test ] fn bindgen_test_layout_opj_image_comp ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_image_comp > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( opj_image_comp ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_image_comp > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_image_comp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . dx as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( dx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . dy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( dy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . w as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . h as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . x0 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . y0 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . prec as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( prec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . bpp as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( bpp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . sgnd as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( sgnd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . resno_decoded as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( resno_decoded ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . factor as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( factor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . data as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comp > ( ) ) ) . alpha as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comp ) , "::" , stringify ! ( alpha ) ) ) ; } pub type opj_image_comp_t = opj_image_comp ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_image {
pub x0 : OPJ_UINT32 ,
pub y0 : OPJ_UINT32 ,
pub x1 : OPJ_UINT32 ,
pub y1 : OPJ_UINT32 ,
pub numcomps : OPJ_UINT32 ,
pub color_space : OPJ_COLOR_SPACE ,
pub comps : * mut opj_image_comp_t ,
pub icc_profile_buf : * mut OPJ_BYTE ,
pub icc_profile_len : OPJ_UINT32 , } # [ test ] fn bindgen_test_layout_opj_image ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_image > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( opj_image ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_image > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_image ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . x0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . y0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . x1 as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( x1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . y1 as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( y1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . numcomps as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( numcomps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . color_space as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( color_space ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . comps as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( comps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . icc_profile_buf as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( icc_profile_buf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image > ( ) ) ) . icc_profile_len as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( opj_image ) , "::" , stringify ! ( icc_profile_len ) ) ) ; } pub type opj_image_t = opj_image ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_image_comptparm {
pub dx : OPJ_UINT32 ,
pub dy : OPJ_UINT32 ,
pub w : OPJ_UINT32 ,
pub h : OPJ_UINT32 ,
pub x0 : OPJ_UINT32 ,
pub y0 : OPJ_UINT32 ,
pub prec : OPJ_UINT32 ,
pub bpp : OPJ_UINT32 ,
pub sgnd : OPJ_UINT32 , } # [ test ] fn bindgen_test_layout_opj_image_comptparm ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_image_comptparm > ( ) , 36usize , concat ! ( "Size of: " , stringify ! ( opj_image_comptparm ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_image_comptparm > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( opj_image_comptparm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . dx as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( dx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . dy as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( dy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . w as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . h as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . x0 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( x0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . y0 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( y0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . prec as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( prec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . bpp as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( bpp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_image_comptparm > ( ) ) ) . sgnd as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_image_comptparm ) , "::" , stringify ! ( sgnd ) ) ) ; } pub type opj_image_cmptparm_t = opj_image_comptparm ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_packet_info {
pub start_pos : OPJ_OFF_T ,
pub end_ph_pos : OPJ_OFF_T ,
pub end_pos : OPJ_OFF_T ,
pub disto : f64 , } # [ test ] fn bindgen_test_layout_opj_packet_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_packet_info > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( opj_packet_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_packet_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_packet_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_packet_info > ( ) ) ) . start_pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_packet_info ) , "::" , stringify ! ( start_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_packet_info > ( ) ) ) . end_ph_pos as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_packet_info ) , "::" , stringify ! ( end_ph_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_packet_info > ( ) ) ) . end_pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_packet_info ) , "::" , stringify ! ( end_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_packet_info > ( ) ) ) . disto as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_packet_info ) , "::" , stringify ! ( disto ) ) ) ; } pub type opj_packet_info_t = opj_packet_info ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_marker_info {
pub type_ : :: std :: os :: raw :: c_ushort ,
pub pos : OPJ_OFF_T ,
pub len : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_opj_marker_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_marker_info > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( opj_marker_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_marker_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_marker_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_marker_info > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_marker_info ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_marker_info > ( ) ) ) . pos as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_marker_info ) , "::" , stringify ! ( pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_marker_info > ( ) ) ) . len as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_marker_info ) , "::" , stringify ! ( len ) ) ) ; } pub type opj_marker_info_t = opj_marker_info ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_tp_info {
pub tp_start_pos : :: std :: os :: raw :: c_int ,
pub tp_end_header : :: std :: os :: raw :: c_int ,
pub tp_end_pos : :: std :: os :: raw :: c_int ,
pub tp_start_pack : :: std :: os :: raw :: c_int ,
pub tp_numpacks : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_opj_tp_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_tp_info > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( opj_tp_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_tp_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( opj_tp_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_info > ( ) ) ) . tp_start_pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_info ) , "::" , stringify ! ( tp_start_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_info > ( ) ) ) . tp_end_header as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_info ) , "::" , stringify ! ( tp_end_header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_info > ( ) ) ) . tp_end_pos as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_info ) , "::" , stringify ! ( tp_end_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_info > ( ) ) ) . tp_start_pack as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_info ) , "::" , stringify ! ( tp_start_pack ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_info > ( ) ) ) . tp_numpacks as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_info ) , "::" , stringify ! ( tp_numpacks ) ) ) ; } pub type opj_tp_info_t = opj_tp_info ;
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct opj_tile_info {
pub thresh : * mut f64 ,
pub tileno : :: std :: os :: raw :: c_int ,
pub start_pos : :: std :: os :: raw :: c_int ,
pub end_header : :: std :: os :: raw :: c_int ,
pub end_pos : :: std :: os :: raw :: c_int ,
pub pw : [ :: std :: os :: raw :: c_int ; 33usize ] ,
pub ph : [ :: std :: os :: raw :: c_int ; 33usize ] ,
pub pdx : [ :: std :: os :: raw :: c_int ; 33usize ] ,
pub pdy : [ :: std :: os :: raw :: c_int ; 33usize ] ,
pub packet : * mut opj_packet_info_t ,
pub numpix : :: std :: os :: raw :: c_int ,
pub distotile : f64 ,
pub marknum : :: std :: os :: raw :: c_int ,
pub marker : * mut opj_marker_info_t ,
pub maxmarknum : :: std :: os :: raw :: c_int ,
pub num_tps : :: std :: os :: raw :: c_int ,
pub tp : * mut opj_tp_info_t , } # [ test ] fn bindgen_test_layout_opj_tile_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_tile_info > ( ) , 608usize , concat ! ( "Size of: " , stringify ! ( opj_tile_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_tile_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_tile_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . thresh as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( thresh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . tileno as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( tileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . start_pos as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( start_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . end_header as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( end_header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . end_pos as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( end_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . pw as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( pw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . ph as * const _ as usize } , 156usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( ph ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . pdx as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( pdx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . pdy as * const _ as usize } , 420usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( pdy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . packet as * const _ as usize } , 552usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( packet ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . numpix as * const _ as usize } , 560usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( numpix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . distotile as * const _ as usize } , 568usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( distotile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . marknum as * const _ as usize } , 576usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( marknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . marker as * const _ as usize } , 584usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . maxmarknum as * const _ as usize } , 592usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( maxmarknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . num_tps as * const _ as usize } , 596usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( num_tps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_info > ( ) ) ) . tp as * const _ as usize } , 600usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_info ) , "::" , stringify ! ( tp ) ) ) ; } pub type opj_tile_info_t = opj_tile_info ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_codestream_info {
pub D_max : f64 ,
pub packno : :: std :: os :: raw :: c_int ,
pub index_write : :: std :: os :: raw :: c_int ,
pub image_w : :: std :: os :: raw :: c_int ,
pub image_h : :: std :: os :: raw :: c_int ,
pub prog : OPJ_PROG_ORDER ,
pub tile_x : :: std :: os :: raw :: c_int ,
pub tile_y : :: std :: os :: raw :: c_int ,
pub tile_Ox : :: std :: os :: raw :: c_int ,
pub tile_Oy : :: std :: os :: raw :: c_int ,
pub tw : :: std :: os :: raw :: c_int ,
pub th : :: std :: os :: raw :: c_int ,
pub numcomps : :: std :: os :: raw :: c_int ,
pub numlayers : :: std :: os :: raw :: c_int ,
pub numdecompos : * mut :: std :: os :: raw :: c_int ,
pub marknum : :: std :: os :: raw :: c_int ,
pub marker : * mut opj_marker_info_t ,
pub maxmarknum : :: std :: os :: raw :: c_int ,
pub main_head_start : :: std :: os :: raw :: c_int ,
pub main_head_end : :: std :: os :: raw :: c_int ,
pub codestream_size : :: std :: os :: raw :: c_int ,
pub tile : * mut opj_tile_info_t , } # [ test ] fn bindgen_test_layout_opj_codestream_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_codestream_info > ( ) , 112usize , concat ! ( "Size of: " , stringify ! ( opj_codestream_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_codestream_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_codestream_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . D_max as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( D_max ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . packno as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( packno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . index_write as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( index_write ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . image_w as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( image_w ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . image_h as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( image_h ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . prog as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( prog ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . tile_x as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( tile_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . tile_y as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( tile_y ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . tile_Ox as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( tile_Ox ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . tile_Oy as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( tile_Oy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . tw as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( tw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . th as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( th ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . numcomps as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( numcomps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . numlayers as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( numlayers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . numdecompos as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( numdecompos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . marknum as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( marknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . marker as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . maxmarknum as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( maxmarknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . main_head_start as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( main_head_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . main_head_end as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( main_head_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . codestream_size as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( codestream_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info > ( ) ) ) . tile as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info ) , "::" , stringify ! ( tile ) ) ) ; } pub type opj_codestream_info_t = opj_codestream_info ;
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct opj_tccp_info {
pub compno : OPJ_UINT32 ,
pub csty : OPJ_UINT32 ,
pub numresolutions : OPJ_UINT32 ,
pub cblkw : OPJ_UINT32 ,
pub cblkh : OPJ_UINT32 ,
pub cblksty : OPJ_UINT32 ,
pub qmfbid : OPJ_UINT32 ,
pub qntsty : OPJ_UINT32 ,
pub stepsizes_mant : [ OPJ_UINT32 ; 97usize ] ,
pub stepsizes_expn : [ OPJ_UINT32 ; 97usize ] ,
pub numgbits : OPJ_UINT32 ,
pub roishift : OPJ_INT32 ,
pub prcw : [ OPJ_UINT32 ; 33usize ] ,
pub prch : [ OPJ_UINT32 ; 33usize ] , } # [ test ] fn bindgen_test_layout_opj_tccp_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_tccp_info > ( ) , 1080usize , concat ! ( "Size of: " , stringify ! ( opj_tccp_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_tccp_info > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( opj_tccp_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . compno as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( compno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . csty as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( csty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . numresolutions as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( numresolutions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . cblkw as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( cblkw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . cblkh as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( cblkh ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . cblksty as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( cblksty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . qmfbid as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( qmfbid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . qntsty as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( qntsty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . stepsizes_mant as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( stepsizes_mant ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . stepsizes_expn as * const _ as usize } , 420usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( stepsizes_expn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . numgbits as * const _ as usize } , 808usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( numgbits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . roishift as * const _ as usize } , 812usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( roishift ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . prcw as * const _ as usize } , 816usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( prcw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tccp_info > ( ) ) ) . prch as * const _ as usize } , 948usize , concat ! ( "Offset of field: " , stringify ! ( opj_tccp_info ) , "::" , stringify ! ( prch ) ) ) ; } pub type opj_tccp_info_t = opj_tccp_info ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_tile_v2_info {
pub tileno : :: std :: os :: raw :: c_int ,
pub csty : OPJ_UINT32 ,
pub prg : OPJ_PROG_ORDER ,
pub numlayers : OPJ_UINT32 ,
pub mct : OPJ_UINT32 ,
pub tccp_info : * mut opj_tccp_info_t , } # [ test ] fn bindgen_test_layout_opj_tile_v2_info ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_tile_v2_info > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( opj_tile_v2_info ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_tile_v2_info > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_tile_v2_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_v2_info > ( ) ) ) . tileno as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_v2_info ) , "::" , stringify ! ( tileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_v2_info > ( ) ) ) . csty as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_v2_info ) , "::" , stringify ! ( csty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_v2_info > ( ) ) ) . prg as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_v2_info ) , "::" , stringify ! ( prg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_v2_info > ( ) ) ) . numlayers as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_v2_info ) , "::" , stringify ! ( numlayers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_v2_info > ( ) ) ) . mct as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_v2_info ) , "::" , stringify ! ( mct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_v2_info > ( ) ) ) . tccp_info as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_v2_info ) , "::" , stringify ! ( tccp_info ) ) ) ; } pub type opj_tile_info_v2_t = opj_tile_v2_info ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_codestream_info_v2 {
pub tx0 : OPJ_UINT32 ,
pub ty0 : OPJ_UINT32 ,
pub tdx : OPJ_UINT32 ,
pub tdy : OPJ_UINT32 ,
pub tw : OPJ_UINT32 ,
pub th : OPJ_UINT32 ,
pub nbcomps : OPJ_UINT32 ,
pub m_default_tile_info : opj_tile_info_v2_t ,
pub tile_info : * mut opj_tile_info_v2_t , } # [ test ] fn bindgen_test_layout_opj_codestream_info_v2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_codestream_info_v2 > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( opj_codestream_info_v2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_codestream_info_v2 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_codestream_info_v2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . tx0 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( tx0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . ty0 as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( ty0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . tdx as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( tdx ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . tdy as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( tdy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . tw as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( tw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . th as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( th ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . nbcomps as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( nbcomps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . m_default_tile_info as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( m_default_tile_info ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_info_v2 > ( ) ) ) . tile_info as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_info_v2 ) , "::" , stringify ! ( tile_info ) ) ) ; } pub type opj_codestream_info_v2_t = opj_codestream_info_v2 ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_tp_index {
pub start_pos : OPJ_OFF_T ,
pub end_header : OPJ_OFF_T ,
pub end_pos : OPJ_OFF_T , } # [ test ] fn bindgen_test_layout_opj_tp_index ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_tp_index > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( opj_tp_index ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_tp_index > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_tp_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_index > ( ) ) ) . start_pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_index ) , "::" , stringify ! ( start_pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_index > ( ) ) ) . end_header as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_index ) , "::" , stringify ! ( end_header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tp_index > ( ) ) ) . end_pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_tp_index ) , "::" , stringify ! ( end_pos ) ) ) ; } pub type opj_tp_index_t = opj_tp_index ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_tile_index {
pub tileno : OPJ_UINT32 ,
pub nb_tps : OPJ_UINT32 ,
pub current_nb_tps : OPJ_UINT32 ,
pub current_tpsno : OPJ_UINT32 ,
pub tp_index : * mut opj_tp_index_t ,
pub marknum : OPJ_UINT32 ,
pub marker : * mut opj_marker_info_t ,
pub maxmarknum : OPJ_UINT32 ,
pub nb_packet : OPJ_UINT32 ,
pub packet_index : * mut opj_packet_info_t , } # [ test ] fn bindgen_test_layout_opj_tile_index ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_tile_index > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( opj_tile_index ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_tile_index > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_tile_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . tileno as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( tileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . nb_tps as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( nb_tps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . current_nb_tps as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( current_nb_tps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . current_tpsno as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( current_tpsno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . tp_index as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( tp_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . marknum as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( marknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . marker as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . maxmarknum as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( maxmarknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . nb_packet as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( nb_packet ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_tile_index > ( ) ) ) . packet_index as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( opj_tile_index ) , "::" , stringify ! ( packet_index ) ) ) ; } pub type opj_tile_index_t = opj_tile_index ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_codestream_index {
pub main_head_start : OPJ_OFF_T ,
pub main_head_end : OPJ_OFF_T ,
pub codestream_size : OPJ_UINT64 ,
pub marknum : OPJ_UINT32 ,
pub marker : * mut opj_marker_info_t ,
pub maxmarknum : OPJ_UINT32 ,
pub nb_of_tiles : OPJ_UINT32 ,
pub tile_index : * mut opj_tile_index_t , } # [ test ] fn bindgen_test_layout_opj_codestream_index ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_codestream_index > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( opj_codestream_index ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_codestream_index > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( opj_codestream_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . main_head_start as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( main_head_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . main_head_end as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( main_head_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . codestream_size as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( codestream_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . marknum as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( marknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . marker as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . maxmarknum as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( maxmarknum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . nb_of_tiles as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( nb_of_tiles ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_codestream_index > ( ) ) ) . tile_index as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( opj_codestream_index ) , "::" , stringify ! ( tile_index ) ) ) ; } pub type opj_codestream_index_t = opj_codestream_index ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_jp2_metadata {
pub not_used : OPJ_INT32 , } # [ test ] fn bindgen_test_layout_opj_jp2_metadata ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_jp2_metadata > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( opj_jp2_metadata ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_jp2_metadata > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( opj_jp2_metadata ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_jp2_metadata > ( ) ) ) . not_used as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_jp2_metadata ) , "::" , stringify ! ( not_used ) ) ) ; } pub type opj_jp2_metadata_t = opj_jp2_metadata ;
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct opj_jp2_index {
pub not_used : OPJ_INT32 , } # [ test ] fn bindgen_test_layout_opj_jp2_index ( ) { assert_eq ! ( :: std :: mem :: size_of :: < opj_jp2_index > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( opj_jp2_index ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < opj_jp2_index > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( opj_jp2_index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < opj_jp2_index > ( ) ) ) . not_used as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( opj_jp2_index ) , "::" , stringify ! ( not_used ) ) ) ; } pub type opj_jp2_index_t = opj_jp2_index ; extern "C" { pub fn opj_version ( ) -> * const :: std :: os :: raw :: c_char ; } extern "C" {
pub fn opj_image_create ( numcmpts : OPJ_UINT32 , cmptparms : * mut opj_image_cmptparm_t , clrspc : OPJ_COLOR_SPACE ) -> * mut opj_image_t ; } extern "C" {
pub fn opj_image_destroy ( image : * mut opj_image_t ) ; } extern "C" {
pub fn opj_image_tile_create ( numcmpts : OPJ_UINT32 , cmptparms : * mut opj_image_cmptparm_t , clrspc : OPJ_COLOR_SPACE ) -> * mut opj_image_t ; } extern "C" {
pub fn opj_image_data_alloc ( size : OPJ_SIZE_T ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" {
pub fn opj_image_data_free ( ptr : * mut :: std :: os :: raw :: c_void ) ; } extern "C" {
pub fn opj_stream_default_create ( p_is_input : OPJ_BOOL ) -> * mut opj_stream_t ; } extern "C" {
pub fn opj_stream_create ( p_buffer_size : OPJ_SIZE_T , p_is_input : OPJ_BOOL ) -> * mut opj_stream_t ; } extern "C" {
pub fn opj_stream_destroy ( p_stream : * mut opj_stream_t ) ; } extern "C" {
pub fn opj_stream_set_read_function ( p_stream : * mut opj_stream_t , p_function : opj_stream_read_fn ) ; } extern "C" {
pub fn opj_stream_set_write_function ( p_stream : * mut opj_stream_t , p_function : opj_stream_write_fn ) ; } extern "C" {
pub fn opj_stream_set_skip_function ( p_stream : * mut opj_stream_t , p_function : opj_stream_skip_fn ) ; } extern "C" {
pub fn opj_stream_set_seek_function ( p_stream : * mut opj_stream_t , p_function : opj_stream_seek_fn ) ; } extern "C" {
pub fn opj_stream_set_user_data ( p_stream : * mut opj_stream_t , p_data : * mut :: std :: os :: raw :: c_void , p_function : opj_stream_free_user_data_fn ) ; } extern "C" {
pub fn opj_stream_set_user_data_length ( p_stream : * mut opj_stream_t , data_length : OPJ_UINT64 ) ; } extern "C" {
pub fn opj_stream_create_default_file_stream ( fname : * const :: std :: os :: raw :: c_char , p_is_read_stream : OPJ_BOOL ) -> * mut opj_stream_t ; } extern "C" {
pub fn opj_stream_create_file_stream ( fname : * const :: std :: os :: raw :: c_char , p_buffer_size : OPJ_SIZE_T , p_is_read_stream : OPJ_BOOL ) -> * mut opj_stream_t ; } extern "C" {
pub fn opj_set_info_handler ( p_codec : * mut opj_codec_t , p_callback : opj_msg_callback , p_user_data : * mut :: std :: os :: raw :: c_void ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_set_warning_handler ( p_codec : * mut opj_codec_t , p_callback : opj_msg_callback , p_user_data : * mut :: std :: os :: raw :: c_void ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_set_error_handler ( p_codec : * mut opj_codec_t , p_callback : opj_msg_callback , p_user_data : * mut :: std :: os :: raw :: c_void ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_create_decompress ( format : OPJ_CODEC_FORMAT ) -> * mut opj_codec_t ; } extern "C" {
pub fn opj_destroy_codec ( p_codec : * mut opj_codec_t ) ; } extern "C" {
pub fn opj_end_decompress ( p_codec : * mut opj_codec_t , p_stream : * mut opj_stream_t ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_set_default_decoder_parameters ( parameters : * mut opj_dparameters_t ) ; } extern "C" {
pub fn opj_setup_decoder ( p_codec : * mut opj_codec_t , parameters : * mut opj_dparameters_t ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_codec_set_threads ( p_codec : * mut opj_codec_t , num_threads : :: std :: os :: raw :: c_int ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_read_header ( p_stream : * mut opj_stream_t , p_codec : * mut opj_codec_t , p_image : * mut * mut opj_image_t ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_set_decoded_components ( p_codec : * mut opj_codec_t , numcomps : OPJ_UINT32 , comps_indices : * const OPJ_UINT32 , apply_color_transforms : OPJ_BOOL ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_set_decode_area ( p_codec : * mut opj_codec_t , p_image : * mut opj_image_t , p_start_x : OPJ_INT32 , p_start_y : OPJ_INT32 , p_end_x : OPJ_INT32 , p_end_y : OPJ_INT32 ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_decode ( p_decompressor : * mut opj_codec_t , p_stream : * mut opj_stream_t , p_image : * mut opj_image_t ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_get_decoded_tile ( p_codec : * mut opj_codec_t , p_stream : * mut opj_stream_t , p_image : * mut opj_image_t , tile_index : OPJ_UINT32 ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_set_decoded_resolution_factor ( p_codec : * mut opj_codec_t , res_factor : OPJ_UINT32 ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_write_tile ( p_codec : * mut opj_codec_t , p_tile_index : OPJ_UINT32 , p_data : * mut OPJ_BYTE , p_data_size : OPJ_UINT32 , p_stream : * mut opj_stream_t ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_read_tile_header ( p_codec : * mut opj_codec_t , p_stream : * mut opj_stream_t , p_tile_index : * mut OPJ_UINT32 , p_data_size : * mut OPJ_UINT32 , p_tile_x0 : * mut OPJ_INT32 , p_tile_y0 : * mut OPJ_INT32 , p_tile_x1 : * mut OPJ_INT32 , p_tile_y1 : * mut OPJ_INT32 , p_nb_comps : * mut OPJ_UINT32 , p_should_go_on : * mut OPJ_BOOL ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_decode_tile_data ( p_codec : * mut opj_codec_t , p_tile_index : OPJ_UINT32 , p_data : * mut OPJ_BYTE , p_data_size : OPJ_UINT32 , p_stream : * mut opj_stream_t ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_create_compress ( format : OPJ_CODEC_FORMAT ) -> * mut opj_codec_t ; } extern "C" {
pub fn opj_set_default_encoder_parameters ( parameters : * mut opj_cparameters_t ) ; } extern "C" {
pub fn opj_setup_encoder ( p_codec : * mut opj_codec_t , parameters : * mut opj_cparameters_t , image : * mut opj_image_t ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_start_compress ( p_codec : * mut opj_codec_t , p_image : * mut opj_image_t , p_stream : * mut opj_stream_t ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_end_compress ( p_codec : * mut opj_codec_t , p_stream : * mut opj_stream_t ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_encode ( p_codec : * mut opj_codec_t , p_stream : * mut opj_stream_t ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_destroy_cstr_info ( cstr_info : * mut * mut opj_codestream_info_v2_t ) ; } extern "C" {
pub fn opj_dump_codec ( p_codec : * mut opj_codec_t , info_flag : OPJ_INT32 , output_stream : * mut FILE ) ; } extern "C" {
pub fn opj_get_cstr_info ( p_codec : * mut opj_codec_t ) -> * mut opj_codestream_info_v2_t ; } extern "C" {
pub fn opj_get_cstr_index ( p_codec : * mut opj_codec_t ) -> * mut opj_codestream_index_t ; } extern "C" { pub fn opj_destroy_cstr_index ( p_cstr_index : * mut * mut opj_codestream_index_t ) ; } extern "C" {
pub fn opj_get_jp2_metadata ( p_codec : * mut opj_codec_t ) -> * mut opj_jp2_metadata_t ; } extern "C" {
pub fn opj_get_jp2_index ( p_codec : * mut opj_codec_t ) -> * mut opj_jp2_index_t ; } extern "C" {
pub fn opj_set_MCT ( parameters : * mut opj_cparameters_t , pEncodingMatrix : * mut OPJ_FLOAT32 , p_dc_shift : * mut OPJ_INT32 , pNbComp : OPJ_UINT32 ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_has_thread_support ( ) -> OPJ_BOOL ; } extern "C" {
pub fn opj_get_num_cpus ( ) -> :: std :: os :: raw :: c_int ; } pub type __builtin_va_list = [ __va_list_tag ; 1usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] 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 { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . gp_offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( gp_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . fp_offset as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( fp_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . overflow_arg_area as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( overflow_arg_area ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . reg_save_area as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( reg_save_area ) ) ) ; }