• Home
  • Raw
  • Download

Lines Matching refs:prep

83   my_prep_ptr prep = (my_prep_ptr)cinfo->prep;  in start_pass_prep()  local
89 prep->rows_to_go = cinfo->image_height; in start_pass_prep()
91 prep->next_buf_row = 0; in start_pass_prep()
96 prep->this_row_group = 0; in start_pass_prep()
98 prep->next_buf_stop = 2 * cinfo->max_v_samp_factor; in start_pass_prep()
136 my_prep_ptr prep = (my_prep_ptr)cinfo->prep; in pre_process_data() local
145 numrows = cinfo->max_v_samp_factor - prep->next_buf_row; in pre_process_data()
148 prep->color_buf, in pre_process_data()
149 (JDIMENSION)prep->next_buf_row, in pre_process_data()
152 prep->next_buf_row += numrows; in pre_process_data()
153 prep->rows_to_go -= numrows; in pre_process_data()
155 if (prep->rows_to_go == 0 && in pre_process_data()
156 prep->next_buf_row < cinfo->max_v_samp_factor) { in pre_process_data()
158 expand_bottom_edge(prep->color_buf[ci], cinfo->image_width, in pre_process_data()
159 prep->next_buf_row, cinfo->max_v_samp_factor); in pre_process_data()
161 prep->next_buf_row = cinfo->max_v_samp_factor; in pre_process_data()
164 if (prep->next_buf_row == cinfo->max_v_samp_factor) { in pre_process_data()
166 prep->color_buf, (JDIMENSION)0, in pre_process_data()
168 prep->next_buf_row = 0; in pre_process_data()
174 if (prep->rows_to_go == 0 && *out_row_group_ctr < out_row_groups_avail) { in pre_process_data()
200 my_prep_ptr prep = (my_prep_ptr)cinfo->prep; in pre_process_context() local
209 numrows = prep->next_buf_stop - prep->next_buf_row; in pre_process_context()
212 prep->color_buf, in pre_process_context()
213 (JDIMENSION)prep->next_buf_row, in pre_process_context()
216 if (prep->rows_to_go == cinfo->image_height) { in pre_process_context()
220 jcopy_sample_rows(prep->color_buf[ci], 0, prep->color_buf[ci], in pre_process_context()
226 prep->next_buf_row += numrows; in pre_process_context()
227 prep->rows_to_go -= numrows; in pre_process_context()
230 if (prep->rows_to_go != 0) in pre_process_context()
233 if (prep->next_buf_row < prep->next_buf_stop) { in pre_process_context()
235 expand_bottom_edge(prep->color_buf[ci], cinfo->image_width, in pre_process_context()
236 prep->next_buf_row, prep->next_buf_stop); in pre_process_context()
238 prep->next_buf_row = prep->next_buf_stop; in pre_process_context()
242 if (prep->next_buf_row == prep->next_buf_stop) { in pre_process_context()
243 (*cinfo->downsample->downsample) (cinfo, prep->color_buf, in pre_process_context()
244 (JDIMENSION)prep->this_row_group, in pre_process_context()
248 prep->this_row_group += cinfo->max_v_samp_factor; in pre_process_context()
249 if (prep->this_row_group >= buf_height) in pre_process_context()
250 prep->this_row_group = 0; in pre_process_context()
251 if (prep->next_buf_row >= buf_height) in pre_process_context()
252 prep->next_buf_row = 0; in pre_process_context()
253 prep->next_buf_stop = prep->next_buf_row + cinfo->max_v_samp_factor; in pre_process_context()
266 my_prep_ptr prep = (my_prep_ptr)cinfo->prep; in create_context_buffer() local
299 prep->color_buf[ci] = fake_buffer + rgroup_height; in create_context_buffer()
314 my_prep_ptr prep; in jinit_c_prep_controller() local
321 prep = (my_prep_ptr) in jinit_c_prep_controller()
324 cinfo->prep = (struct jpeg_c_prep_controller *)prep; in jinit_c_prep_controller()
325 prep->pub.start_pass = start_pass_prep; in jinit_c_prep_controller()
334 prep->pub.pre_process_data = pre_process_context; in jinit_c_prep_controller()
341 prep->pub.pre_process_data = pre_process_data; in jinit_c_prep_controller()
344 prep->color_buf[ci] = (*cinfo->mem->alloc_sarray) in jinit_c_prep_controller()