Home
last modified time | relevance | path

Searched refs:sigmaX (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/src/effects/imagefilters/
DSkDropShadowImageFilter.cpp20 SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, in SkDropShadowImageFilter() argument
26 , fSigmaX(sigmaX) 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()
83 SkScalar sigmaX = buffer.readScalar(); in CreateProc() local
91 return SkDropShadowImageFilter::Make(dx, dy, sigmaX, sigmaY, color, shadowOnly, in CreateProc()
DSkBlurImageFilter.cpp38 SkBlurImageFilter(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, in SkBlurImageFilter() argument
41 , fSigma{sigmaX, sigmaY} in SkBlurImageFilter()
72 SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, sk_sp<SkImageFilter> input, in Blur() argument
74 if (sigmaX < SK_ScalarNearlyZero && sigmaY < SK_ScalarNearlyZero && !cropRect) { in Blur()
78 new SkBlurImageFilter(sigmaX, sigmaY, tileMode, input, cropRect)); in Blur()
88 SkScalar sigmaX = buffer.readScalar(); in CreateProc() local
92 sigmaX, sigmaY, tileMode, common.getInput(0), common.cropRect()); in CreateProc()
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DImageFilter.java50 …public static ImageFilter blur(float sigmaX, float sigmaY, TileMode tileMode, @Nullable ImageFilte… in blur() argument
55 return new ImageFilter(nBlur(sigmaX, sigmaY, tileMode.nativeInt, nativeInput)); in blur()
69 float sigmaX, float sigmaY, in dropShadow() argument
75 … return new ImageFilter(nDropShadow(dx, dy, sigmaX, sigmaY, c.r(), c.g(), c.b(), nativeInput)); in dropShadow()
115 private static native long nBlur(float sigmaX, float sigmaY, int tileMode, long native_input); in nBlur() argument
116 private static native long nDropShadow(float dx, float dy, float sigmaX, float sigmaY, in nDropShadow() argument
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/
Dgaussian_blur.cc58 bool GaussianBlur(const LiteMat &src, LiteMat &dst, const std::vector<int> &ksize, double sigmaX, … in GaussianBlur() argument
66 if (sigmaX <= 0) { in GaussianBlur()
70 sigmaY = sigmaX; in GaussianBlur()
81 GetGaussianKernel(kx, ksize[0], sigmaX); in GaussianBlur()
/third_party/skia/gm/
Dgpu_blur_utils.cpp28 float sigmaX, in blur() argument
38 sigmaX, in blur()
53 float sigmaX, in slow_blur() argument
77 SkIPoint outset = {SkGpuBlurUtils::SigmaRadius(sigmaX), SkGpuBlurUtils::SigmaRadius(sigmaY)}; in slow_blur()
85 while (sigmaX || sigmaY) { in slow_blur()
86 float stepX = sigmaX; in slow_blur()
91 sigmaX = sqrt(sigmaX*sigmaX - SkGpuBlurUtils::kMaxSigma*SkGpuBlurUtils::kMaxSigma); in slow_blur()
93 sigmaX = 0.f; in slow_blur()
283 const SkScalar sigmaX = src.width() / 10.f; in run() local
291 sigmaX, in run()
Dimageblur2.cpp45 SkScalar sigmaX = kBlurSigmas[x]; 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()
/third_party/flutter/skia/src/effects/imagefilters/
DSkDropShadowImageFilter.cpp22 SkDropShadowImageFilterImpl(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, in SkDropShadowImageFilterImpl() argument
28 , fSigmaX(sigmaX) in SkDropShadowImageFilterImpl()
55 SkScalar sigmaX, SkScalar sigmaY, in Make() argument
61 dx, dy, sigmaX, sigmaY, color, shadowOnly, std::move(input), cropRect)); in Make()
76 SkScalar sigmaX = buffer.readScalar(); in CreateProc() local
87 dx, dy, sigmaX, sigmaY, color, shadowOnly, common.getInput(0), &common.cropRect())); in CreateProc()
DSkBlurImageFilter.cpp36 SkBlurImageFilterImpl(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, in SkBlurImageFilterImpl() argument
39 , fSigma{sigmaX, sigmaY} in SkBlurImageFilterImpl()
82 sk_sp<SkImageFilter> SkBlurImageFilter::Make(SkScalar sigmaX, SkScalar sigmaY, in Make() argument
86 return Make(sigmaX, sigmaY, to_sktilemode(tileMode), std::move(input), cropRect); in Make()
89 sk_sp<SkImageFilter> SkBlurImageFilter::Make(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, in Make() argument
92 if (sigmaX < SK_ScalarNearlyZero && sigmaY < SK_ScalarNearlyZero && !cropRect) { in Make()
96 new SkBlurImageFilterImpl(sigmaX, sigmaY, tileMode, input, cropRect)); in Make()
105 SkScalar sigmaX = buffer.readScalar(); in CreateProc() local
119 sigmaX, sigmaY, tileMode, common.getInput(0), &common.cropRect()); in CreateProc()
DSkImageFilters.cpp87 SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, sk_sp<SkImageFilter> input, in Blur() argument
90 return SkBlurImageFilter::Make(sigmaX, sigmaY, tileMode, std::move(input), &r); in Blur()
113 SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, in DropShadow() argument
119 dx, dy, sigmaX, sigmaY, color, in DropShadow()
125 SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, in DropShadowOnly() argument
130 return SkDropShadowImageFilter::Make(dx, dy, sigmaX, sigmaY, color, in DropShadowOnly()
/third_party/skia/modules/androidkit/src/
DImageFilter.cpp32 static long ImageFilter_Blur(JNIEnv* env, jobject, jfloat sigmaX, jfloat sigmaY, in ImageFilter_Blur() argument
35 auto filter = SkImageFilters::Blur(sigmaX, sigmaY, in ImageFilter_Blur()
42 jfloat sigmaX, jfloat sigmaY, in ImageFilter_DropShadow() argument
47 auto filter = SkImageFilters::DropShadow(dx, dy, sigmaX, sigmaY, color, std::move(input)); in ImageFilter_DropShadow()
/third_party/skia/src/core/
DSkGpuBlurUtils.cpp29 SkScalar sigmaX, SkScalar sigmaY) { in fill_in_2D_gaussian_kernel() argument
30 const float twoSigmaSqrdX = 2.0f * SkScalarToFloat(SkScalarSquare(sigmaX)); in fill_in_2D_gaussian_kernel()
35 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(sigmaX) && in fill_in_2D_gaussian_kernel()
106 SkScalar sigmaX, in convolve_gaussian_2d() argument
112 SkASSERT(!SkGpuBlurUtils::IsEffectivelyZeroSigma(sigmaX) && in convolve_gaussian_2d()
133 fill_in_2D_gaussian_kernel(kernel, size.width(), size.height(), sigmaX, sigmaY); in convolve_gaussian_2d()
350 float sigmaX, in two_pass_gaussian() argument
432 Direction::kX, radiusX, sigmaX, mode, colorSpace, xFit); in two_pass_gaussian()
461 float sigmaX, in GaussianBlur() argument
466 TRACE_EVENT2("skia.gpu", "GaussianBlur", "sigmaX", sigmaX, "sigmaY", sigmaY); in GaussianBlur()
[all …]
DSkGpuBlurUtils.h59 float sigmaX,
/third_party/flutter/skia/src/core/
DSkGpuBlurUtils.cpp114 SkScalar sigmaX, in convolve_gaussian_2d() argument
147 kernelOffset, mode, true, sigmaX, sigmaY); in convolve_gaussian_2d()
485 float sigmaX, in GaussianBlur() argument
492 TRACE_EVENT2("skia.gpu", "GaussianBlur", "sigmaX", sigmaX, "sigmaY", sigmaY); in GaussianBlur()
500 sigmaX = adjust_sigma(sigmaX, maxTextureSize, &scaleFactorX, &radiusX); in GaussianBlur()
502 SkASSERT(sigmaX || sigmaY); in GaussianBlur()
510 if (sigmaX > 0.0f && sigmaY > 0.0f && in GaussianBlur()
518 radiusX, radiusY, sigmaX, sigmaY, mode, finalW, finalH, in GaussianBlur()
532 &localSrcBounds, scaleFactorX, scaleFactorY, sigmaX > 0.0f, in GaussianBlur()
544 if (sigmaX > 0.0f) { in GaussianBlur()
[all …]
DSkGpuBlurUtils.h52 float sigmaX,
/third_party/flutter/skia/include/effects/
DSkImageFilters.h72 static sk_sp<SkImageFilter> Blur(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode,
75 static sk_sp<SkImageFilter> Blur(SkScalar sigmaX, SkScalar sigmaY, sk_sp<SkImageFilter> input,
77 return Blur(sigmaX, sigmaY, SkTileMode::kDecal, std::move(input), cropRect);
127 SkScalar sigmaX, SkScalar sigmaY,
143 SkScalar sigmaX, SkScalar sigmaY,
DSkBlurImageFilter.h31 static sk_sp<SkImageFilter> Make(SkScalar sigmaX, SkScalar sigmaY,
36 static sk_sp<SkImageFilter> Make(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode,
DSkDropShadowImageFilter.h27 static sk_sp<SkImageFilter> Make(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY,
/third_party/skia/include/effects/
DSkImageFilters.h121 static sk_sp<SkImageFilter> Blur(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode,
124 static sk_sp<SkImageFilter> Blur(SkScalar sigmaX, SkScalar sigmaY, sk_sp<SkImageFilter> input,
126 return Blur(sigmaX, sigmaY, SkTileMode::kDecal, std::move(input), cropRect);
176 SkScalar sigmaX, SkScalar sigmaY,
192 SkScalar sigmaX, SkScalar sigmaY,
/third_party/flutter/skia/gm/
Dimageblur2.cpp45 SkScalar sigmaX = kBlurSigmas[x]; 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()
/third_party/skia/bench/
DBlurImageFilterBench.cpp63 BlurImageFilterBench(SkScalar sigmaX, SkScalar sigmaY, bool small, bool cropped, in BlurImageFilterBench() argument
69 , fSigmaX(sigmaX) in BlurImageFilterBench()
75 SkScalarToFloat(sigmaX), SkScalarToFloat(sigmaY)); in BlurImageFilterBench()
/third_party/flutter/skia/bench/
DBlurImageFilterBench.cpp63 BlurImageFilterBench(SkScalar sigmaX, SkScalar sigmaY, bool small, bool cropped, in BlurImageFilterBench() argument
69 , fSigmaX(sigmaX) in BlurImageFilterBench()
75 SkScalarToFloat(sigmaX), SkScalarToFloat(sigmaY)); in BlurImageFilterBench()
/third_party/flutter/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp238 SkScalar sigmaX, SkScalar sigmaY) { in fill_in_2D_gaussian_kernel() argument
240 const float twoSigmaSqrdX = 2.0f * SkScalarToFloat(SkScalarSquare(sigmaX)); in fill_in_2D_gaussian_kernel()
305 SkScalar sigmaX, in MakeGaussian() argument
309 fill_in_2D_gaussian_kernel(kernel, kernelSize.width(), kernelSize.height(), sigmaX, sigmaY); in MakeGaussian()
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dbackdrop_filter_test.dart27 sigmaX: 5.0,

12