Home
last modified time | relevance | path

Searched refs:mGammaTable (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
DGammaFontRenderer.cpp149 mGammaTable[i] = uint8_t((float)::floor(pow(i / 255.0f, gamma) * 255.0f + 0.5f)); in LookupGammaFontRenderer()
177 mGammaTable[i] = i; in Lookup3GammaFontRenderer()
178 mGammaTable[256 + i] = uint8_t((float)::floor(black * 255.0f + 0.5f)); in Lookup3GammaFontRenderer()
179 mGammaTable[512 + i] = uint8_t((float)::floor(white * 255.0f + 0.5f)); in Lookup3GammaFontRenderer()
240 renderer->setGammaTable(&mGammaTable[gamma * 256]); in getRenderer()
DGammaFontRenderer.h122 mRenderer->setGammaTable(&mGammaTable[0]); in getFontRenderer()
147 uint8_t mGammaTable[256]; variable
197 uint8_t mGammaTable[256 * kGammaCount]; variable
DFontRenderer.h95 mGammaTable = gammaTable; in setGammaTable()
143 const uint8_t* mGammaTable; variable
DFontRenderer.cpp107 mGammaTable = NULL; in FontRenderer()
311 if (mGammaTable) { in cacheBitmap()
317 cacheBuffer[row + cacheX] = mGammaTable[tempCol]; in cacheBitmap()