15 #define JPEG_INTERNALS 38 return (
void *)
malloc(sizeofobject);
76 #ifndef DEFAULT_MAX_MEM 77 #define DEFAULT_MAX_MEM 1000000L 98 void FAR * buffer_address,
99 long file_offset,
long byte_count)
102 ERREXIT(cinfo, JERR_TFILE_SEEK);
104 != (
size_t) byte_count)
105 ERREXIT(cinfo, JERR_TFILE_READ);
111 void FAR * buffer_address,
112 long file_offset,
long byte_count)
115 ERREXIT(cinfo, JERR_TFILE_SEEK);
117 != (
size_t) byte_count)
118 ERREXIT(cinfo, JERR_TFILE_WRITE);
145 ERREXITS(cinfo, JERR_TFILE_CREATE,
"");
jpeg_get_small(j_common_ptr cinfo, size_t sizeofobject)
jpeg_get_large(j_common_ptr cinfo, size_t sizeofobject)
long long max_bytes_needed
jpeg_mem_term(j_common_ptr cinfo)
#define ERREXIT(cinfo, code)
#define JFREAD(file, buf, sizeofbuf)
#define JFWRITE(file, buf, sizeofbuf)
write_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR *buffer_address, long file_offset, long byte_count)
jpeg_open_backing_store(j_common_ptr cinfo, backing_store_ptr info, long total_bytes_needed)
backing_store_ptr long total_bytes_needed
jpeg_free_large(j_common_ptr cinfo, void FAR *object, size_t sizeofobject)
close_backing_store(j_common_ptr cinfo, backing_store_ptr info)
long long long already_allocated
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_free_small(j_common_ptr cinfo, void *object, size_t sizeofobject)
read_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR *buffer_address, long file_offset, long byte_count)
#define ERREXITS(cinfo, code, str)