Home | History | Annotate | Download | only in jpeg

Lines Matching refs:boxlist

273 find_biggest_color_pop (boxptr boxlist, int numboxes)
282 for (i = 0, boxp = boxlist; i < numboxes; i++, boxp++) {
293 find_biggest_volume (boxptr boxlist, int numboxes)
302 for (i = 0, boxp = boxlist; i < numboxes; i++, boxp++) {
424 median_cut (j_decompress_ptr cinfo, boxptr boxlist, int numboxes,
437 b1 = find_biggest_color_pop(boxlist, numboxes);
439 b1 = find_biggest_volume(boxlist, numboxes);
443 b2 = &boxlist[numboxes]; /* where new box will go */
542 boxptr boxlist;
547 boxlist = (boxptr) (*cinfo->mem->alloc_small)
551 boxlist[0].c0min = 0;
552 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT;
553 boxlist[0].c1min = 0;
554 boxlist[0].c1max = MAXJSAMPLE >> C1_SHIFT;
555 boxlist[0].c2min = 0;
556 boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT;
558 update_box(cinfo, & boxlist[0]);
560 numboxes = median_cut(cinfo, boxlist, numboxes, desired_colors);
563 compute_color(cinfo, & boxlist[i], i);