Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Go to the source code of this file.
Macros | |
#define | JPEG_INTERNALS |
#define | AM_MEMORY_MANAGER /* we define jvirt_Xarray_control structs */ |
#define | ALIGN_TYPE double |
#define | MIN_SLOP 50 /* greater than 0 to avoid futile looping */ |
Typedefs | |
typedef union small_pool_struct * | small_pool_ptr |
typedef union small_pool_struct | small_pool_hdr |
typedef union large_pool_struct FAR * | large_pool_ptr |
typedef union large_pool_struct | large_pool_hdr |
typedef my_memory_mgr * | my_mem_ptr |
#define ALIGN_TYPE double |
Definition at line 73 of file jmemmgr.c.
Referenced by alloc_large(), alloc_small(), and jinit_memory_mgr().
#define AM_MEMORY_MANAGER /* we define jvirt_Xarray_control structs */ |
#define MIN_SLOP 50 /* greater than 0 to avoid futile looping */ |
typedef union large_pool_struct large_pool_hdr |
typedef union large_pool_struct FAR* large_pool_ptr |
typedef my_memory_mgr* my_mem_ptr |
typedef union small_pool_struct small_pool_hdr |
typedef union small_pool_struct* small_pool_ptr |
access_virt_barray | ( | j_common_ptr | cinfo, |
jvirt_barray_ptr | ptr, | ||
JDIMENSION | start_row, | ||
JDIMENSION | num_rows, | ||
boolean | writable | ||
) |
Definition at line 841 of file jmemmgr.c.
References do_barray_io(), ERREXIT, FALSE, FAR, jzero_far(), long(), METHODDEF, NULL, num_rows, ptr, SIZEOF, and TRUE.
Referenced by jinit_memory_mgr().
access_virt_sarray | ( | j_common_ptr | cinfo, |
jvirt_sarray_ptr | ptr, | ||
JDIMENSION | start_row, | ||
JDIMENSION | num_rows, | ||
boolean | writable | ||
) |
Definition at line 756 of file jmemmgr.c.
References do_sarray_io(), ERREXIT, FALSE, FAR, jzero_far(), long(), METHODDEF, NULL, num_rows, ptr, SIZEOF, and TRUE.
Referenced by jinit_memory_mgr().
alloc_barray | ( | j_common_ptr | cinfo, |
int | pool_id, | ||
JDIMENSION | blocksperrow, | ||
JDIMENSION | numrows | ||
) |
Definition at line 443 of file jmemmgr.c.
References alloc_large(), alloc_small(), ERREXIT, i, MAX_ALLOC_CHUNK, METHODDEF, MIN, and SIZEOF.
Referenced by jinit_memory_mgr(), and realize_virt_arrays().
alloc_large | ( | j_common_ptr | cinfo, |
int | pool_id, | ||
size_t | sizeofobject | ||
) |
Definition at line 342 of file jmemmgr.c.
References ALIGN_TYPE, ERREXIT1, FAR, if(), jpeg_get_large(), JPOOL_NUMPOOLS, MAX_ALLOC_CHUNK, METHODDEF, NULL, out_of_memory(), SIZEOF, and sizeofobject.
Referenced by alloc_barray(), alloc_sarray(), and jinit_memory_mgr().
alloc_sarray | ( | j_common_ptr | cinfo, |
int | pool_id, | ||
JDIMENSION | samplesperrow, | ||
JDIMENSION | numrows | ||
) |
Definition at line 395 of file jmemmgr.c.
References alloc_large(), alloc_small(), ERREXIT, i, MAX_ALLOC_CHUNK, METHODDEF, MIN, and SIZEOF.
Referenced by jinit_memory_mgr(), and realize_virt_arrays().
alloc_small | ( | j_common_ptr | cinfo, |
int | pool_id, | ||
size_t | sizeofobject | ||
) |
Definition at line 257 of file jmemmgr.c.
References ALIGN_TYPE, ERREXIT1, if(), JPOOL_NUMPOOLS, MAX_ALLOC_CHUNK, NULL, out_of_memory(), and SIZEOF.
Referenced by alloc_barray(), alloc_sarray(), jinit_memory_mgr(), request_virt_barray(), and request_virt_sarray().
do_barray_io | ( | j_common_ptr | cinfo, |
jvirt_barray_ptr | ptr, | ||
boolean | writing | ||
) |
do_sarray_io | ( | j_common_ptr | cinfo, |
jvirt_sarray_ptr | ptr, | ||
boolean | writing | ||
) |
free_pool | ( | j_common_ptr | cinfo, |
int | pool_id | ||
) |
Definition at line 930 of file jmemmgr.c.
References ERREXIT1, FALSE, FAR, if(), jpeg_free_large(), jpeg_free_small(), JPOOL_IMAGE, JPOOL_NUMPOOLS, METHODDEF, NULL, and SIZEOF.
Referenced by jinit_memory_mgr(), and self_destruct().
jinit_memory_mgr | ( | j_common_ptr | cinfo | ) |
Definition at line 1028 of file jmemmgr.c.
References access_virt_barray(), access_virt_sarray(), ALIGN_TYPE, alloc_barray(), alloc_large(), alloc_sarray(), alloc_small(), ERREXIT, ERREXIT1, free_pool(), jpeg_get_small(), jpeg_mem_init(), jpeg_mem_term(), JPOOL_NUMPOOLS, JPOOL_PERMANENT, MAX_ALLOC_CHUNK, NULL, realize_virt_arrays(), request_virt_barray(), request_virt_sarray(), self_destruct(), and SIZEOF.
Referenced by jpeg_CreateCompress(), and jpeg_CreateDecompress().
out_of_memory | ( | j_common_ptr | cinfo, |
int | which | ||
) |
Definition at line 217 of file jmemmgr.c.
References ERREXIT1.
Referenced by alloc_large(), and alloc_small().
realize_virt_arrays | ( | j_common_ptr | cinfo | ) |
Definition at line 583 of file jmemmgr.c.
References alloc_barray(), alloc_sarray(), FALSE, for(), jpeg_mem_available(), jpeg_open_backing_store(), JPOOL_IMAGE, LOCAL, long(), NULL, SIZEOF, and TRUE.
Referenced by jinit_memory_mgr().
request_virt_barray | ( | j_common_ptr | cinfo, |
int | pool_id, | ||
boolean | pre_zero, | ||
JDIMENSION | blocksperrow, | ||
JDIMENSION | numrows, | ||
JDIMENSION | maxaccess | ||
) |
Definition at line 553 of file jmemmgr.c.
References alloc_small(), ERREXIT1, FALSE, if(), JPOOL_IMAGE, METHODDEF, NULL, and SIZEOF.
Referenced by jinit_memory_mgr().
request_virt_sarray | ( | j_common_ptr | cinfo, |
int | pool_id, | ||
boolean | pre_zero, | ||
JDIMENSION | samplesperrow, | ||
JDIMENSION | numrows, | ||
JDIMENSION | maxaccess | ||
) |
Definition at line 523 of file jmemmgr.c.
References alloc_small(), ERREXIT1, FALSE, if(), JPOOL_IMAGE, METHODDEF, NULL, and SIZEOF.
Referenced by jinit_memory_mgr().
self_destruct | ( | j_common_ptr | cinfo | ) |
Definition at line 1002 of file jmemmgr.c.
References free_pool(), GLOBAL, jpeg_free_small(), jpeg_mem_term(), JPOOL_NUMPOOLS, JPOOL_PERMANENT, NULL, and SIZEOF.
Referenced by jinit_memory_mgr().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:56.
© Copyright Michele Bosi. All rights reserved.