Lines Matching refs:pub
514 struct jpeg_source_mgr pub; /* public fields */ member
611 src->pub.next_input_byte = src->buffer; in fill_input_buffer()
612 src->pub.bytes_in_buffer = nbytes; in fill_input_buffer()
639 while (num_bytes > (long) src->pub.bytes_in_buffer) { in skip_input_data()
640 num_bytes -= (long) src->pub.bytes_in_buffer; in skip_input_data()
646 src->pub.next_input_byte += (size_t) num_bytes; in skip_input_data()
647 src->pub.bytes_in_buffer -= (size_t) num_bytes; in skip_input_data()
705 src->pub.init_source = init_source; in jpeg_gdIOCtx_src()
706 src->pub.fill_input_buffer = fill_input_buffer; in jpeg_gdIOCtx_src()
707 src->pub.skip_input_data = skip_input_data; in jpeg_gdIOCtx_src()
708 src->pub.resync_to_restart = jpeg_resync_to_restart; /* use default method */ in jpeg_gdIOCtx_src()
709 src->pub.term_source = term_source; in jpeg_gdIOCtx_src()
711 src->pub.bytes_in_buffer = 0; /* forces fill_input_buffer on first read */ in jpeg_gdIOCtx_src()
712 src->pub.next_input_byte = NULL; /* until buffer loaded */ in jpeg_gdIOCtx_src()
719 struct jpeg_destination_mgr pub; /* public fields */ member
740 dest->pub.next_output_byte = dest->buffer; in init_destination()
741 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
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()
795 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
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()