Searched refs:gamma (Results 51 - 75 of 169) sorted by relevance

1234567

/external/chromium_org/content/browser/device_sensors/
H A Dsensor_manager_android.cc53 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;
52 GotOrientation( JNIEnv*, jobject, double alpha, double beta, double gamma) argument
118 GotRotationRate( JNIEnv*, jobject, double alpha, double beta, double gamma) argument
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/
H A DGeometry.js76 * @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/libpng/contrib/gregbook/
H A Dreadpng.c209 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);
H A Dwritepng.h91 double gamma; member in struct:_mainprog_info
/external/chromium_org/third_party/qcms/src/
H A Dtransform_util.c123 void compute_curve_gamma_table_type1(float gamma_table[256], double gamma) argument
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) argument
433 output[v] = 255. * pow(v/(double)PRECACHE_OUTPUT_MAX, gamma);
522 static uint16_t *build_pow_table(float gamma, int length) argument
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, 409
[all...]
/external/chromium_org/content/renderer/device_sensors/
H A Ddevice_orientation_event_pump_unittest.cc94 data.gamma = 3;
137 EXPECT_EQ(3, static_cast<double>(received_data.gamma));
174 EXPECT_EQ(3, static_cast<double>(received_data.gamma));
195 EXPECT_EQ(3, static_cast<double>(received_data.gamma));
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
H A DConstrainedConjGrad.h114 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/
H A Dpairingsession.cc162 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/
H A DPNGImageDecoder.cpp366 // Deal with gamma and keep it under our control.
367 double gamma; local
368 if (!m_ignoreGammaAndColorProfile && png_get_gAMA(png, info, &gamma)) {
369 if ((gamma <= 0.0) || (gamma > cMaxGamma)) {
370 gamma = cInverseGamma;
371 png_set_gAMA(png, info, gamma);
373 png_set_gamma(png, cDefaultGamma, gamma);
/external/chromium_org/tools/imagediff/
H A Dimage_diff_png.cc77 // Gamma constants: We assume we're on Windows which uses a gamma of 2.2.
78 const double kMaxGamma = 21474.83; // Maximum gamma accepted by png library.
185 // Deal with gamma and keep it under our control.
186 double gamma; local
187 if (png_get_gAMA(png_ptr, info_ptr, &gamma)) {
188 if (gamma <= 0.0 || gamma > kMaxGamma) {
189 gamma = kInverseGamma;
190 png_set_gAMA(png_ptr, info_ptr, gamma);
192 png_set_gamma(png_ptr, kDefaultGamma, gamma);
[all...]
/external/chromium_org/mojo/public/js/bindings/
H A Dcodec_unittests.js24 bar.gamma = 3;
61 expect(bar2.gamma).toBe(bar.gamma);
75 foo.bar.gamma = 73;
85 foo.extra_bars[i].gamma = 3 * i;
/external/libpng/contrib/libtests/
H A Dmakepng.c269 /* 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;
555 write_png(const char **name, FILE *fp, int color_type, int bit_depth, volatile png_fixed_point gamma, chunk_insert * volatile insert, unsigned int filters, unsigned int *colors) argument
1285 png_fixed_point gamma = 0; /* not set */ local
[all...]
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DDeviceSensors.java252 * R = Rz(alpha) * Rx(beta) * Ry(gamma), <br>
256 * The computed angles alpha, beta and gamma are in radians and clockwise-positive when viewed
259 * space. The alpha-beta-gamma representation resembles the yaw-pitch-roll convention used in
269 * <li>values[2]: rotation around the Y axis, gamma in [-pi/2, pi/2)</li>
296 values[2] = Math.atan2(-R[6], R[8]); // gamma (-pi/2, pi/2)
301 values[2] = Math.atan2(R[6], -R[8]); // gamma (-pi/2, pi/2)
303 if (R[6] > 0) { // cos(gamma) == 0, cos(beta) > 0
306 values[2] = -Math.PI / 2; // gamma = -pi/2
307 } else if (R[6] < 0) { // cos(gamma) == 0, cos(beta) < 0
311 values[2] = -Math.PI / 2; // gamma
423 gotOrientation(double alpha, double beta, double gamma) argument
447 gotRotationRate(double alpha, double beta, double gamma) argument
495 nativeGotOrientation( long nativeSensorManagerAndroid, double alpha, double beta, double gamma) argument
516 nativeGotRotationRate( long nativeSensorManagerAndroid, double alpha, double beta, double gamma) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DBiquad.cpp227 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/
H A Dcvsnakes.cpp60 // 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,
71 icvSnake8uC1R( unsigned char *src, int srcStep, CvSize roi, CvPoint * pt, int n, float *alpha, float *beta, float *gamma, int coeffUsage, CvSize win, CvTermCriteria criteria, int scheme ) argument
409 cvSnakeImage( const IplImage* src, CvPoint* points, int length, float *alpha, float *beta, float *gamma, int coeffUsage, CvSize win, CvTermCriteria criteria, int calcGradient ) argument
/external/opencv/ml/src/
H A Dmlsvm.cpp171 gamma(1), coef0(0), C(1), nu(0), p(0), class_weights(0)
182 degree(_degree), gamma(_gamma), coef0(_coef0),
261 calc_non_rbf_base( vcount, var_count, vecs, another, results, params->gamma, params->coef0 );
271 -2*params->gamma, -2*params->coef0 );
289 double gamma = -params->gamma; local
315 results[j] = (Qfloat)(s*gamma);
1221 params.gamma = 1;
1222 else if( params.gamma <= 0 )
1223 CV_ERROR( CV_StsOutOfRange, "gamma paramete
1613 double gamma = 0, C = 0, degree = 0, coef = 0, p = 0, nu = 0; local
[all...]
/external/chromium_org/mojo/apps/js/bindings/
H A Dsample_service_unittests.js23 bar.gamma = 60;
34 extra_bars[i].gamma = base + 40;
69 expect(foo.bar.gamma).toBe(60);
79 expect(foo.extra_bars[i].gamma).toBe(base + 40);
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/custom/
H A DV8DeviceMotionEventCustom.cpp89 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/chromium_org/third_party/skia/src/effects/
H A DSkTableMaskFilter.cpp94 void SkTableMaskFilter::MakeGammaTable(uint8_t table[256], SkScalar gamma) { argument
96 const float g = SkScalarToFloat(gamma);
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestgl.c452 int logo, int logocursor, int slowly, int bpp, float gamma, int noframe, int fsaa, int sync, int accel )
588 /* Set the gamma for the window */
589 if ( gamma != 0.0 ) {
590 SDL_SetGamma(gamma, gamma, gamma);
790 float gamma = 0.0; local
820 if ( strcmp(argv[i], "-gamma") == 0 ) {
821 gamma = (float)atof(argv[++i]);
837 "Usage: %s [-twice] [-logo] [-logocursor] [-slow] [-bpp n] [-gamma
451 RunGLTest( int argc, char* argv[], int logo, int logocursor, int slowly, int bpp, float gamma, int noframe, int fsaa, int sync, int accel ) argument
[all...]
/external/skia/src/effects/
H A DSkTableMaskFilter.cpp86 void SkTableMaskFilter::MakeGammaTable(uint8_t table[256], SkScalar gamma) { argument
88 const float g = SkScalarToFloat(gamma);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
H A DOverridesSupport.js188 * @param {number} gamma
190 WebInspector.OverridesSupport.DeviceOrientation = function(alpha, beta, gamma)
194 this.gamma = gamma;
214 return new WebInspector.OverridesSupport.DeviceOrientation(jsonObject.alpha, jsonObject.beta, jsonObject.gamma);
243 var gamma = isGammaValid ? parseFloat(gammaString) : -1;
245 return new WebInspector.OverridesSupport.DeviceOrientation(alpha, beta, gamma);
667 PageAgent.setDeviceOrientationOverride(deviceOrientation.alpha, deviceOrientation.beta, deviceOrientation.gamma);
/external/chromium_org/ui/gfx/codec/
H A Dpng_codec.cc74 // Gamma constants: We assume we're on Windows which uses a gamma of 2.2.
75 const double kMaxGamma = 21474.83; // Maximum gamma accepted by png library.
247 // Deal with gamma and keep it under our control.
248 double gamma; local
249 if (png_get_gAMA(png_ptr, info_ptr, &gamma)) {
250 if (gamma <= 0.0 || gamma > kMaxGamma) {
251 gamma = kInverseGamma;
252 png_set_gAMA(png_ptr, info_ptr, gamma);
254 png_set_gamma(png_ptr, kDefaultGamma, gamma);
[all...]
/external/opencv/cvaux/include/
H A Dcvmat.hpp723 /* A*alpha + B*beta + gamma */
727 const CvMAT* b, double beta, double gamma = 0 );
730 double alpha, beta, gamma;
1662 inline _CvMAT_ADD_EX_ operator + ( const _CvMAT_ADD_EX_& a, double gamma )
1663 { return _CvMAT_ADD_EX_( a.a, a.alpha, a.b, a.beta, a.gamma + gamma ); }
1666 inline _CvMAT_ADD_EX_ operator + ( double gamma, const _CvMAT_ADD_EX_& a )
1667 { return _CvMAT_ADD_EX_( a.a, a.alpha, a.b, a.beta, a.gamma + gamma ); }
1670 inline _CvMAT_ADD_EX_ operator - ( const _CvMAT_ADD_EX_& a, double gamma )
[all...]
/external/chromium_org/mojo/public/cpp/bindings/tests/
H A Dsample_service_unittest.cc21 static_cast<int32_t>(bar->gamma);
43 bar->gamma = 60;
53 bar->gamma = base + 40;
124 EXPECT_EQ(60, foo.bar->gamma);
133 EXPECT_EQ(base + 40, foo.extra_bars[i]->gamma) << i;
196 Print(depth, "gamma", bar->gamma);

Completed in 1267 milliseconds

1234567