Lines Matching refs:dest
767 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in init_destination() local
770 …dest->buffer = (unsigned char *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, OU… in init_destination()
772 dest->pub.next_output_byte = dest->buffer; in init_destination()
773 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
802 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in empty_output_buffer() local
804 if (gdPutBuf (dest->buffer, OUTPUT_BUF_SIZE, dest->outfile) != (size_t) OUTPUT_BUF_SIZE) { in empty_output_buffer()
808 dest->pub.next_output_byte = dest->buffer; in empty_output_buffer()
809 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in empty_output_buffer()
826 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in term_destination() local
827 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
830 if (datacount > 0 && ((size_t)gdPutBuf (dest->buffer, datacount, dest->outfile) != datacount)) { in term_destination()
844 my_dest_ptr dest; in jpeg_gdIOCtx_dest() local
852 if (cinfo->dest == NULL) { /* first time for this JPEG object? */ in jpeg_gdIOCtx_dest()
853 …cinfo->dest = (struct jpeg_destination_mgr *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JP… in jpeg_gdIOCtx_dest()
856 dest = (my_dest_ptr) cinfo->dest; in jpeg_gdIOCtx_dest()
857 dest->pub.init_destination = init_destination; in jpeg_gdIOCtx_dest()
858 dest->pub.empty_output_buffer = empty_output_buffer; in jpeg_gdIOCtx_dest()
859 dest->pub.term_destination = term_destination; in jpeg_gdIOCtx_dest()
860 dest->outfile = outfile; in jpeg_gdIOCtx_dest()