/third_party/node/deps/openssl/openssl/crypto/sha/asm/ |
D | sha256-mb-x86_64.pl | 104 ($t1,$t2,$t3,$axb,$bxc,$Xi,$Xn,$sigma)=map("%xmm$_",(0..7)); 141 movdqa $e,$sigma 145 psrld \$6,$sigma 152 pxor $t3,$sigma 155 pxor $t2,$sigma 160 pxor $t3,$sigma 165 pxor $t2,$sigma 169 pxor $t3,$sigma # Sigma1(e) 172 paddd $sigma,$Xi # Xi+=Sigma1(e) 175 movdqa $a,$sigma [all …]
|
/third_party/openssl/crypto/sha/asm/ |
D | sha256-mb-x86_64.pl | 104 ($t1,$t2,$t3,$axb,$bxc,$Xi,$Xn,$sigma)=map("%xmm$_",(0..7)); 141 movdqa $e,$sigma 145 psrld \$6,$sigma 152 pxor $t3,$sigma 155 pxor $t2,$sigma 160 pxor $t3,$sigma 165 pxor $t2,$sigma 169 pxor $t3,$sigma # Sigma1(e) 172 paddd $sigma,$Xi # Xi+=Sigma1(e) 175 movdqa $a,$sigma [all …]
|
/third_party/skia/tests/ |
D | BlurTest.cpp | 129 SkScalar sigma = SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(5)); in DEF_TEST() local 134 paint.setMaskFilter(SkMaskFilter::MakeBlur(blurStyle, sigma, respectCTM)); in DEF_TEST() 178 SkScalar sigma, in ground_truth_2d() argument 189 if (!SkBlurMask::BlurGroundTruth(sigma, &dst, src, kNormal_SkBlurStyle)) { in ground_truth_2d() 219 static float gaussian(int x, SkScalar sigma) { in gaussian() argument 220 float k = SK_Scalar1/(sigma * sqrtf(2.0f*SK_ScalarPI)); in gaussian() 221 float exponent = -(x * x) / (2 * sigma * sigma); in gaussian() 333 SkScalar sigma = 10.0f; in DEF_TEST() local 335 for (int i = 0; i < 4; ++i, sigma /= 10) { in DEF_TEST() 337 cpu_blur_path(rectPath, sigma, rectSpecialCaseResult, kSize); in DEF_TEST() [all …]
|
D | SkGaussFilterTest.cpp | 32 double sigma; std::vector<double> golden; in DEF_TEST() local 33 std::tie(sigma, golden) = test; in DEF_TEST() 34 SkGaussFilter filter{sigma}; in DEF_TEST() 66 auto check = [&](double sigma) { in DEF_TEST() argument 67 SkGaussFilter filter{sigma}; in DEF_TEST() 78 for (double sigma = 0.0; sigma < 2.0; sigma += 0.1) { in DEF_TEST() local 79 check(sigma); in DEF_TEST()
|
D | MaskCacheTest.cpp | 34 SkScalar sigma = 0.8f; in DEF_TEST() local 41 SkCachedData* data = SkMaskCache::FindAndRef(sigma, style, rrect, &mask, &cache); in DEF_TEST() 50 SkMaskCache::Add(sigma, style, rrect, mask, data, &cache); in DEF_TEST() 57 data = SkMaskCache::FindAndRef(sigma, style, rrect, &mask, &cache); in DEF_TEST() 72 SkScalar sigma = 0.8f; in DEF_TEST() local 78 SkCachedData* data = SkMaskCache::FindAndRef(sigma, style, rects, 1, &mask, &cache); in DEF_TEST() 87 SkMaskCache::Add(sigma, style, rects, 1, mask, data, &cache); in DEF_TEST() 94 data = SkMaskCache::FindAndRef(sigma, style, rects, 1, &mask, &cache); in DEF_TEST()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 58 const Context& ctx, SkVector sigma, 109 int calculate_window(double sigma) { in calculate_window() argument 110 auto possibleWindow = static_cast<int>(floor(sigma * 3 * sqrt(2 * SK_DoublePI) / 4 + 0.5)); in calculate_window() 217 static PassMaker* MakeMaker(double sigma, SkArenaAlloc* alloc) { in MakeMaker() argument 218 SkASSERT(0 <= sigma); in MakeMaker() 219 int window = calculate_window(sigma); in MakeMaker() 473 static PassMaker* MakeMaker(double sigma, SkArenaAlloc* alloc) { in MakeMaker() argument 474 SkASSERT(0 <= sigma); in MakeMaker() 475 int gaussianWindow = calculate_window(sigma); in MakeMaker() 758 SkVector sigma, const sk_sp<SkSpecialImage> &input, in cpu_blur() argument [all …]
|
D | SkDropShadowImageFilter.cpp | 133 SkVector sigma = SkVector::Make(fSigmaX, fSigmaY); in onFilterImage() local 134 ctx.ctm().mapVectors(&sigma, 1); in onFilterImage() 135 sigma.fX = SkScalarAbs(sigma.fX); in onFilterImage() 136 sigma.fY = SkScalarAbs(sigma.fY); in onFilterImage() 140 paint.setImageFilter(SkImageFilters::Blur(sigma.fX, sigma.fY, nullptr)); in onFilterImage() 180 SkVector sigma = SkVector::Make(fSigmaX, fSigmaY); in onFilterNodeBounds() local 181 ctm.mapVectors(&sigma, 1); in onFilterNodeBounds() 183 SkScalarCeilToInt(SkScalarAbs(sigma.x() * 3)), in onFilterNodeBounds() 184 SkScalarCeilToInt(SkScalarAbs(sigma.y() * 3))); in onFilterNodeBounds()
|
/third_party/skia/src/core/ |
D | SkGpuBlurUtils.h | 76 SkScalar sigma, 87 void Compute1DGaussianKernel(float* kernel, float sigma, int radius); 89 void Compute1DLinearGaussianKernel(float* kernel, float* offset, float sigma, int radius); 94 inline bool IsEffectivelyZeroSigma(float sigma) { return sigma <= 0.03f; } in IsEffectivelyZeroSigma() argument 96 inline int SigmaRadius(float sigma) { in SigmaRadius() argument 97 return IsEffectivelyZeroSigma(sigma) ? 0 : static_cast<int>(ceilf(sigma * 3.0f)); in SigmaRadius()
|
D | SkMaskCache.cpp | 23 RRectBlurKey(SkScalar sigma, const SkRRect& rrect, SkBlurStyle style) in RRectBlurKey() 24 : fSigma(sigma) in RRectBlurKey() 75 SkCachedData* SkMaskCache::FindAndRef(SkScalar sigma, SkBlurStyle style, in FindAndRef() argument 78 RRectBlurKey key(sigma, rrect, style); in FindAndRef() 88 void SkMaskCache::Add(SkScalar sigma, SkBlurStyle style, in Add() argument 91 RRectBlurKey key(sigma, rrect, style); in Add() 102 RectsBlurKey(SkScalar sigma, SkBlurStyle style, const SkRect rects[], int count) in RectsBlurKey() 103 : fSigma(sigma) in RectsBlurKey() 166 SkCachedData* SkMaskCache::FindAndRef(SkScalar sigma, SkBlurStyle style, in FindAndRef() argument 170 RectsBlurKey key(sigma, style, rects, count); in FindAndRef() [all …]
|
D | SkBlurMask.h | 18 static bool SK_WARN_UNUSED_RESULT BlurRect(SkScalar sigma, SkMask *dst, const SkRect &src, 22 static bool SK_WARN_UNUSED_RESULT BlurRRect(SkScalar sigma, SkMask *dst, const SkRRect &src, 39 SkScalar sigma, SkBlurStyle style, 44 static bool SK_WARN_UNUSED_RESULT BlurGroundTruth(SkScalar sigma, SkMask* dst, 51 static SkScalar SK_SPI ConvertSigmaToRadius(SkScalar sigma); 69 static void ComputeBlurProfile(uint8_t* profile, int size, SkScalar sigma); 81 unsigned int width, SkScalar sigma);
|
D | SkGaussFilter.cpp | 43 static int calculate_bessel_factors(double sigma, double *gauss) { in calculate_bessel_factors() argument 44 auto var = sigma * sigma; in calculate_bessel_factors() 105 SkGaussFilter::SkGaussFilter(double sigma) { in SkGaussFilter() argument 106 SkASSERT(0 <= sigma && sigma < 2); in SkGaussFilter() 108 fN = calculate_bessel_factors(sigma, fBasis); in SkGaussFilter()
|
D | SkBlurMF.cpp | 49 SkBlurMaskFilterImpl(SkScalar sigma, SkBlurStyle, bool respectCTM); 125 SkBlurMaskFilterImpl::SkBlurMaskFilterImpl(SkScalar sigma, SkBlurStyle style, bool respectCTM) in SkBlurMaskFilterImpl() argument 126 : fSigma(sigma) in SkBlurMaskFilterImpl() 152 SkScalar sigma = this->computeXformedSigma(matrix); in filterMask() local 153 return SkBlurMask::BoxBlur(dst, src, sigma, fBlurStyle, margin); in filterMask() 159 SkScalar sigma = computeXformedSigma(matrix); in filterRectMask() local 161 return SkBlurMask::BlurRect(sigma, dst, r, fBlurStyle, margin, createMode); in filterRectMask() 167 SkScalar sigma = computeXformedSigma(matrix); in filterRRectMask() local 169 return SkBlurMask::BlurRRect(sigma, dst, r, fBlurStyle, margin, createMode); in filterRRectMask() 258 static SkCachedData* find_cached_rrect(SkMask* mask, SkScalar sigma, SkBlurStyle style, in find_cached_rrect() argument [all …]
|
D | SkBlurMask.cpp | 32 SkScalar SkBlurMask::ConvertSigmaToRadius(SkScalar sigma) { in ConvertSigmaToRadius() argument 33 return sigma > 0.5f ? (sigma - 0.5f) / kBLUR_SIGMA_SCALE : 0.0f; in ConvertSigmaToRadius() 105 bool SkBlurMask::BoxBlur(SkMask* dst, const SkMask& src, SkScalar sigma, SkBlurStyle style, in BoxBlur() argument 115 SkMaskBlurFilter blurFilter{sigma, sigma}; in BoxBlur() 337 void SkBlurMask::ComputeBlurProfile(uint8_t* profile, int size, SkScalar sigma) { in ComputeBlurProfile() argument 338 SkASSERT(SkScalarCeilToInt(6*sigma) == size); in ComputeBlurProfile() 342 float invr = 1.f/(2*sigma); in ComputeBlurProfile() 372 unsigned int width, SkScalar sigma) { in ComputeBlurredScanline() argument 374 unsigned int profile_size = SkScalarCeilToInt(6*sigma); in ComputeBlurredScanline() 388 float span = float(sw)/(2*sigma); in ComputeBlurredScanline() [all …]
|
D | SkMaskCache.h | 26 static SkCachedData* FindAndRef(SkScalar sigma, SkBlurStyle style, 29 static SkCachedData* FindAndRef(SkScalar sigma, SkBlurStyle style, 36 static void Add(SkScalar sigma, SkBlurStyle style, 39 static void Add(SkScalar sigma, SkBlurStyle style,
|
/third_party/python/Modules/clinic/ |
D | _statisticsmodule.c.h | 15 double sigma); 23 double sigma; in _statistics__normal_dist_inv_cdf() local 50 sigma = PyFloat_AS_DOUBLE(args[2]); in _statistics__normal_dist_inv_cdf() 54 sigma = PyFloat_AsDouble(args[2]); in _statistics__normal_dist_inv_cdf() 55 if (sigma == -1.0 && PyErr_Occurred()) { in _statistics__normal_dist_inv_cdf() 59 _return_value = _statistics__normal_dist_inv_cdf_impl(module, p, mu, sigma); in _statistics__normal_dist_inv_cdf()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_gblur_vulkan.c | 47 float sigma; member 66 static inline float gaussian(float sigma, float x) 68 return 1.0 / (sqrt(2.0 * M_PI) * sigma) * 69 exp(-(x * x) / (2.0 * sigma * sigma)); 72 static inline float gaussian_simpson_integration(float sigma, float a, float b) 74 return (b - a) * (1.0 / 6.0) * ((gaussian(sigma, a) + 75 4.0 * gaussian(sigma, (a + b) * 0.5) + gaussian(sigma, b))); 78 static void init_gaussian_kernel(float *kernel, float sigma, float kernel_size) 85 kernel[x] = gaussian_simpson_integration(sigma, x - 0.5f, x + 0.5f); 113 s->sigmaV = s->sigma; [all …]
|
D | vf_colorconstancy.c | 82 double sigma; member 116 double sigma = s->sigma; in set_gauss() local 133 if (!sigma) { in set_gauss() 137 …uss[0][i] = exp(- pow(GINDX(filtersize, i), 2.) / (2 * sigma * sigma)) / ( sqrt(2 * M_PI) * sigma … in set_gauss() 149 s->gauss[1][i] = - (GINDX(filtersize, i) / pow(sigma, 2)) * s->gauss[0][i]; in set_gauss() 162 s->gauss[2][i] = ( pow(GINDX(filtersize, i), 2) / pow(sigma, 4) - 1/pow(sigma, 2) ) in set_gauss() 394 if (!s->sigma) { // Only copy once in get_derivative() 647 double sigma = s->sigma; in config_props() local 650 if (!floor(break_off_sigma * sigma + 0.5) && s->difford) { in config_props() 655 s->filtersize = 2 * floor(break_off_sigma * sigma + 0.5) + 1; in config_props() [all …]
|
/third_party/skia/gm/ |
D | blurimagevmask.cpp | 41 for (auto sigma:sigmas) { variable 46 sprintf(out, "Sigma: %g", sigma); 51 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, sigma)); 57 imageBlurPaint.setImageFilter(SkImageFilters::Blur(sigma, sigma, nullptr));
|
D | blurpositioning.cpp | 24 for (auto sigma : {0.0, 0.1, 0.2, 0.3, 0.4, 0.6, 0.8, 1.0, 1.2}) { 26 int border = SkScalarCeilToInt(sigma * 3); 39 p.setImageFilter(SkImageFilters::Blur(sigma, sigma, nullptr));
|
D | imageblurclampmode.cpp | 83 for (auto sigma: { 0.6f, 3.0f, 8.0f, 20.0f }) { in onDraw() 87 filter = SkImageFilters::Blur(sigma, 0.0f, SkTileMode::kClamp, nullptr); in onDraw() 92 filter = SkImageFilters::Blur(0.0f, sigma, SkTileMode::kClamp, nullptr); in onDraw() 97 filter = SkImageFilters::Blur(sigma, sigma, SkTileMode::kClamp, nullptr); in onDraw()
|
D | blurrect.cpp | 285 auto sigma = kSigmas[sigmaIdx] + fSigmaAnimationBoost; in onDraw() local 308 auto pad = PadForSigma(sigma); in onDraw() 338 auto create_reference_mask = [](int w, int h, float sigma, int numSubpixels) { in prepareReferenceMasks() argument 339 int pad = PadForSigma(sigma); in prepareReferenceMasks() 345 sigma *= numSubpixels; in prepareReferenceMasks() 346 auto scale = SK_ScalarRoot2Over2 / sigma; in prepareReferenceMasks() 397 auto sigma = kSigmas[sigmaIdx] + fSigmaAnimationBoost; in prepareReferenceMasks() local 403 create_reference_mask(w, h, sigma, numSubpixels); in prepareReferenceMasks() 411 auto sigma = kSigmas[sigmaIdx] + fSigmaAnimationBoost; in prepareActualMasks() local 416 auto pad = PadForSigma(sigma); in prepareActualMasks() [all …]
|
/third_party/skia/include/core/ |
D | SkBlurTypes.h | 27 SkScalar sigma { 1E-6 }; 30 SkBlurArg(const SkRect& srcRect, const SkRect& dstRect, const SkScalar& sigma, in SkBlurArg() 35 this->sigma = sigma; in SkBlurArg()
|
/third_party/skia/src/effects/ |
D | SkEmbossMaskFilter.cpp | 80 SkScalar sigma = matrix.mapRadius(fBlurSigma); in filterMask() local 82 if (!SkBlurMask::BoxBlur(dst, src, sigma, kInner_SkBlurStyle)) { in filterMask() 88 margin->set(SkScalarCeilToInt(3*sigma), SkScalarCeilToInt(3*sigma)); in filterMask() 132 const SkScalar sigma = buffer.readScalar(); in CreateProc() local 133 return Make(sigma, light); in CreateProc()
|
/third_party/python/Modules/ |
D | _statisticsmodule.c | 30 double sigma) in _statistics__normal_dist_inv_cdf_impl() argument 34 if (p <= 0.0 || p >= 1.0 || sigma <= 0.0) { in _statistics__normal_dist_inv_cdf_impl() 62 return mu + (x * sigma); in _statistics__normal_dist_inv_cdf_impl() 115 return mu + (x * sigma); in _statistics__normal_dist_inv_cdf_impl()
|
/third_party/skia/modules/skottie/src/effects/ |
D | GlowStyles.cpp | 43 const auto sigma = fSize * kBlurSizeToSigma, in onSync() local 75 const auto requires_alpha_choke = (sigma > 0 && choke > 0); in onSync() 84 if (sigma > 0) { in onSync() 85 f = SkImageFilters::Blur(sigma, sigma, std::move(f)); in onSync()
|