Home
last modified time | relevance | path

Searched refs:sigmaY (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/src/effects/imagefilters/
DSkDropShadowImageFilter.cpp20 SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, in SkDropShadowImageFilter() argument
27 , fSigmaY(sigmaY) in SkDropShadowImageFilter()
31 static sk_sp<SkImageFilter> Make(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, in Make() argument
35 dx, dy, sigmaX, sigmaY, color, shadowOnly, std::move(input), cropRect)); in Make()
60 SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, in DropShadow() argument
62 return SkDropShadowImageFilter::Make(dx, dy, sigmaX, sigmaY, color, /* shadowOnly */ false, in DropShadow()
67 SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, in DropShadowOnly() argument
69 return SkDropShadowImageFilter::Make(dx, dy, sigmaX, sigmaY, color, /* shadowOnly */ true, in DropShadowOnly()
84 SkScalar sigmaY = buffer.readScalar(); in CreateProc() local
91 return SkDropShadowImageFilter::Make(dx, dy, sigmaX, sigmaY, color, shadowOnly, in CreateProc()
DSkBlurImageFilter.cpp35 SkBlurImageFilter(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, in SkBlurImageFilter() argument
38 , fSigma{sigmaX, sigmaY} in SkBlurImageFilter()
69 SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, sk_sp<SkImageFilter> input, in Blur() argument
71 if (sigmaX < SK_ScalarNearlyZero && sigmaY < SK_ScalarNearlyZero && !cropRect) { in Blur()
75 new SkBlurImageFilter(sigmaX, sigmaY, tileMode, input, cropRect)); in Blur()
86 SkScalar sigmaY = buffer.readScalar(); in CreateProc() local
89 sigmaX, sigmaY, tileMode, common.getInput(0), common.cropRect()); in CreateProc()
/external/skia/gm/
Dgpu_blur_utils.cpp24 float sigmaY, in blur() argument
34 sigmaY, in blur()
49 float sigmaY, in slow_blur() argument
72 SkIPoint outset = {SkGpuBlurUtils::SigmaRadius(sigmaX), SkGpuBlurUtils::SigmaRadius(sigmaY)}; in slow_blur()
80 while (sigmaX || sigmaY) { in slow_blur()
90 float stepY = sigmaY; in slow_blur()
93 sigmaY = sqrt(sigmaY*sigmaY- SkGpuBlurUtils::kMaxSigma*SkGpuBlurUtils::kMaxSigma); in slow_blur()
95 sigmaY = 0.f; in slow_blur()
267 const SkScalar sigmaY = src.height() / 10.f; in run() local
275 sigmaY, in run()
Dimageblur2.cpp47 SkScalar sigmaY = kBlurSigmas[y]; in DEF_SIMPLE_GM() local
50 paint.setImageFilter(SkImageFilters::Blur(sigmaX, sigmaY, nullptr)); in DEF_SIMPLE_GM()
Dimageblurtiled.cpp29 ImageBlurTiledGM(SkScalar sigmaX, SkScalar sigmaY) in ImageBlurTiledGM() argument
30 : fSigmaX(sigmaX), fSigmaY(sigmaY) { in ImageBlurTiledGM()
/external/skqp/src/effects/imagefilters/
DSkDropShadowImageFilter.cpp20 SkScalar sigmaX, SkScalar sigmaY, in Make() argument
24 return sk_sp<SkImageFilter>(new SkDropShadowImageFilter(dx, dy, sigmaX, sigmaY, in Make()
31 SkScalar sigmaX, SkScalar sigmaY, SkColor color, in SkDropShadowImageFilter() argument
38 , fSigmaY(sigmaY) in SkDropShadowImageFilter()
48 SkScalar sigmaY = buffer.readScalar(); in CreateProc() local
53 return Make(dx, dy, sigmaX, sigmaY, color, shadowMode, common.getInput(0), &common.cropRect()); in CreateProc()
DSkBlurImageFilter.cpp37 SkScalar sigmaY,
73 sk_sp<SkImageFilter> SkBlurImageFilter::Make(SkScalar sigmaX, SkScalar sigmaY, in Make() argument
77 if (sigmaX < SK_ScalarNearlyZero && sigmaY < SK_ScalarNearlyZero && !cropRect) { in Make()
81 new SkBlurImageFilterImpl(sigmaX, sigmaY, input, cropRect, tileMode)); in Make()
100 SkScalar sigmaY, in SkBlurImageFilterImpl() argument
104 : INHERITED(&input, 1, cropRect), fSigma{sigmaX, sigmaY}, fTileMode(tileMode) {} in SkBlurImageFilterImpl()
109 SkScalar sigmaY = buffer.readScalar(); in CreateProc() local
120 sigmaX, sigmaY, common.getInput(0), &common.cropRect(), tileMode); in CreateProc()
/external/skia/src/core/
DSkGpuBlurUtils.cpp24 SkScalar sigmaX, SkScalar sigmaY) { in fill_in_2D_gaussian_kernel() argument
26 const float twoSigmaSqrdY = 2.0f * SkScalarToFloat(SkScalarSquare(sigmaY)); in fill_in_2D_gaussian_kernel()
31 !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigmaY)); in fill_in_2D_gaussian_kernel()
101 SkScalar sigmaY, in convolve_gaussian_2d() argument
107 !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigmaY)); in convolve_gaussian_2d()
127 fill_in_2D_gaussian_kernel(kernel, size.width(), size.height(), sigmaX, sigmaY); in convolve_gaussian_2d()
343 float sigmaY, in two_pass_gaussian() argument
439 dstBounds, Direction::kY, radiusY, sigmaY, mode, colorSpace, fit); in two_pass_gaussian()
452 float sigmaY, in GaussianBlur() argument
456 TRACE_EVENT2("skia.gpu", "GaussianBlur", "sigmaX", sigmaX, "sigmaY", sigmaY); in GaussianBlur()
[all …]
DSkGpuBlurUtils.h55 float sigmaY,
DSkMaskBlurFilter.cpp872 static SkIPoint small_blur(double sigmaX, double sigmaY, const SkMask& src, SkMask* dst) { in small_blur() argument
873 SkASSERT(sigmaX == sigmaY); // TODO in small_blur()
875 SkASSERT(0.01 <= sigmaY && sigmaY < 2); in small_blur()
878 filterY{sigmaY}; in small_blur()
/external/skqp/src/core/
DSkGpuBlurUtils.cpp113 SkScalar sigmaY, in convolve_gaussian_2d() argument
142 kernelOffset, mode, true, sigmaX, sigmaY); in convolve_gaussian_2d()
458 float sigmaY, in GaussianBlur() argument
477 sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY); in GaussianBlur()
478 SkASSERT(sigmaX || sigmaY); in GaussianBlur()
484 if (sigmaX > 0.0f && sigmaY > 0.0f && in GaussianBlur()
490 radiusX, radiusY, sigmaX, sigmaY, in GaussianBlur()
498 } else if (sigmaY > 0.0f) { in GaussianBlur()
506 scaleFactorX, scaleFactorY, sigmaX > 0.0f, sigmaY > 0.0f, in GaussianBlur()
525 if (sigmaY > 0.0f) { in GaussianBlur()
[all …]
DSkGpuBlurUtils.h45 float sigmaY,
DSkMaskBlurFilter.cpp869 static SkIPoint small_blur(double sigmaX, double sigmaY, const SkMask& src, SkMask* dst) { in small_blur() argument
870 SkASSERT(sigmaX == sigmaY); // TODO in small_blur()
872 SkASSERT(0.01 <= sigmaY && sigmaY < 2); in small_blur()
875 filterY{sigmaY}; in small_blur()
/external/skia/include/effects/
DSkImageFilters.h109 static sk_sp<SkImageFilter> Blur(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode,
112 static sk_sp<SkImageFilter> Blur(SkScalar sigmaX, SkScalar sigmaY, sk_sp<SkImageFilter> input,
114 return Blur(sigmaX, sigmaY, SkTileMode::kDecal, std::move(input), cropRect);
164 SkScalar sigmaX, SkScalar sigmaY,
180 SkScalar sigmaX, SkScalar sigmaY,
/external/skqp/include/effects/
DSkDropShadowImageFilter.h27 static sk_sp<SkImageFilter> Make(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY,
45 SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor,
DSkBlurImageFilter.h27 static sk_sp<SkImageFilter> Make(SkScalar sigmaX, SkScalar sigmaY,
/external/skqp/gm/
Dimageblur2.cpp40 SkScalar sigmaY = kBlurSigmas[y]; in DEF_SIMPLE_GM() local
43 paint.setImageFilter(SkBlurImageFilter::Make(sigmaX, sigmaY, nullptr)); in DEF_SIMPLE_GM()
Dimageblurtiled.cpp20 ImageBlurTiledGM(SkScalar sigmaX, SkScalar sigmaY) in ImageBlurTiledGM() argument
21 : fSigmaX(sigmaX), fSigmaY(sigmaY) { in ImageBlurTiledGM()
/external/skia/bench/
DBlurImageFilterBench.cpp63 BlurImageFilterBench(SkScalar sigmaX, SkScalar sigmaY, bool small, bool cropped, in BlurImageFilterBench() argument
70 , fSigmaY(sigmaY) { in BlurImageFilterBench()
75 SkScalarToFloat(sigmaX), SkScalarToFloat(sigmaY)); in BlurImageFilterBench()
/external/skqp/bench/
DBlurImageFilterBench.cpp64 BlurImageFilterBench(SkScalar sigmaX, SkScalar sigmaY, bool small, bool cropped, in BlurImageFilterBench() argument
71 , fSigmaY(sigmaY) { in BlurImageFilterBench()
76 SkScalarToFloat(sigmaX), SkScalarToFloat(sigmaY)); in BlurImageFilterBench()
/external/skqp/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp238 SkScalar sigmaX, SkScalar sigmaY) { in fill_in_2D_gaussian_kernel() argument
241 const float twoSigmaSqrdY = 2.0f * SkScalarToFloat(SkScalarSquare(sigmaY)); in fill_in_2D_gaussian_kernel()
306 SkScalar sigmaY) { in MakeGaussian() argument
309 fill_in_2D_gaussian_kernel(kernel, kernelSize.width(), kernelSize.height(), sigmaX, sigmaY); in MakeGaussian()
DGrMatrixConvolutionEffect.h42 SkScalar sigmaY);
/external/skia/fuzz/
DFuzzCanvas.cpp525 SkScalar sigmaX, sigmaY; in make_fuzz_imageFilter() local
528 fuzz->next(&sigmaX, &sigmaY, &useCropRect); in make_fuzz_imageFilter()
533 return SkImageFilters::Blur(sigmaX, sigmaY, std::move(input), in make_fuzz_imageFilter()
608 SkScalar dx, dy, sigmaX, sigmaY; in make_fuzz_imageFilter() local
611 fuzz->next(&dx, &dy, &sigmaX, &sigmaY, &color, &shadowOnly, &useCropRect); in make_fuzz_imageFilter()
618 return SkImageFilters::DropShadowOnly(dx, dy, sigmaX, sigmaY, color, in make_fuzz_imageFilter()
622 return SkImageFilters::DropShadow(dx, dy, sigmaX, sigmaY, color, std::move(input), in make_fuzz_imageFilter()
/external/skqp/fuzz/
DFuzzCanvas.cpp552 SkScalar sigmaX, sigmaY; in make_fuzz_imageFilter() local
555 fuzz->next(&sigmaX, &sigmaY, &useCropRect); in make_fuzz_imageFilter()
560 return SkBlurImageFilter::Make(sigmaX, sigmaY, std::move(input), in make_fuzz_imageFilter()
634 SkScalar dx, dy, sigmaX, sigmaY; in make_fuzz_imageFilter() local
639 fuzz->next(&dx, &dy, &sigmaX, &sigmaY, &color, &useCropRect); in make_fuzz_imageFilter()
645 return SkDropShadowImageFilter::Make(dx, dy, sigmaX, sigmaY, color, shadowMode, in make_fuzz_imageFilter()
/external/skqp/src/utils/
DSkLua.cpp1815 SkScalar sigmaY = lua2scalar_def(L, 2, 0); in lsk_newBlurImageFilter() local
1816 sk_sp<SkImageFilter> imf(SkBlurImageFilter::Make(sigmaX, sigmaY, nullptr)); in lsk_newBlurImageFilter()

12