Lines Matching refs:pub
546 struct jpeg_source_mgr pub; /* public fields */ member
643 src->pub.next_input_byte = src->buffer; in fill_input_buffer()
644 src->pub.bytes_in_buffer = nbytes; in fill_input_buffer()
671 while (num_bytes > (long) src->pub.bytes_in_buffer) { in skip_input_data()
672 num_bytes -= (long) src->pub.bytes_in_buffer; in skip_input_data()
678 src->pub.next_input_byte += (size_t) num_bytes; in skip_input_data()
679 src->pub.bytes_in_buffer -= (size_t) num_bytes; in skip_input_data()
737 src->pub.init_source = init_source; in jpeg_gdIOCtx_src()
738 src->pub.fill_input_buffer = fill_input_buffer; in jpeg_gdIOCtx_src()
739 src->pub.skip_input_data = skip_input_data; in jpeg_gdIOCtx_src()
740 src->pub.resync_to_restart = jpeg_resync_to_restart; /* use default method */ in jpeg_gdIOCtx_src()
741 src->pub.term_source = term_source; in jpeg_gdIOCtx_src()
743 src->pub.bytes_in_buffer = 0; /* forces fill_input_buffer on first read */ in jpeg_gdIOCtx_src()
744 src->pub.next_input_byte = NULL; /* until buffer loaded */ in jpeg_gdIOCtx_src()
751 struct jpeg_destination_mgr pub; /* public fields */ member
772 dest->pub.next_output_byte = dest->buffer; in init_destination()
773 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
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()
827 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
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()