Lines Matching refs:gray
721 GX_UBYTE gray; in ComputeGrayThreshod() local
733 ConvertRGBToGray(val.Red, val.Green, val.Blue, (GX_UBYTE *)&gray); in ComputeGrayThreshod()
734 mGrayThreshod += gray; in ComputeGrayThreshod()
2024 GX_UBYTE gray; in WritePixelMono_transparent() local
2041 ConvertRGBToGray(write.Red, write.Green, write.Blue, &gray); in WritePixelMono_transparent()
2042 if (gray > reader->mGrayThreshod) in WritePixelMono_transparent()
2071 ConvertRGBToGray(write.Red, write.Green, write.Blue, &gray); in WritePixelMono_transparent()
2073 if (gray > reader->mGrayThreshod) in WritePixelMono_transparent()
2101 GX_UBYTE gray; in WritePixelMono() local
2109 ConvertRGBToGray(write.Red, write.Green, write.Blue, &gray); in WritePixelMono()
2110 if (gray > reader->mGrayThreshod) in WritePixelMono()
2125 ConvertRGBToGray(write.Red, write.Green, write.Blue, &gray); in WritePixelMono()
2126 if (gray > reader->mGrayThreshod) in WritePixelMono()
2157 GX_UBYTE gray; in WritePixel4bppgrayscale_transparent() local
2161 ConvertRGBToGray(write.Red, write.Green, write.Blue, &gray); in WritePixel4bppgrayscale_transparent()
2162 gray >>= 4; in WritePixel4bppgrayscale_transparent()
2163 written.Red = written.Green = written.Blue = gray | (gray << 4); in WritePixel4bppgrayscale_transparent()
2173 *put = gray; in WritePixel4bppgrayscale_transparent()
2181 *put = gray << 4; in WritePixel4bppgrayscale_transparent()
2185 *put |= gray; in WritePixel4bppgrayscale_transparent()
2235 GX_UBYTE gray; in WritePixel4bppgrayscale() local
2239 ConvertRGBToGray(write.Red , write.Green, write.Blue, &gray); in WritePixel4bppgrayscale()
2240 gray >>= 4; in WritePixel4bppgrayscale()
2241 written.Red = written.Green = written.Blue = gray | (gray << 4); in WritePixel4bppgrayscale()
2246 *put = gray << 4; in WritePixel4bppgrayscale()
2250 *put |= gray; in WritePixel4bppgrayscale()