HomeSort by relevance Sort by last modified time
    Searched full:gamma (Results 1 - 25 of 256) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/qemu/distrib/sdl-1.2.12/src/video/
SDL_gamma.c 24 /* Gamma correction support */
27 #include <math.h> /* Used for calculating gamma ramps */
41 static void CalculateGammaRamp(float gamma, Uint16 *ramp)
45 /* 0.0 gamma is all black */
46 if ( gamma <= 0.0f ) {
52 /* 1.0 gamma is identity */
53 if ( gamma == 1.0f ) {
59 /* Calculate a real gamma ramp */
61 gamma = 1.0f / gamma;
    [all...]
SDL_sysvideo.h 151 /* Gamma support */
153 Uint16 *gamma; member in struct:SDL_VideoDevice
155 /* Set the gamma correction directly (emulated with gamma ramps) */
158 /* Get the gamma correction directly (emulated with gamma ramps) */
161 /* Set the gamma ramp */
164 /* Get the gamma ramp */
282 SDL_Color *gammacols; /* gamma-corrected colours, or NULL */
  /external/qemu/distrib/sdl-1.2.12/src/video/x11/
SDL_x11gamma.c 37 SDL_NAME(XF86VidModeGamma) gamma;
40 /* Clamp the gamma values */
42 gamma.red = MIN_GAMMA;
45 gamma.red = MAX_GAMMA;
47 gamma.red = red;
50 gamma.green = MIN_GAMMA;
53 gamma.green = MAX_GAMMA;
55 gamma.green = green;
58 gamma.blue = MIN_GAMMA;
61 gamma.blue = MAX_GAMMA
    [all...]
  /external/libpng/
TODO 5 Finish work on the no-floating-point version (including gamma compensation)
13 Complete sRGB transformation (presently it simply uses gamma=0.45455).
21 Build gamma tables using fixed point (and do away with floating point entirely).
22 Use greater precision when changing to linear gamma for compositing against
  /frameworks/base/media/libstagefright/codecs/amrwbenc/src/
weight_a.c 21 * 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;
  /external/skia/src/ports/
SkFontHost_gamma.cpp 4 // define this to use pre-compiled tables for gamma. This is slightly faster,
6 // gamma at runtime.
28 #else // use writable globals for gamma tables
63 float gamma) {
65 SkDebugf("\/\/ Gamma table for %g\n", gamma);
101 // If the luminance is <= this value, then apply the black gamma table
104 // If the luminance is >= this value, then apply the white gamma table
116 // printf("------ black gamma for [%d %d %d]\n", r, g, b);
120 // printf("------ white gamma for [%d %d %d]\n", r, g, b)
    [all...]
  /external/skia/include/effects/
SkTableMaskFilter.h 26 Helper methods create some common tables (e.g. gamma, clipping)
36 /** Utility that sets the gamma table
38 static void MakeGammaTable(uint8_t table[256], SkScalar gamma);
45 static SkTableMaskFilter* CreateGamma(SkScalar gamma) {
47 MakeGammaTable(table, gamma);
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/tr1/
beta_function.tcc 44 // (4) Gamma, Exploring Euler's Constant, Julian Havil,
66 * B(x,y) = \frac{\Gamma(x)\Gamma(y)}{\Gamma(x+y)}
110 * the log gamma functions.
114 * B(x,y) = \frac{\Gamma(x)\Gamma(y)}{\Gamma(x+y)}
145 * B(x,y) = \frac{\Gamma(x)\Gamma(y)}{\Gamma(x+y)
    [all...]
hypergeometric.tcc 61 * _1F_1(a;c;x) = \frac{\Gamma(c)}{\Gamma(a)}
63 * \frac{\Gamma(a+n)}{\Gamma(c+n)}
250 * _2F_1(a,b;c;x) = \frac{\Gamma(c)}{\Gamma(a)\Gamma(b)}
252 * \frac{\Gamma(a+n)\Gamma(b+n)}{\Gamma(c+n)
    [all...]
gamma.tcc 26 /** @file tr1/gamma.tcc
44 // (4) Gamma, Exploring Euler's Constant, Julian Havil,
140 * @brief Return \f$log(\Gamma(x))\f$ by asymptotic expansion
144 * @param __x The argument of the log of the gamma function.
145 * @return The logarithm of the gamma function.
169 * @brief Return \f$log(\Gamma(x))\f$ by the Lanczos method.
172 * @param __x The argument of the log of the gamma function.
173 * @return The logarithm of the gamma function.
211 * @brief Return \f$ log(|\Gamma(x)|) \f$.
213 * To recover the sign of \f$ \Gamma(x) \f$ fo
    [all...]
  /external/fdlibm/
w_gamma.c 16 * Return the logarithm of the Gamma function of x.
40 return __kernel_standard(x,x,41); /* gamma pole */
42 return __kernel_standard(x,x,40); /* gamma overflow */
e_gamma_r.c 16 * Reentrant version of the logarithm of the Gamma function
17 * with user provide pointer for the sign of Gamma(x).
w_gamma_r.c 36 return __kernel_standard(x,x,41); /* gamma pole */
38 return __kernel_standard(x,x,40); /* gamma overflow */
  /frameworks/base/graphics/java/android/graphics/
TableMaskFilter.java 39 public static TableMaskFilter CreateGammaTable(float gamma) {
40 return new TableMaskFilter(nativeNewGamma(gamma));
45 private static native int nativeNewGamma(float gamma);
  /frameworks/base/core/jni/android/graphics/
Typeface.cpp 146 static float pinGamma(float gamma) {
147 if (gamma < MIN_GAMMA) {
148 gamma = MIN_GAMMA;
149 } else if (gamma > MAX_GAMMA) {
150 gamma = MAX_GAMMA;
152 return gamma;
MaskFilter.cpp 53 static SkMaskFilter* createGammaTable(JNIEnv* env, jobject, float gamma) {
54 return SkTableMaskFilter::CreateGamma(gamma);
  /external/qemu/distrib/sdl-1.2.12/src/video/maccommon/
SDL_macwm.c 57 * ADC Gamma Ramp support...
59 * Mac Gamma Ramp code was originally from sample code provided by
61 * "Contains: Functions to enable Mac OS device gamma adjustments using 3 channel 256 element 8 bit gamma ramps
74 typedef struct recDeviceGamma /* storage for device handle and gamma table */
77 GammaTblPtr pDeviceGamma; /* pointer to device gamma table */
81 typedef struct recSystemGamma /* storage for system devices and gamma tables */
84 precDeviceGamma * devGamma; /* array of pointers to device gamma records */
115 cParam.csCode = cscGetGamma; /* Get Gamma commnd to device */
116 *(Ptr *)cParam.csParam = (Ptr) &DeviceGammaRec; /* record for gamma */
    [all...]
  /bionic/libm/man/
lgamma.3 43 .Nm gamma ,
48 .Nd log gamma functions, gamma function
65 .Fn gamma "double x"
101 .Fn gamma ,
139 .Fn gamma ,
169 .Fn gamma
176 .Fn gamma
  /bionic/libm/src/
e_gamma_r.c 20 * Reentrant version of the logarithm of the Gamma function
21 * with user provide pointer for the sign of Gamma(x).
e_gammaf_r.c 21 * Reentrant version of the logarithm of the Gamma function
22 * with user provide pointer for the sign of Gamma(x).
  /development/simulator/app/
PrefsDialog.cpp 91 pPrefs->GetDouble("gamma", &mGammaCorrection);
121 wxTextCtrl* gamma = (wxTextCtrl*) FindWindow(IDC_RPREFS_GAMMA); local
132 gamma->SetValue(tmpStr);
156 wxTextCtrl* gamma = (wxTextCtrl*) FindWindow(IDC_RPREFS_GAMMA); local
165 tmpStr = gamma->GetValue();
169 wxMessageBox(wxT("Bad value for gamma -- must be > 0.0 and <= 2.0"),
198 pPrefs->SetDouble("gamma", mGammaCorrection);
261 wxT("Gamma correction:"));
  /external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/
xf86vmode.h 158 float red; /* Red Gamma value */
159 float green; /* Green Gamma value */
160 float blue; /* Blue Gamma value */
276 SDL_NAME(XF86VidModeGamma)* /* Gamma */
282 SDL_NAME(XF86VidModeGamma)* /* Gamma */
  /external/skia/src/effects/
SkBlurMask.cpp 326 if (gamma && dst->fImage) {
331 *image = gamma[*image];
339 void SkBlurMask::BuildSqrtGamma(uint8_t gamma[256], SkScalar percent)
341 SkASSERT(gamma);
354 gamma[i] = SkToU8(n);
358 void SkBlurMask::BuildSqrGamma(uint8_t gamma[256], SkScalar percent)
360 SkASSERT(gamma);
371 gamma[i] = SkToU8(n * div255 >> 16);
  /libcore/dom/src/test/resources/
hc_staff.svg 7 <!ENTITY gamma "&#947;">
44 <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
hc_staff.xhtml 7 <!ENTITY gamma "&#947;">
32 <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;

Completed in 477 milliseconds

1 2 3 4 5 6 7 8 91011