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 | XMS_SUPPORTED 1 |
#define | EMS_SUPPORTED 1 |
#define | JPEG_INTERNALS |
#define | far_malloc(x) malloc(x) |
#define | far_free(x) free(x) |
#define | READ_BINARY "rb" |
#define | DEFAULT_MAX_MEM 300000L /* for total usage about 450K */ |
#define | ODD(X) (((X) & 1L) != 0) |
#define | FIELD_AT(spec, offset, type) (*((type *) &(spec.bytes[offset]))) |
#define | SRC_TYPE(spec) FIELD_AT(spec,4,char) |
#define | SRC_HANDLE(spec) FIELD_AT(spec,5,EMSH) |
#define | SRC_OFFSET(spec) FIELD_AT(spec,7,unsigned short) |
#define | SRC_PAGE(spec) FIELD_AT(spec,9,unsigned short) |
#define | SRC_PTR(spec) FIELD_AT(spec,7,EMSPTR) |
#define | DST_TYPE(spec) FIELD_AT(spec,11,char) |
#define | DST_HANDLE(spec) FIELD_AT(spec,12,EMSH) |
#define | DST_OFFSET(spec) FIELD_AT(spec,14,unsigned short) |
#define | DST_PAGE(spec) FIELD_AT(spec,16,unsigned short) |
#define | DST_PTR(spec) FIELD_AT(spec,14,EMSPTR) |
#define | EMSPAGESIZE 16384L /* gospel, see the EMS specs */ |
#define | HIBYTE(W) (((W) >> 8) & 0xFF) |
#define | LOBYTE(W) ((W) & 0xFF) |
Typedefs | |
typedef void far * | EMSPTR |
Variables | |
You forgot to define USE_MSDOS_MEMMGR in jconfig h MAX_ALLOC_CHUNK should be less than typedef void far * | XMSDRIVER |
#define DEFAULT_MAX_MEM 300000L /* for total usage about 450K */ |
#define DST_HANDLE | ( | spec | ) | FIELD_AT(spec,12,EMSH) |
Definition at line 479 of file jmemdos.c.
Referenced by read_ems_store(), and write_ems_store().
#define DST_OFFSET | ( | spec | ) | FIELD_AT(spec,14,unsigned short) |
Definition at line 480 of file jmemdos.c.
Referenced by write_ems_store().
#define DST_PAGE | ( | spec | ) | FIELD_AT(spec,16,unsigned short) |
Definition at line 481 of file jmemdos.c.
Referenced by write_ems_store().
Definition at line 482 of file jmemdos.c.
Referenced by read_ems_store().
#define DST_TYPE | ( | spec | ) | FIELD_AT(spec,11,char) |
Definition at line 478 of file jmemdos.c.
Referenced by read_ems_store(), and write_ems_store().
#define EMSPAGESIZE 16384L /* gospel, see the EMS specs */ |
Definition at line 484 of file jmemdos.c.
Referenced by open_ems_store(), read_ems_store(), and write_ems_store().
Definition at line 70 of file jmemdos.c.
Referenced by jpeg_free_large().
Definition at line 69 of file jmemdos.c.
Referenced by jpeg_get_large().
#define HIBYTE | ( | W | ) | (((W) >> 8) & 0xFF) |
Definition at line 486 of file jmemdos.c.
Referenced by open_ems_store(), read_ems_store(), and write_ems_store().
#define LOBYTE | ( | W | ) | ((W) & 0xFF) |
Definition at line 487 of file jmemdos.c.
Referenced by open_ems_store().
#define READ_BINARY "rb" |
Definition at line 77 of file jmemdos.c.
Referenced by select_file_name().
#define SRC_HANDLE | ( | spec | ) | FIELD_AT(spec,5,EMSH) |
Definition at line 474 of file jmemdos.c.
Referenced by read_ems_store(), and write_ems_store().
#define SRC_OFFSET | ( | spec | ) | FIELD_AT(spec,7,unsigned short) |
Definition at line 475 of file jmemdos.c.
Referenced by read_ems_store().
#define SRC_PAGE | ( | spec | ) | FIELD_AT(spec,9,unsigned short) |
Definition at line 476 of file jmemdos.c.
Referenced by read_ems_store().
Definition at line 477 of file jmemdos.c.
Referenced by write_ems_store().
#define SRC_TYPE | ( | spec | ) | FIELD_AT(spec,4,char) |
Definition at line 473 of file jmemdos.c.
Referenced by read_ems_store(), and write_ems_store().
close_ems_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info | ||
) |
close_file_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info | ||
) |
Definition at line 275 of file jmemdos.c.
References info, LOCAL, backing_store_struct::temp_name, and TRACEMSS.
Referenced by open_file_store().
close_xms_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info | ||
) |
jpeg_free_large | ( | j_common_ptr | cinfo, |
void FAR * | object, | ||
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 | ||
) |
Definition at line 183 of file jmemdos.c.
References FAR, far_malloc, GLOBAL, and sizeofobject.
jpeg_get_small | ( | j_common_ptr | cinfo, |
size_t | sizeofobject | ||
) |
jpeg_mem_available | ( | j_common_ptr | cinfo, |
long | min_bytes_needed, | ||
long | max_bytes_needed, | ||
long | already_allocated | ||
) |
Definition at line 208 of file jmemdos.c.
References already_allocated, and METHODDEF.
jpeg_mem_init | ( | j_common_ptr | cinfo | ) |
jpeg_mem_term | ( | j_common_ptr | cinfo | ) |
jpeg_open_backing_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info, | ||
long | total_bytes_needed | ||
) |
Definition at line 599 of file jmemdos.c.
References ERREXITS, GLOBAL, info, open_ems_store(), open_file_store(), open_xms_store(), and total_bytes_needed.
short far jdos_open JPP | ( | (short far *handle, char far *filename) | ) |
short far jdos_close JPP | ( | (short handle) | ) |
short far jems_available JPP | ( | (void) | ) |
void far jems_calldriver JPP | ( | (EMScontext far *) | ) |
open_ems_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info, | ||
long | total_bytes_needed | ||
) |
Definition at line 554 of file jmemdos.c.
References close_ems_store(), EMSPAGESIZE, FALSE, GLOBAL, HIBYTE, info, LOBYTE, read_ems_store(), total_bytes_needed, TRACEMS1, TRUE, and write_ems_store().
Referenced by jpeg_open_backing_store().
open_file_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info, | ||
long | total_bytes_needed | ||
) |
Definition at line 288 of file jmemdos.c.
References close_file_store(), ERREXITS, FALSE, info, read_file_store(), select_file_name(), backing_store_struct::temp_name, TRACEMSS, TRUE, write_file_store(), and XMSDRIVER.
Referenced by jpeg_open_backing_store().
open_xms_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info, | ||
long | total_bytes_needed | ||
) |
Definition at line 414 of file jmemdos.c.
References XMSDRIVER.
Referenced by jpeg_open_backing_store().
read_ems_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info, | ||
void FAR * | buffer_address, | ||
long | file_offset, | ||
long | byte_count | ||
) |
Definition at line 491 of file jmemdos.c.
References DST_HANDLE, DST_PTR, DST_TYPE, EMSPAGESIZE, ERREXIT, HIBYTE, METHODDEF, SRC_HANDLE, SRC_OFFSET, SRC_PAGE, and SRC_TYPE.
Referenced by open_ems_store().
read_file_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info, | ||
void FAR * | buffer_address, | ||
long | file_offset, | ||
long | byte_count | ||
) |
read_xms_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info, | ||
void FAR * | buffer_address, | ||
long | file_offset, | ||
long | byte_count | ||
) |
select_file_name | ( | char * | fname | ) |
Definition at line 128 of file jmemdos.c.
References GLOBAL, NULL, ptr, and READ_BINARY.
Referenced by open_file_store().
write_ems_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info, | ||
void FAR * | buffer_address, | ||
long | file_offset, | ||
long | byte_count | ||
) |
Definition at line 516 of file jmemdos.c.
References DST_HANDLE, DST_OFFSET, DST_PAGE, DST_TYPE, EMSPAGESIZE, ERREXIT, HIBYTE, info, METHODDEF, SRC_HANDLE, SRC_PTR, and SRC_TYPE.
Referenced by open_ems_store().
write_file_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info, | ||
void FAR * | buffer_address, | ||
long | file_offset, | ||
long | byte_count | ||
) |
write_xms_store | ( | j_common_ptr | cinfo, |
backing_store_ptr | info, | ||
void FAR * | buffer_address, | ||
long | file_offset, | ||
long | byte_count | ||
) |
You forgot to define USE_MSDOS_MEMMGR in jconfig h MAX_ALLOC_CHUNK should be less than typedef void far* XMSDRIVER |
Definition at line 97 of file jmemdos.c.
Referenced by open_file_store(), and open_xms_store().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:56.
© Copyright Michele Bosi. All rights reserved.