Lines Matching refs:b1
610 register boxptr b1, b2; local
619 b1 = find_biggest_color_pop (boxlist, numboxes);
623 b1 = find_biggest_volume (boxlist, numboxes);
625 if (b1 == NULL) /* no splittable boxes left! */
629 b2->c0max = b1->c0max;
630 b2->c1max = b1->c1max;
631 b2->c2max = b1->c2max;
632 b2->c0min = b1->c0min;
633 b2->c1min = b1->c1min;
634 b2->c2min = b1->c2min;
639 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE;
640 c1 = ((b1->c1max - b1->c1min) << C1_SHIFT) * C1_SCALE;
641 c2 = ((b1->c2max - b1->c2min) << C2_SHIFT) * C2_SCALE;
679 lb = (b1->c0max + b1->c0min) / 2;
680 b1->c0max = lb;
684 lb = (b1->c1max + b1->c1min) / 2;
685 b1->c1max = lb;
689 lb = (b1->c2max + b1->c2min) / 2;
690 b1->c2max = lb;
696 update_box (cinfo, b1);
699 update_box (oim, nim, cquantize, b1);