23 #ifdef NEED_SHORT_EXTERNAL_NAMES
24 #define jpeg_get_small jGetSmall
25 #define jpeg_free_small jFreeSmall
26 #define jpeg_get_large jGetLarge
27 #define jpeg_free_large jFreeLarge
28 #define jpeg_mem_available jMemAvail
29 #define jpeg_open_backing_store jOpenBackStore
30 #define jpeg_mem_init jMemInit
31 #define jpeg_mem_term jMemTerm
48 size_t sizeofobject));
61 size_t sizeofobject));
75 #ifndef MAX_ALLOC_CHUNK
76 #define MAX_ALLOC_CHUNK 1000000000L
102 long min_bytes_needed,
103 long max_bytes_needed,
104 long already_allocated));
114 #define TEMP_NAME_LENGTH 64
116 #ifdef USE_MSDOS_MEMMGR
118 typedef unsigned short XMSH;
119 typedef unsigned short EMSH;
134 backing_store_ptr info,
135 void FAR * buffer_address,
136 long file_offset,
long byte_count));
138 backing_store_ptr info,
139 void FAR * buffer_address,
140 long file_offset,
long byte_count));
142 backing_store_ptr info));
145 #ifdef USE_MSDOS_MEMMGR
165 backing_store_ptr info,
166 long total_bytes_needed));
JMETHOD(void, read_backing_store,(j_common_ptr cinfo, backing_store_ptr info, void FAR *buffer_address, long file_offset, long byte_count))
struct backing_store_struct * backing_store_ptr
char temp_name[TEMP_NAME_LENGTH]
GLOBAL void jpeg_mem_term(j_common_ptr cinfo)
GLOBAL void jpeg_free_large(j_common_ptr cinfo, void FAR *object, size_t sizeofobject)
GLOBAL long jpeg_mem_init(j_common_ptr cinfo)
GLOBAL void jpeg_free_small(j_common_ptr cinfo, void *object, size_t sizeofobject)
struct backing_store_struct backing_store_info
GLOBAL void jpeg_open_backing_store(j_common_ptr cinfo, backing_store_ptr info, long total_bytes_needed)
GLOBAL long jpeg_mem_available(j_common_ptr cinfo, long min_bytes_needed, long max_bytes_needed, long already_allocated)
GLOBAL void * jpeg_get_small(j_common_ptr cinfo, size_t sizeofobject)
EXTERN void *jpeg_get_small JPP((j_common_ptr cinfo, size_t sizeofobject))
METHODDEF void close_backing_store(j_common_ptr cinfo, backing_store_ptr info)
METHODDEF void write_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR *buffer_address, long file_offset, long byte_count)
METHODDEF void read_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR *buffer_address, long file_offset, long byte_count)
GLOBAL void FAR * jpeg_get_large(j_common_ptr cinfo, size_t sizeofobject)