Lines Matching refs:dest
754 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in init_destination() local
757 …dest->buffer = (unsigned char *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, OU… in init_destination()
759 dest->pub.next_output_byte = dest->buffer; in init_destination()
760 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
789 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in empty_output_buffer() local
791 if (gdPutBuf (dest->buffer, OUTPUT_BUF_SIZE, dest->outfile) != (size_t) OUTPUT_BUF_SIZE) { in empty_output_buffer()
795 dest->pub.next_output_byte = dest->buffer; in empty_output_buffer()
796 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in empty_output_buffer()
813 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in term_destination() local
814 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
817 if (datacount > 0 && ((size_t)gdPutBuf (dest->buffer, datacount, dest->outfile) != datacount)) { in term_destination()
831 my_dest_ptr dest; in jpeg_gdIOCtx_dest() local
839 if (cinfo->dest == NULL) { /* first time for this JPEG object? */ in jpeg_gdIOCtx_dest()
840 …cinfo->dest = (struct jpeg_destination_mgr *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JP… in jpeg_gdIOCtx_dest()
843 dest = (my_dest_ptr) cinfo->dest; in jpeg_gdIOCtx_dest()
844 dest->pub.init_destination = init_destination; in jpeg_gdIOCtx_dest()
845 dest->pub.empty_output_buffer = empty_output_buffer; in jpeg_gdIOCtx_dest()
846 dest->pub.term_destination = term_destination; in jpeg_gdIOCtx_dest()
847 dest->outfile = outfile; in jpeg_gdIOCtx_dest()