HomeSort by relevance Sort by last modified time
    Searched defs:gamma (Results 76 - 100 of 169) sorted by null

1 2 34 5 6 7

  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
LevenbergMarquardtOptimizer.java 853 double gamma = 0; local
877 double gamma = 0; local
    [all...]
  /external/boringssl/src/crypto/fipsmodule/ec/
p224-64.c 644 p224_felem delta, gamma, beta, alpha, ftmp, ftmp2; local
653 // gamma = y^2
655 p224_felem_reduce(gamma, tmp);
657 // beta = x*gamma
658 p224_felem_mul(tmp, x_in, gamma);
682 // z' = (y + z)^2 - gamma - delta
683 p224_felem_sum(delta, gamma);
694 // y' = alpha*(4*beta - x') - 8*gamma^2
701 p224_felem_square(tmp2, gamma);
    [all...]
  /external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
NeuQuant.java 66 protected static final int gammashift = 10; /* gamma = 1024 */
68 protected static final int gamma = (((int) 1) << gammashift); field in class:NeuQuant
465 /* bias[i] = gamma*((1/netsize)-freq[i]) */
  /external/libxaac/decoder/
ixheaacd_esbr_envcal.c 904 FLOAT32 gamma = ixheaacd_q_gamma_table[gamma_idx]; local
    [all...]
  /external/pdfium/testing/image_diff/
