Classes |
struct | EMScontext |
union | EMSspec |
struct | XMScontext |
union | XMSPTR |
struct | XMSspec |
Defines |
#define | DEFAULT_MAX_MEM 300000L /* for total usage about 450K */ |
#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 | DST_TYPE(spec) FIELD_AT(spec,11,char) |
#define | EMS_SUPPORTED 1 |
#define | EMSPAGESIZE 16384L /* gospel, see the EMS specs */ |
#define | far_free(x) free(x) |
#define | far_malloc(x) malloc(x) |
#define | FIELD_AT(spec, offset, type) (*((type *) &(spec.bytes[offset]))) |
#define | HIBYTE(W) (((W) >> 8) & 0xFF) |
#define | JPEG_INTERNALS |
#define | LOBYTE(W) ((W) & 0xFF) |
#define | ODD(X) (((X) & 1L) != 0) |
#define | READ_BINARY "rb" |
#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 | SRC_TYPE(spec) FIELD_AT(spec,4,char) |
#define | XMS_SUPPORTED 1 |
Typedefs |
typedef void far * | EMSPTR |
Functions |
| close_ems_store (j_common_ptr cinfo, backing_store_ptr info) |
| close_file_store (j_common_ptr cinfo, backing_store_ptr info) |
| 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) |
| 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) |
| 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) |
short far jdos_open | JPP ((short far *handle, char far *filename)) |
short far jdos_close | JPP ((short handle)) |
short far jdos_seek | JPP ((short handle, long offset)) |
short far jdos_read | JPP ((short handle, void far *buffer, unsigned short count)) |
void far jxms_getdriver | JPP ((XMSDRIVER far *)) |
void far jxms_calldriver | JPP ((XMSDRIVER, XMScontext far *)) |
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) |
| open_file_store (j_common_ptr cinfo, backing_store_ptr info, long total_bytes_needed) |
| open_xms_store (j_common_ptr cinfo, backing_store_ptr info, long total_bytes_needed) |
| read_ems_store (j_common_ptr cinfo, backing_store_ptr info, void FAR *buffer_address, long file_offset, long byte_count) |
| 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) |
| write_ems_store (j_common_ptr cinfo, backing_store_ptr info, void FAR *buffer_address, long file_offset, long byte_count) |
| 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) |
Variables |
static int | next_file_num |
static XMSDRIVER | xms_driver |
You forgot to define
USE_MSDOS_MEMMGR in jconfig h
MAX_ALLOC_CHUNK should be less
than typedef void far * | XMSDRIVER |