/external/libpng/tests/ |
pngvalid-gamma-16-to-8 | 2 exec ./pngvalid --gamma-16-to-8
|
pngvalid-gamma-alpha-mode | 2 exec ./pngvalid --gamma-alpha-mode
|
pngvalid-gamma-background | 2 exec ./pngvalid --gamma-background
|
pngvalid-gamma-expand16-background | 2 exec ./pngvalid --gamma-background --expand16
|
pngvalid-gamma-expand16-transform | 2 exec ./pngvalid --gamma-transform --expand16
|
pngvalid-gamma-sbit | 2 exec ./pngvalid --gamma-sbit
|
pngvalid-gamma-threshold | 2 exec ./pngvalid --gamma-threshold
|
pngvalid-gamma-transform | 2 exec ./pngvalid --gamma-transform
|
pngvalid-gamma-expand16-alpha-mode | 2 exec ./pngvalid --gamma-alpha-mode --expand16
|
/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/google-tv-pairing-protocol/cpp/tests/polo/pairing/ |
polochallengeresponsetest.cc | 112 const Gamma* gamma = response->GetGamma(nonce); local 113 ASSERT_TRUE(gamma); 116 util::PoloUtil::BytesToHexString(&(*gamma)[0], gamma->size())); 117 delete gamma; 121 const Gamma* gamma = response->GetGamma(nonce); local 122 ASSERT_TRUE(gamma); 124 util::PoloUtil::BytesToHexString(&(*gamma)[0], gamma->size())) [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...] |
/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/graphics/java/android/graphics/ |
TableMaskFilter.java | 39 public static TableMaskFilter CreateGammaTable(float gamma) { 40 return new TableMaskFilter(nativeNewGamma(gamma)); 45 private static native long nativeNewGamma(float gamma);
|
/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...] |
/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...] |
/external/chromium_org/third_party/WebKit/Source/modules/device_orientation/ |
DeviceOrientationInspectorAgent.cpp | 22 static const char gamma[] = "gamma"; member in namespace:WebCore::DeviceOrientationInspectorAgentState 48 void DeviceOrientationInspectorAgent::setDeviceOrientationOverride(ErrorString* error, double alpha, double beta, double gamma) 53 m_state->setDouble(DeviceOrientationInspectorAgentState::gamma, gamma); 54 controller().setOverride(DeviceOrientationData::create(true, alpha, true, beta, true, gamma).get()); 74 double gamma = m_state->getDouble(DeviceOrientationInspectorAgentState::gamma); local 75 controller().setOverride(DeviceOrientationData::create(true, alpha, true, beta, true, gamma).get());
|
DeviceRotationRate.idl | 32 readonly attribute double? gamma;
|
DeviceOrientationData.h | 41 static PassRefPtrWillBeRawPtr<DeviceOrientationData> create(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvideAbsolute = false, bool absolute = false); 47 double gamma() const; 58 DeviceOrientationData(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvideAbsolute, bool absolute);
|
DeviceOrientationData.cpp | 37 PassRefPtrWillBeRawPtr<DeviceOrientationData> DeviceOrientationData::create(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvideAbsolute, bool absolute) 39 return adoptRefWillBeNoop(new DeviceOrientationData(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma, canProvideAbsolute, absolute)); 44 return DeviceOrientationData::create(data.hasAlpha, data.alpha, data.hasBeta, data.beta, data.hasGamma, data.gamma, data.hasAbsolute, data.absolute); 59 DeviceOrientationData::DeviceOrientationData(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvideAbsolute, bool absolute) 66 , m_gamma(gamma) 81 double DeviceOrientationData::gamma() const function in class:WebCore::DeviceOrientationData
|
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/ |
polochallengeresponse.cc | 96 Gamma* PoloChallengeResponse::GetGamma(const Nonce& nonce) const { 102 Gamma* gamma = new Gamma(nonce.size() * 2); local 105 memcpy(&(*gamma)[0], &(*alpha)[0], nonce.size()); 106 memcpy(&(*gamma)[nonce.size()], &nonce[0], nonce.size()); 110 return gamma; 113 Nonce* PoloChallengeResponse::ExtractNonce(const Gamma& gamma) const { 114 if ((gamma.size() < 2) || (gamma.size() % 2 != 0)) [all...] |
pairinglistener.h | 39 // display a decoded secret based on the given gamma value. 40 virtual void OnPerformOutputDeviceRole(const Gamma& gamma) = 0;
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
weight_amrwb_lpc.cpp | 49 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);
|
/external/libpng/contrib/libtests/ |
gentests.sh | 68 for gamma in "" --sRGB --linear --1.8 70 case "$gamma" in 80 gname="-$gamma";; 82 "$mp" $gamma "$1" "$2" "test-$1-$2$gname.png"
|