/frameworks/base/libs/hwui/ |
D | GammaFontRenderer.cpp | 113 description.gamma = mGamma; in describe() 116 description.gamma = 1.0f / mGamma; in describe() 120 description.gamma = 1.0f / mGamma; in describe() 128 glUniform1f(program->getUniform("gamma"), description.gamma); in setupProgram() 146 const float gamma = 1.0f / mGamma; in LookupGammaFontRenderer() local 149 mGammaTable[i] = uint8_t((float)::floor(pow(i / 255.0f, gamma) * 255.0f + 0.5f)); in LookupGammaFontRenderer() 235 FontRenderer* Lookup3GammaFontRenderer::getRenderer(Gamma gamma) { in getRenderer() argument 236 FontRenderer* renderer = mRenderers[gamma]; in getRenderer() 239 mRenderers[gamma] = renderer; in getRenderer() 240 renderer->setGammaTable(&mGammaTable[gamma * 256]); in getRenderer() [all …]
|
D | Program.h | 160 float gamma; member 202 gamma = 2.2f; in reset()
|
D | GammaFontRenderer.h | 192 FontRenderer* getRenderer(Gamma gamma);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | TextGammaActivity.java | 40 final GammaTextView gamma = new GammaTextView(this); in onCreate() local 41 layout.addView(gamma, new LinearLayout.LayoutParams( in onCreate() 49 Bitmap b = Bitmap.createBitmap(gamma.getWidth(), gamma.getHeight(), in onCreate() 53 gamma.draw(c); in onCreate() 91 final GammaTextView gamma = new GammaTextView(this); in onCreate() local 96 layout.addView(gamma, lp); in onCreate()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | weight_a.c | 31 Word16 gamma, /* (i) Q15 : Spectral expansion factor. */ in Weight_a() argument 37 fac = gamma; in Weight_a() 40 fac = (vo_L_mult(fac, gamma) + 0x8000) >> 16; in Weight_a()
|
/frameworks/base/graphics/java/android/graphics/ |
D | TableMaskFilter.java | 39 public static TableMaskFilter CreateGammaTable(float gamma) { in CreateGammaTable() argument 40 return new TableMaskFilter(nativeNewGamma(gamma)); in CreateGammaTable() 45 private static native long nativeNewGamma(float gamma); in nativeNewGamma() argument
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | weight_amrwb_lpc.cpp | 119 int16 gamma, /* (i) Q15 : Spectral expansion factor. */ in weight_amrwb_lpc() argument 126 fac = gamma; in weight_amrwb_lpc() 130 fac = (int16)(fxp_mac_16by16(fac, gamma, roundFactor) >> 15); in weight_amrwb_lpc()
|
D | pvamrwbdecoder_acelp.h | 117 int16 gamma, /* (i) Q15 : Spectral expansion factor. */
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | AutomaticBrightnessController.java | 437 float gamma = 1.0f; in updateAutoBrightness() local 443 gamma *= adjGamma; in updateAutoBrightness() 457 gamma *= earlyGamma * lateGamma; in updateAutoBrightness() 465 if (gamma != 1.0f) { in updateAutoBrightness() 467 value = MathUtils.pow(value, gamma); in updateAutoBrightness() 469 Slog.d(TAG, "updateAutoBrightness: gamma=" + gamma in updateAutoBrightness() 484 mLastScreenAutoBrightnessGamma = gamma; in updateAutoBrightness()
|
D | ColorFade.java | 381 float gamma = (0.5f * sign * FloatMath.pow(cos, 2) + 0.5f) * 0.9f + 0.1f; in draw() 382 drawFaded(opacity, 1.f / gamma, saturation, scale); in draw() 394 private void drawFaded(float opacity, float gamma, float saturation, float scale) { 396 Slog.d(TAG, "drawFaded: opacity=" + opacity + ", gamma=" + gamma + 406 GLES20.glUniform1f(mGammaLoc, gamma);
|
/frameworks/base/core/res/res/raw/ |
D | color_fade_frag.frag | 7 uniform float gamma; 40 vec3 rgb = pow(hsl2rgb(vec3(hsl.x, hsl.y * saturation, hsl.z * opacity)), vec3(gamma));
|
/frameworks/base/core/jni/android/graphics/ |
D | MaskFilter.cpp | 56 static jlong createGammaTable(JNIEnv* env, jobject, jfloat gamma) { in createGammaTable() argument 57 SkMaskFilter* filter = SkTableMaskFilter::CreateGamma(gamma); in createGammaTable()
|
/frameworks/rs/ |
D | rsFont.cpp | 342 float gamma = DEFAULT_TEXT_GAMMA; in FontState() local 352 gamma = atof(property); in FontState() 370 mBlackGamma = gamma; in FontState() 371 mWhiteGamma = 1.0f / gamma; in FontState()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
D | acelp.h | 95 Word16 gamma, /* (i) Q15 : Spectral expansion factor. */
|
/frameworks/rs/api/ |
D | rs_core_math.spec | 530 Return the log gamma 542 Return the log gamma and sign 863 Compute the gamma function of a value.
|
/frameworks/wilhelm/doc/ |
D | Doxyfile | 828 # The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to 831 # the output darker. The value divided by 100 is the actual gamma applied, 832 # so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2, 833 # and 100 does not change the gamma.
|
/frameworks/rs/scriptc/ |
D | rs_core_math.rsh | 5670 * Return the log gamma 5679 * Return the log gamma 5688 * Return the log gamma 5697 * Return the log gamma 5706 * Return the log gamma and sign 5715 * Return the log gamma and sign 5724 * Return the log gamma and sign 5733 * Return the log gamma and sign 9818 * Compute the gamma function of a value. 9827 * Compute the gamma function of a value. [all …]
|
/frameworks/wilhelm/include/OMXAL/ |
D | OpenMAXAL.h | 973 XApermille gamma
|