Home | History | Annotate | Download | only in libjpeg

Lines Matching full:nearest

572  * colors to the nearest color in the selected colormap.
575 * cache for the results of nearest-color searches. All colors within a
579 * indicates we haven't found the nearest color for that cell yet; the array
581 * nearest color for a cell, its colormap index plus one is recorded in the
585 * Our method of efficiently finding nearest colors is based on the "locally
600 * nearest colors for only the cells within a small subbox of the histogram.
650 * for the nearest entry to some cell(s) in the update box. The update box
794 /* This array holds the distance to the nearest-so-far color for each cell */
887 * for the nearest entry to some cell in the update box.
891 /* Determine the actually nearest colors. */
938 /* If we have not seen this color before, find nearest colormap entry */
1029 /* If we have not seen this color before, find nearest colormap */