/external/qemu/distrib/sdl-1.2.12/src/video/ |
D | SDL_gamma.c | 41 static void CalculateGammaRamp(float gamma, Uint16 *ramp) in CalculateGammaRamp() argument 46 if ( gamma <= 0.0f ) { in CalculateGammaRamp() 53 if ( gamma == 1.0f ) { in CalculateGammaRamp() 61 gamma = 1.0f / gamma; in CalculateGammaRamp() 63 value = (int)(pow((double)i/256.0, gamma)*65535.0+0.5); in CalculateGammaRamp() 71 static void CalculateGammaFromRamp(float *gamma, Uint16 *ramp) in CalculateGammaFromRamp() argument 79 *gamma = 1.0; in CalculateGammaFromRamp() 89 *gamma = 1.0f / (sum / count); in CalculateGammaFromRamp() 158 if ( ! video->gamma ) { in SDL_SetGammaRamp() 164 SDL_memcpy(&video->gamma[0*256], red, 256*sizeof(*video->gamma)); in SDL_SetGammaRamp() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
D | SDL_x11gamma.c | 37 SDL_NAME(XF86VidModeGamma) gamma; in X11_SetGammaNoLock() 42 gamma.red = MIN_GAMMA; in X11_SetGammaNoLock() 45 gamma.red = MAX_GAMMA; in X11_SetGammaNoLock() 47 gamma.red = red; in X11_SetGammaNoLock() 50 gamma.green = MIN_GAMMA; in X11_SetGammaNoLock() 53 gamma.green = MAX_GAMMA; in X11_SetGammaNoLock() 55 gamma.green = green; in X11_SetGammaNoLock() 58 gamma.blue = MIN_GAMMA; in X11_SetGammaNoLock() 61 gamma.blue = MAX_GAMMA; in X11_SetGammaNoLock() 63 gamma.blue = blue; in X11_SetGammaNoLock() [all …]
|
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/ |
D | PosterizationFilter.java | 55 private float gamma = 0.6f; field in PosterizationFilter 79 public PosterizationFilter(int numColors, float gamma) { in PosterizationFilter() argument 81 this.gamma = gamma; in PosterizationFilter() 88 material.setFloat("Gamma", gamma); in initFilter() 110 public void setGamma(float gamma) { in setGamma() argument 111 this.gamma = gamma; in setGamma() 113 material.setFloat("Gamma", gamma); in setGamma() 138 return gamma; in getGamma()
|
D | GammaCorrectionFilter.java | 17 private float gamma = 2.0f; field in GammaCorrectionFilter 25 public GammaCorrectionFilter(float gamma) in GammaCorrectionFilter() argument 28 this.setGamma(gamma); in GammaCorrectionFilter() 43 material.setFloat("gamma", gamma); in initFilter() 49 return gamma; in getGamma() 56 public void setGamma(float gamma) in setGamma() argument 60 material.setFloat("gamma", gamma); in setGamma() 62 this.gamma = gamma; in setGamma()
|
/external/webkit/LayoutTests/fast/dom/DeviceOrientation/ |
D | null-values-expected.txt | 8 PASS deviceOrientationEvent.gamma is mockEvent.gamma 11 PASS deviceOrientationEvent.gamma is mockEvent.gamma 14 PASS deviceOrientationEvent.gamma is mockEvent.gamma 17 PASS deviceOrientationEvent.gamma is mockEvent.gamma
|
D | optional-event-properties-expected.txt | 9 PASS event.gamma == null is true 13 PASS event.gamma == 2 is true 17 PASS event.gamma == null is true 21 PASS event.gamma == 0 is true 25 PASS event.gamma == null is true 29 PASS event.gamma == 0 is true 33 PASS event.gamma == null is true
|
D | multiple-frames-expected.txt | 8 PASS deviceOrientationEvent.gamma is mockEvent.gamma 11 PASS deviceOrientationEvent.gamma is mockEvent.gamma
|
D | updates-expected.txt | 8 PASS deviceOrientationEvent.gamma is mockEvent.gamma 11 PASS deviceOrientationEvent.gamma is mockEvent.gamma
|
D | add-listener-from-callback-expected.txt | 8 PASS deviceOrientationEvent.gamma is mockGamma 11 PASS deviceOrientationEvent.gamma is mockGamma 14 PASS deviceOrientationEvent.gamma is mockGamma
|
/external/webkit/LayoutTests/fast/dom/DeviceOrientation/script-tests/ |
D | null-values.js | 4 function setMockOrientation(alpha, beta, gamma) { argument 5 mockEvent = {alpha: alpha, beta: beta, gamma: gamma}; property 10 null != mockEvent.gamma, null == mockEvent.gamma ? 0 : mockEvent.gamma);
|
D | updates.js | 4 function setMockOrientation(alpha, beta, gamma) { argument 5 mockEvent = {alpha: alpha, beta: beta, gamma: gamma}; property 7 …oller.setMockDeviceOrientation(true, mockEvent.alpha, true, mockEvent.beta, true, mockEvent.gamma);
|
/external/webkit/Source/WebCore/dom/ |
D | DeviceOrientation.cpp | 36 …anProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma) in create() argument 38 …ptRef(new DeviceOrientation(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma)); in create() 49 …anProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma) in DeviceOrientation() argument 55 , m_gamma(gamma) in DeviceOrientation() 69 double DeviceOrientation::gamma() const in gamma() function in WebCore::DeviceOrientation
|
D | DeviceOrientation.h | 37 …nProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma); 41 double gamma() const; 48 …nProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma);
|
D | DeviceMotionData.cpp | 51 … bool canProvideGamma, double gamma) in create() argument 53 …iceMotionData::RotationRate(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma)); in create() 56 …anProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma) in RotationRate() argument 59 , m_gamma(gamma) in RotationRate()
|
/external/webkit/LayoutTests/fast/dom/DeviceMotion/ |
D | optional-event-properties-expected.txt | 11 …onEvent('', false, false, {x: 0, y: 1, z: 2}, {x: 3, y: 4, z: 5}, {alpha: 6, beta: 7, gamma: 8}, 9) 20 PASS event.rotationRate.gamma == 8 is true 22 PASS event.initDeviceMotionEvent('', false, false, objectThrowingException, {x: 3, z: 5}, {gamma: 8… 23 …tionEvent('', false, false, {x: 0, y: 1, z: 2}, objectThrowingException, {gamma: 8, beta: 7}, 9) t… 25 …ctThrowingException, y: 1, z: 2}, {x: 3, y: 4, z: 5}, {alpha: 6, beta: 7, gamma: 8}, 9) threw exce… 26 …: 1, z: 2}, {x: 3, y: objectThrowingException, z: 5}, {alpha: 6, beta: 7, gamma: 8}, 9) threw exce… 27 …false, false, {x: 0, y: 1, z: 2}, {x: 3, y: 4, z: 5}, {alpha: 6, beta: 7, gamma: objectThrowingExc… 28 event.initDeviceMotionEvent('', false, false, {y: 1, x: 0}, {x: 3, z: 5}, {gamma: 8, beta: 7}, 9) 37 PASS event.rotationRate.gamma == 8 is true 64 …null, y: null, z: null}, {x: null, y: null, z: null}, {alpha: null, beta: null, gamma: null}, null) [all …]
|
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/ |
D | 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);
|
D | 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);
|
/external/webkit/Source/WebCore/bindings/js/ |
D | JSDeviceOrientationEventCustom.cpp | 54 JSValue JSDeviceOrientationEvent::gamma(ExecState*) const in gamma() function in WebCore::JSDeviceOrientationEvent 59 return jsNumber(imp->orientation()->gamma()); in gamma() 74 double gamma = exec->argument(5).toNumber(exec); in initDeviceOrientationEvent() local 75 …tation = DeviceOrientation::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma); in initDeviceOrientationEvent()
|
/external/mesa3d/docs/ |
D | README.CYGWIN | 142 and displayed intensities, there is a gamma correction feature in 143 Mesa. Some systems, such as Silicon Graphics, support gamma 144 correction in hardware (man gamma) so you won't need to use Mesa's 145 gamma facility. Other systems, however, may need gamma adjustment 151 Gr is the red gamma value, Gg is the green gamma value, Gb is the 152 blue gamma value and G is one gamma value to use for all three 155 gamma correction. Examples using csh: 158 % setenv MESA_GAMMA "2.0" // same gamma for R,G,B 160 The demos/gamma.c program may help you to determine reasonable gamma 161 value for your display. With correct gamma values, the color intensities [all …]
|
/external/libpng/ |
D | 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/webkit/Source/WebCore/platform/audio/ |
D | Biquad.cpp | 202 double gamma = (0.5 + beta) * cos(theta); in setLowpassParams() local 203 double alpha = 0.25 * (0.5 + beta - gamma); in setLowpassParams() 208 m_b1 = 2.0 * -gamma; in setLowpassParams() 223 double gamma = (0.5 + beta) * cos(theta); in setHighpassParams() local 224 double alpha = 0.25 * (0.5 + beta + gamma); in setHighpassParams() 229 m_b1 = 2.0 * -gamma; in setHighpassParams()
|
/external/skia/include/effects/ |
D | SkTableMaskFilter.h | 31 static void MakeGammaTable(uint8_t table[256], SkScalar gamma); 38 static SkTableMaskFilter* CreateGamma(SkScalar gamma) { in CreateGamma() argument 40 MakeGammaTable(table, gamma); in CreateGamma()
|
/external/webkit/Source/WebKit/chromium/public/ |
D | WebDeviceOrientation.h | 38 …anProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma) in WebDeviceOrientation() argument 45 m_gamma(gamma) in WebDeviceOrientation() 57 double gamma() { return m_gamma; } in gamma() function
|
/external/webkit/Source/WebCore/platform/image-decoders/png/ |
D | PNGImageDecoder.cpp | 299 double gamma; in headerAvailable() local 300 if (!m_ignoreGammaAndColorProfile && png_get_gAMA(png, info, &gamma)) { in headerAvailable() 301 if ((gamma <= 0.0) || (gamma > cMaxGamma)) { in headerAvailable() 302 gamma = cInverseGamma; in headerAvailable() 303 png_set_gAMA(png, info, gamma); in headerAvailable() 305 png_set_gamma(png, cDefaultGamma, gamma); in headerAvailable()
|
/external/webkit/Source/WebKit/mac/WebView/ |
D | WebDeviceOrientation.h | 33 …a:(bool)canProvideBeta beta:(double)beta canProvideGamma:(bool)canProvideGamma gamma:(double)gamma;
|