Lines Matching refs:Bmin
108 int Bmin, Bmax; member
228 int Rmin, Rmax, Gmin, Gmax, Bmin, Bmax; in update_box_rgb() local
236 Bmin = boxp->Bmin; in update_box_rgb()
243 histp = histogram + R * MR + G * MG + Bmin; in update_box_rgb()
244 for (B = Bmin; B <= Bmax; B++) in update_box_rgb()
256 histp = histogram + R * MR + G * MG + Bmin; in update_box_rgb()
257 for (B = Bmin; B <= Bmax; B++) in update_box_rgb()
269 histp = histogram + R * MR + G * MG + Bmin; in update_box_rgb()
270 for (B = Bmin; B <= Bmax; B++) in update_box_rgb()
282 histp = histogram + R * MR + G * MG + Bmin; in update_box_rgb()
283 for (B = Bmin; B <= Bmax; B++) in update_box_rgb()
291 if (Bmax > Bmin) in update_box_rgb()
292 for (B = Bmin; B <= Bmax; B++) in update_box_rgb()
299 boxp->Bmin = Bmin = B; in update_box_rgb()
304 if (Bmax > Bmin) in update_box_rgb()
305 for (B = Bmax; B >= Bmin; B--) in update_box_rgb()
328 dist2 = Bmax - Bmin; in update_box_rgb()
336 histp = histogram + R * MR + G * MG + Bmin; in update_box_rgb()
337 for (B = Bmin; B <= Bmax; B++, histp++) in update_box_rgb()
373 b2->Bmin = b1->Bmin; in median_cut_rgb()
380 B = b1->Bmax - b1->Bmin; in median_cut_rgb()
413 lb = (b1->Bmax + b1->Bmin) / 2; in median_cut_rgb()
415 b2->Bmin = lb + 1; in median_cut_rgb()
438 int Bmin, Bmax; in compute_color_rgb() local
453 Bmin = boxp->Bmin; in compute_color_rgb()
459 histp = histogram + R * MR + G * MG + Bmin; in compute_color_rgb()
460 for (B = Bmin; B <= Bmax; B++) in compute_color_rgb()
504 boxlist[0].Bmin = 0; in select_colors_rgb()