/external/skia/include/core/ |
SkDeviceProperties.h | 90 static SkDeviceProperties Make(Geometry geometry, SkScalar gamma) { 91 SkDeviceProperties ret = { geometry, gamma };
|
/external/chromium_org/third_party/WebKit/Source/modules/device_orientation/ |
DeviceMotionData.cpp | 50 bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma) 52 return adoptRefWillBeNoop(new DeviceMotionData::RotationRate(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma)); 55 DeviceMotionData::RotationRate::RotationRate(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma) 58 , m_gamma(gamma)
|
DeviceOrientationEvent.h | 54 double gamma(bool& isNull) const;
|
/external/chromium_org/content/renderer/device_sensors/ |
device_orientation_event_pump.cc | 76 data_.hasGamma, data_.gamma, data.hasGamma, data.gamma);
|
device_orientation_event_pump_unittest.cc | 90 data.gamma = 3; 139 EXPECT_EQ(3, static_cast<double>(received_data.gamma)); 191 EXPECT_EQ(3, static_cast<double>(received_data.gamma)); 209 EXPECT_EQ(3, static_cast<double>(received_data.gamma));
|
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/ |
pairingsessiontest.cc | 157 EXPECT_CALL(challenge_, GetGamma(_)).WillOnce(Return(new Gamma(10, 0x5))); 158 EXPECT_CALL(listener_, OnPerformOutputDeviceRole(Gamma(10, 0x5))); 202 Gamma gamma(5, 0x1); 206 EXPECT_CALL(challenge_, CheckGamma(gamma)).WillOnce(Return(true)); 207 EXPECT_CALL(challenge_, ExtractNonce(gamma)) 215 session_.SetSecret(gamma); 232 Gamma gamma(5, 0x1); 236 EXPECT_CALL(challenge_, CheckGamma(gamma)).WillOnce(Return(true)) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_pixels_c.h | 46 extern void SDL_ApplyGamma(Uint16 *gamma, SDL_Color *colors, SDL_Color *output, int ncolors);
|
/external/libpng/contrib/gregbook/ |
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);
|
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);
|
writepng.h | 91 double gamma; member in struct:_mainprog_info
|
/external/chromium_org/content/browser/device_sensors/ |
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;
|
sensor_manager_android.cc | 53 JNIEnv*, jobject, double alpha, double beta, double gamma) { 64 device_orientation_buffer_->data.gamma = gamma; 119 JNIEnv*, jobject, double alpha, double beta, double gamma) { 130 device_motion_buffer_->data.rotationRateGamma = gamma;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/ |
Geometry.js | 76 * @param {number} gamma 78 WebInspector.Geometry.EulerAngles = function(alpha, beta, gamma) 82 this.gamma = gamma; 92 var gamma = Math.atan2(-rotationMatrix.m13, Math.sqrt(rotationMatrix.m11 * rotationMatrix.m11 + rotationMatrix.m12 * rotationMatrix.m12)); 94 return new WebInspector.Geometry.EulerAngles(WebInspector.Geometry.radToDeg(alpha), WebInspector.Geometry.radToDeg(beta), WebInspector.Geometry.radToDeg(gamma));
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
DeviceSensors.java | 228 * R = Rz(alpha) * Rx(beta) * Ry(gamma), <br> 232 * The computed angles alpha, beta and gamma are in radians and clockwise-positive when viewed 235 * space. The alpha-beta-gamma representation resembles the yaw-pitch-roll convention used in 245 * <li>values[2]: rotation around the Y axis, gamma in [-pi/2, pi/2)</li> 272 values[2] = Math.atan2(-R[6], R[8]); // gamma (-pi/2, pi/2) 277 values[2] = Math.atan2(R[6], -R[8]); // gamma (-pi/2, pi/2) 279 if (R[6] > 0) { // cos(gamma) == 0, cos(beta) > 0 282 values[2] = -Math.PI / 2; // gamma = -pi/2 283 } else if (R[6] < 0) { // cos(gamma) == 0, cos(beta) < 0 287 values[2] = -Math.PI / 2; // gamma = -pi/ [all...] |
/external/chromium_org/content/child/ |
touch_fling_gesture_curve.cc | 83 float gamma, 91 coefficients_[2] = 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...] |
/frameworks/base/core/jni/android/graphics/ |
MaskFilter.cpp | 56 static jlong createGammaTable(JNIEnv* env, jobject, jfloat gamma) { 57 SkMaskFilter* filter = SkTableMaskFilter::CreateGamma(gamma);
|
/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/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/ |
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/chromium_org/third_party/WebKit/Source/platform/image-decoders/png/ |
PNGImageDecoder.cpp | 58 // Gamma constants. 363 // Deal with gamma and keep it under our control. 364 double gamma; local 365 if (!m_ignoreGammaAndColorProfile && png_get_gAMA(png, info, &gamma)) { 366 if ((gamma <= 0.0) || (gamma > cMaxGamma)) { 367 gamma = cInverseGamma; 368 png_set_gAMA(png, info, gamma); 370 png_set_gamma(png, cDefaultGamma, gamma);
|
/external/libpng/contrib/libtests/ |
makepng.c | 269 /* Don't gamma correct - values get smashed */ 556 volatile png_fixed_point gamma, chunk_insert * volatile insert, 597 * information about the gamma: 599 if (gamma == PNG_GAMMA_MAC_18) 600 gamma = 65909; 602 else if (gamma > 0 && gamma < 1000) 603 gamma = PNG_FP_1; 605 if (gamma > 0) 606 real_gamma = gamma; 1285 png_fixed_point gamma = 0; \/* not set *\/ local [all...] |
/external/chromium_org/mojo/public/cpp/bindings/tests/ |
sample_service_unittest.cc | 20 static_cast<int32_t>(bar->gamma); 42 bar->gamma = 60; 52 bar->gamma = base + 40; 123 EXPECT_EQ(60, foo.bar->gamma); 132 EXPECT_EQ(base + 40, foo.extra_bars[i]->gamma) << i; 195 Print(depth, "gamma", bar->gamma);
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
Biquad.cpp | 227 double gamma = (0.5 + beta) * cos(theta); 228 double alpha = 0.25 * (0.5 + beta - gamma); 233 double a1 = 2 * -gamma; 263 double gamma = (0.5 + beta) * cos(theta); 264 double alpha = 0.25 * (0.5 + beta + gamma); 269 double a1 = 2 * -gamma;
|
/external/opencv/cv/src/ |
cvsnakes.cpp | 60 // gamma - pointer to coefficient of image energy, 61 // coeffUsage - if CV_VALUE - alpha, beta, gamma point to single value 78 float *gamma, 133 if( gamma == NULL ) 351 _gamma = *gamma; 357 _gamma = gamma[i]; 411 float *beta, float *gamma, 433 alpha, beta, gamma, coeffUsage, win, criteria,
|