Struct mozjpeg_sys::jpeg_memory_mgr [] [src]

#[repr(C)]
pub struct jpeg_memory_mgr { pub alloc_small: Option<extern "C" fn(_: &mut jpeg_common_struct, _: c_int, _: usize) -> *mut c_void>, pub alloc_large: Option<extern "C" fn(_: &mut jpeg_common_struct, _: c_int, _: usize) -> *mut c_void>, pub alloc_sarray: Option<extern "C" fn(_: &mut jpeg_common_struct, _: c_int, _: JDIMENSION, _: JDIMENSION) -> JSAMPARRAY_MUT>, pub alloc_barray: Option<extern "C" fn(_: &mut jpeg_common_struct, _: c_int, _: JDIMENSION, _: JDIMENSION) -> JBLOCKARRAY>, pub request_virt_sarray: Option<extern "C" fn(_: &mut jpeg_common_struct, _: c_int, _: boolean, _: JDIMENSION, _: JDIMENSION, _: JDIMENSION) -> *mut jvirt_sarray_control>, pub request_virt_barray: Option<extern "C" fn(_: &mut jpeg_common_struct, _: c_int, _: boolean, _: JDIMENSION, _: JDIMENSION, _: JDIMENSION) -> *mut jvirt_barray_control>, pub realize_virt_arrays: Option<extern "C" fn(_: &mut jpeg_common_struct)>, pub access_virt_sarray: Option<extern "C" fn(_: &mut jpeg_common_struct, _: *mut jvirt_sarray_control, _: JDIMENSION, _: JDIMENSION, _: boolean) -> JSAMPARRAY_MUT>, pub access_virt_barray: Option<extern "C" fn(_: &mut jpeg_common_struct, _: *mut jvirt_barray_control, _: JDIMENSION, _: JDIMENSION, _: boolean) -> JBLOCKARRAY>, pub free_pool: Option<extern "C" fn(_: &mut jpeg_common_struct, _: c_int)>, pub self_destruct: Option<extern "C" fn(_: &mut jpeg_common_struct)>, pub max_memory_to_use: c_long, pub max_alloc_chunk: c_long, }

Fields