Lines Matching refs:gray
52 int cube, gray; in miBuildRenderColormap() local
99 cube = gray = 0; in miBuildRenderColormap()
122 gray = needed / (cube - 1); in miBuildRenderColormap()
124 gray = (gray + 1) * (cube - 1) + 1; in miBuildRenderColormap()
127 gray = pColormap->pVisual->ColormapEntries; in miBuildRenderColormap()
134 gray = NUM_GRAY_LEVELS; in miBuildRenderColormap()
138 gray = 2; in miBuildRenderColormap()
155 for (g = 0; g < gray; g++) { in miBuildRenderColormap()
157 red = green = blue = (g * 65535 + (gray - 1) / 2) / (gray - 1); in miBuildRenderColormap()
203 FindBestGray(miIndexedPtr pIndexed, Pixel * pixels, int num, int gray) in FindBestGray() argument
217 dr = gray - (r >> 1); in FindBestGray()