Searched refs:gamma (Results 1 - 17 of 17) 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
H A DColorSpace.java1545 // Reciprocal piecewise gamma response
1550 // Piecewise gamma response
1555 // Reciprocal piecewise gamma response
1561 // Piecewise gamma response
1567 // Reciprocal piecewise gamma response, encoded as sign(x).f(abs(x)) for color
1574 // Piecewise gamma response, encoded as sign(x).f(abs(x)) for color spaces that
1916 * conversion function or often, and approximately, gamma function.</li>
1918 * conversion function or often, and approximately, gamma function.</li>
1962 * "gamma space". They are therefore defined in a non-linear space. This
1969 * value must be encoded back to non-linear ("gamma") spac
2430 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(9) float[] toXYZ, double gamma) argument
2469 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(min = 6, max = 9) float[] primaries, @NonNull @Size(min = 2, max = 3) float[] whitePoint, double gamma) argument
2514 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(min = 6, max = 9) float[] primaries, @NonNull @Size(min = 2, max = 3) float[] whitePoint, double gamma, float min, float max, @IntRange(from = MIN_ID, to = MAX_ID) int id) argument
[all...]
/frameworks/base/libs/hwui/
H A DGammaFontRenderer.cpp25 INIT_LOGD("Creating lookup gamma font renderer");
28 // Compute the gamma tables
29 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/native/libs/ui/
H A DColorSpace.cpp71 static ColorSpace::transfer_function toOETF(float gamma) { argument
72 if (gamma == 1.0f) {
75 return std::bind(safePow, _1, 1.0f / gamma);
78 static ColorSpace::transfer_function toEOTF(float gamma) { argument
79 if (gamma == 1.0f) {
82 return std::bind(safePow, _1, gamma);
135 float gamma,
140 , mParameters({gamma, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f})
141 , mOETF(toOETF(gamma))
142 , mEOTF(toEOTF(gamma))
[all...]
/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.java169 // The maximum range of gamma adjustment possible using the screen
173 // The last screen auto-brightness gamma. (For printing in dump() only.)
535 float gamma = 1.0f;
541 gamma *= adjGamma;
547 if (gamma != 1.0f) {
549 value = MathUtils.pow(value, gamma);
551 Slog.d(TAG, "updateAutoBrightness: gamma=" + gamma
566 mLastScreenAutoBrightnessGamma = gamma;
609 + ", 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/native/include/ui/
H A DColorSpace.h86 * The transfer functions are defined by a simple gamma value.
92 float gamma,
136 * The transfer functions are defined by a single gamma value.
143 float gamma,
252 // The generated LUT transforms from gamma space to gamma space
/frameworks/native/libs/ui/include/ui/
H A DColorSpace.h86 * The transfer functions are defined by a simple gamma value.
92 float gamma,
136 * The transfer functions are defined by a single gamma value.
143 float gamma,
252 // The generated LUT transforms from gamma space to gamma space
/frameworks/rs/
H A DrsFont.cpp341 float gamma = DEFAULT_TEXT_GAMMA; local
349 // Get the gamma
351 gamma = atof(property);
354 // Get the black gamma threshold
359 // Get the white gamma threshold
368 // Compute the gamma tables
369 mBlackGamma = gamma;
370 mWhiteGamma = 1.0f / gamma;
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dacelp.h95 Word16 gamma, /* (i) Q15 : Spectral expansion factor. */
/frameworks/rs/script_api/
H A Drs_math.spec1286 summary: Natural logarithm of the gamma function
1288 Returns the natural logarithm of the absolute value of the gamma function,
1310 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."
3332 Returns the gamma function of a value.
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h973 XApermille gamma

Completed in 457 milliseconds