Lines Matching refs:dest
777 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in init_destination() local
780 …dest->buffer = (unsigned char *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, OU… in init_destination()
782 dest->pub.next_output_byte = dest->buffer; in init_destination()
783 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
812 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in empty_output_buffer() local
814 if (gdPutBuf (dest->buffer, OUTPUT_BUF_SIZE, dest->outfile) != (size_t) OUTPUT_BUF_SIZE) { in empty_output_buffer()
818 dest->pub.next_output_byte = dest->buffer; in empty_output_buffer()
819 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in empty_output_buffer()
836 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in term_destination() local
837 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
840 if (datacount > 0 && ((size_t)gdPutBuf (dest->buffer, datacount, dest->outfile) != datacount)) { in term_destination()
854 my_dest_ptr dest; in jpeg_gdIOCtx_dest() local
862 if (cinfo->dest == NULL) { /* first time for this JPEG object? */ in jpeg_gdIOCtx_dest()
863 …cinfo->dest = (struct jpeg_destination_mgr *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JP… in jpeg_gdIOCtx_dest()
866 dest = (my_dest_ptr) cinfo->dest; in jpeg_gdIOCtx_dest()
867 dest->pub.init_destination = init_destination; in jpeg_gdIOCtx_dest()
868 dest->pub.empty_output_buffer = empty_output_buffer; in jpeg_gdIOCtx_dest()
869 dest->pub.term_destination = term_destination; in jpeg_gdIOCtx_dest()
870 dest->outfile = outfile; in jpeg_gdIOCtx_dest()