Atmel Software Framework

jpeg_memory_mgr Struct Reference

#include <jpeglib.h>

Public Member Functions

 JMETHOD (void *, alloc_small,(j_common_ptr cinfo, int pool_id, size_t sizeofobject))
 
 JMETHOD (void FAR *, alloc_large,(j_common_ptr cinfo, int pool_id, size_t sizeofobject))
 
 JMETHOD (JSAMPARRAY, alloc_sarray,(j_common_ptr cinfo, int pool_id, JDIMENSION samplesperrow, JDIMENSION numrows))
 
 JMETHOD (JBLOCKARRAY, alloc_barray,(j_common_ptr cinfo, int pool_id, JDIMENSION blocksperrow, JDIMENSION numrows))
 
 JMETHOD (jvirt_sarray_ptr, request_virt_sarray,(j_common_ptr cinfo, int pool_id, boolean pre_zero, JDIMENSION samplesperrow, JDIMENSION numrows, JDIMENSION maxaccess))
 
 JMETHOD (jvirt_barray_ptr, request_virt_barray,(j_common_ptr cinfo, int pool_id, boolean pre_zero, JDIMENSION blocksperrow, JDIMENSION numrows, JDIMENSION maxaccess))
 
 JMETHOD (void, realize_virt_arrays,(j_common_ptr cinfo))
 
 JMETHOD (JSAMPARRAY, access_virt_sarray,(j_common_ptr cinfo, jvirt_sarray_ptr ptr, JDIMENSION start_row, JDIMENSION num_rows, boolean writable))
 
 JMETHOD (JBLOCKARRAY, access_virt_barray,(j_common_ptr cinfo, jvirt_barray_ptr ptr, JDIMENSION start_row, JDIMENSION num_rows, boolean writable))
 
 JMETHOD (void, free_pool,(j_common_ptr cinfo, int pool_id))
 
 JMETHOD (void, self_destruct,(j_common_ptr cinfo))
 

Data Fields

long max_alloc_chunk
 
long max_memory_to_use
 

jpeg_memory_mgr::JMETHOD ( void *  ,
alloc_small  ,
(j_common_ptr cinfo, int pool_id, size_t sizeofobject  
)
jpeg_memory_mgr::JMETHOD ( void FAR ,
alloc_large  ,
(j_common_ptr cinfo, int pool_id, size_t sizeofobject  
)
jpeg_memory_mgr::JMETHOD ( JSAMPARRAY  ,
alloc_sarray  ,
(j_common_ptr cinfo, int pool_id, JDIMENSION samplesperrow, JDIMENSION numrows)   
)
jpeg_memory_mgr::JMETHOD ( JBLOCKARRAY  ,
alloc_barray  ,
(j_common_ptr cinfo, int pool_id, JDIMENSION blocksperrow, JDIMENSION numrows)   
)
jpeg_memory_mgr::JMETHOD ( jvirt_sarray_ptr  ,
request_virt_sarray  ,
(j_common_ptr cinfo, int pool_id, boolean pre_zero, JDIMENSION samplesperrow, JDIMENSION numrows, JDIMENSION maxaccess)   
)
jpeg_memory_mgr::JMETHOD ( jvirt_barray_ptr  ,
request_virt_barray  ,
(j_common_ptr cinfo, int pool_id, boolean pre_zero, JDIMENSION blocksperrow, JDIMENSION numrows, JDIMENSION maxaccess)   
)
jpeg_memory_mgr::JMETHOD ( void  ,
realize_virt_arrays  ,
(j_common_ptr cinfo  
)
jpeg_memory_mgr::JMETHOD ( JSAMPARRAY  ,
access_virt_sarray  ,
(j_common_ptr cinfo, jvirt_sarray_ptr ptr, JDIMENSION start_row, JDIMENSION num_rows, boolean writable)   
)
jpeg_memory_mgr::JMETHOD ( JBLOCKARRAY  ,
access_virt_barray  ,
(j_common_ptr cinfo, jvirt_barray_ptr ptr, JDIMENSION start_row, JDIMENSION num_rows, boolean writable)   
)
jpeg_memory_mgr::JMETHOD ( void  ,
free_pool  ,
(j_common_ptr cinfo, int pool_id)   
)
jpeg_memory_mgr::JMETHOD ( void  ,
self_destruct  ,
(j_common_ptr cinfo  
)

long jpeg_memory_mgr::max_alloc_chunk

Referenced by jinit_memory_mgr().

long jpeg_memory_mgr::max_memory_to_use

Referenced by jinit_memory_mgr().