/device/google/dragon/audio/hal/dsp/ |
biquad.c | 58 double gamma = (0.5 + beta) * cos(theta); local 59 double alpha = 0.25 * (0.5 + beta - gamma); 64 double a1 = 2 * -gamma; 93 double gamma = (0.5 + beta) * cos(theta); local 94 double alpha = 0.25 * (0.5 + beta + gamma); 99 double a1 = 2 * -gamma;
|
/frameworks/base/core/jni/android/graphics/ |
MaskFilter.cpp | 58 static jlong createGammaTable(JNIEnv* env, jobject, jfloat gamma) { 59 SkMaskFilter* filter = SkTableMaskFilter::CreateGamma(gamma);
|
/external/ImageMagick/MagickCore/ |
gem.c | 1485 gamma, local 1600 gamma, local 1641 gamma, local [all...] |
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...] |
channel.c | 872 gamma, local 883 gamma=Sa*(-Da)+Sa+Da; 884 gamma=PerceptibleReciprocal(gamma); 895 composite[i]=ClampToQuantum(gamma*MagickOver_((double) q[i],beta, 901 composite[i]=ClampToQuantum(gamma*MagickOver_((double) q[i],beta, 907 composite[i]=ClampToQuantum(gamma*MagickOver_((double) q[i],beta, 913 composite[i]=ClampToQuantum(gamma*MagickOver_((double) q[i],beta, 985 gamma; local 995 gamma=QuantumScale*GetPixelAlpha(image,q) 1117 gamma, local [all...] |
accelerate-kernels-private.h | 760 gamma, 766 gamma=sqrt(-2.0f*log(alpha)); 767 sigma=gamma*cospi((2.0f*beta)); 768 tau=gamma*sinpi((2.0f*beta)); [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
TriDiagonalTransformer.java | 243 // compute gamma = beta vT z / 2 244 double gamma = 0; local 246 gamma += z[i] * hK[i]; 248 gamma *= beta / 2; 250 // compute z = z - gamma v 252 z[i] -= gamma * hK[i];
|
/external/eigen/unsupported/Eigen/src/EulerAngles/ |
EulerSystem.h | 143 IsGammaOpposite = (GammaAxis < 0) ? 1 : 0, /*!< weather gamma axis is negative */ 289 res.gamma() = -res.gamma(); 298 if (PositiveRangeGamma && (res.gamma() < 0)) 299 res.gamma() += Scalar(2 * EIGEN_PI);
|
/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/libpng/contrib/gregbook/ |
writepng.h | 91 double gamma; member in struct:_mainprog_info
|
/external/ImageMagick/coders/ |
pango.c | 431 gamma; 440 gamma=QuantumScale*fill_color.alpha; 441 gamma=PerceptibleReciprocal(gamma); 442 fill_color.blue*=gamma; 443 fill_color.green*=gamma; 444 fill_color.red*=gamma; 429 gamma; local
|
/external/pdfium/samples/ |
image_diff_png.cc | 79 // Gamma constants: We assume we're on Windows which uses a gamma of 2.2. 80 const double kMaxGamma = 21474.83; // Maximum gamma accepted by png library. 187 // Deal with gamma and keep it under our control. 188 double gamma; local 189 if (png_get_gAMA(png_ptr, info_ptr, &gamma)) { 190 if (gamma <= 0.0 || gamma > kMaxGamma) { 191 gamma = kInverseGamma; 192 png_set_gAMA(png_ptr, info_ptr, gamma); [all...] |
/prebuilts/go/darwin-x86/src/crypto/elliptic/ |
elliptic.go | 197 gamma := new(big.Int).Mul(y, y) 198 gamma.Mod(gamma, curve.P) 209 beta := alpha2.Mul(x, gamma) 221 z3.Sub(z3, gamma) 238 gamma.Mul(gamma, gamma) 239 gamma.Lsh(gamma, 3 [all...] |
/prebuilts/go/linux-x86/src/crypto/elliptic/ |
elliptic.go | 197 gamma := new(big.Int).Mul(y, y) 198 gamma.Mod(gamma, curve.P) 209 beta := alpha2.Mul(x, gamma) 221 z3.Sub(z3, gamma) 238 gamma.Mul(gamma, gamma) 239 gamma.Lsh(gamma, 3 [all...] |
/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,
|
/libcore/ojluni/src/main/java/java/util/ |
SplittableRandom.java | 102 * constant ("gamma") to the current (64 bit) seed, forming a 103 * simple sequence. The seed and the gamma values for any two 118 * and gamma for another SplittableRandom. To conservatively 120 * gamma selection (method mixGamma) uses different 126 * most 4 to any given gamma value). This reduces the effective 127 * set of 64bit odd gamma values by about 2%, and serves as an 158 * The golden ratio scaled to 64bits, used as the initial gamma 177 private final long gamma; field in class:SplittableRandom 182 private SplittableRandom(long seed, long gamma) { 184 this.gamma = gamma [all...] |
/external/opencv/ml/src/ |
mlsvm.cpp | 132 else if( param_id == CvSVM::GAMMA ) 164 "(use one of CvSVM::C, CvSVM::GAMMA et al.)", __FILE__, __LINE__ ); 171 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); 1613 double gamma = 0, C = 0, degree = 0, coef = 0, p = 0, nu = 0; local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/ |
LevenbergMarquardtEstimator.java | 857 double gamma = 0; local 859 gamma += jacobian[index] * jacobian[index + dkp]; 861 gamma *= betak; 863 jacobian[index + dkp] -= gamma * jacobian[index]; 882 double gamma = 0; local 885 gamma += jacobian[index] * y[i]; 888 gamma *= beta[pk]; 891 y[i] -= gamma * jacobian[index];
|
/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/skia/src/effects/ |
SkTableMaskFilter.cpp | 87 void SkTableMaskFilter::MakeGammaTable(uint8_t table[256], SkScalar gamma) { 89 const float g = SkScalarToFloat(gamma);
|
/prebuilts/go/darwin-x86/src/math/ |
gamma.go | 8 // below are from http://netlib.sandia.gov/cephes/cprob/gamma.c. 13 // Gamma function 24 // Returns gamma function of the argument. The result is 27 // This variable is also filled in by the logarithmic gamma 60 // source listings for the gamma function and the incomplete beta 93 // Gamma function computed by Stirling's formula. 121 // Gamma returns the Gamma function of x. 124 // Gamma(+Inf) = +Inf 125 // Gamma(+0) = +In [all...] |
/prebuilts/go/linux-x86/src/math/ |
gamma.go | 8 // below are from http://netlib.sandia.gov/cephes/cprob/gamma.c. 13 // Gamma function 24 // Returns gamma function of the argument. The result is 27 // This variable is also filled in by the logarithmic gamma 60 // source listings for the gamma function and the incomplete beta 93 // Gamma function computed by Stirling's formula. 121 // Gamma returns the Gamma function of x. 124 // Gamma(+Inf) = +Inf 125 // Gamma(+0) = +In [all...] |
/external/skia/tools/flags/ |
SkCommonFlagsConfig.cpp | 310 SkColorSpace::RenderTargetGamma gamma = linearGamma ? SkColorSpace::kLinear_RenderTargetGamma local 312 *outColorSpace = SkColorSpace::MakeRGB(gamma, gamut); 326 *outColorSpace = SkColorSpace::MakeRGB(gamma, wideGamutRGBMatrix); 337 *outColorSpace = SkColorSpace::MakeRGB(gamma, narrowGamutRGBMatrix);
|
/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...] |