Home
last modified time | relevance | path

Searched refs:kernelOffset (Results 1 – 11 of 11) sorted by relevance

/external/skia/gm/
Dmatrixconvolution.cpp60 void draw(SkCanvas* canvas, int x, int y, const SkIPoint& kernelOffset, in draw() argument
88 kernelOffset, in draw()
109 SkIPoint kernelOffset = SkIPoint::Make(1, 0); in onDraw() local
112 this->draw(canvas, x, 10, kernelOffset, MCIF::kClamp_TileMode, true, &rect); in onDraw()
113 this->draw(canvas, x, 110, kernelOffset, MCIF::kClampToBlack_TileMode, true, &rect); in onDraw()
114 this->draw(canvas, x, 210, kernelOffset, MCIF::kRepeat_TileMode, true, &rect); in onDraw()
115 kernelOffset.fY++; in onDraw()
117 kernelOffset.fY = 1; in onDraw()
119 this->draw(canvas, 310, 10, kernelOffset, MCIF::kClamp_TileMode, true, &smallRect); in onDraw()
120 this->draw(canvas, 310, 110, kernelOffset, MCIF::kClampToBlack_TileMode, true, &smallRect); in onDraw()
[all …]
Dimagefiltersgraph.cpp126 SkIPoint kernelOffset = SkIPoint::Make(1, 1); in onDraw() local
133 kernelOffset, in onDraw()
/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp31 const SkIPoint& kernelOffset, in SkMatrixConvolutionImageFilter() argument
40 , fKernelOffset(kernelOffset) in SkMatrixConvolutionImageFilter()
47 SkASSERT(kernelOffset.fX >= 0 && kernelOffset.fX < kernelSize.fWidth); in SkMatrixConvolutionImageFilter()
48 SkASSERT(kernelOffset.fY >= 0 && kernelOffset.fY < kernelSize.fHeight); in SkMatrixConvolutionImageFilter()
55 const SkIPoint& kernelOffset, in Make() argument
69 if ((kernelOffset.fX < 0) || (kernelOffset.fX >= kernelSize.fWidth) || in Make()
70 (kernelOffset.fY < 0) || (kernelOffset.fY >= kernelSize.fHeight)) { in Make()
74 bias, kernelOffset, in Make()
96 SkIPoint kernelOffset; in CreateProc() local
97 kernelOffset.fX = buffer.readInt(); in CreateProc()
[all …]
/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.h27 const SkIPoint& kernelOffset, in Make() argument
32 … kernel, gain, bias, kernelOffset, tileMode, convolveAlpha)); in Make()
41 const SkIPoint& kernelOffset,
49 const float* kernelOffset() const { return fKernelOffset; } in kernelOffset() function
66 const SkIPoint& kernelOffset,
DGrMatrixConvolutionEffect.cpp64 const char* kernelOffset = uniformHandler->getUniformCStr(fKernelOffsetUni); in emitCode() local
73 fragBuilder->codeAppendf("vec2 coord = %s - %s * %s;", coords2D.c_str(), kernelOffset, imgInc); in emitCode()
143 pdman.set2fv(fKernelOffsetUni, 1, conv.kernelOffset()); in onSetData()
160 const SkIPoint& kernelOffset, in GrMatrixConvolutionEffect() argument
175 fKernelOffset[0] = static_cast<float>(kernelOffset.x()); in GrMatrixConvolutionEffect()
176 fKernelOffset[1] = static_cast<float>(kernelOffset.y()); in GrMatrixConvolutionEffect()
195 fKernelOffset == s.kernelOffset() && in onIsEqual()
237 const SkIPoint& kernelOffset, in MakeGaussian() argument
248 kernel, gain, bias, kernelOffset, tileMode, convolveAlpha)); in MakeGaussian()
268 SkIPoint kernelOffset = SkIPoint::Make(d->fRandom->nextRangeU(0, kernelSize.width()), in TestCreate() local
[all …]
/external/skia/bench/
DMatrixConvolutionBench.cpp36 SkIPoint kernelOffset = SkIPoint::Make(1, 1); in MatrixConvolutionBench() local
38 kernelOffset, tileMode, convolveAlpha, in MatrixConvolutionBench()
/external/skia/include/effects/
DSkMatrixConvolutionImageFilter.h61 const SkIPoint& kernelOffset,
75 const SkIPoint& kernelOffset,
/external/skia/tests/
DImageFilterTest.cpp1062 SkIPoint kernelOffset = SkIPoint::Make(0, 0); in DEF_TEST() local
1066 gain, bias, kernelOffset, in DEF_TEST()
1090 SkIPoint kernelOffset = SkIPoint::Make(2, 0); in DEF_TEST() local
1093 kernelSize, kernel, gain, bias, kernelOffset, in DEF_TEST()
1127 SkIPoint kernelOffset = SkIPoint::Make(0, 0); in test_big_kernel() local
1130 kernelSize, identityKernel, gain, bias, kernelOffset, in test_big_kernel()
1364 SkIPoint kernelOffset = SkIPoint::Make(1, 1); in DEF_TEST() local
1372 kernelOffset, in DEF_TEST()
1385 kernelOffset, in DEF_TEST()
1398 kernelOffset, in DEF_TEST()
[all …]
/external/skia/src/core/
DSkGpuBlurUtils.cpp107 SkIPoint kernelOffset = SkIPoint::Make(radiusX, radiusY); in convolve_gaussian_2d() local
115 resourceProvider, std::move(proxy), bounds, size, 1.0, 0.0, kernelOffset, in convolve_gaussian_2d()
/external/skia/samplecode/
DSampleFilterFuzz.cpp599 SkIPoint kernelOffset = SkIPoint::Make(R(SkIntToScalar(size.width())), in make_image_filter() local
606 kernelOffset, in make_image_filter()
/external/skia/fuzz/
DFilterFuzz.cpp659 SkIPoint kernelOffset = SkIPoint::Make(w, h); in make_image_filter() local
670 kernelOffset, in make_image_filter()