image_diff_png.cpp 107 // Gamma constants: We assume we're on Windows which uses a gamma of 2.2.
108 const double kMaxGamma = 21474.83; // Maximum gamma accepted by png library.
220 // Deal with gamma and keep it under our control.
221 double gamma; local
222 if (png_get_gAMA(png_ptr, info_ptr, &gamma)) {
223 if (gamma <= 0.0 || gamma > kMaxGamma) {
224 gamma = kInverseGamma;
225 png_set_gAMA(png_ptr, info_ptr, gamma);
    [all...]
  /external/pdfium/third_party/lcms/src/
cmsgamma.c 318 // X = Y ^ Gamma
331 // Type 1 Reversed: X = Y ^1/gamma
345 // Y = (aX + b)^Gamma | X >= -b/a
377 // Y = (aX + b)^Gamma | X <= -b/a
418 // Y = (aX + b)^Gamma | X >= d
454 // Y = (aX + b)^Gamma + e | X >= d
494 // Y = (a * X + b) ^ Gamma + c
504 // ((Y - c) ^1/Gamma - b) / a
514 // Y = a * log (b * X^Gamma + c) + d
524 // (Y - d) / a = log(b * X ^Gamma + c
1260 cmsFloat64Number gamma, sum, sum2; local
    [all...]
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
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/tests/
batch_normalization_test.cc 169 auto gamma = builder.ConstantR1<float>({1.0, 1.0}); local
205 builder.Mul(normalized_input_activations, gamma,
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
lpc_masking_model.c 713 int16_t gamma=32440; //(1-0.01)=0.99 in Q15 local
745 tmpB=WEBRTC_SPL_MUL_16_32_RSFT15(gamma, corrlo2QQ[n]);
763 int16_t gamma=32440; //(1-0.01)=0.99 in Q1 local
801 tmpB=WEBRTC_SPL_MUL_16_32_RSFT15(gamma, tmpCorr);
  /frameworks/base/services/core/java/com/android/server/display/
BrightnessMappingStrategy.java 187 * {@code config_autoBrightnessAdjustmentMaxGamma<sup>-adjustment</sup>} is used to gamma
340 float gamma = Float.NaN; local
341 // Extreme edge cases: use a simpler heuristic, as proper gamma correction around the edges
352 // current^gamma = desired => gamma = log[current](desired)
353 gamma = MathUtils.log(desiredBrightness) / MathUtils.log(currentBrightness);
354 // max^-adjustment = gamma => adjustment = -log[max](gamma)
355 adjustment = -MathUtils.log(gamma) / MathUtils.log(maxGamma);
360 MathUtils.pow(maxGamma, -adjustment) + " == " + gamma);
375 float gamma = MathUtils.pow(maxGamma, -adjustment); local
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/display/
BrightnessMappingStrategyTest.java 368 minBrightness = (float) MathUtils.pow(minBrightness, MAXIMUM_GAMMA); // Gamma correction.
451 // Gamma correction tests.
460 // If we set a user data point at (x2, y2^0.5), i.e. gamma = 0.5, it should bump the rest
476 float gamma = 0.5f; local
477 strategy.addUserDataPoint(x2, (float) MathUtils.pow(y2, gamma));
478 assertEquals(MathUtils.pow(y1, gamma), strategy.getBrightness(x1), 0.01f /* tolerance */);
479 assertEquals(MathUtils.pow(y2, gamma), strategy.getBrightness(x2), 0.01f /* tolerance */);
480 assertEquals(MathUtils.pow(y3, gamma), strategy.getBrightness(x3), 0.01f /* tolerance */);
487 // This time we set a user data point at (x2, y2^0.25), i.e. gamma = 0.3 (the minimum),
504 float gamma = 0.25f local
552 float gamma = (float) MathUtils.pow(MAXIMUM_GAMMA, -adjustment); local
    [all...]
  /external/ImageMagick/MagickCore/
effect.c 312 gamma,
349 gamma=0.0;
360 gamma+=(*k);
365 gamma=PerceptibleReciprocal(gamma);
366 SetPixelChannel(blur_image,channel,ClampToQuantum(gamma*pixel),q);
378 gamma+=(*k)*alpha;
383 gamma=PerceptibleReciprocal(gamma);
384 SetPixelChannel(blur_image,channel,ClampToQuantum(gamma*pixel),q)
310 gamma, local
631 gamma, local
1269 gamma, local
2113 gamma, local
2253 gamma, local
2915 gamma, local
3222 gamma, local
3630 gamma, local
    [all...]
enhance.c 99 % to try make set its gamma appropriatally.
116 gamma,
131 Apply gamma correction equally across all given channels.
134 gamma=log(mean*QuantumScale)/log_mean;
135 return(LevelImage(image,0.0,(double) QuantumRange,gamma,exception));
138 Auto-gamma each channel separately.
152 gamma=log(mean*QuantumScale)/log_mean;
153 status&=LevelImage(image,0.0,(double) QuantumRange,gamma,exception);
114 gamma, local
1156 gamma; local
    [all...]
morphology.c 2686 gamma, local
2831 gamma, local
    [all...]
quantize.c 1296 gamma; local
    [all...]
  /external/ImageMagick/MagickWand/
operation.c 2124 gamma; local
2595 gamma, local
    [all...]
  /external/ImageMagick/coders/
psd.c 323 gamma;
328 gamma=QuantumScale*GetPixelAlpha(image, q);
329 if (gamma != 0.0 && gamma != 1.0)
335 q[i]=ClampToQuantum((q[i]-((1.0-gamma)*QuantumRange))/gamma);
318 gamma; local
    [all...]
svg.c 3089 gamma; local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
ECCurve.java 824 ECFieldElement gamma, z, zeroElement = this.fromBigInteger(ECConstants.ZERO); local
843 gamma = z.square().add(z);
845 while (gamma.isZero());
    [all...]
ECPoint.java 702 ECFieldElement gamma = dy.divide(dx); local
703 ECFieldElement X3 = gamma.square().subtract(X1).subtract(X2);
704 ECFieldElement Y3 = gamma.multiply(X1.subtract(X3)).subtract(Y1);
906 ECFieldElement gamma = three(X1Squared).add(this.getCurve().getA()).divide(two(Y1)); local
907 ECFieldElement X3 = gamma.square().subtract(two(X1));
908 ECFieldElement Y3 = gamma.multiply(X1.subtract(X3)).subtract(Y1);
    [all...]
  /external/clang/test/CodeGenCXX/
mangle-ms.cpp 156 void gamma(class foo, struct bar, union baz, enum quux) {} function
157 // CHECK-DAG: @"\01?gamma@@YAXVfoo@@Ubar@@Tbaz@@W4quux@@@Z"
158 // X64-DAG: @"\01?gamma@@YAXVfoo@@Ubar@@Tbaz@@W4quux@@@Z"
  /external/libconstrainedcrypto/
p256_ec.c 806 felem delta, gamma, alpha, beta, tmp, tmp2; local
    [all...]
  /external/libpng/contrib/libtests/
makepng.c 107 * according to the gamma encoding with no gamma encoding being interpreted as
349 /* Don't gamma correct - values get smashed */
771 volatile png_fixed_point gamma, chunk_insert * volatile insert,
847 * information about the gamma:
849 if (gamma == PNG_GAMMA_MAC_18)
850 gamma = 65909;
852 else if (gamma > 0 && gamma < 1000)
853 gamma = PNG_FP_1
1688 png_fixed_point gamma = 0; \/* not set *\/ local
    [all...]
tarith.c 771 double gamma[9] = { 2.2, 1.8, 1.52, 1.45, 1., 1/1.45, 1/1.52, 1/1.8, 1/2.2 }; local
775 /* Silence the output with -s, just test the gamma functions with -g: */
889 /* Test the overall gamma correction. */
893 double g = gamma[i];
897 printf("Test gamma %f\n", g);
916 printf("gamma %f: maximum 8-bit error %f\n", g, maxerr);
935 printf("gamma %f: maximum 16-bit error %f\n", g, maxerr);
947 * 3: accuracy test of fixed point gamma tables
987 else if (strcmp(argv[1], "gamma") == 0)
993 "usage: tarith [-v] [-c count] {ascii,muldiv,gamma} [args]\n")
    [all...]
  /external/mesa3d/src/mesa/drivers/x11/
xm_api.c 142 * Apply gamma correction to an intensity value in [0..max]. Return the
146 gamma_adjust( GLfloat gamma, GLint value, GLint max )
148 if (gamma == 1.0) {
153 return IROUND_POS((GLfloat) max * pow(x, 1.0F/gamma));
759 char *gamma; local
795 gamma = getenv("MESA_GAMMA");
796 if (gamma) {
798 sscanf( gamma, "%f %f %f", &v->RedGamma, &v->GreenGamma, &v->BlueGamma );
    [all...]

Completed in 7835 milliseconds

1 2 34 5 6 7