14 struct jpeg_destination_mgr pub;
32 dest->
pub.next_output_byte = dest->
buffer;
65 fprintf(stderr,
" : jpeg compression buffer overflow >%ld\n",
68 dest->
pub.next_output_byte = dest->
buffer;
103 if (cinfo->dest ==
NULL) {
104 cinfo->dest = (
struct jpeg_destination_mgr *)
105 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_PERMANENT,
113 dest->
buffer = jpegimgbuf;
jpeg_memio_dest(j_compress_ptr cinfo, JOCTET *jpegimgbuf, long *size)
init_destination(j_compress_ptr cinfo)
struct jpeg_destination_mgr pub
term_destination(j_compress_ptr cinfo)
empty_output_buffer(j_compress_ptr cinfo)
my_destination_mgr * my_dest_ptr