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 | SEEK_SET 0 /* if not, assume 0 is correct */ |
#define | READ_BINARY "rb" |
#define | RW_BINARY "w+b" |
#define | TEMP_DIRECTORY "/usr/tmp/" /* recommended setting for Unix */ |
#define | TEMP_FILE_NAME "%sJPG%dXXXXXX" |
#define | DEFAULT_MAX_MEM 1000000L /* default: one megabyte */ |
Functions | |
select_file_name (char *fname) | |
jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) | |
jpeg_free_small (j_common_ptr cinfo, void *object, size_t sizeofobject) | |
jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) | |
jpeg_free_large (j_common_ptr cinfo, void FAR *object, size_t sizeofobject) | |
jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, long max_bytes_needed, long already_allocated) | |
read_backing_store (j_common_ptr cinfo, backing_store_ptr info, void FAR *buffer_address, long file_offset, long byte_count) | |
write_backing_store (j_common_ptr cinfo, backing_store_ptr info, void FAR *buffer_address, long file_offset, long byte_count) | |
close_backing_store (j_common_ptr cinfo, backing_store_ptr info) | |
jpeg_open_backing_store (j_common_ptr cinfo, backing_store_ptr info, long total_bytes_needed) | |
jpeg_mem_init (j_common_ptr cinfo) | |
jpeg_mem_term (j_common_ptr cinfo) | |
#define DEFAULT_MAX_MEM 1000000L /* default: one megabyte */ |
Definition at line 184 of file jmemname.c.
#define JPEG_INTERNALS |
Definition at line 15 of file jmemname.c.
#define READ_BINARY "rb" |
Definition at line 37 of file jmemname.c.
#define RW_BINARY "w+b" |
Definition at line 38 of file jmemname.c.
Referenced by jpeg_open_backing_store().
#define SEEK_SET 0 /* if not, assume 0 is correct */ |
Definition at line 26 of file jmemname.c.
Referenced by read_backing_store(), and write_backing_store().
#define TEMP_DIRECTORY "/usr/tmp/" /* recommended setting for Unix */ |
Definition at line 70 of file jmemname.c.
Referenced by select_file_name().
#define TEMP_FILE_NAME "%sJPG%dXXXXXX" |
Definition at line 122 of file jmemname.c.
Referenced by select_file_name().
close_backing_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info | ||
) |
Definition at line 230 of file jmemname.c.
References GLOBAL, info, backing_store_struct::temp_file, backing_store_struct::temp_name, and TRACEMSS.
Referenced by jpeg_open_backing_store().
jpeg_free_large | ( | j_common_ptr | cinfo, |
void FAR * | object, | ||
size_t | sizeofobject | ||
) |
Definition at line 169 of file jmemname.c.
References free().
jpeg_free_small | ( | j_common_ptr | cinfo, |
void * | object, | ||
size_t | sizeofobject | ||
) |
Definition at line 149 of file jmemname.c.
jpeg_get_large | ( | j_common_ptr | cinfo, |
size_t | sizeofobject | ||
) |
Definition at line 163 of file jmemname.c.
References FAR, GLOBAL, malloc(), and sizeofobject.
jpeg_get_small | ( | j_common_ptr | cinfo, |
size_t | sizeofobject | ||
) |
Definition at line 143 of file jmemname.c.
jpeg_mem_available | ( | j_common_ptr | cinfo, |
long | min_bytes_needed, | ||
long | max_bytes_needed, | ||
long | already_allocated | ||
) |
Definition at line 188 of file jmemname.c.
References already_allocated, and METHODDEF.
jpeg_mem_init | ( | j_common_ptr | cinfo | ) |
Definition at line 266 of file jmemname.c.
jpeg_mem_term | ( | j_common_ptr | cinfo | ) |
Definition at line 273 of file jmemname.c.
jpeg_open_backing_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info, | ||
long | total_bytes_needed | ||
) |
Definition at line 247 of file jmemname.c.
References close_backing_store(), ERREXITS, GLOBAL, info, NULL, read_backing_store(), RW_BINARY, select_file_name(), backing_store_struct::temp_file, backing_store_struct::temp_name, TRACEMSS, and write_backing_store().
read_backing_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info, | ||
void FAR * | buffer_address, | ||
long | file_offset, | ||
long | byte_count | ||
) |
Definition at line 204 of file jmemname.c.
References ERREXIT, info, JFREAD, METHODDEF, SEEK_SET, and backing_store_struct::temp_file.
Referenced by jpeg_open_backing_store().
select_file_name | ( | char * | fname | ) |
Definition at line 126 of file jmemname.c.
References GLOBAL, TEMP_DIRECTORY, and TEMP_FILE_NAME.
Referenced by jpeg_open_backing_store().
write_backing_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info, | ||
void FAR * | buffer_address, | ||
long | file_offset, | ||
long | byte_count | ||
) |
Definition at line 217 of file jmemname.c.
References ERREXIT, info, JFWRITE, METHODDEF, SEEK_SET, and backing_store_struct::temp_file.
Referenced by jpeg_open_backing_store().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:56.
© Copyright Michele Bosi. All rights reserved.