Home
last modified time | relevance | path

Searched defs:sigma (Results 1 – 25 of 75) sorted by relevance

123

/third_party/skia/tests/
DSkGaussFilterTest.cpp32 double sigma; std::vector<double> golden; in DEF_TEST() local
66 auto check = [&](double sigma) { in DEF_TEST()
78 for (double sigma = 0.0; sigma < 2.0; sigma += 0.1) { in DEF_TEST() local
DMaskCacheTest.cpp34 SkScalar sigma = 0.8f; in DEF_TEST() local
72 SkScalar sigma = 0.8f; in DEF_TEST() local
DBlurTest.cpp129 SkScalar sigma = SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(5)); in DEF_TEST() local
178 SkScalar sigma, in ground_truth_2d()
219 static float gaussian(int x, SkScalar sigma) { in gaussian()
333 SkScalar sigma = 10.0f; in DEF_TEST() local
373 const SkScalar sigma = sigmas[j]; in DEF_TEST() local
408 const SkScalar sigma = sigmas[j]; in DEF_TEST() local
524 for (auto sigma : sigmas) { in DEF_TEST() local
/third_party/skia/src/core/
DSkGpuBlurUtils.h94 inline bool IsEffectivelyZeroSigma(float sigma) { return sigma <= 0.03f; } in IsEffectivelyZeroSigma()
96 inline int SigmaRadius(float sigma) { in SigmaRadius()
DSkBlurMF.cpp125 SkBlurMaskFilterImpl::SkBlurMaskFilterImpl(SkScalar sigma, SkBlurStyle style, bool respectCTM) in SkBlurMaskFilterImpl()
152 SkScalar sigma = this->computeXformedSigma(matrix); in filterMask() local
159 SkScalar sigma = computeXformedSigma(matrix); in filterRectMask() local
167 SkScalar sigma = computeXformedSigma(matrix); in filterRRectMask() local
258 static SkCachedData* find_cached_rrect(SkMask* mask, SkScalar sigma, SkBlurStyle style, in find_cached_rrect()
263 static SkCachedData* add_cached_rrect(SkMask* mask, SkScalar sigma, SkBlurStyle style, in add_cached_rrect()
272 static SkCachedData* find_cached_rects(SkMask* mask, SkScalar sigma, SkBlurStyle style, in find_cached_rects()
277 static SkCachedData* add_cached_rects(SkMask* mask, SkScalar sigma, SkBlurStyle style, in add_cached_rects()
388 const SkScalar sigma = this->computeXformedSigma(matrix); in filterRRectToNine() local
522 const SkScalar sigma = this->computeXformedSigma(matrix); in filterRectsToNine() local
[all …]
DSkBlurMask.cpp32 SkScalar SkBlurMask::ConvertSigmaToRadius(SkScalar sigma) { in ConvertSigmaToRadius()
105 bool SkBlurMask::BoxBlur(SkMask* dst, const SkMask& src, SkScalar sigma, SkBlurStyle style, in BoxBlur()
337 void SkBlurMask::ComputeBlurProfile(uint8_t* profile, int size, SkScalar sigma) { in ComputeBlurProfile()
372 unsigned int width, SkScalar sigma) { in ComputeBlurredScanline()
395 bool SkBlurMask::BlurRect(SkScalar sigma, SkMask *dst, in BlurRect()
493 bool SkBlurMask::BlurRRect(SkScalar sigma, SkMask *dst, in BlurRRect()
506 bool SkBlurMask::BlurGroundTruth(SkScalar sigma, SkMask* dst, const SkMask& src, in BlurGroundTruth()
DSkGaussFilter.cpp43 static int calculate_bessel_factors(double sigma, double *gauss) { in calculate_bessel_factors()
105 SkGaussFilter::SkGaussFilter(double sigma) { in SkGaussFilter()
DSkMaskCache.cpp75 SkCachedData* SkMaskCache::FindAndRef(SkScalar sigma, SkBlurStyle style, in FindAndRef()
88 void SkMaskCache::Add(SkScalar sigma, SkBlurStyle style, in Add()
166 SkCachedData* SkMaskCache::FindAndRef(SkScalar sigma, SkBlurStyle style, in FindAndRef()
180 void SkMaskCache::Add(SkScalar sigma, SkBlurStyle style, in Add()
DSkGpuBlurUtils.cpp76 float sigma, in convolve_gaussian_1d()
159 float sigma, in convolve_gaussian()
732 SkScalar sigma, SkScalar xformedSigma, in ComputeBlurredRRectParams()
843 void Compute1DGaussianKernel(float* kernel, float sigma, int radius) { in Compute1DGaussianKernel()
873 void Compute1DLinearGaussianKernel(float* kernel, float* offset, float sigma, int radius) { in Compute1DLinearGaussianKernel()
/third_party/skia/gm/
Dblurtextsmallradii.cpp21 for (auto sigma : sigmas) { variable
Dblurrect.cpp285 auto sigma = kSigmas[sigmaIdx] + fSigmaAnimationBoost; in onDraw() local
338 auto create_reference_mask = [](int w, int h, float sigma, int numSubpixels) { in prepareReferenceMasks()
397 auto sigma = kSigmas[sigmaIdx] + fSigmaAnimationBoost; in prepareReferenceMasks() local
411 auto sigma = kSigmas[sigmaIdx] + fSigmaAnimationBoost; in prepareActualMasks() local
484 static int PadForSigma(float sigma) { return sk_float_ceil2int(4 * sigma); } in PadForSigma()
546 for (auto sigma : kSigmas) { local
Dcrbug_1156804.cpp14 static void drawOne(SkCanvas* canvas, SkRect rect, float saveBorder, float sigma, SkColor c) { in drawOne()
Dblurimagevmask.cpp41 for (auto sigma:sigmas) { variable
Dcrbug_1174354.cpp15 static void draw_bg_blur(SkCanvas* canvas, SkIRect rect, float sigma) { in draw_bg_blur()
Dbackdrop.cpp54 const SkScalar sigma = 10; in do_draw() local
Dsamplerstress.cpp96 const SkScalar sigma = 1; in createMaskFilter() local
Dspritebitmap.cpp84 SkScalar sigma = 8; in onDraw() local
/third_party/skia/src/effects/
DSkEmbossMaskFilter.cpp80 SkScalar sigma = matrix.mapRadius(fBlurSigma); in filterMask() local
132 const SkScalar sigma = buffer.readScalar(); in CreateProc() local
DSkLayerDrawLooper.cpp307 sk_sp<SkDrawLooper> SkBlurDrawLooper::Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy) in Make()
313 SkScalar sigma, SkScalar dx, SkScalar dy) in Make()
/third_party/skia/src/effects/imagefilters/
DSkBlurImageFilter.cpp109 int calculate_window(double sigma) { in calculate_window()
217 static PassMaker* MakeMaker(double sigma, SkArenaAlloc* alloc) { in MakeMaker()
473 static PassMaker* MakeMaker(double sigma, SkArenaAlloc* alloc) { in MakeMaker()
758 SkVector sigma, const sk_sp<SkSpecialImage> &input, in cpu_blur()
763 auto makeMaker = [&](double sigma) -> PassMaker* { in cpu_blur()
891 SkVector sigma = SkVector::Make(localSigma.width(), localSigma.height()); in map_sigma() local
926 SkVector sigma = map_sigma(fSigma, ctx.ctm()); in onFilterImage() local
961 const Context& ctx, SkVector sigma, const sk_sp<SkSpecialImage> &input, SkIRect inputBounds, in gpuFilter()
1018 SkVector sigma = map_sigma(fSigma, ctm); in onFilterNodeBounds() local
DSkDropShadowImageFilter.cpp133 SkVector sigma = SkVector::Make(fSigmaX, fSigmaY); in onFilterImage() local
180 SkVector sigma = SkVector::Make(fSigmaX, fSigmaY); in onFilterNodeBounds() local
/third_party/ffmpeg/libavfilter/x86/
Dvf_atadenoise_init.c37 …oid ff_atadenoise_init_x86(ATADenoiseDSPContext *dsp, int depth, int algorithm, const float *sigma) in ff_atadenoise_init_x86()
/third_party/python/Modules/clinic/
D_statisticsmodule.c.h23 double sigma; in _statistics__normal_dist_inv_cdf() local
/third_party/skia/docs/examples/
Dtext_shadow.cpp6 const SkScalar sigma = 1.65f; in draw() local
/third_party/python/Modules/
D_statisticsmodule.c30 double sigma) in _statistics__normal_dist_inv_cdf_impl()

123