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

1 2 3 4

  /external/chromium_org/third_party/WebKit/Source/modules/device_orientation/
DeviceRotationRate.cpp 60 double DeviceRotationRate::gamma(bool& isNull) const function in class:WebCore::DeviceRotationRate
63 return m_rotationRate->gamma();
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
DeviceOrientationEvent.cpp 77 double DeviceOrientationEvent::gamma(bool& isNull) const function in class:WebCore::DeviceOrientationEvent
80 return m_orientation->gamma();
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());
DeviceMotionData.h 69 static PassRefPtrWillBeRawPtr<RotationRate> create(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma);
78 double gamma() const { return m_gamma; } function in class:WebCore::DeviceMotionData::RotationRate
81 RotationRate(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma);
  /external/chromium_org/third_party/WebKit/public/platform/
WebDeviceOrientationData.h 51 double gamma; member in class:blink::WebDeviceOrientationData
  /external/chromium_org/content/browser/device_sensors/
data_fetcher_shared_memory_mac.cc 53 // x_acc = sin(gamma)
54 // y_acc = - cos(gamma) * sin(beta)
55 // z_acc = cos(beta) * cos(gamma)
65 double gamma = kRad2deg * asin(axis_value[0]); local
68 // this point, beta is [-180, 180] and gamma is [-90, 90], but the spec has
72 if (gamma == 90.0)
73 gamma = nextafter(90, 0);
78 DCHECK_GE(gamma, -90.0);
79 DCHECK_LT(gamma, 90.0);
84 buffer->data.gamma = gamma
    [all...]
data_fetcher_shared_memory_win.cc 106 double alpha, beta, gamma; variable
113 GetSensorValue(SENSOR_DATA_TYPE_TILT_Z_DEGREES, new_data, &gamma,
122 buffer_->data.gamma = gamma;
193 double alpha, beta, gamma; variable
201 new_data, &gamma, &has_gamma);
209 buffer_->data.rotationRateGamma = gamma;
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8DeviceOrientationEventCustom.cpp 41 // If alpha, beta, gamma or absolute are null or undefined, mark them as not provided.
48 double gamma = info[5]->NumberValue(); local
51 RefPtrWillBeRawPtr<DeviceOrientationData> orientation = DeviceOrientationData::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absoluteProvided, absolute);
V8DeviceMotionEventCustom.cpp 89 v8::Local<v8::Value> gammaValue = object->Get(v8AtomicString(isolate, "gamma"));
93 double gamma = gammaValue->NumberValue(); local
98 return DeviceMotionData::RotationRate::create(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma);
  /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/libpng/contrib/gregbook/
readpng.c 209 double gamma; local
251 * this file may have come from--so if it doesn't have a file gamma, don't
254 if (png_get_gAMA(png_ptr, info_ptr, &gamma))
255 png_set_gamma(png_ptr, display_exponent, gamma);
readpng2.c 217 double gamma; local
219 png_fixed_point gamma; local
328 * such images have a file gamma of 0.45455, which corresponds to a PC-like
334 * "gamma" value for the entire display system, i.e., the product of
338 if (png_get_gAMA(png_ptr, info_ptr, &gamma))
339 png_set_gamma(png_ptr, mainprog_ptr->display_exponent, gamma);
343 if (png_get_gAMA_fixed(png_ptr, info_ptr, &gamma))
345 (png_fixed_point)(100000*mainprog_ptr->display_exponent+.5), 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...]
  /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/mesa/src/src/gallium/drivers/svga/
svga_state_rss.c 254 float gamma = 1.0f; local
257 gamma = 2.2f;
259 EMIT_RS_FLOAT(svga, gamma, OUTPUTGAMMA, fail);
  /external/eigen/unsupported/Eigen/src/IterativeSolvers/
ConstrainedConjGrad.h 114 Scalar rho = 1.0, rho_1, lambda, gamma; local
163 if (transition || iter.first()) gamma = 0.0;
164 else gamma = (std::max)(0.0, (rho - old_z.dot(z)) / rho_1);
165 p = z + gamma*p;
  /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...]
pairingsession.cc 90 bool PairingSession::SetSecret(const Gamma& secret) {
91 secret_ = new Gamma(secret);
162 const Gamma* gamma = challenge().GetGamma(*nonce_); local
163 if (!gamma) {
164 LOG(ERROR) << "Failed to get gamma";
170 listener_->OnPerformOutputDeviceRole(*gamma);
171 delete gamma;
  /external/mesa3d/src/gallium/drivers/svga/
svga_state_rss.c 254 float gamma = 1.0f; local
257 gamma = 2.2f;
259 EMIT_RS_FLOAT(svga, gamma, OUTPUTGAMMA, fail);
  /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...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
MSSIMComparer.java 182 * The prime symbols dictate a gamma correction of 1.
185 final double gamma = 1; local
187 l += (0.21f * Math.pow(Color.red(pixel) / 255f, gamma));
188 l += (0.72f * Math.pow(Color.green(pixel) / 255f, gamma));
189 l += (0.07f * Math.pow(Color.blue(pixel) / 255f, gamma));
  /external/ceres-solver/internal/ceres/
polynomial.cc 59 // gamma <= 1 controls how much a change in the scaling has to
62 // gamma = 1 seems to lead to cycles (numerical issues?), so
64 const double gamma = 0.9; local
85 if (scaled_col_norm + scaled_row_norm < gamma * (col_norm + row_norm)) {
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
FEComponentTransfer.cpp 143 static void gamma(unsigned char* values, const ComponentTransferFunction& transferFunction) function in namespace:WebCore
222 TransferType callEffect[] = {identity, identity, table, discrete, linear, gamma};
249 ts << "GAMMA";
  /external/chromium_org/third_party/qcms/src/
transform_util.c 123 void compute_curve_gamma_table_type1(float gamma_table[256], double gamma)
127 gamma_table[i] = pow(i/255., gamma);
240 gamma table is within expected values. */
245 // Note: we check that the gamma is not in range
428 static void compute_precache_pow(uint8_t *output, float gamma)
433 output[v] = 255. * pow(v/(double)PRECACHE_OUTPUT_MAX, gamma);
522 static uint16_t *build_pow_table(float gamma, int length)
532 x = pow(x, gamma); //XXX turn this conversion into a function
563 float gamma = 1./u8Fixed8Number_to_float(trc->data[0]); local
564 *output_gamma_lut = build_pow_table(gamma, 4096)
    [all...]

Completed in 643 milliseconds

1 2 3 4