Searched refs:gamma (Results 1 - 13 of 13) 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/base/libs/hwui/
H A DGammaFontRenderer.cpp25 INIT_LOGD("Creating lookup gamma font renderer");
27 // Compute the gamma tables
28 const float gamma = 1.0f / Properties::textGamma; local
31 mGammaTable[i] = uint8_t((float)::floor(pow(i / 255.0f, gamma) * 255.0f + 0.5f));
/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/core/jni/android/graphics/
H A DMaskFilter.cpp58 static jlong createGammaTable(JNIEnv* env, jobject, jfloat gamma) { argument
59 SkMaskFilter* filter = SkTableMaskFilter::CreateGamma(gamma);
/frameworks/base/services/core/java/com/android/server/display/
H A DAutomaticBrightnessController.java167 // The maximum range of gamma adjustment possible using the screen
171 // The last screen auto-brightness gamma. (For printing in dump() only.)
485 float gamma = 1.0f;
491 gamma *= adjGamma;
501 gamma *= 1 + state.getAmount() * TWILIGHT_ADJUSTMENT_MAX_GAMMA;
508 if (gamma != 1.0f) {
510 value = MathUtils.pow(value, gamma);
512 Slog.d(TAG, "updateAutoBrightness: gamma=" + gamma
527 mLastScreenAutoBrightnessGamma = gamma;
[all...]
H A DColorFade.java247 mGammaLoc = GLES20.glGetUniformLocation(mProgram, "gamma");
399 float gamma = (float) ((0.5d * sign * Math.pow(cos, 2) + 0.5d) * 0.9d + 0.1d);
400 drawFaded(opacity, 1.f / gamma, saturation, scale);
412 private void drawFaded(float opacity, float gamma, float saturation, float scale) { argument
414 Slog.d(TAG, "drawFaded: opacity=" + opacity + ", gamma=" + gamma +
424 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_math.spec1272 summary: Natural logarithm of the gamma function
1274 Returns the natural logarithm of the absolute value of the gamma function,
1296 arg: int#1* sign_of_gamma, "If sign_of_gamma is not null, *sign_of_gamma will be set to -1.f if the gamma of v is negative, otherwise to 1.f."
3318 Returns the gamma function of a value.
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h973 XApermille gamma

Completed in 368 milliseconds