/external/libpng/tests/ |
pngvalid-gamma-16-to-8 | 2 exec ./pngvalid --strict --gamma-16-to-8
|
pngvalid-gamma-background | 2 exec ./pngvalid --strict --gamma-background
|
pngvalid-gamma-sbit | 2 exec ./pngvalid --strict --gamma-sbit
|
pngvalid-gamma-threshold | 2 exec ./pngvalid --strict --gamma-threshold
|
pngvalid-gamma-transform | 2 exec ./pngvalid --strict --gamma-transform
|
pngvalid-gamma-alpha-mode | 2 exec ./pngvalid --strict --gamma-alpha-mode
|
pngvalid-gamma-expand16-background | 2 exec ./pngvalid --strict --gamma-background --expand16
|
pngvalid-gamma-expand16-transform | 2 exec ./pngvalid --strict --gamma-transform --expand16
|
pngvalid-gamma-expand16-alpha-mode | 2 exec ./pngvalid --strict --gamma-alpha-mode --expand16
|
pngstest | 5 # tests/pngstest gamma alpha 8 # given gamma and opacity: 10 # gamma: one of; linear, 1.8, sRGB, none. 13 # NOTE: the temporary files pngstest generates have the base name gamma-alpha to 16 gamma="$1" 27 test "$gamma" = "linear" && g="$f";; 30 test "$gamma" = "sRGB" && g="$f";; 33 test "$gamma" = "1.8" && g="$f";; 36 test "$gamma" = "none" && g="$f";; 54 exec ./pngstest --tmpfile "${gamma}-${alpha}-" --log ${1+"$@"} $arg [all...] |
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
shaders.cpp | 147 // output the final color with sqrt for "gamma correction"
|
/external/tensorflow/tensorflow/core/kernels/ |
smooth-hinge-loss.h | 45 (label - wx - gamma * current_dual) / 46 (num_partitions * example_weight * weighted_example_norm + gamma); 64 return (-y_alpha + 0.5 * gamma * current_dual * current_dual) * 72 if (y_wx <= 1 - gamma) return (1 - y_wx - gamma / 2) * example_weight; 73 return (1 - y_wx) * (1 - y_wx) * example_weight * 0.5 / gamma; 97 if (label * wx <= 1 - gamma) { 100 return (wx - label) / gamma; 103 double SmoothnessConstant() const final { return gamma; } 108 const double gamma = 1 member in class:tensorflow::SmoothHingeLossUpdater [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
weight_a.c | 21 * ap[i] = a[i] * (gamma ** i) * 31 Word16 gamma, /* (i) Q15 : Spectral expansion factor. */ 37 fac = gamma; 40 fac = (vo_L_mult(fac, gamma) + 0x8000) >> 16;
|
/external/skia/src/core/ |
SkMaskGamma.cpp | 16 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { 17 SkASSERT(SK_Scalar1 == gamma); 20 SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const override { 21 SkASSERT(SK_Scalar1 == gamma); 27 SkScalar toLuma(SkScalar gamma, SkScalar luminance) const override { 28 return SkScalarPow(luminance, gamma); 30 SkScalar fromLuma(SkScalar gamma, SkScalar luma) const override { 31 return SkScalarPow(luma, SkScalarInvert(gamma)); 36 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { 37 SkASSERT(0 == gamma); [all...] |
/external/skqp/src/core/ |
SkMaskGamma.cpp | 16 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { 17 SkASSERT(SK_Scalar1 == gamma); 20 SkScalar fromLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luma) const override { 21 SkASSERT(SK_Scalar1 == gamma); 27 SkScalar toLuma(SkScalar gamma, SkScalar luminance) const override { 28 return SkScalarPow(luminance, gamma); 30 SkScalar fromLuma(SkScalar gamma, SkScalar luma) const override { 31 return SkScalarPow(luma, SkScalarInvert(gamma)); 36 SkScalar toLuma(SkScalar SkDEBUGCODE(gamma), SkScalar luminance) const override { 37 SkASSERT(0 == gamma); [all...] |
/external/skia/include/effects/ |
SkTableMaskFilter.h | 17 Helper methods create some common tables (e.g. gamma, clipping) 21 /** Utility that sets the gamma table 23 static void MakeGammaTable(uint8_t table[256], SkScalar gamma); 31 static SkMaskFilter* CreateGamma(SkScalar gamma);
|
/external/skqp/include/effects/ |
SkTableMaskFilter.h | 17 Helper methods create some common tables (e.g. gamma, clipping) 21 /** Utility that sets the gamma table 23 static void MakeGammaTable(uint8_t table[256], SkScalar gamma); 31 static SkMaskFilter* CreateGamma(SkScalar gamma);
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
weight_amrwb_lpc.cpp | 49 int16 gamma, (i) Q15 : Spectral expansion factor. 56 ap[i] = a[i] (gamma i) 119 int16 gamma, /* (i) Q15 : Spectral expansion factor. */ 126 fac = gamma; 130 fac = (int16)(fxp_mac_16by16(fac, gamma, roundFactor) >> 15);
|
/external/ImageMagick/MagickCore/ |
composite-private.h | 57 gamma, local 68 gamma=Sa+Da-Sa*Da; 69 gamma=PerceptibleReciprocal(gamma); 86 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->red,alpha, 92 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->green,alpha, 98 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->blue,alpha, 104 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->black,alpha, 127 gamma, local 135 gamma=Sa+Da-Sa*Da 150 gamma, local [all...] |
/external/libpng/contrib/libtests/ |
gentests.sh | 68 for gamma in "" --sRGB --linear --1.8 70 case "$gamma" in 80 gname="-$gamma";; 82 "$mp" $gamma "$1" "$2" "test-$1-$2$gname.png"
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
ChiSquaredDistributionImpl.java | 41 /** Internal Gamma distribution. */ 42 private GammaDistribution gamma; field in class:ChiSquaredDistributionImpl 58 * @param g the underlying gamma distribution used to compute probabilities. 81 gamma = new GammaDistributionImpl(df / 2.0, 2.0); 100 gamma.setAlpha(degreesOfFreedom / 2.0); 108 return gamma.getAlpha() * 2.0; 132 return gamma.density(x); 143 return gamma.cumulativeProbability(x); 182 return Double.MIN_VALUE * gamma.getBeta(); 239 * Modify the underlying gamma distribution. The caller is responsible fo [all...] |
/external/eigen/unsupported/test/ |
cxx11_tensor_sugar.cpp | 44 const float gamma = 0.14f; local 46 Tensor<float, 3> R = A.constant(gamma) + A * A.constant(alpha) + B * B.constant(beta); 47 Tensor<float, 3> S = A * alpha + B * beta + gamma; 48 Tensor<float, 3> T = gamma + alpha * A + beta * B; 64 const float gamma = 0.14f; local 67 Tensor<float, 3> R = A.constant(gamma) - A / A.constant(alpha) 69 Tensor<float, 3> S = gamma - A / alpha - beta / B - delta;
|
/external/tensorflow/tensorflow/contrib/solvers/python/ops/ |
least_squares.py | 74 - gamma: \\(||A^* r||_2^2\\) 78 ["i", "x", "r", "p", "gamma"]) 81 return math_ops.logical_and(i < max_iter, state.gamma > tol) 86 alpha = state.gamma / util.l2norm_squared(q) 90 gamma = util.l2norm_squared(s) 91 beta = gamma / state.gamma 93 return i + 1, cgls_state(i + 1, x, r, p, gamma) 105 state = cgls_state(i=i, x=x, r=rhs, p=s0, gamma=gamma0) 113 gamma=state.gamma [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
gamma_test.py | 30 from tensorflow.python.ops.distributions import gamma as gamma_lib 55 gamma = gamma_lib.Gamma(concentration=alpha, rate=beta) 57 self.assertEqual(self.evaluate(gamma.batch_shape_tensor()), (5,)) 58 self.assertEqual(gamma.batch_shape, tensor_shape.TensorShape([5])) 59 self.assertAllEqual(self.evaluate(gamma.event_shape_tensor()), []) 60 self.assertEqual(gamma.event_shape, tensor_shape.TensorShape([])) 69 gamma = gamma_lib.Gamma(concentration=alpha, rate=beta) 70 log_pdf = gamma.log_prob(x [all...] |
/development/samples/RenderScript/Levels/src/com/android/rs/levels/ |
levels.rs | 25 float gamma; 33 if (gamma != 1.0f) 34 pixel = pow(pixel, (float3)gamma);
|