/third_party/skia/src/effects/imagefilters/ |
H A D | SkMatrixConvolutionImageFilter.cpp | 31 SkMatrixConvolutionImageFilter(const SkISize& kernelSize, const SkScalar* kernel, in SkMatrixConvolutionImageFilter() argument 36 , fKernelSize(kernelSize) in SkMatrixConvolutionImageFilter() 45 SkASSERT(kernelSize.fWidth >= 1 && kernelSize.fHeight >= 1); in SkMatrixConvolutionImageFilter() 46 SkASSERT(kernelOffset.fX >= 0 && kernelOffset.fX < kernelSize.fWidth); in SkMatrixConvolutionImageFilter() 47 SkASSERT(kernelOffset.fY >= 0 && kernelOffset.fY < kernelSize.fHeight); in SkMatrixConvolutionImageFilter() 145 sk_sp<SkImageFilter> SkImageFilters::MatrixConvolution(const SkISize& kernelSize, in MatrixConvolution() argument 158 if (kernelSize.width() < 1 || kernelSize.height() < 1) { in MatrixConvolution() 161 if (kMaxKernelSize / kernelSize in MatrixConvolution() 186 SkISize kernelSize; CreateProc() local [all...] |
/third_party/skia/bench/ |
H A D | MatrixConvolutionBench.cpp | 25 SkISize kernelSize = SkISize::Make(9, 9); in MatrixConvolutionBench() local 33 fFilter = SkImageFilters::MatrixConvolution(kernelSize, kernel, gain, bias, in MatrixConvolutionBench() 37 SkISize kernelSize = SkISize::Make(3, 3); in MatrixConvolutionBench() local 45 fFilter = SkImageFilters::MatrixConvolution(kernelSize, kernel, gain, bias, in MatrixConvolutionBench()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | TextureSampling.cpp | 41 kernelSize = 3; in TextureSamplingParams() 47 unsigned int kernelSize; member 139 fstrstr << " for (int x = 0; x < " << params.kernelSize in initShaders() 143 << params.kernelSize in initShaders()
|
/third_party/skia/src/gpu/effects/ |
H A D | GrMatrixConvolutionEffect.cpp | 336 const SkISize& kernelSize, in Make() 344 auto [kernelWrapper, kernelFP] = KernelWrapper::Make(context, kernelSize, caps, kernel); in Make() 365 SkISize kernelSize = SkISize::Make(width, height); in TestCreate() local 373 uint32_t kernalOffsetX = d->fRandom->nextRangeU(0, kernelSize.width()); in TestCreate() 374 uint32_t kernalOffsetY = d->fRandom->nextRangeU(0, kernelSize.height()); in TestCreate() 389 kernelSize, in TestCreate() 333 Make(GrRecordingContext* context, GrSurfaceProxyView srcView, const SkIRect& srcBounds, const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& kernelOffset, GrSamplerState::WrapMode wm, bool convolveAlpha, const GrCaps& caps) Make() argument
|
H A D | GrMatrixConvolutionEffect.h | 25 const SkISize& kernelSize,
|
/third_party/skia/gm/ |
H A D | imagefiltersgraph.cpp | 116 SkISize kernelSize = SkISize::Make(3, 3); variable 121 kernelSize, kernel, gain, bias, kernelOffset, SkTileMode::kClamp, convolveAlpha,
|
H A D | imagefilters.cpp | 210 SkISize kernelSize = SkISize::Make(3, 3); in DEF_SIMPLE_GM() local 217 kernelSize, kernel, 1.f, 0.f, kernelOffset, SkTileMode::kClamp, false, nullptr); in DEF_SIMPLE_GM()
|
H A D | imagemakewithfilter.cpp | 108 SkISize kernelSize = SkISize::Make(3, 3); in convolution_factory() local 114 return SkImageFilters::MatrixConvolution(kernelSize, kernel, 1.f, 0.f, kernelOffset, in convolution_factory()
|
/third_party/skia/src/core/ |
H A D | SkBlurMF.cpp | 1167 int kernelSize, in eval_H() 1172 SkASSERT(kernelSize % 2); in eval_H() 1176 int xSampleLoc = x - (kernelSize / 2); in eval_H() 1177 for (int i = 0; i < kernelSize; ++i, ++xSampleLoc) { in eval_H() 1196 int kernelSize = 2 * radius + 1; in create_mask_on_cpu() local 1198 SkASSERT(kernelSize % 2); in create_mask_on_cpu() 1208 std::unique_ptr<float[]> kernel(new float[kernelSize]); in create_mask_on_cpu() 1247 kernelSize, in create_mask_on_cpu() 1163 eval_H(int x, int y, const std::vector<float>& topVec, const float* kernel, int kernelSize, const uint8_t* integral, int integralSize, float sixSigma) eval_H() argument
|
H A D | SkGpuBlurUtils.cpp | 554 const int kernelSize = (2 * radiusX + 1) * (2 * radiusY + 1); in GaussianBlur() local 556 kernelSize <= GrMatrixConvolutionEffect::kMaxUniformSize && in GaussianBlur()
|
/third_party/skia/tests/ |
H A D | ImageFilterTest.cpp | 148 const SkISize kernelSize = SkISize::Make(3, 3); in FilterList() local 154 kernelSize, kernel, gain, bias, SkIPoint::Make(1, 1), in FilterList() 1104 SkISize kernelSize = SkISize::Make(1, 3); in DEF_TEST() local 1109 kernelSize, kernel, gain, bias, kernelOffset, SkTileMode::kRepeat, false, nullptr)); in DEF_TEST() 1129 SkISize kernelSize = SkISize::Make(3, 1); in DEF_TEST() local 1134 kernelSize, kernel, gain, bias, kernelOffset, SkTileMode::kClamp, true, nullptr)); in DEF_TEST() 1164 SkISize kernelSize = SkISize::Make(7, 7); in test_big_kernel() local 1169 kernelSize, identityKernel, gain, bias, kernelOffset, in test_big_kernel()
|
/third_party/skia/include/effects/ |
H A D | SkImageFilters.h | 244 * @param kernelSize The kernel size in pixels, in each dimension (N by M). 259 static sk_sp<SkImageFilter> MatrixConvolution(const SkISize& kernelSize,
|