Lines Matching refs:post
81 my_post_ptr post = (my_post_ptr)cinfo->post; in start_pass_dpost() local
87 post->pub.post_process_data = post_process_1pass; in start_pass_dpost()
92 if (post->buffer == NULL) { in start_pass_dpost()
93 post->buffer = (*cinfo->mem->access_virt_sarray) in start_pass_dpost()
94 ((j_common_ptr)cinfo, post->whole_image, in start_pass_dpost()
95 (JDIMENSION)0, post->strip_height, TRUE); in start_pass_dpost()
101 post->pub.post_process_data = cinfo->upsample->upsample; in start_pass_dpost()
107 if (post->whole_image == NULL) in start_pass_dpost()
109 post->pub.post_process_data = post_process_prepass; in start_pass_dpost()
113 if (post->whole_image == NULL) in start_pass_dpost()
115 post->pub.post_process_data = post_process_2pass; in start_pass_dpost()
122 post->starting_row = post->next_row = 0; in start_pass_dpost()
137 my_post_ptr post = (my_post_ptr)cinfo->post; in post_process_1pass() local
143 if (max_rows > post->strip_height) in post_process_1pass()
144 max_rows = post->strip_height; in post_process_1pass()
147 in_row_groups_avail, post->buffer, &num_rows, in post_process_1pass()
150 (*cinfo->cquantize->color_quantize) (cinfo, post->buffer, in post_process_1pass()
169 my_post_ptr post = (my_post_ptr)cinfo->post; in post_process_prepass() local
173 if (post->next_row == 0) { in post_process_prepass()
174 post->buffer = (*cinfo->mem->access_virt_sarray) in post_process_prepass()
175 ((j_common_ptr)cinfo, post->whole_image, in post_process_prepass()
176 post->starting_row, post->strip_height, TRUE); in post_process_prepass()
180 old_next_row = post->next_row; in post_process_prepass()
182 in_row_groups_avail, post->buffer, in post_process_prepass()
183 &post->next_row, post->strip_height); in post_process_prepass()
187 if (post->next_row > old_next_row) { in post_process_prepass()
188 num_rows = post->next_row - old_next_row; in post_process_prepass()
189 (*cinfo->cquantize->color_quantize) (cinfo, post->buffer + old_next_row, in post_process_prepass()
195 if (post->next_row >= post->strip_height) { in post_process_prepass()
196 post->starting_row += post->strip_height; in post_process_prepass()
197 post->next_row = 0; in post_process_prepass()
212 my_post_ptr post = (my_post_ptr)cinfo->post; in post_process_2pass() local
216 if (post->next_row == 0) { in post_process_2pass()
217 post->buffer = (*cinfo->mem->access_virt_sarray) in post_process_2pass()
218 ((j_common_ptr)cinfo, post->whole_image, in post_process_2pass()
219 post->starting_row, post->strip_height, FALSE); in post_process_2pass()
223 num_rows = post->strip_height - post->next_row; /* available in strip */ in post_process_2pass()
228 max_rows = cinfo->output_height - post->starting_row; in post_process_2pass()
233 (*cinfo->cquantize->color_quantize) (cinfo, post->buffer + post->next_row, in post_process_2pass()
239 post->next_row += num_rows; in post_process_2pass()
240 if (post->next_row >= post->strip_height) { in post_process_2pass()
241 post->starting_row += post->strip_height; in post_process_2pass()
242 post->next_row = 0; in post_process_2pass()
256 my_post_ptr post; in jinit_d_post_controller() local
258 post = (my_post_ptr) in jinit_d_post_controller()
261 cinfo->post = (struct jpeg_d_post_controller *)post; in jinit_d_post_controller()
262 post->pub.start_pass = start_pass_dpost; in jinit_d_post_controller()
263 post->whole_image = NULL; /* flag for no virtual arrays */ in jinit_d_post_controller()
264 post->buffer = NULL; /* flag for no strip buffer */ in jinit_d_post_controller()
272 post->strip_height = (JDIMENSION)cinfo->max_v_samp_factor; in jinit_d_post_controller()
277 post->whole_image = (*cinfo->mem->request_virt_sarray) in jinit_d_post_controller()
281 (long)post->strip_height), in jinit_d_post_controller()
282 post->strip_height); in jinit_d_post_controller()
288 post->buffer = (*cinfo->mem->alloc_sarray) in jinit_d_post_controller()
291 post->strip_height); in jinit_d_post_controller()