/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/ |
GammaCorrection.frag | 6 vec3 gamma(vec3 L,float gamma)
8 return pow(L, vec3(1.0 / gamma));
16 texVal.rgb = gamma(texVal.rgb , m_gamma);
|
GammaCorrection15.frag | 8 vec3 gamma(vec3 L,float gamma)
10 return pow(L, vec3(1.0 / gamma));
18 texVal.rgb = gamma(texVal.rgb , m_gamma);
|
GammaCorrection.j3md | 6 Float gamma
|
Posterization.j3md | 7 Float Gamma;
|
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_SetGamma.3 | 3 SDL_SetGamma \- Sets the color gamma function for the display 11 Sets the "gamma function" for the display of each color component\&. Gamma controls the brightness/contrast of colors displayed on the screen\&. A gamma value of 1\&.0 is identity (i\&.e\&., no adjustment is made)\&. 13 This function adjusts the gamma based on the "gamma function" parameter, you can directly specify lookup tables for gamma adjustment with \fISDL_SetGammaRamp\fR\&. 15 Not all display hardware is able to change gamma\&. 18 Returns -1 on error (or if gamma adjustment is not supported)\&.
|
SDL_SetGammaRamp.3 | 3 SDL_SetGammaRamp \- Sets the color gamma lookup tables for the display 11 Sets the gamma lookup tables for the display for each color component\&. Each table is an array of 256 Uint16 values, representing a mapping between the input and output for that channel\&. The input is the index into the array, and the output is the 16-bit gamma value at that index, scaled to the output color precision\&. You may pass NULL to any of the channels to leave them unchanged\&. 13 This function adjusts the gamma based on lookup tables, you can also have the gamma calculated based on a "gamma function" parameter with \fISDL_SetGamma\fR\&. 15 Not all display hardware is able to change gamma\&. 18 Returns -1 on error (or if gamma adjustment is not supported)\&.
|
SDL_GetGamma.3 | 3 SDL_GetGamma \- Gets the gamma of the display 11 Gets the color gamma of the display\&. The gamma value for each color component will be place in the parameters \fBred\fR, \fBgreen\fR and \fBblue\fR\&. The values can range from 0\&.1 to 10\&.
|
SDL_GetGammaRamp.3 | 3 SDL_GetGammaRamp \- Gets the color gamma lookup tables for the display 11 Gets the gamma translation lookup tables currently used by the display\&. Each table is an array of 256 Uint16 values\&. 13 Not all display hardware is able to change gamma\&.
|
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/ |
GammaCorrectionFilter.java | 17 private float gamma = 2.0f; field in class:GammaCorrectionFilter 25 public GammaCorrectionFilter(float gamma) 28 this.setGamma(gamma); 43 material.setFloat("gamma", gamma); 49 return gamma; 53 * set to 0.0 to disable gamma correction 54 * @param gamma 56 public void setGamma(float gamma) 60 material.setFloat("gamma", gamma) [all...] |
PosterizationFilter.java | 55 private float gamma = 0.6f; field in class:PosterizationFilter 75 * Creates a posterization Filter with the given number of colors and gamma 77 * @param gamma 79 public PosterizationFilter(int numColors, float gamma) { 81 this.gamma = gamma; 88 material.setFloat("Gamma", gamma); 108 * Sets gamma level used to enhange visual quality 110 public void setGamma(float gamma) { [all...] |
/external/qemu/distrib/sdl-1.2.15/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...] |
/external/qemu/distrib/sdl-1.2.15/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/qemu/distrib/sdl-1.2.15/test/ |
testgamma.c | 2 /* Bring up a window and manipulate the gamma on it */ 18 /* Turn a normal gamma value into an appropriate gamma ramp */ 19 void CalculateGamma(double gamma, Uint16 *ramp) 23 gamma = 1.0 / gamma; 25 value = (int)(pow((double)i/256.0, gamma)*65535.0 + 0.5); 77 float gamma; local 104 SDL_WM_SetCaption("SDL gamma test", "testgamma"); 106 /* Set the desired gamma, if any * [all...] |
/frameworks/base/libs/hwui/ |
GammaFontRenderer.cpp | 62 // 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 font renderer") 146 const float gamma = 1.0f \/ mGamma; local [all...] |
/external/chromium_org/content/browser/device_orientation/ |
orientation.h | 16 // alpha, beta, gamma and absolute are the rotations around the axes as 19 // can_provide_{alpha,beta,gamma,absolute} is true if data can be provided 41 void set_gamma(double gamma) { 43 gamma_ = gamma; 46 double gamma() const { return gamma_; } function in class:content::Orientation
|
/external/chromium_org/third_party/skia/include/effects/ |
SkTableMaskFilter.h | 17 Helper methods create some common tables (e.g. gamma, clipping) 25 /** Utility that sets the gamma table 27 static void MakeGammaTable(uint8_t table[256], SkScalar gamma); 34 static SkTableMaskFilter* CreateGamma(SkScalar gamma) { 36 MakeGammaTable(table, gamma);
|
/external/skia/include/effects/ |
SkTableMaskFilter.h | 17 Helper methods create some common tables (e.g. gamma, clipping) 25 /** Utility that sets the gamma table 27 static void MakeGammaTable(uint8_t table[256], SkScalar gamma); 34 static SkTableMaskFilter* CreateGamma(SkScalar gamma) { 36 MakeGammaTable(table, gamma);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
math_testcases.txt | 170 -- lgamma: log of absolute value of the gamma function -- 250 -- inputs for which gamma(x) is tiny 275 -- gamma: Gamma function -- 279 gam0000 gamma 0.0 -> inf divide-by-zero 280 gam0001 gamma -0.0 -> -inf divide-by-zero 281 gam0002 gamma inf -> inf 282 gam0003 gamma -inf -> nan invalid 283 gam0004 gamma nan -> nan 286 gam0010 gamma -1 -> nan invali [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
math_testcases.txt | 170 -- lgamma: log of absolute value of the gamma function -- 250 -- inputs for which gamma(x) is tiny 275 -- gamma: Gamma function -- 279 gam0000 gamma 0.0 -> inf divide-by-zero 280 gam0001 gamma -0.0 -> -inf divide-by-zero 281 gam0002 gamma inf -> inf 282 gam0003 gamma -inf -> nan invalid 283 gam0004 gamma nan -> nan 286 gam0010 gamma -1 -> nan invali [all...] |
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Hdr/ |
ToneMap.j3md | 9 Float Gamma
|
/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/av/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;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextGammaActivity.java | 40 final GammaTextView gamma = new GammaTextView(this); local 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); local 96 layout.addView(gamma, lp);
|
/external/chromium_org/third_party/skia/src/core/ |
SkMaskGamma.cpp | 15 virtual SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const SK_OVERRIDE { 16 SkASSERT(SK_Scalar1 == gamma); 19 virtual SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const SK_OVERRIDE { 20 SkASSERT(SK_Scalar1 == gamma); 26 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const SK_OVERRIDE { 27 return SkScalarPow(luminance, gamma); 29 virtual SkScalar fromLuma(SkScalar gamma, SkScalar luma) const SK_OVERRIDE { 30 return SkScalarPow(luma, SkScalarInvert(gamma)); 35 virtual SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const SK_OVERRIDE { 36 SkASSERT(0 == gamma); [all...] |
/external/skia/src/core/ |
SkMaskGamma.cpp | 15 virtual SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const SK_OVERRIDE { 16 SkASSERT(SK_Scalar1 == gamma); 19 virtual SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const SK_OVERRIDE { 20 SkASSERT(SK_Scalar1 == gamma); 26 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const SK_OVERRIDE { 27 return SkScalarPow(luminance, gamma); 29 virtual SkScalar fromLuma(SkScalar gamma, SkScalar luma) const SK_OVERRIDE { 30 return SkScalarPow(luma, SkScalarInvert(gamma)); 35 virtual SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const SK_OVERRIDE { 36 SkASSERT(0 == gamma); [all...] |