main 108 jcapistd.c (*cinfo->main->process_data) (cinfo, scanlines, &row_ctr, num_lines); main 71 jcmainct.c my_main_ptr main = (my_main_ptr) cinfo->main; main 77 jcmainct.c main->cur_iMCU_row = 0; /* initialize counters */ main 78 jcmainct.c main->rowgroup_ctr = 0; main 79 jcmainct.c main->suspended = FALSE; main 80 jcmainct.c main->pass_mode = pass_mode; /* save mode for use by process_data */ main 85 jcmainct.c if (main->whole_image[0] != NULL) main 88 jcmainct.c main->pub.process_data = process_data_simple_main; main 94 jcmainct.c if (main->whole_image[0] == NULL) main 96 jcmainct.c main->pub.process_data = process_data_buffer_main; main 117 jcmainct.c my_main_ptr main = (my_main_ptr) cinfo->main; main 119 jcmainct.c while (main->cur_iMCU_row < cinfo->total_iMCU_rows) { main 121 jcmainct.c if (main->rowgroup_ctr < (JDIMENSION) cinfo->min_DCT_v_scaled_size) main 124 jcmainct.c main->buffer, &main->rowgroup_ctr, main 131 jcmainct.c if (main->rowgroup_ctr != (JDIMENSION) cinfo->min_DCT_v_scaled_size) main 135 jcmainct.c if (! (*cinfo->coef->compress_data) (cinfo, main->buffer)) { main 142 jcmainct.c if (! main->suspended) { main 144 jcmainct.c main->suspended = TRUE; main 151 jcmainct.c if (main->suspended) { main 153 jcmainct.c main->suspended = FALSE; main 155 jcmainct.c main->rowgroup_ctr = 0; main 156 jcmainct.c main->cur_iMCU_row++; main 173 jcmainct.c my_main_ptr main = (my_main_ptr) cinfo->main; main 176 jcmainct.c boolean writing = (main->pass_mode != JBUF_CRANK_DEST); main 178 jcmainct.c while (main->cur_iMCU_row < cinfo->total_iMCU_rows) { main 180 jcmainct.c if (main->rowgroup_ctr == 0) { main 183 jcmainct.c main->buffer[ci] = (*cinfo->mem->access_virt_sarray) main 184 jcmainct.c ((j_common_ptr) cinfo, main->whole_image[ci], main 185 jcmainct.c main->cur_iMCU_row * (compptr->v_samp_factor * DCTSIZE), main 191 jcmainct.c main->rowgroup_ctr = DCTSIZE; main 200 jcmainct.c main->buffer, &main->rowgroup_ctr, main 203 jcmainct.c if (main->rowgroup_ctr < DCTSIZE) main 208 jcmainct.c if (main->pass_mode != JBUF_SAVE_SOURCE) { main 209 jcmainct.c if (! (*cinfo->coef->compress_data) (cinfo, main->buffer)) { main 216 jcmainct.c if (! main->suspended) { main 218 jcmainct.c main->suspended = TRUE; main 225 jcmainct.c if (main->suspended) { main 227 jcmainct.c main->suspended = FALSE; main 232 jcmainct.c main->rowgroup_ctr = 0; main 233 jcmainct.c main->cur_iMCU_row++; main 247 jcmainct.c my_main_ptr main; main 251 jcmainct.c main = (my_main_ptr) main 254 jcmainct.c cinfo->main = (struct jpeg_c_main_controller *) main; main 255 jcmainct.c main->pub.start_pass = start_pass_main; main 270 jcmainct.c main->whole_image[ci] = (*cinfo->mem->request_virt_sarray) main 282 jcmainct.c main->whole_image[0] = NULL; /* flag for no virtual arrays */ main 287 jcmainct.c main->buffer[ci] = (*cinfo->mem->alloc_sarray) main 670 jcmaster.c (*cinfo->main->start_pass) (cinfo, JBUF_PASS_THRU); main 117 jdapistd.c (*cinfo->main->process_data) (cinfo, (JSAMPARRAY) NULL, main 173 jdapistd.c (*cinfo->main->process_data) (cinfo, scanlines, &row_ctr, max_lines); main 162 jdmainct.c my_main_ptr main = (my_main_ptr) cinfo->main; main 171 jdmainct.c main->xbuffer[0] = (JSAMPIMAGE) main 174 jdmainct.c main->xbuffer[1] = main->xbuffer[0] + cinfo->num_components; main 187 jdmainct.c main->xbuffer[0][ci] = xbuf; main 189 jdmainct.c main->xbuffer[1][ci] = xbuf; main 203 jdmainct.c my_main_ptr main = (my_main_ptr) cinfo->main; main 213 jdmainct.c xbuf0 = main->xbuffer[0][ci]; main 214 jdmainct.c xbuf1 = main->xbuffer[1][ci]; main 216 jdmainct.c buf = main->buffer[ci]; main 243 jdmainct.c my_main_ptr main = (my_main_ptr) cinfo->main; main 253 jdmainct.c xbuf0 = main->xbuffer[0][ci]; main 254 jdmainct.c xbuf1 = main->xbuffer[1][ci]; main 272 jdmainct.c my_main_ptr main = (my_main_ptr) cinfo->main; main 289 jdmainct.c main->rowgroups_avail = (JDIMENSION) ((rows_left-1) / rgroup + 1); main 294 jdmainct.c xbuf = main->xbuffer[main->whichptr][ci]; main 309 jdmainct.c my_main_ptr main = (my_main_ptr) cinfo->main; main 314 jdmainct.c main->pub.process_data = process_data_context_main; main 316 jdmainct.c main->whichptr = 0; /* Read first iMCU row into xbuffer[0] */ main 317 jdmainct.c main->context_state = CTX_PREPARE_FOR_IMCU; main 318 jdmainct.c main->iMCU_row_ctr = 0; main 321 jdmainct.c main->pub.process_data = process_data_simple_main; main 323 jdmainct.c main->buffer_full = FALSE; /* Mark buffer empty */ main 324 jdmainct.c main->rowgroup_ctr = 0; main 329 jdmainct.c main->pub.process_data = process_data_crank_post; main 349 jdmainct.c my_main_ptr main = (my_main_ptr) cinfo->main; main 353 jdmainct.c if (! main->buffer_full) { main 354 jdmainct.c if (! (*cinfo->coef->decompress_data) (cinfo, main->buffer)) main 356 jdmainct.c main->buffer_full = TRUE; /* OK, we have an iMCU row to work with */ main 367 jdmainct.c (*cinfo->post->post_process_data) (cinfo, main->buffer, main 368 jdmainct.c &main->rowgroup_ctr, rowgroups_avail, main 372 jdmainct.c if (main->rowgroup_ctr >= rowgroups_avail) { main 373 jdmainct.c main->buffer_full = FALSE; main 374 jdmainct.c main->rowgroup_ctr = 0; main 389 jdmainct.c my_main_ptr main = (my_main_ptr) cinfo->main; main 392 jdmainct.c if (! main->buffer_full) { main 394 jdmainct.c main->xbuffer[main->whichptr])) main 396 jdmainct.c main->buffer_full = TRUE; /* OK, we have an iMCU row to work with */ main 397 jdmainct.c main->iMCU_row_ctr++; /* count rows received */ main 405 jdmainct.c switch (main->context_state) { main 408 jdmainct.c (*cinfo->post->post_process_data) (cinfo, main->xbuffer[main->whichptr], main 409 jdmainct.c &main->rowgroup_ctr, main->rowgroups_avail, main 411 jdmainct.c if (main->rowgroup_ctr < main->rowgroups_avail) main 413 jdmainct.c main->context_state = CTX_PREPARE_FOR_IMCU; main 419 jdmainct.c main->rowgroup_ctr = 0; main 420 jdmainct.c main->rowgroups_avail = (JDIMENSION) (cinfo->min_DCT_v_scaled_size - 1); main 424 jdmainct.c if (main->iMCU_row_ctr == cinfo->total_iMCU_rows) main 426 jdmainct.c main->context_state = CTX_PROCESS_IMCU; main 430 jdmainct.c (*cinfo->post->post_process_data) (cinfo, main->xbuffer[main->whichptr], main 431 jdmainct.c &main->rowgroup_ctr, main->rowgroups_avail, main 433 jdmainct.c if (main->rowgroup_ctr < main->rowgroups_avail) main 436 jdmainct.c if (main->iMCU_row_ctr == 1) main 439 jdmainct.c main->whichptr ^= 1; /* 0=>1 or 1=>0 */ main 440 jdmainct.c main->buffer_full = FALSE; main 443 jdmainct.c main->rowgroup_ctr = (JDIMENSION) (cinfo->min_DCT_v_scaled_size + 1); main 444 jdmainct.c main->rowgroups_avail = (JDIMENSION) (cinfo->min_DCT_v_scaled_size + 2); main 445 jdmainct.c main->context_state = CTX_POSTPONED_ROW; main 478 jdmainct.c my_main_ptr main; main 482 jdmainct.c main = (my_main_ptr) main 485 jdmainct.c cinfo->main = (struct jpeg_d_main_controller *) main; main 486 jdmainct.c main->pub.start_pass = start_pass_main; main 507 jdmainct.c main->buffer[ci] = (*cinfo->mem->alloc_sarray) main 424 jdmaster.c (*cinfo->main->start_pass) (cinfo, JBUF_CRANK_DEST); main 450 jdmaster.c (*cinfo->main->start_pass) (cinfo, JBUF_PASS_THRU); main 425 jpeglib.h struct jpeg_c_main_controller * main; main 657 jpeglib.h struct jpeg_d_main_controller * main;