Home
last modified time | relevance | path

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

12

/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/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.cpp115 SkScalar sigmaY, in convolve_gaussian_2d() argument
144 kernelOffset, mode, true, sigmaX, sigmaY); in convolve_gaussian_2d()
460 float sigmaY, in GaussianBlur() argument
479 sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY); in GaussianBlur()
480 SkASSERT(sigmaX || sigmaY); in GaussianBlur()
486 if (sigmaX > 0.0f && sigmaY > 0.0f && in GaussianBlur()
492 radiusX, radiusY, sigmaX, sigmaY, in GaussianBlur()
500 } else if (sigmaY > 0.0f) { in GaussianBlur()
508 scaleFactorX, scaleFactorY, sigmaX > 0.0f, sigmaY > 0.0f, in GaussianBlur()
527 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/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,
/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/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/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/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/skia/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.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/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/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);

12