34 #define OUTPUT_BUF_SIZE 4096 52 dest->pub.next_output_byte = dest->buffer;
87 ERREXIT(cinfo, JERR_FILE_WRITE);
89 dest->pub.next_output_byte = dest->buffer;
113 if (
JFWRITE(dest->outfile, dest->buffer, datacount) != datacount)
114 ERREXIT(cinfo, JERR_FILE_WRITE);
116 fflush(dest->outfile);
118 if (ferror(dest->outfile))
119 ERREXIT(cinfo, JERR_FILE_WRITE);
140 if (cinfo->dest ==
NULL) {
143 SIZEOF(my_destination_mgr));
my_destination_mgr * my_dest_ptr
struct jpeg_common_struct * j_common_ptr
#define ERREXIT(cinfo, code)
jpeg_stdio_dest(j_compress_ptr cinfo, FILE *outfile)
#define JFWRITE(file, buf, sizeofbuf)
term_destination(j_compress_ptr cinfo)
init_destination(j_compress_ptr cinfo)
if(!abbox) return FT_THROW(Invalid_Argument)
empty_output_buffer(j_compress_ptr cinfo)