Searched refs:gamma (Results 1 - 15 of 15) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dweight_a.c21 * ap[i] = a[i] * (gamma ** i) *
31 Word16 gamma, /* (i) Q15 : Spectral expansion factor. */
37 fac = gamma;
40 fac = (vo_L_mult(fac, gamma) + 0x8000) >> 16;
28 Weight_a( Word16 a[], Word16 ap[], Word16 gamma, Word16 m ) argument
/frameworks/base/graphics/java/android/graphics/
H A DTableMaskFilter.java39 public static TableMaskFilter CreateGammaTable(float gamma) { argument
40 return new TableMaskFilter(nativeNewGamma(gamma));
45 private static native long nativeNewGamma(float gamma); argument
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dweight_amrwb_lpc.cpp49 int16 gamma, (i) Q15 : Spectral expansion factor.
56 ap[i] = a[i] (gamma i)
119 int16 gamma, /* (i) Q15 : Spectral expansion factor. */
126 fac = gamma;
130 fac = (int16)(fxp_mac_16by16(fac, gamma, roundFactor) >> 15);
116 weight_amrwb_lpc( int16 a[], int16 ap[], int16 gamma, int16 m ) argument
H A Dpvamrwbdecoder_acelp.h117 int16 gamma, /* (i) Q15 : Spectral expansion factor. */
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTextGammaActivity.java40 final GammaTextView gamma = new GammaTextView(this);
41 layout.addView(gamma, new LinearLayout.LayoutParams(
49 Bitmap b = Bitmap.createBitmap(gamma.getWidth(), gamma.getHeight(),
53 gamma.draw(c);
91 final GammaTextView gamma = new GammaTextView(this);
96 layout.addView(gamma, lp);
/frameworks/base/libs/hwui/
H A DGammaFontRenderer.cpp62 // Get the gamma
65 INIT_LOGD(" Setting text gamma to %s", property);
68 INIT_LOGD(" Using default text gamma of %.2f", DEFAULT_TEXT_GAMMA);
71 // Get the black gamma threshold
74 INIT_LOGD(" Setting text black gamma threshold to %s", property);
77 INIT_LOGD(" Using default text black gamma threshold of %d",
81 // Get the white gamma threshold
84 INIT_LOGD(" Setting text white gamma threshold to %s", property);
87 INIT_LOGD(" Using default white black gamma threshold of %d",
100 INIT_LOGD("Creating shader gamma fon
146 const float gamma = 1.0f / mGamma; local
235 getRenderer(Gamma gamma) argument
[all...]
H A DProgram.h160 float gamma; member in struct:android::uirenderer::ProgramDescription
202 gamma = 2.2f;
H A DGammaFontRenderer.h192 FontRenderer* getRenderer(Gamma gamma);
/frameworks/base/core/jni/android/graphics/
H A DMaskFilter.cpp56 static jlong createGammaTable(JNIEnv* env, jobject, jfloat gamma) { argument
57 SkMaskFilter* filter = SkTableMaskFilter::CreateGamma(gamma);
/frameworks/base/services/core/java/com/android/server/display/
H A DAutomaticBrightnessController.java51 // The maximum range of gamma adjustment possible using the screen
96 // the gamma. We want the change to happen gradually so that it is below the
171 // The last screen auto-brightness gamma. (For printing in dump() only.)
437 float gamma = 1.0f;
443 gamma *= adjGamma;
457 gamma *= earlyGamma * lateGamma;
465 if (gamma != 1.0f) {
467 value = MathUtils.pow(value, gamma);
469 Slog.d(TAG, "updateAutoBrightness: gamma=" + gamma
[all...]
H A DColorFade.java248 mGammaLoc = GLES20.glGetUniformLocation(mProgram, "gamma");
381 float gamma = (0.5f * sign * FloatMath.pow(cos, 2) + 0.5f) * 0.9f + 0.1f;
382 drawFaded(opacity, 1.f / gamma, saturation, scale);
394 private void drawFaded(float opacity, float gamma, float saturation, float scale) { argument
396 Slog.d(TAG, "drawFaded: opacity=" + opacity + ", gamma=" + gamma +
406 GLES20.glUniform1f(mGammaLoc, gamma);
/frameworks/rs/
H A DrsFont.cpp342 float gamma = DEFAULT_TEXT_GAMMA; local
350 // Get the gamma
352 gamma = atof(property);
355 // Get the black gamma threshold
360 // Get the white gamma threshold
369 // Compute the gamma tables
370 mBlackGamma = gamma;
371 mWhiteGamma = 1.0f / gamma;
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dacelp.h95 Word16 gamma, /* (i) Q15 : Spectral expansion factor. */
/frameworks/rs/api/
H A Drs_core_math.spec530 Return the log gamma
542 Return the log gamma and sign
863 Compute the gamma function of a value.
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h973 XApermille gamma

Completed in 1245 milliseconds