/external/ceres-solver/internal/ceres/ |
H A D | polynomial.cc | 59 // gamma <= 1 controls how much a change in the scaling has to 62 // gamma = 1 seems to lead to cycles (numerical issues?), so 64 const double gamma = 0.9; local 85 if (scaled_col_norm + scaled_row_norm < gamma * (col_norm + row_norm)) {
|
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
H A D | 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/libpng/contrib/gregbook/ |
H A D | writepng.h | 91 double gamma; member in struct:_mainprog_info
|
/external/opencv3/3rdparty/libpng/ |
H A D | pnginfo.h | 86 /* The gAMA chunk describes the gamma characteristics of the system 90 png_fixed_point gamma; member in struct:png_info_def
|
/external/opencv3/3rdparty/libtiff/ |
H A D | tif_color.c | 129 double gamma; local 136 gamma = 1.0 / cielab->display.d_gammaR ; 141 * ((float)pow((double)i / cielab->range, gamma)); 145 gamma = 1.0 / cielab->display.d_gammaG ; 150 * ((float)pow((double)i / cielab->range, gamma)); 154 gamma = 1.0 / cielab->display.d_gammaB ; 159 * ((float)pow((double)i / cielab->range, gamma));
|
/external/opencv3/modules/cudaoptflow/test/ |
H A D | test_optflow.cpp | 75 cv::cuda::BroxOpticalFlow::create(0.197 /*alpha*/, 50.0 /*gamma*/, 0.8 /*scale_factor*/, 143 cv::cuda::BroxOpticalFlow::create(0.197 /*alpha*/, 50.0 /*gamma*/, 0.8 /*scale_factor*/, 345 double gamma; local 350 gamma = GET_PARAM(1); 367 d_alg->setGamma(gamma); 376 alg->setGamma(gamma);
|
/external/pdfium/core/src/fxcodec/codec/ |
H A D | fx_codec_png.cpp | 124 double gamma = 1.0;
local 139 &color_type, &gamma)) {
144 png_set_gamma(png_ptr, gamma, 0.45455);
148 png_set_gamma(png_ptr, gamma, image_gamma);
150 png_set_gamma(png_ptr, gamma, 0.45455);
|
/external/pdfium/third_party/libtiff/ |
H A D | tif_color.c | 129 double gamma; local 136 gamma = 1.0 / cielab->display.d_gammaR ; 141 * ((float)pow((double)i / cielab->range, gamma)); 145 gamma = 1.0 / cielab->display.d_gammaG ; 150 * ((float)pow((double)i / cielab->range, gamma)); 154 gamma = 1.0 / cielab->display.d_gammaB ; 159 * ((float)pow((double)i / cielab->range, gamma));
|
/external/skia/gm/ |
H A D | showmiplevels.cpp | 81 static unsigned gamma(unsigned n) { function in class:ShowMipLevels 101 unsigned r = gamma(SkGetPackedR32(c)); 102 unsigned g = gamma(SkGetPackedG32(c)); 103 unsigned b = gamma(SkGetPackedB32(c));
|
/external/skia/src/core/ |
H A D | SkMaskGamma.h | 28 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const = 0; 30 virtual SkScalar fromLuma(SkScalar gamma, SkScalar luma) const = 0; 33 static U8CPU computeLuminance(SkScalar gamma, SkColor c) { argument 34 const SkColorSpaceLuminance& luminance = Fetch(gamma); 35 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); 36 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255); 37 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); 42 return SkScalarRoundToInt(luminance.fromLuma(gamma, luma) * 255); 45 /** Retrieves the SkColorSpaceLuminance for the given gamma. */ 46 static const SkColorSpaceLuminance& Fetch(SkScalar gamma); [all...] |
/external/eigen/Eigen/src/Cholesky/ |
H A D | LDLT.h | 377 RealScalar gamma = dj*alpha + swj2; local 386 if(gamma != 0) 387 mat.col(j).tail(rs) += (sigma*numext::conj(wj)/gamma)*w.tail(rs);
|
H A D | LLT.h | 245 RealScalar gamma = dj*beta + swj2; local 259 if(gamma != 0) 260 mat.col(j).tail(rs) = (nLjj/Ljj) * mat.col(j).tail(rs) + (nLjj * sigma*numext::conj(wj)/gamma)*temp.tail(rs);
|
/external/opencv/cv/src/ |
H A D | 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, 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/opencv3/modules/core/src/ |
H A D | downhill_simplex.cpp | 382 double gamma = 0.5; local 383 double y_gamma = tryNewPoint(p, coord_sum, ihi, gamma, buf, fcount); 387 replacePoint(p, coord_sum, y, ihi, gamma, y_gamma);
|
H A D | lapack.cpp | 439 double beta = a - b, gamma = hypot((double)p, beta); local 442 double delta = (gamma - beta)*0.5; 443 s = (_Tp)std::sqrt(delta/gamma); 444 c = (_Tp)(p/(gamma*s*2)); 448 c = (_Tp)std::sqrt((gamma + beta)/(gamma*2)); 449 s = (_Tp)(p/(gamma*c*2));
|
/external/opencv3/modules/cudaarithm/test/ |
H A D | test_element_operations.cpp | 2495 double gamma = randomDouble(-10.0, 10.0); local 2502 cv::cuda::addWeighted(loadMat(src1), alpha, loadMat(src2), beta, gamma, dst, dst_depth); local 2512 cv::cuda::addWeighted(loadMat(src1, useRoi), alpha, loadMat(src2, useRoi), beta, gamma, dst, dst_depth); local 2515 cv::addWeighted(src1, alpha, src2, beta, gamma, dst_gold, dst_depth);
|
/external/opencv3/modules/imgproc/src/ |
H A D | grabcut.cpp | 273 beta and gamma - parameters of GrabCut algorithm. 275 static void calcNWeights( const Mat& img, Mat& leftW, Mat& upleftW, Mat& upW, Mat& uprightW, double beta, double gamma ) 277 const double gammaDivSqrt2 = gamma / std::sqrt(2.0f); 290 leftW.at<double>(y,x) = gamma * exp(-beta*diff.dot(diff)); 304 upW.at<double>(y,x) = gamma * exp(-beta*diff.dot(diff)); 560 const double gamma = 50; local 561 const double lambda = 9*gamma; 565 calcNWeights( img, leftW, upleftW, upW, uprightW, beta, gamma );
|
/external/skia/src/ports/ |
H A D | SkTypeface_win_dw.cpp | 273 float gamma = defaultRenderingParams->GetGamma(); local 274 rec->setDeviceGamma(gamma); 275 rec->setPaintGamma(gamma);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
H A D | lpc_analysis.c | 405 const double gamma = 0.9; local 454 tmp = gamma; 458 tmp *= gamma;
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/ |
H A D | nada.cc | 248 float gamma = local 252 bitrate_kbps_ = static_cast<int>((1.0f + gamma) * fb.receiving_rate() + 0.5f); 257 float gamma = 3.0f * kMaxCongestionSignalMs / local 259 gamma = std::min(gamma, kGamma0); 260 bitrate_kbps_ = gamma * fb.receiving_rate() + 0.5f;
|
/external/libchrome/crypto/ |
H A D | p224.cc | 532 FieldElement delta, gamma, beta, alpha, t; local 535 Square(&gamma, a.y); 536 Mul(&beta, a.x, gamma); 548 // Z3 = (Y1+Z1)²-gamma-delta 552 Subtract(&out->z, out->z, gamma); 566 // Y3 = alpha*(4*beta-X3)-8*gamma² 573 Square(&gamma, gamma); 575 gamma[i] <<= 3; 577 Reduce(&gamma); [all...] |
/external/libweave/third_party/chromium/crypto/ |
H A D | p224.cc | 561 FieldElement delta, gamma, beta, alpha, t; local 564 Square(&gamma, a.y); 565 Mul(&beta, a.x, gamma); 577 // Z3 = (Y1+Z1)²-gamma-delta 581 Subtract(&out->z, out->z, gamma); 595 // Y3 = alpha*(4*beta-X3)-8*gamma² 602 Square(&gamma, gamma); 604 gamma[i] <<= 3; 606 Reduce(&gamma); [all...] |
/external/opencv3/modules/cudaoptflow/src/ |
H A D | tvl1flow.cpp | 66 float l_t, float theta, float gamma, bool calcError, 70 float taut, float gamma, 80 int iterations, double scaleStep, double gamma, bool useInitialFlow) : 81 tau_(tau), lambda_(lambda), gamma_(gamma), theta_(theta), nscales_(nscales), warps_(warps), 93 virtual void setGamma(double gamma) { gamma_ = gamma; } argument 375 double epsilon, int iterations, double scaleStep, double gamma, bool useInitialFlow) 378 epsilon, iterations, scaleStep, gamma, useInitialFlow); 79 OpticalFlowDual_TVL1_Impl(double tau, double lambda, double theta, int nscales, int warps, double epsilon, int iterations, double scaleStep, double gamma, bool useInitialFlow) argument 373 create( double tau, double lambda, double theta, int nscales, int warps, double epsilon, int iterations, double scaleStep, double gamma, bool useInitialFlow) argument
|
/external/opencv3/modules/photo/src/ |
H A D | tonemap.cpp | 59 TonemapImpl(float _gamma) : name("Tonemap"), gamma(_gamma) 78 pow(dst, 1.0f / gamma, dst); 81 float getGamma() const { return gamma; } 82 void setGamma(float val) { gamma = val; } 87 << "gamma" << gamma; local 94 gamma = fn["gamma"]; 99 float gamma; member in class:cv::TonemapImpl 102 Ptr<Tonemap> createTonemap(float gamma) argument 181 float gamma, saturation, bias; member in class:cv::TonemapDragoImpl 184 createTonemapDrago(float gamma, float saturation, float bias) argument 266 float gamma, contrast, saturation, sigma_color, sigma_space; member in class:cv::TonemapDurandImpl 269 createTonemapDurand(float gamma, float contrast, float saturation, float sigma_color, float sigma_space) argument 361 float gamma, intensity, light_adapt, color_adapt; member in class:cv::TonemapReinhardImpl 364 createTonemapReinhard(float gamma, float contrast, float sigma_color, float sigma_space) argument 466 float gamma, scale, saturation; member in class:cv::TonemapMantiukImpl 532 createTonemapMantiuk(float gamma, float scale, float saturation) argument [all...] |
/external/opencv3/modules/ts/src/ |
H A D | ts_func.cpp | 152 Scalar gamma, Mat& c, int ctype, bool calcAbs) 193 scalarToRawData(gamma, buf[2].ptr(), CV_64FC(cn), (int)(maxsize*cn)); 380 void set(Mat& dst, const Scalar& gamma, const Mat& mask) argument 383 scalarToRawData(gamma, &buf, dst.type(), dst.channels()); 151 add(const Mat& _a, double alpha, const Mat& _b, double beta, Scalar gamma, Mat& c, int ctype, bool calcAbs) argument
|