Lines Matching defs:prep
80 my_prep_ptr prep = (my_prep_ptr) cinfo->prep;
86 prep->rows_to_go = cinfo->image_height;
88 prep->next_buf_row = 0;
93 prep->this_row_group = 0;
95 prep->next_buf_stop = 2 * cinfo->max_v_samp_factor;
134 my_prep_ptr prep = (my_prep_ptr) cinfo->prep;
143 numrows = cinfo->max_v_samp_factor - prep->next_buf_row;
146 prep->color_buf,
147 (JDIMENSION) prep->next_buf_row,
150 prep->next_buf_row += numrows;
151 prep->rows_to_go -= numrows;
153 if (prep->rows_to_go == 0 &&
154 prep->next_buf_row < cinfo->max_v_samp_factor) {
156 expand_bottom_edge(prep->color_buf[ci], cinfo->image_width,
157 prep->next_buf_row, cinfo->max_v_samp_factor);
159 prep->next_buf_row = cinfo->max_v_samp_factor;
162 if (prep->next_buf_row == cinfo->max_v_samp_factor) {
164 prep->color_buf, (JDIMENSION) 0,
166 prep->next_buf_row = 0;
172 if (prep->rows_to_go == 0 &&
201 my_prep_ptr prep = (my_prep_ptr) cinfo->prep;
210 numrows = prep->next_buf_stop - prep->next_buf_row;
213 prep->color_buf,
214 (JDIMENSION) prep->next_buf_row,
217 if (prep->rows_to_go == cinfo->image_height) {
221 jcopy_sample_rows(prep->color_buf[ci], 0,
222 prep->color_buf[ci], -row,
228 prep->next_buf_row += numrows;
229 prep->rows_to_go -= numrows;
232 if (prep->rows_to_go != 0)
235 if (prep->next_buf_row < prep->next_buf_stop) {
237 expand_bottom_edge(prep->color_buf[ci], cinfo->image_width,
238 prep->next_buf_row, prep->next_buf_stop);
240 prep->next_buf_row = prep->next_buf_stop;
244 if (prep->next_buf_row == prep->next_buf_stop) {
246 prep->color_buf,
247 (JDIMENSION) prep->this_row_group,
251 prep->this_row_group += cinfo->max_v_samp_factor;
252 if (prep->this_row_group >= buf_height)
253 prep->this_row_group = 0;
254 if (prep->next_buf_row >= buf_height)
255 prep->next_buf_row = 0;
256 prep->next_buf_stop = prep->next_buf_row + cinfo->max_v_samp_factor;
269 my_prep_ptr prep = (my_prep_ptr) cinfo->prep;
302 prep->color_buf[ci] = fake_buffer + rgroup_height;
317 my_prep_ptr prep;
324 prep = (my_prep_ptr)
327 cinfo->prep = (struct jpeg_c_prep_controller *) prep;
328 prep->pub.start_pass = start_pass_prep;
337 prep->pub.pre_process_data = pre_process_context;
344 prep->pub.pre_process_data = pre_process_data;
347 prep->color_buf[ci] = (*cinfo->mem->alloc_sarray)