Lines Matching refs:gamma
31 INIT_LOGD("Creating gamma font renderer");
36 // Get the gamma
37 float gamma = DEFAULT_TEXT_GAMMA;
39 INIT_LOGD(" Setting text gamma to %s", property);
40 gamma = atof(property);
42 INIT_LOGD(" Using default text gamma of %.2f", DEFAULT_TEXT_GAMMA);
45 // Get the black gamma threshold
48 INIT_LOGD(" Setting text black gamma threshold to %s", property);
51 INIT_LOGD(" Using default text black gamma threshold of %d",
55 // Get the white gamma threshold
58 INIT_LOGD(" Setting text white gamma threshold to %s", property);
61 INIT_LOGD(" Using default white black gamma threshold of %d",
65 // Compute the gamma tables
66 const float blackGamma = gamma;
67 const float whiteGamma = 1.0f / gamma;
125 FontRenderer* GammaFontRenderer::getRenderer(Gamma gamma) {
126 FontRenderer* renderer = mRenderers[gamma];
129 mRenderers[gamma] = renderer;
130 renderer->setGammaTable(&mGammaTable[gamma * 256]);
132 mRenderersUsageCount[gamma]++;