Lines Matching refs:dest
770 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in init_destination() local
773 …dest->buffer = (unsigned char *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, OU… in init_destination()
775 dest->pub.next_output_byte = dest->buffer; in init_destination()
776 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
805 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in empty_output_buffer() local
807 if (gdPutBuf (dest->buffer, OUTPUT_BUF_SIZE, dest->outfile) != (size_t) OUTPUT_BUF_SIZE) { in empty_output_buffer()
811 dest->pub.next_output_byte = dest->buffer; in empty_output_buffer()
812 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in empty_output_buffer()
829 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in term_destination() local
830 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
833 if (datacount > 0 && ((size_t)gdPutBuf (dest->buffer, datacount, dest->outfile) != datacount)) { in term_destination()
847 my_dest_ptr dest; in jpeg_gdIOCtx_dest() local
855 if (cinfo->dest == NULL) { /* first time for this JPEG object? */ in jpeg_gdIOCtx_dest()
856 …cinfo->dest = (struct jpeg_destination_mgr *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JP… in jpeg_gdIOCtx_dest()
859 dest = (my_dest_ptr) cinfo->dest; in jpeg_gdIOCtx_dest()
860 dest->pub.init_destination = init_destination; in jpeg_gdIOCtx_dest()
861 dest->pub.empty_output_buffer = empty_output_buffer; in jpeg_gdIOCtx_dest()
862 dest->pub.term_destination = term_destination; in jpeg_gdIOCtx_dest()
863 dest->outfile = outfile; in jpeg_gdIOCtx_dest()