Lines Matching defs:src
72 epsonds_src_mgr *src = (epsonds_src_mgr *)cinfo->src;
75 src->pub.next_input_byte = src->buffer;
76 src->pub.bytes_in_buffer = src->length;
77 DBG(18, "reading from ring buffer, %d left\n", src->length);
85 epsonds_src_mgr *src = (epsonds_src_mgr *)cinfo->src;
89 while (num_bytes > (long)src->pub.bytes_in_buffer) {
90 num_bytes -= (long)src->pub.bytes_in_buffer;
94 src->pub.next_input_byte += (size_t) num_bytes;
95 src->pub.bytes_in_buffer -= (size_t) num_bytes;
106 epsonds_src_mgr *src;
112 jpeg_cinfo.src = (struct jpeg_source_mgr *)(*jpeg_cinfo.mem->alloc_small)((j_common_ptr)&jpeg_cinfo,
115 memset(jpeg_cinfo.src, 0x00, sizeof(epsonds_src_mgr));
117 src = (epsonds_src_mgr *)jpeg_cinfo.src;
118 src->pub.init_source = jpeg_init_source;
119 src->pub.fill_input_buffer = jpeg_fill_input_buffer;
120 src->pub.skip_input_data = jpeg_skip_input_data;
121 src->pub.resync_to_restart = jpeg_resync_to_restart;
122 src->pub.term_source = jpeg_term_source;
123 src->pub.bytes_in_buffer = 0;
124 src->pub.next_input_byte = NULL;
125 src->buffer = (JOCTET*)data;
126 src->length = size;