Home | History | Annotate | Download | only in libjpeg-turbo

Lines Matching full:prep

82   my_prep_ptr prep = (my_prep_ptr) cinfo->prep;
88 prep->rows_to_go = cinfo->image_height;
90 prep->next_buf_row = 0;
95 prep->this_row_group = 0;
97 prep->next_buf_stop = 2 * cinfo->max_v_samp_factor;
136 my_prep_ptr prep = (my_prep_ptr) cinfo->prep;
145 numrows = cinfo->max_v_samp_factor - prep->next_buf_row;
148 prep->color_buf,
149 (JDIMENSION) prep->next_buf_row,
152 prep->next_buf_row += numrows;
153 prep->rows_to_go -= numrows;
155 if (prep->rows_to_go == 0 &&
156 prep->next_buf_row < cinfo->max_v_samp_factor) {
158 expand_bottom_edge(prep->color_buf[ci], cinfo->image_width,
159 prep->next_buf_row, cinfo->max_v_samp_factor);
161 prep->next_buf_row = cinfo->max_v_samp_factor;
164 if (prep->next_buf_row == cinfo->max_v_samp_factor) {
166 prep->color_buf, (JDIMENSION) 0,
168 prep->next_buf_row = 0;
174 if (prep->rows_to_go == 0 &&
203 my_prep_ptr prep = (my_prep_ptr) cinfo->prep;
212 numrows = prep->next_buf_stop - prep->next_buf_row;
215 prep->color_buf,
216 (JDIMENSION) prep->next_buf_row,
219 if (prep->rows_to_go == cinfo->image_height) {
223 jcopy_sample_rows(prep->color_buf[ci], 0,
224 prep->color_buf[ci], -row,
230 prep->next_buf_row += numrows;
231 prep->rows_to_go -= numrows;
234 if (prep->rows_to_go != 0)
237 if (prep->next_buf_row < prep->next_buf_stop) {
239 expand_bottom_edge(prep->color_buf[ci], cinfo->image_width,
240 prep->next_buf_row, prep->next_buf_stop);
242 prep->next_buf_row = prep->next_buf_stop;
246 if (prep->next_buf_row == prep->next_buf_stop) {
248 prep->color_buf,
249 (JDIMENSION) prep->this_row_group,
253 prep->this_row_group += cinfo->max_v_samp_factor;
254 if (prep->this_row_group >= buf_height)
255 prep->this_row_group = 0;
256 if (prep->next_buf_row >= buf_height)
257 prep->next_buf_row = 0;
258 prep->next_buf_stop = prep->next_buf_row + cinfo->max_v_samp_factor;
271 my_prep_ptr prep = (my_prep_ptr) cinfo->prep;
304 prep->color_buf[ci] = fake_buffer + rgroup_height;
319 my_prep_ptr prep;
326 prep = (my_prep_ptr)
329 cinfo->prep = (struct jpeg_c_prep_controller *) prep;
330 prep->pub.start_pass = start_pass_prep;
339 prep->pub.pre_process_data = pre_process_context;
346 prep->pub.pre_process_data = pre_process_data;
349 prep->color_buf[ci] = (*cinfo->mem->alloc_sarray)