Lines Matching refs:post
75 my_post_ptr post = (my_post_ptr) cinfo->post;
81 post->pub.post_process_data = post_process_1pass;
86 if (post->buffer == NULL) {
87 post->buffer = (*cinfo->mem->access_virt_sarray)
88 ((j_common_ptr) cinfo, post->whole_image,
89 (JDIMENSION) 0, post->strip_height, TRUE);
95 post->pub.post_process_data = cinfo->upsample->upsample;
101 if (post->whole_image == NULL)
103 post->pub.post_process_data = post_process_prepass;
107 if (post->whole_image == NULL)
109 post->pub.post_process_data = post_process_2pass;
116 post->starting_row = post->next_row = 0;
132 my_post_ptr post = (my_post_ptr) cinfo->post;
138 if (max_rows > post->strip_height)
139 max_rows = post->strip_height;
143 post->buffer, &num_rows, max_rows);
146 post->buffer, output_buf + *out_row_ctr, (int) num_rows);
164 my_post_ptr post = (my_post_ptr) cinfo->post;
168 if (post->next_row == 0) {
169 post->buffer = (*cinfo->mem->access_virt_sarray)
170 ((j_common_ptr) cinfo, post->whole_image,
171 post->starting_row, post->strip_height, TRUE);
175 old_next_row = post->next_row;
178 post->buffer, &post->next_row, post->strip_height);
182 if (post->next_row > old_next_row) {
183 num_rows = post->next_row - old_next_row;
184 (*cinfo->cquantize->color_quantize) (cinfo, post->buffer + old_next_row,
190 if (post->next_row >= post->strip_height) {
191 post->starting_row += post->strip_height;
192 post->next_row = 0;
208 my_post_ptr post = (my_post_ptr) cinfo->post;
212 if (post->next_row == 0) {
213 post->buffer = (*cinfo->mem->access_virt_sarray)
214 ((j_common_ptr) cinfo, post->whole_image,
215 post->starting_row, post->strip_height, FALSE);
219 num_rows = post->strip_height - post->next_row; /* available in strip */
224 max_rows = cinfo->output_height - post->starting_row;
230 post->buffer + post->next_row, output_buf + *out_row_ctr,
235 post->next_row += num_rows;
236 if (post->next_row >= post->strip_height) {
237 post->starting_row += post->strip_height;
238 post->next_row = 0;
252 my_post_ptr post;
254 post = (my_post_ptr)
257 cinfo->post = (struct jpeg_d_post_controller *) post;
258 post->pub.start_pass = start_pass_dpost;
259 post->whole_image = NULL; /* flag for no virtual arrays */
260 post->buffer = NULL; /* flag for no strip buffer */
268 post->strip_height = (JDIMENSION) cinfo->max_v_samp_factor;
273 post->whole_image = (*cinfo->mem->request_virt_sarray)
277 (long) post->strip_height),
278 post->strip_height);
284 post->buffer = (*cinfo->mem->alloc_sarray)
287 post->strip_height);