Lines Matching refs:post
74 my_post_ptr post = (my_post_ptr) cinfo->post; in start_pass_dpost() local
80 post->pub.post_process_data = post_process_1pass; in start_pass_dpost()
85 if (post->buffer == NULL) { in start_pass_dpost()
86 post->buffer = (*cinfo->mem->access_virt_sarray) in start_pass_dpost()
87 ((j_common_ptr) cinfo, post->whole_image, in start_pass_dpost()
88 (JDIMENSION) 0, post->strip_height, TRUE); in start_pass_dpost()
94 post->pub.post_process_data = cinfo->upsample->upsample; in start_pass_dpost()
100 if (post->whole_image == NULL) in start_pass_dpost()
102 post->pub.post_process_data = post_process_prepass; in start_pass_dpost()
106 if (post->whole_image == NULL) in start_pass_dpost()
108 post->pub.post_process_data = post_process_2pass; in start_pass_dpost()
115 post->starting_row = post->next_row = 0; in start_pass_dpost()
131 my_post_ptr post = (my_post_ptr) cinfo->post; in post_process_1pass() local
137 if (max_rows > post->strip_height) in post_process_1pass()
138 max_rows = post->strip_height; in post_process_1pass()
142 post->buffer, &num_rows, max_rows); in post_process_1pass()
145 post->buffer, output_buf + *out_row_ctr, (int) num_rows); in post_process_1pass()
163 my_post_ptr post = (my_post_ptr) cinfo->post; in post_process_prepass() local
167 if (post->next_row == 0) { in post_process_prepass()
168 post->buffer = (*cinfo->mem->access_virt_sarray) in post_process_prepass()
169 ((j_common_ptr) cinfo, post->whole_image, in post_process_prepass()
170 post->starting_row, post->strip_height, TRUE); in post_process_prepass()
174 old_next_row = post->next_row; in post_process_prepass()
177 post->buffer, &post->next_row, post->strip_height); in post_process_prepass()
181 if (post->next_row > old_next_row) { in post_process_prepass()
182 num_rows = post->next_row - old_next_row; in post_process_prepass()
183 (*cinfo->cquantize->color_quantize) (cinfo, post->buffer + old_next_row, in post_process_prepass()
189 if (post->next_row >= post->strip_height) { in post_process_prepass()
190 post->starting_row += post->strip_height; in post_process_prepass()
191 post->next_row = 0; in post_process_prepass()
207 my_post_ptr post = (my_post_ptr) cinfo->post; in post_process_2pass() local
211 if (post->next_row == 0) { in post_process_2pass()
212 post->buffer = (*cinfo->mem->access_virt_sarray) in post_process_2pass()
213 ((j_common_ptr) cinfo, post->whole_image, in post_process_2pass()
214 post->starting_row, post->strip_height, FALSE); in post_process_2pass()
218 num_rows = post->strip_height - post->next_row; /* available in strip */ in post_process_2pass()
223 max_rows = cinfo->output_height - post->starting_row; in post_process_2pass()
229 post->buffer + post->next_row, output_buf + *out_row_ctr, in post_process_2pass()
234 post->next_row += num_rows; in post_process_2pass()
235 if (post->next_row >= post->strip_height) { in post_process_2pass()
236 post->starting_row += post->strip_height; in post_process_2pass()
237 post->next_row = 0; in post_process_2pass()
251 my_post_ptr post; in jinit_d_post_controller() local
253 post = (my_post_ptr) in jinit_d_post_controller()
256 cinfo->post = (struct jpeg_d_post_controller *) post; in jinit_d_post_controller()
257 post->pub.start_pass = start_pass_dpost; in jinit_d_post_controller()
258 post->whole_image = NULL; /* flag for no virtual arrays */ in jinit_d_post_controller()
259 post->buffer = NULL; /* flag for no strip buffer */ in jinit_d_post_controller()
267 post->strip_height = (JDIMENSION) cinfo->max_v_samp_factor; in jinit_d_post_controller()
272 post->whole_image = (*cinfo->mem->request_virt_sarray) in jinit_d_post_controller()
276 (long) post->strip_height), in jinit_d_post_controller()
277 post->strip_height); in jinit_d_post_controller()
283 post->buffer = (*cinfo->mem->alloc_sarray) in jinit_d_post_controller()
286 post->strip_height); in jinit_d_post_controller()