Lines Matching refs:b1
434 register boxptr b1,b2;
441 b1 = find_biggest_color_pop(boxlist, numboxes);
443 b1 = find_biggest_volume(boxlist, numboxes);
445 if (b1 == NULL) /* no splittable boxes left! */
449 b2->c0max = b1->c0max; b2->c1max = b1->c1max; b2->c2max = b1->c2max;
450 b2->c0min = b1->c0min; b2->c1min = b1->c1min; b2->c2min = b1->c2min;
455 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE;
456 c1 = ((b1->c1max - b1->c1min) << C1_SHIFT) * C1_SCALE;
457 c2 = ((b1->c2max - b1->c2min) << C2_SHIFT) * C2_SCALE;
478 lb = (b1->c0max + b1->c0min) / 2;
479 b1->c0max = lb;
483 lb = (b1->c1max + b1->c1min) / 2;
484 b1->c1max = lb;
488 lb = (b1->c2max + b1->c2min) / 2;
489 b1->c2max = lb;
494 update_box(cinfo, b1);