/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
|
/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);
|
/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).
|
e_gamma.c | 20 * Return the logarithm of the Gamma function of 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:"));
|
/frameworks/base/awt/java/awt/color/ |
ICC_ProfileGray.java | 70 * Gets a gamma value representing the tone reproduction curve (TRC). 72 * @return the gamma value representing the tone reproduction curve (TRC).
|
/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 */
|
/dalvik/libcore/dom/src/test/resources/ |
hc_staff.svg | 7 <!ENTITY gamma "γ"> 44 <acronym title="Yes" class="Yes">β Dallas, γ
|
hc_staff.xhtml | 7 <!ENTITY gamma "γ"> 32 <acronym title="Yes" class="Yes">β Dallas, γ
|
hc_staff.xml | 7 <!ENTITY gamma "γ"> 32 <acronym title="Yes" class="Yes">β Dallas, γ
|
/dalvik/libcore/xml/src/test/resources/ |
hc_staff.xml | 7 <!ENTITY gamma "γ"> 32 <acronym title="Yes" class="Yes">β Dallas, γ
|
/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);
|