Lines Matching refs:master

310     my_master_ptr master = (my_master_ptr) cinfo->master;  in select_scan_parameters()  local
311 const jpeg_scan_info * scanptr = cinfo->scan_info + master->scan_number; in select_scan_parameters()
438 my_master_ptr master = (my_master_ptr) cinfo->master; in prepare_for_pass() local
440 switch (master->pass_type) { in prepare_for_pass()
455 (master->total_passes > 1 ? in prepare_for_pass()
460 master->pub.call_pass_startup = FALSE; in prepare_for_pass()
463 master->pub.call_pass_startup = TRUE; in prepare_for_pass()
474 master->pub.call_pass_startup = FALSE; in prepare_for_pass()
480 master->pass_type = output_pass; in prepare_for_pass()
481 master->pass_number++; in prepare_for_pass()
494 if (master->scan_number == 0) in prepare_for_pass()
497 master->pub.call_pass_startup = FALSE; in prepare_for_pass()
503 master->pub.is_last_pass = (master->pass_number == master->total_passes-1); in prepare_for_pass()
507 cinfo->progress->completed_passes = master->pass_number; in prepare_for_pass()
508 cinfo->progress->total_passes = master->total_passes; in prepare_for_pass()
526 cinfo->master->call_pass_startup = FALSE; /* reset flag so call only once */ in pass_startup()
540 my_master_ptr master = (my_master_ptr) cinfo->master; in finish_pass_master() local
548 switch (master->pass_type) { in finish_pass_master()
553 master->pass_type = output_pass; in finish_pass_master()
555 master->scan_number++; in finish_pass_master()
559 master->pass_type = output_pass; in finish_pass_master()
564 master->pass_type = huff_opt_pass; in finish_pass_master()
565 master->scan_number++; in finish_pass_master()
569 master->pass_number++; in finish_pass_master()
580 my_master_ptr master; in jinit_c_master_control() local
582 master = (my_master_ptr) in jinit_c_master_control()
585 cinfo->master = (struct jpeg_comp_master *) master; in jinit_c_master_control()
586 master->pub.prepare_for_pass = prepare_for_pass; in jinit_c_master_control()
587 master->pub.pass_startup = pass_startup; in jinit_c_master_control()
588 master->pub.finish_pass = finish_pass_master; in jinit_c_master_control()
589 master->pub.is_last_pass = FALSE; in jinit_c_master_control()
612 master->pass_type = huff_opt_pass; in jinit_c_master_control()
614 master->pass_type = output_pass; in jinit_c_master_control()
617 master->pass_type = main_pass; in jinit_c_master_control()
619 master->scan_number = 0; in jinit_c_master_control()
620 master->pass_number = 0; in jinit_c_master_control()
622 master->total_passes = cinfo->num_scans * 2; in jinit_c_master_control()
624 master->total_passes = cinfo->num_scans; in jinit_c_master_control()