/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
H A D | xm_api.c | 139 * Apply gamma correction to an intensity value in [0..max]. Return the 143 gamma_adjust( GLfloat gamma, GLint value, GLint max ) argument 145 if (gamma == 1.0) { 150 return IROUND_POS((GLfloat) max * pow(x, 1.0F/gamma)); 756 char *gamma; local 792 gamma = _mesa_getenv("MESA_GAMMA"); 793 if (gamma) { 795 sscanf( gamma, "%f %f %f", &v->RedGamma, &v->GreenGamma, &v->BlueGamma );
|
/external/mesa3d/src/mesa/drivers/x11/ |
H A D | xm_api.c | 139 * Apply gamma correction to an intensity value in [0..max]. Return the 143 gamma_adjust( GLfloat gamma, GLint value, GLint max ) argument 145 if (gamma == 1.0) { 150 return IROUND_POS((GLfloat) max * pow(x, 1.0F/gamma)); 756 char *gamma; local 792 gamma = _mesa_getenv("MESA_GAMMA"); 793 if (gamma) { 795 sscanf( gamma, "%f %f %f", &v->RedGamma, &v->GreenGamma, &v->BlueGamma );
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_video.c | 214 video->gamma = NULL; 1055 /* gamma-corrected palette */ 1117 /* gamma-corrected palette */ 1201 * gamma modification, we apply it directly instead, 1213 if ( video->gamma ) { 1220 SDL_ApplyGamma(video->gamma, 1225 SDL_ApplyGamma(video->gamma, colors, 1238 if ( video->gamma ) { 1239 SDL_ApplyGamma(video->gamma, colors, gcolors, ncolors); 1388 if ( video->gamma ) { [all...] |
H A D | SDL_sysvideo.h | 153 Uint16 *gamma; member in struct:SDL_VideoDevice 155 /* Set the gamma correction directly (emulated with gamma ramps) */ 158 /* Get the gamma correction directly (emulated with gamma ramps) */ 161 /* Set the gamma ramp */ 164 /* Get the gamma ramp */ 282 SDL_Color *gammacols; /* gamma-corrected colours, or NULL */
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
H A D | ECCurve.java | 882 ECFieldElement gamma = null; 900 gamma = z.square().add(z); 902 while (gamma.isZero());
|
H A D | ECPoint.java | 560 ECFieldElement gamma = dy.divide(dx); 561 ECFieldElement X3 = gamma.square().subtract(X1).subtract(X2); 562 ECFieldElement Y3 = gamma.multiply(X1.subtract(X3)).subtract(Y1); 770 ECFieldElement gamma = three(X1Squared).add(this.getCurve().getA()).divide(two(Y1)); 771 ECFieldElement X3 = gamma.square().subtract(two(X1)); 772 ECFieldElement Y3 = gamma.multiply(X1.subtract(X3)).subtract(Y1);
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleWarp.cpp | 40 float gamma = 0.8; local 42 paint.setMaskFilter(SkTableMaskFilter::CreateGamma(gamma))->unref(); 46 gamma -= 0.1;
|
/external/eigen/Eigen/src/Cholesky/ |
H A D | LDLT.h | 372 RealScalar gamma = dj*alpha + swj2; local 381 if(gamma != 0) 382 mat.col(j).tail(rs) += (sigma*numext::conj(wj)/gamma)*w.tail(rs);
|
H A D | LLT.h | 239 RealScalar gamma = dj*beta + swj2; local 253 if(gamma != 0) 254 mat.col(j).tail(rs) = (nLjj/Ljj) * mat.col(j).tail(rs) + (nLjj * sigma*numext::conj(wj)/gamma)*temp.tail(rs);
|
/external/skia/samplecode/ |
H A D | SampleWarp.cpp | 40 float gamma = 0.8; local 42 paint.setMaskFilter(SkTableMaskFilter::CreateGamma(gamma))->unref(); 46 gamma -= 0.1;
|
/external/skia/src/ports/ |
H A D | SkTypeface_win_dw.cpp | 262 float gamma = defaultRenderingParams->GetGamma(); local 263 rec->setDeviceGamma(gamma); 264 rec->setPaintGamma(gamma);
|
/external/libpng/ |
H A D | pngtest.c | 1094 png_fixed_point gamma; local 1096 if (png_get_gAMA_fixed(read_ptr, read_info_ptr, &gamma)) 1097 png_set_gAMA_fixed(write_ptr, write_info_ptr, gamma); 1117 double gamma; local 1119 if (png_get_gAMA(read_ptr, read_info_ptr, &gamma)) 1120 png_set_gAMA(write_ptr, write_info_ptr, gamma);
|
H A D | pngrtran.c | 135 png_warning(png_ptr, "Application must supply a known background gamma"); 221 /* If there is no sRGB support this just sets the gamma to the standard 252 * gamma values are passed to the floating point API. This is safe and it 265 png_fixed_error(png_ptr, "gamma value"); 290 * who use the inverse of the gamma value accidentally! Since some of these 294 png_error(png_ptr, "output gamma out of expected range"); 296 /* The default file gamma is the inverse of the output gamma; the output 297 * gamma may be changed below so get the file value first: 308 * The differences disappear if the input/output ('screen') gamma i [all...] |
H A D | pngstruct.h | 109 * The file gamma encoding information is also stored here and gamma correction 116 png_fixed_point gamma; /* File gamma */ member in struct:png_colorspace 320 png_color_16 background; /* background color in screen gamma space */ 322 png_color_16 background_1; /* background normalized to gamma 1.0 */ 333 int gamma_shift; /* number of "insignificant" bits in 16-bit gamma */ 334 png_fixed_point screen_gamma; /* screen gamma value (display_exponent) */ 336 png_bytep gamma_table; /* gamma table for 8-bit depth files */ 337 png_uint_16pp gamma_16_table; /* gamma tabl [all...] |
H A D | png.c | 833 * paletted. Most useful for gamma correction and simplification 1036 /* This is called to check a new gamma value against an existing one. The 1037 * routine returns false if the new gamma value should not be written. 1039 * 'from' says where the new gamma value comes from: 1041 * 0: the new gamma value is the libpng estimate for an ICC profile 1042 * 1: the new gamma value comes from a gAMA chunk 1043 * 2: the new gamma value comes from an sRGB chunk 1049 (!png_muldiv(>est, colorspace->gamma, PNG_FP_1, gAMA) || 1052 /* Either this is an sRGB image, in which case the calculated gamma 1054 * value libpng calculates for the gamma o [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
H A D | PairingSession.java | 539 // Display gamma 541 byte[] gamma = mChallenge.getGamma(nonce); 542 mListener.onPerformOutputDeviceRole(this, gamma);
|
/external/chromium_org/content/browser/device_sensors/ |
H A D | device_inertial_sensor_browsertest.cc | 155 buffer->data.gamma = 3;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/main/ |
H A D | OverridesView.js | 579 this._gammaElement.value = deviceOrientation.gamma; 616 this._gammaElement = this._createAxisInput(cellElement, "device-orientation-override-gamma", "\u03B3: ", String(deviceOrientation.gamma)); 643 this._boxMatrix = matrix.rotate(-deviceOrientation.beta, deviceOrientation.gamma, -deviceOrientation.alpha); 666 var newOrientation = new WebInspector.OverridesSupport.DeviceOrientation(-eulerAngles.alpha, -eulerAngles.beta, eulerAngles.gamma);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
H A D | lpc_masking_model.c | 727 int16_t gamma=32440; //(1-0.01)=0.99 in Q15 local 756 tmpB=WEBRTC_SPL_MUL_16_32_RSFT15(gamma, corrlo2QQ[n]); 774 int16_t gamma=32440; //(1-0.01)=0.99 in Q1 local 809 tmpB=WEBRTC_SPL_MUL_16_32_RSFT15(gamma, tmpCorr);
|
/external/kernel-headers/original/uapi/linux/ |
H A D | omap3isp.h | 590 * @red: Array for red gamma table. 591 * @green: Array for green gamma table. 592 * @blue: Array for blue gamma table. 626 * @gamma: Pointer to gamma structure. 643 struct omap3isp_prev_gtables __user *gamma; member in struct:omap3isp_prev_update_config
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
H A D | cmsps2.c | 470 cmsFloat64Number gamma; local 480 gamma = cmsEstimateGamma(Table, 0.001); 481 if (gamma > 0) { 482 _cmsIOPrintf(m, "{ %g exp } bind ", gamma); 534 // Compare gamma table 543 // Does write a set of gamma curves
|
H A D | cmsgamma.c | 332 // Type 1 Reversed: X = Y ^1/gamma 618 // Create an empty gamma curve, by using tables. This specifies only the limited-precision part, and leaves the 633 // Create a segmented gamma, fill the table 741 // Build a gamma table based on gamma constant 748 // Free all memory taken by the gamma curve 805 // Utility function, free 3 gamma tables 819 // Duplicate a gamma table 924 // Reverse a gamma table 991 // Reverse a gamma tabl 1265 cmsFloat64Number gamma, sum, sum2; local [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
H A D | lpc_masking_model.c | 727 WebRtc_Word16 gamma=32440; //(1-0.01)=0.99 in Q15 local 756 tmpB=WEBRTC_SPL_MUL_16_32_RSFT15(gamma, corrlo2QQ[n]); 774 WebRtc_Word16 gamma=32440; //(1-0.01)=0.99 in Q1 local 809 tmpB=WEBRTC_SPL_MUL_16_32_RSFT15(gamma, tmpCorr);
|
/external/chromium_org/third_party/libpng/ |
H A D | pngrtran.c | 106 png_warning(png_ptr, "Application must supply a known background gamma"); 547 * We will turn off gamma transformation later if no semitransparent entries 563 png_ptr->gamma = (float)file_gamma; 912 && (fabs(png_ptr->screen_gamma * png_ptr->gamma - 1.0) 927 png_ptr->gamma != 0.0) 963 g = 1.0 / (png_ptr->gamma); 964 gs = 1.0 / (png_ptr->gamma * png_ptr->screen_gamma); 1035 * has just reduced background composition and gamma correction 1058 g = 1.0 / (png_ptr->gamma); 1059 gs = 1.0 / (png_ptr->gamma * png_pt [all...] |
/external/qemu/distrib/libpng-1.2.46/ |
H A D | pngrtran.c | 106 png_warning(png_ptr, "Application must supply a known background gamma"); 547 * We will turn off gamma transformation later if no semitransparent entries 563 png_ptr->gamma = (float)file_gamma; 912 && (fabs(png_ptr->screen_gamma * png_ptr->gamma - 1.0) 927 png_ptr->gamma != 0.0) 963 g = 1.0 / (png_ptr->gamma); 964 gs = 1.0 / (png_ptr->gamma * png_ptr->screen_gamma); 1035 * has just reduced background composition and gamma correction 1058 g = 1.0 / (png_ptr->gamma); 1059 gs = 1.0 / (png_ptr->gamma * png_pt [all...] |