Home
last modified time | relevance | path

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

12

/external/skqp/src/effects/
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()
/external/skia/src/effects/
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()
/external/skia/src/core/
DSkGpuBlurUtils.cpp102 SkScalar sigmaY, in convolve_gaussian_2d() argument
113 kernelOffset, mode, true, sigmaX, sigmaY); in convolve_gaussian_2d()
196 float sigmaY, in GaussianBlur() argument
205 sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY); in GaussianBlur()
206 SkASSERT(sigmaX || sigmaY); in GaussianBlur()
248 if (sigmaX > 0.0f && sigmaY > 0.0f && in GaussianBlur()
261 radiusX, radiusY, sigmaX, sigmaY, srcBounds, mode); in GaussianBlur()
353 if (sigmaY > 0.0f) { in GaussianBlur()
373 Direction::kY, radiusY, sigmaY, localSrcBounds, srcOffset, mode); in GaussianBlur()
DSkBlurImageFilter.cpp37 SkScalar sigmaY,
75 sk_sp<SkImageFilter> SkBlurImageFilter::Make(SkScalar sigmaX, SkScalar sigmaY, in SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY()
79 if (sigmaX < SK_ScalarNearlyZero && sigmaY < SK_ScalarNearlyZero && !cropRect) { in SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY()
83 new SkBlurImageFilterImpl(sigmaX, sigmaY, input, cropRect, tileMode)); in SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY()
102 SkScalar sigmaY, in SkBlurImageFilterImpl() argument
106 : INHERITED(&input, 1, cropRect), fSigma{sigmaX, sigmaY}, fTileMode(tileMode) {} in SkBlurImageFilterImpl()
111 SkScalar sigmaY = buffer.readScalar(); in CreateProc() local
122 sigmaX, sigmaY, common.getInput(0), &common.cropRect(), tileMode); in CreateProc()
DSkGpuBlurUtils.h45 float sigmaY,
/external/skqp/src/core/
DSkGpuBlurUtils.cpp102 SkScalar sigmaY, in convolve_gaussian_2d() argument
113 kernelOffset, mode, true, sigmaX, sigmaY); in convolve_gaussian_2d()
196 float sigmaY, in GaussianBlur() argument
205 sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY); in GaussianBlur()
206 SkASSERT(sigmaX || sigmaY); in GaussianBlur()
247 if (sigmaX > 0.0f && sigmaY > 0.0f && in GaussianBlur()
260 radiusX, radiusY, sigmaX, sigmaY, srcBounds, mode); in GaussianBlur()
352 if (sigmaY > 0.0f) { in GaussianBlur()
372 Direction::kY, radiusY, sigmaY, localSrcBounds, srcOffset, mode); in GaussianBlur()
DSkBlurImageFilter.cpp37 SkScalar sigmaY,
75 sk_sp<SkImageFilter> SkBlurImageFilter::Make(SkScalar sigmaX, SkScalar sigmaY, in SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY()
79 if (sigmaX < SK_ScalarNearlyZero && sigmaY < SK_ScalarNearlyZero && !cropRect) { in SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY()
83 new SkBlurImageFilterImpl(sigmaX, sigmaY, input, cropRect, tileMode)); in SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY()
102 SkScalar sigmaY, in SkBlurImageFilterImpl() argument
106 : INHERITED(&input, 1, cropRect), fSigma{sigmaX, sigmaY}, fTileMode(tileMode) {} in SkBlurImageFilterImpl()
111 SkScalar sigmaY = buffer.readScalar(); in CreateProc() local
122 sigmaX, sigmaY, common.getInput(0), &common.cropRect(), tileMode); in CreateProc()
DSkGpuBlurUtils.h45 float sigmaY,
DSkMaskBlurFilter.cpp895 static SkIPoint small_blur(double sigmaX, double sigmaY, const SkMask& src, SkMask* dst) { in small_blur() argument
897 SkASSERT(0 <= sigmaY && sigmaY < 2); in small_blur()
900 filterY{sigmaY, SkGaussFilter::Type::Bessel}; in small_blur()
/external/autotest/client/site_tests/video_WebRtcCamera/
Dssim.js75 var sigmaY = Math.sqrt(sigmaY2);
82 var structure = (sigmaXy + C3) / (sigmaX * sigmaY + C3);
84 var contrast = (2 * sigmaX * sigmaY + C2) / (sigmaX2 + sigmaY2 + C2);
/external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/
Dssim.js75 var sigmaY = Math.sqrt(sigmaY2);
82 var structure = (sigmaXy + C3) / (sigmaX * sigmaY + C3);
84 var contrast = (2 * sigmaX * sigmaY + C2) / (sigmaX2 + sigmaY2 + C2);
/external/skia/include/effects/
DSkDropShadowImageFilter.h26 static sk_sp<SkImageFilter> Make(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY,
43 SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor,
DSkBlurImageFilter.h27 static sk_sp<SkImageFilter> Make(SkScalar sigmaX, SkScalar sigmaY,
/external/skqp/include/effects/
DSkDropShadowImageFilter.h26 static sk_sp<SkImageFilter> Make(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY,
43 SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor,
DSkBlurImageFilter.h27 static sk_sp<SkImageFilter> Make(SkScalar sigmaX, SkScalar sigmaY,
/external/skia/gm/
Dimageblur2.cpp59 SkScalar sigmaY = kBlurSigmas[y]; in onDraw() local
62 paint.setImageFilter(SkBlurImageFilter::Make(sigmaX, sigmaY, nullptr)); in onDraw()
Dimageblurtiled.cpp20 ImageBlurTiledGM(SkScalar sigmaX, SkScalar sigmaY) in ImageBlurTiledGM() argument
21 : fSigmaX(sigmaX), fSigmaY(sigmaY) { in ImageBlurTiledGM()
/external/skqp/gm/
Dimageblurtiled.cpp20 ImageBlurTiledGM(SkScalar sigmaX, SkScalar sigmaY) in ImageBlurTiledGM() argument
21 : fSigmaX(sigmaX), fSigmaY(sigmaY) { in ImageBlurTiledGM()
Dimageblur2.cpp59 SkScalar sigmaY = kBlurSigmas[y]; in onDraw() local
62 paint.setImageFilter(SkBlurImageFilter::Make(sigmaX, sigmaY, nullptr)); in onDraw()
/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/skia/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.cpp216 SkScalar sigmaX, SkScalar sigmaY) { in fill_in_2D_gaussian_kernel() argument
219 const float sigmaYDenom = 1.0f / (2.0f * SkScalarToFloat(SkScalarSquare(sigmaY))); in fill_in_2D_gaussian_kernel()
254 SkScalar sigmaY) { in MakeGaussian() argument
257 fill_in_2D_gaussian_kernel(kernel, kernelSize.width(), kernelSize.height(), sigmaX, sigmaY); in MakeGaussian()
DGrMatrixConvolutionEffect.h42 SkScalar sigmaY);
/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp216 SkScalar sigmaX, SkScalar sigmaY) { in fill_in_2D_gaussian_kernel() argument
219 const float sigmaYDenom = 1.0f / (2.0f * SkScalarToFloat(SkScalarSquare(sigmaY))); in fill_in_2D_gaussian_kernel()
254 SkScalar sigmaY) { in MakeGaussian() argument
257 fill_in_2D_gaussian_kernel(kernel, kernelSize.width(), kernelSize.height(), sigmaX, sigmaY); in MakeGaussian()
DGrMatrixConvolutionEffect.h42 SkScalar sigmaY);

12