Home
last modified time | relevance | path

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

/external/skia/src/effects/imagefilters/
DSkDropShadowImageFilter.cpp36 SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, in SkDropShadowImageFilter() argument
43 , fSigmaY(sigmaY) in SkDropShadowImageFilter()
47 static sk_sp<SkImageFilter> Make(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, in Make() argument
51 dx, dy, sigmaX, sigmaY, color, shadowOnly, std::move(input), cropRect)); in Make()
76 SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, in DropShadow() argument
78 return SkDropShadowImageFilter::Make(dx, dy, sigmaX, sigmaY, color, /* shadowOnly */ false, in DropShadow()
83 SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, in DropShadowOnly() argument
85 return SkDropShadowImageFilter::Make(dx, dy, sigmaX, sigmaY, color, /* shadowOnly */ true, in DropShadowOnly()
100 SkScalar sigmaY = buffer.readScalar(); in CreateProc() local
107 return SkDropShadowImageFilter::Make(dx, dy, sigmaX, sigmaY, color, shadowOnly, in CreateProc()
DSkBlurImageFilter.cpp58 SkBlurImageFilter(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, in SkBlurImageFilter() argument
61 , fSigma{sigmaX, sigmaY} in SkBlurImageFilter()
92 SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, sk_sp<SkImageFilter> input, in Blur() argument
94 if (sigmaX < SK_ScalarNearlyZero && sigmaY < SK_ScalarNearlyZero && !cropRect) { in Blur()
98 new SkBlurImageFilter(sigmaX, sigmaY, tileMode, input, cropRect)); in Blur()
109 SkScalar sigmaY = buffer.readScalar(); in CreateProc() local
112 sigmaX, sigmaY, tileMode, common.getInput(0), common.cropRect()); in CreateProc()
/external/skia/platform_tools/android/apps/jetski/src/main/java/org/skia/jetski/
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
/external/skia/gm/
Dgpu_blur_utils.cpp30 float sigmaY, in blur() argument
40 sigmaY, in blur()
55 float sigmaY, in slow_blur() argument
78 SkIPoint outset = {SkGpuBlurUtils::SigmaRadius(sigmaX), SkGpuBlurUtils::SigmaRadius(sigmaY)}; in slow_blur()
86 while (sigmaX || sigmaY) { in slow_blur()
96 float stepY = sigmaY; in slow_blur()
99 sigmaY = sqrt(sigmaY*sigmaY- SkGpuBlurUtils::kMaxSigma*SkGpuBlurUtils::kMaxSigma); in slow_blur()
101 sigmaY = 0.f; in slow_blur()
285 const SkScalar sigmaY = src.height() / 10.f; in run() local
293 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/skia/modules/jetski/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()
/external/skia/src/core/
DSkGpuBlurUtils.cpp29 float* kernel, int width, int height, SkScalar sigmaX, SkScalar sigmaY) { in fill_in_2D_gaussian_kernel() argument
31 const float twoSigmaSqrdY = 2.0f * SkScalarToFloat(SkScalarSquare(sigmaY)); in fill_in_2D_gaussian_kernel()
36 !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigmaY)); in fill_in_2D_gaussian_kernel()
107 SkScalar sigmaY, in convolve_gaussian_2d() argument
113 !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigmaY)); in convolve_gaussian_2d()
142 fill_in_2D_gaussian_kernel(kernel, size.width(), size.height(), sigmaX, sigmaY); in convolve_gaussian_2d()
409 float sigmaY, in two_pass_gaussian() argument
521 sigmaY, in two_pass_gaussian()
537 float sigmaY, in GaussianBlur() argument
541 TRACE_EVENT2("skia.gpu", "GaussianBlur", "sigmaX", sigmaX, "sigmaY", sigmaY); in GaussianBlur()
[all …]
DSkGpuBlurUtils.h60 float sigmaY,
DSkMaskBlurFilter.cpp870 static SkIPoint small_blur(double sigmaX, double sigmaY, const SkMask& src, SkMask* dst) { in small_blur() argument
871 SkASSERT(sigmaX == sigmaY); // TODO in small_blur()
873 SkASSERT(0.01 <= sigmaY && sigmaY < 2); in small_blur()
876 filterY{sigmaY}; in small_blur()
/external/skia/include/effects/
DSkImageFilters.h123 static sk_sp<SkImageFilter> Blur(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode,
126 static sk_sp<SkImageFilter> Blur(SkScalar sigmaX, SkScalar sigmaY, sk_sp<SkImageFilter> input,
128 return Blur(sigmaX, sigmaY, SkTileMode::kDecal, std::move(input), cropRect);
179 SkScalar sigmaX, SkScalar sigmaY,
195 SkScalar sigmaX, SkScalar sigmaY,
/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/skia/fuzz/
DFuzzCanvas.cpp538 SkScalar sigmaX, sigmaY; in make_fuzz_imageFilter() local
541 fuzz->next(&sigmaX, &sigmaY, &useCropRect); in make_fuzz_imageFilter()
546 return SkImageFilters::Blur(sigmaX, sigmaY, std::move(input), in make_fuzz_imageFilter()
619 SkScalar dx, dy, sigmaX, sigmaY; in make_fuzz_imageFilter() local
622 fuzz->next(&dx, &dy, &sigmaX, &sigmaY, &color, &shadowOnly, &useCropRect); in make_fuzz_imageFilter()
629 return SkImageFilters::DropShadowOnly(dx, dy, sigmaX, sigmaY, color, in make_fuzz_imageFilter()
633 return SkImageFilters::DropShadow(dx, dy, sigmaX, sigmaY, color, std::move(input), in make_fuzz_imageFilter()
/external/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp1556 .class_function("MakeBlur", optional_override([](SkScalar sigmaX, SkScalar sigmaY, in EMSCRIPTEN_BINDINGS()
1558 return SkImageFilters::Blur(sigmaX, sigmaY, tileMode, input); in EMSCRIPTEN_BINDINGS()
1580 SkScalar sigmaX, SkScalar sigmaY, in EMSCRIPTEN_BINDINGS() argument
1583 return SkImageFilters::DropShadow(dx, dy, sigmaX, sigmaY, c.toSkColor(), input); in EMSCRIPTEN_BINDINGS()
1586 SkScalar sigmaX, SkScalar sigmaY, in EMSCRIPTEN_BINDINGS() argument
1589 return SkImageFilters::DropShadowOnly(dx, dy, sigmaX, sigmaY, c.toSkColor(), input); in EMSCRIPTEN_BINDINGS()
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts3395 MakeBlur(sigmaX: number, sigmaY: number, mode: TileMode,
3451 MakeDropShadow(dx: number, dy: number, sigmaX: number, sigmaY: number, color: Color,
3463 MakeDropShadowOnly(dx: number, dy: number, sigmaX: number, sigmaY: number, color: Color,