Lines Matching full:nearest
571 * colors to the nearest color in the selected colormap.
574 * cache for the results of nearest-color searches. All colors within a
578 * indicates we haven't found the nearest color for that cell yet; the array
580 * nearest color for a cell, its colormap index plus one is recorded in the
584 * Our method of efficiently finding nearest colors is based on the "locally
599 * nearest colors for only the cells within a small subbox of the histogram.
649 * for the nearest entry to some cell(s) in the update box. The update box
793 /* This array holds the distance to the nearest-so-far color for each cell */
886 * for the nearest entry to some cell in the update box.
890 /* Determine the actually nearest colors. */
937 /* If we have not seen this color before, find nearest colormap entry */
1028 /* If we have not seen this color before, find nearest colormap */