Lines Matching refs:dest

735 	my_dest_ptr dest = (my_dest_ptr) cinfo->dest;  in init_destination()  local
738dest->buffer = (unsigned char *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, OU… in init_destination()
740 dest->pub.next_output_byte = dest->buffer; in init_destination()
741 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
770 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in empty_output_buffer() local
772 if (gdPutBuf (dest->buffer, OUTPUT_BUF_SIZE, dest->outfile) != (size_t) OUTPUT_BUF_SIZE) { in empty_output_buffer()
776 dest->pub.next_output_byte = dest->buffer; in empty_output_buffer()
777 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in empty_output_buffer()
794 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in term_destination() local
795 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
798 if (datacount > 0 && ((size_t)gdPutBuf (dest->buffer, datacount, dest->outfile) != datacount)) { in term_destination()
812 my_dest_ptr dest; in jpeg_gdIOCtx_dest() local
820 if (cinfo->dest == NULL) { /* first time for this JPEG object? */ in jpeg_gdIOCtx_dest()
821 …cinfo->dest = (struct jpeg_destination_mgr *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JP… in jpeg_gdIOCtx_dest()
824 dest = (my_dest_ptr) cinfo->dest; in jpeg_gdIOCtx_dest()
825 dest->pub.init_destination = init_destination; in jpeg_gdIOCtx_dest()
826 dest->pub.empty_output_buffer = empty_output_buffer; in jpeg_gdIOCtx_dest()
827 dest->pub.term_destination = term_destination; in jpeg_gdIOCtx_dest()
828 dest->outfile = outfile; in jpeg_gdIOCtx_dest()