Lines Matching refs:pub
533 struct jpeg_source_mgr pub; /* public fields */ member
630 src->pub.next_input_byte = src->buffer; in fill_input_buffer()
631 src->pub.bytes_in_buffer = nbytes; in fill_input_buffer()
658 while (num_bytes > (long) src->pub.bytes_in_buffer) { in skip_input_data()
659 num_bytes -= (long) src->pub.bytes_in_buffer; in skip_input_data()
665 src->pub.next_input_byte += (size_t) num_bytes; in skip_input_data()
666 src->pub.bytes_in_buffer -= (size_t) num_bytes; in skip_input_data()
724 src->pub.init_source = init_source; in jpeg_gdIOCtx_src()
725 src->pub.fill_input_buffer = fill_input_buffer; in jpeg_gdIOCtx_src()
726 src->pub.skip_input_data = skip_input_data; in jpeg_gdIOCtx_src()
727 src->pub.resync_to_restart = jpeg_resync_to_restart; /* use default method */ in jpeg_gdIOCtx_src()
728 src->pub.term_source = term_source; in jpeg_gdIOCtx_src()
730 src->pub.bytes_in_buffer = 0; /* forces fill_input_buffer on first read */ in jpeg_gdIOCtx_src()
731 src->pub.next_input_byte = NULL; /* until buffer loaded */ in jpeg_gdIOCtx_src()
738 struct jpeg_destination_mgr pub; /* public fields */ member
759 dest->pub.next_output_byte = dest->buffer; in init_destination()
760 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
795 dest->pub.next_output_byte = dest->buffer; in empty_output_buffer()
796 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in empty_output_buffer()
814 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
844 dest->pub.init_destination = init_destination; in jpeg_gdIOCtx_dest()
845 dest->pub.empty_output_buffer = empty_output_buffer; in jpeg_gdIOCtx_dest()
846 dest->pub.term_destination = term_destination; in jpeg_gdIOCtx_dest()