struct jpeg_memory_mgr
{
void* (*alloc_small) (j_common_ptr cinfo, int pool_id, size_t sizeofobject);
- void (*alloc_large) (void *dummy, ...);
- void (*alloc_sarray) (void *dummy, ...);
- void (*alloc_barray) (void *dummy, ...);
- void (*request_virt_sarray) (void *dummy, ...);
- void (*request_virt_barray) (void *dummy, ...);
- void (*realize_virt_arrays) (void *dummy, ...);
- void (*access_virt_sarray) (void *dummy, ...);
- void (*access_virt_barray) (void *dummy, ...);
- void (*free_pool) (void *dummy, ...);
- void (*self_destruct) (void *dummy, ...);
+ void (*_reserve_space_for_alloc_large) (void *dummy, ...);
+ void (*_reserve_space_for_alloc_sarray) (void *dummy, ...);
+ void (*_reserve_space_for_alloc_barray) (void *dummy, ...);
+ void (*_reserve_space_for_request_virt_sarray) (void *dummy, ...);
+ void (*_reserve_space_for_request_virt_barray) (void *dummy, ...);
+ void (*_reserve_space_for_realize_virt_arrays) (void *dummy, ...);
+ void (*_reserve_space_for_access_virt_sarray) (void *dummy, ...);
+ void (*_reserve_space_for_access_virt_barray) (void *dummy, ...);
+ void (*_reserve_space_for_free_pool) (void *dummy, ...);
+ void (*_reserve_space_for_self_destruct) (void *dummy, ...);
long max_memory_to_use;
long max_alloc_chunk;