Struct mozjpeg_sys::jpeg_memory_mgr[][src]

#[repr(C)]
pub struct jpeg_memory_mgr { pub alloc_small: Option<extern "C" fn(cinfo: &mut jpeg_common_struct, pool_id: c_int, sizeofobject: usize) -> *mut c_void>, pub alloc_large: Option<extern "C" fn(cinfo: &mut jpeg_common_struct, pool_id: c_int, sizeofobject: usize) -> *mut c_void>, pub alloc_sarray: Option<extern "C" fn(cinfo: &mut jpeg_common_struct, pool_id: c_int, samplesperrow: JDIMENSION, numrows: JDIMENSION) -> JSAMPARRAY_MUT>, pub alloc_barray: Option<extern "C" fn(cinfo: &mut jpeg_common_struct, pool_id: c_int, blocksperrow: JDIMENSION, numrows: JDIMENSION) -> JBLOCKARRAY>, pub request_virt_sarray: Option<extern "C" fn(cinfo: &mut jpeg_common_struct, pool_id: c_int, pre_zero: boolean, samplesperrow: JDIMENSION, numrows: JDIMENSION, maxaccess: JDIMENSION) -> *mut jvirt_sarray_control>, pub request_virt_barray: Option<extern "C" fn(cinfo: &mut jpeg_common_struct, pool_id: c_int, pre_zero: boolean, blocksperrow: JDIMENSION, numrows: JDIMENSION, maxaccess: JDIMENSION) -> *mut jvirt_barray_control>, pub realize_virt_arrays: Option<extern "C" fn(cinfo: &mut jpeg_common_struct)>, pub access_virt_sarray: Option<extern "C" fn(cinfo: &mut jpeg_common_struct, ptr: *mut jvirt_sarray_control, start_row: JDIMENSION, num_rows: JDIMENSION, writable: boolean) -> JSAMPARRAY_MUT>, pub access_virt_barray: Option<extern "C" fn(cinfo: &mut jpeg_common_struct, ptr: *mut jvirt_barray_control, start_row: JDIMENSION, num_rows: JDIMENSION, writable: boolean) -> JBLOCKARRAY>, pub free_pool: Option<extern "C" fn(cinfo: &mut jpeg_common_struct, pool_id: c_int)>, pub self_destruct: Option<extern "C" fn(cinfo: &mut jpeg_common_struct)>, pub max_memory_to_use: c_long, pub max_alloc_chunk: c_long, }

Fields

Auto Trait Implementations