Home
last modified time | relevance | path

Searched refs:gamma (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/libs/hwui/
DGammaFontRenderer.cpp112 description.gamma = mGamma; in describe()
115 description.gamma = 1.0f / mGamma; in describe()
119 description.gamma = 1.0f / mGamma; in describe()
127 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()
228 FontRenderer* Lookup3GammaFontRenderer::getRenderer(Gamma gamma) { in getRenderer() argument
229 if (!mRenderers[gamma]) { in getRenderer()
230 mRenderers[gamma].reset(new FontRenderer()); in getRenderer()
231 mRenderers[gamma]->setGammaTable(&mGammaTable[gamma * 256]); in getRenderer()
[all …]
DProgram.h161 float gamma; member
203 gamma = 2.2f; in reset()
DGammaFontRenderer.h189 FontRenderer* getRenderer(Gamma gamma);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTextGammaActivity.java40 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/
Dweight_a.c31 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/
DTableMaskFilter.java39 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/
Dweight_amrwb_lpc.cpp119 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()
Dpvamrwbdecoder_acelp.h117 int16 gamma, /* (i) Q15 : Spectral expansion factor. */
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java469 float gamma = 1.0f; in updateAutoBrightness() local
475 gamma *= adjGamma; in updateAutoBrightness()
489 gamma *= earlyGamma * lateGamma; in updateAutoBrightness()
497 if (gamma != 1.0f) { in updateAutoBrightness()
499 value = MathUtils.pow(value, gamma); in updateAutoBrightness()
501 Slog.d(TAG, "updateAutoBrightness: gamma=" + gamma in updateAutoBrightness()
516 mLastScreenAutoBrightnessGamma = gamma; in updateAutoBrightness()
DColorFade.java378 float gamma = (float) ((0.5d * sign * Math.pow(cos, 2) + 0.5d) * 0.9d + 0.1d); in draw()
379 drawFaded(opacity, 1.f / gamma, saturation, scale); in draw()
391 private void drawFaded(float opacity, float gamma, float saturation, float scale) {
393 Slog.d(TAG, "drawFaded: opacity=" + opacity + ", gamma=" + gamma +
403 GLES20.glUniform1f(mGammaLoc, gamma);
/frameworks/base/core/res/res/raw/
Dcolor_fade_frag.frag7 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/
DMaskFilter.cpp58 static jlong createGammaTable(JNIEnv* env, jobject, jfloat gamma) { in createGammaTable() argument
59 SkMaskFilter* filter = SkTableMaskFilter::CreateGamma(gamma); in createGammaTable()
/frameworks/rs/
DrsFont.cpp342 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/
Dacelp.h95 Word16 gamma, /* (i) Q15 : Spectral expansion factor. */
/frameworks/rs/api/
Drs_math.spec866 summary: Natural logarithm of the gamma function
868 Returns the natural logarithm of the absolute value of the gamma function,
2173 Returns the gamma function of a value.
/frameworks/wilhelm/doc/
DDoxyfile828 # 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/
Drs_math.rsh1461 * lgamma: Natural logarithm of the gamma function
1463 * Returns the natural logarithm of the absolute value of the gamma function,
1469 …* sign_of_gamma: If sign_of_gamma is not null, *sign_of_gamma will be set to -1.f if the gamma o…
4055 * Returns the gamma function of a value.
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h973 XApermille gamma
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_math.jd492 Natural logarithm of the gamma function
3632 <span class='normal'>: Natural logarithm of the gamma function</span>
3681 …d>If sign_of_gamma is not null, *sign_of_gamma will be set to -1.f if the gamma of v is negative, …
3685 <p> Returns the natural logarithm of the absolute value of the gamma function,
7201 <p> Returns the gamma function of a value.
Doverview.jd1137 Natural logarithm of the gamma function
Dindex.jd1059 Natural logarithm of the gamma function