Lines Matching defs:master

8  * This file contains master control logic for the JPEG decompressor.
93 * Also note that it may be called before the master module is initialized!
98 /* Do computations that are needed before master selection phase */
313 my_master_ptr master = (my_master_ptr) cinfo->master;
329 master->pass_number = 0;
330 master->using_merged_upsample = use_merged_upsample(cinfo);
333 master->quantizer_1pass = NULL;
334 master->quantizer_2pass = NULL;
361 master->quantizer_1pass = cinfo->cquantize;
371 master->quantizer_2pass = cinfo->cquantize;
383 if (master->using_merged_upsample) {
445 master->pass_number++;
463 my_master_ptr master = (my_master_ptr) cinfo->master;
465 if (master->pub.is_dummy_pass) {
468 master->pub.is_dummy_pass = FALSE;
479 cinfo->cquantize = master->quantizer_2pass;
480 master->pub.is_dummy_pass = TRUE;
482 cinfo->cquantize = master->quantizer_1pass;
490 if (! master->using_merged_upsample)
494 (*cinfo->cquantize->start_pass) (cinfo, master->pub.is_dummy_pass);
496 (master->pub.is_dummy_pass ? JBUF_SAVE_AND_PASS : JBUF_PASS_THRU));
503 cinfo->progress->completed_passes = master->pass_number;
504 cinfo->progress->total_passes = master->pass_number +
505 (master->pub.is_dummy_pass ? 2 : 1);
523 my_master_ptr master = (my_master_ptr) cinfo->master;
527 master->pass_number++;
540 my_master_ptr master = (my_master_ptr) cinfo->master;
549 cinfo->cquantize = master->quantizer_2pass;
552 master->pub.is_dummy_pass = FALSE; /* just in case */
561 * Initialize master decompression control and select active modules.
568 my_master_ptr master;
570 master = (my_master_ptr)
573 cinfo->master = (struct jpeg_decomp_master *) master;
574 master->pub.prepare_for_output_pass = prepare_for_output_pass;
575 master->pub.finish_output_pass = finish_output_pass;
577 master->pub.is_dummy_pass = FALSE;