Lines Matching defs:master

14  * This file contains master control logic for the JPEG decompressor.
104 /* Do computations that are needed before master selection phase.
267 * Also note that it may be called before the master module is initialized!
272 /* Do computations that are needed before master selection phase */
462 my_master_ptr master = (my_master_ptr) cinfo->master;
478 master->pass_number = 0;
479 master->using_merged_upsample = use_merged_upsample(cinfo);
482 master->quantizer_1pass = NULL;
483 master->quantizer_2pass = NULL;
510 master->quantizer_1pass = cinfo->cquantize;
520 master->quantizer_2pass = cinfo->cquantize;
532 if (master->using_merged_upsample) {
580 cinfo->master->first_iMCU_col = 0;
581 cinfo->master->last_iMCU_col = cinfo->MCUs_per_row - 1;
604 master->pass_number++;
622 my_master_ptr master = (my_master_ptr) cinfo->master;
624 if (master->pub.is_dummy_pass) {
627 master->pub.is_dummy_pass = FALSE;
638 cinfo->cquantize = master->quantizer_2pass;
639 master->pub.is_dummy_pass = TRUE;
641 cinfo->cquantize = master->quantizer_1pass;
649 if (! master->using_merged_upsample)
653 (*cinfo->cquantize->start_pass) (cinfo, master->pub.is_dummy_pass);
655 (master->pub.is_dummy_pass ? JBUF_SAVE_AND_PASS : JBUF_PASS_THRU));
662 cinfo->progress->completed_passes = master->pass_number;
663 cinfo->progress->total_passes = master->pass_number +
664 (master->pub.is_dummy_pass ? 2 : 1);
682 my_master_ptr master = (my_master_ptr) cinfo->master;
686 master->pass_number++;
699 my_master_ptr master = (my_master_ptr) cinfo->master;
708 cinfo->cquantize = master->quantizer_2pass;
711 master->pub.is_dummy_pass = FALSE; /* just in case */
720 * Initialize master decompression control and select active modules.
727 my_master_ptr master = (my_master_ptr) cinfo->master;
729 master->pub.prepare_for_output_pass = prepare_for_output_pass;
730 master->pub.finish_output_pass = finish_output_pass;
732 master->pub.is_dummy_pass = FALSE;
733 master->pub.jinit_upsampler_no_alloc = FALSE;