Lines Matching refs:dest
45 my_dest_ptr dest = (my_dest_ptr) cinfo->dest;
48 dest->buffer = (JOCTET *)
52 dest->pub.next_output_byte = dest->buffer;
53 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE;
83 my_dest_ptr dest = (my_dest_ptr) cinfo->dest;
85 if (JFWRITE(dest->outfile, dest->buffer, OUTPUT_BUF_SIZE) !=
89 dest->pub.next_output_byte = dest->buffer;
90 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE;
108 my_dest_ptr dest = (my_dest_ptr) cinfo->dest;
109 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer;
113 if (JFWRITE(dest->outfile, dest->buffer, datacount) != datacount)
116 fflush(dest->outfile);
118 if (ferror(dest->outfile))
132 my_dest_ptr dest;
140 if (cinfo->dest == NULL) { /* first time for this JPEG object? */
141 cinfo->dest = (struct jpeg_destination_mgr *)
146 dest = (my_dest_ptr) cinfo->dest;
147 dest->pub.init_destination = init_destination;
148 dest->pub.empty_output_buffer = empty_output_buffer;
149 dest->pub.term_destination = term_destination;
150 dest->outfile = outfile;