Home
last modified time | relevance | path

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

/external/skia/gm/
Dmatrixconvolution.cpp50 void draw(SkCanvas* canvas, int x, int y, const SkIPoint& kernelOffset, in draw() argument
66 kernelOffset, in draw()
88 SkIPoint kernelOffset = SkIPoint::Make(1, 0); in onDraw() local
90 this->draw(canvas, x, 10, kernelOffset, MCIF::kClamp_TileMode, true); in onDraw()
91 this->draw(canvas, x, 110, kernelOffset, MCIF::kClampToBlack_TileMode, true); in onDraw()
92 this->draw(canvas, x, 210, kernelOffset, MCIF::kRepeat_TileMode, true); in onDraw()
93 kernelOffset.fY++; in onDraw()
95 kernelOffset.fY = 1; in onDraw()
97 this->draw(canvas, 310, 10, kernelOffset, MCIF::kClamp_TileMode, true, &rect); in onDraw()
98 this->draw(canvas, 310, 110, kernelOffset, MCIF::kClampToBlack_TileMode, true, &rect); in onDraw()
[all …]
/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp29 const SkIPoint& kernelOffset, in SkMatrixConvolutionImageFilter() argument
38 fKernelOffset(kernelOffset), in SkMatrixConvolutionImageFilter()
45 SkASSERT(kernelOffset.fX >= 0 && kernelOffset.fX < kernelSize.fWidth); in SkMatrixConvolutionImageFilter()
46 SkASSERT(kernelOffset.fY >= 0 && kernelOffset.fY < kernelSize.fHeight); in SkMatrixConvolutionImageFilter()
54 const SkIPoint& kernelOffset, in Create() argument
68 if ((kernelOffset.fX < 0) || (kernelOffset.fX >= kernelSize.fWidth) || in Create()
69 (kernelOffset.fY < 0) || (kernelOffset.fY >= kernelSize.fHeight)) { in Create()
73 kernelOffset, tileMode, convolveAlpha, in Create()
94 SkIPoint kernelOffset; in CreateProc() local
95 kernelOffset.fX = buffer.readInt(); in CreateProc()
[all …]
DSkGpuBlurUtils.cpp77 SkIPoint kernelOffset = SkIPoint::Make(radiusX, radiusY); in convolve_gaussian_2d() local
80 texture, bounds, size, 1.0, 0.0, kernelOffset, in convolve_gaussian_2d()
/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.h27 const SkIPoint& kernelOffset, in Create() argument
36 kernelOffset, in Create()
46 const SkIPoint& kernelOffset,
56 const float* kernelOffset() const { return fKernelOffset; } in kernelOffset() function
76 const SkIPoint& kernelOffset,
DGrMatrixConvolutionEffect.cpp69 const char* kernelOffset = builder->getUniformCStr(fKernelOffsetUni); in emitCode() local
80 fsBuilder->codeAppendf("vec2 coord = %s - %s * %s;", coords2D.c_str(), kernelOffset, in emitCode()
135 pdman.set2fv(fKernelOffsetUni, 1, conv.kernelOffset()); in setData()
148 const SkIPoint& kernelOffset, in GrMatrixConvolutionEffect() argument
161 fKernelOffset[0] = static_cast<float>(kernelOffset.x()); in GrMatrixConvolutionEffect()
162 fKernelOffset[1] = static_cast<float>(kernelOffset.y()); in GrMatrixConvolutionEffect()
184 fKernelOffset == s.kernelOffset() && in onIsEqual()
196 const SkIPoint& kernelOffset, in CreateGaussian() argument
233 kernelOffset, in CreateGaussian()
255 SkIPoint kernelOffset = SkIPoint::Make(random->nextRangeU(0, kernelSize.width()), in TestCreate() local
[all …]
/external/skia/bench/
DMatrixConvolutionBench.cpp25 SkIPoint kernelOffset = SkIPoint::Make(1, 1); in MatrixConvolutionBench() local
26 …kMatrixConvolutionImageFilter::Create(kernelSize, kernel, gain, bias, kernelOffset, tileMode, conv… in MatrixConvolutionBench()
/external/skia/include/effects/
DSkMatrixConvolutionImageFilter.h59 const SkIPoint& kernelOffset,
73 const SkIPoint& kernelOffset,
/external/skia/tests/
DImageFilterTest.cpp712 SkIPoint kernelOffset = SkIPoint::Make(0, 0); in DEF_TEST() local
716 kernelSize, kernel, gain, bias, kernelOffset, in DEF_TEST()
739 SkIPoint kernelOffset = SkIPoint::Make(2, 0); in DEF_TEST() local
743 kernelSize, kernel, gain, bias, kernelOffset, in DEF_TEST()
966 SkIPoint kernelOffset = SkIPoint::Make(1, 1); in DEF_TEST() local
974 kernelOffset, in DEF_TEST()
986 kernelOffset, in DEF_TEST()
998 kernelOffset, in DEF_TEST()
1010 kernelOffset, in DEF_TEST()
/external/skia/samplecode/
DSampleFilterFuzz.cpp326 SkIPoint kernelOffset = SkIPoint::Make(R(SkIntToScalar(size.width())), in make_image_filter() local
332 kernelOffset, in make_image_filter()