Home
last modified time | relevance | path

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

/external/skia/gm/
Dmatrixconvolution.cpp52 void draw(SkCanvas* canvas, int x, int y, const SkIPoint& kernelOffset, in draw() argument
68 kernelOffset, in draw()
90 SkIPoint kernelOffset = SkIPoint::Make(1, 0); in onDraw() local
92 this->draw(canvas, x, 10, kernelOffset, MCIF::kClamp_TileMode, true); in onDraw()
93 this->draw(canvas, x, 110, kernelOffset, MCIF::kClampToBlack_TileMode, true); in onDraw()
94 this->draw(canvas, x, 210, kernelOffset, MCIF::kRepeat_TileMode, true); in onDraw()
95 kernelOffset.fY++; in onDraw()
97 kernelOffset.fY = 1; in onDraw()
99 this->draw(canvas, 310, 10, kernelOffset, MCIF::kClamp_TileMode, true, &rect); in onDraw()
100 this->draw(canvas, 310, 110, kernelOffset, MCIF::kClampToBlack_TileMode, true, &rect); in onDraw()
[all …]
/external/chromium_org/third_party/skia/gm/
Dmatrixconvolution.cpp52 void draw(SkCanvas* canvas, int x, int y, const SkIPoint& kernelOffset, in draw() argument
68 kernelOffset, in draw()
90 SkIPoint kernelOffset = SkIPoint::Make(1, 0); in onDraw() local
92 this->draw(canvas, x, 10, kernelOffset, MCIF::kClamp_TileMode, true); in onDraw()
93 this->draw(canvas, x, 110, kernelOffset, MCIF::kClampToBlack_TileMode, true); in onDraw()
94 this->draw(canvas, x, 210, kernelOffset, MCIF::kRepeat_TileMode, true); in onDraw()
95 kernelOffset.fY++; in onDraw()
97 kernelOffset.fY = 1; in onDraw()
99 this->draw(canvas, 310, 10, kernelOffset, MCIF::kClamp_TileMode, true, &rect); in onDraw()
100 this->draw(canvas, 310, 110, kernelOffset, MCIF::kClampToBlack_TileMode, true, &rect); in onDraw()
[all …]
/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp41 const SkIPoint& kernelOffset, in SkMatrixConvolutionImageFilter() argument
50 fKernelOffset(kernelOffset), in SkMatrixConvolutionImageFilter()
57 SkASSERT(kernelOffset.fX >= 0 && kernelOffset.fX < kernelSize.fWidth); in SkMatrixConvolutionImageFilter()
58 SkASSERT(kernelOffset.fY >= 0 && kernelOffset.fY < kernelSize.fHeight); in SkMatrixConvolutionImageFilter()
339 const SkIPoint& kernelOffset, in Create() argument
348 kernelOffset, in Create()
364 const float* kernelOffset() const { return fKernelOffset; } in kernelOffset() function in GrMatrixConvolutionEffect
382 const SkIPoint& kernelOffset,
491 const char* kernelOffset = builder->getUniformCStr(fKernelOffsetUni); in emitCode() local
500 …builder->fsCodeAppendf("\t\tvec2 coord = %s - %s * %s;\n", coords2D.c_str(), kernelOffset, imgInc); in emitCode()
[all …]
/external/chromium_org/third_party/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp41 const SkIPoint& kernelOffset, in SkMatrixConvolutionImageFilter() argument
50 fKernelOffset(kernelOffset), in SkMatrixConvolutionImageFilter()
57 SkASSERT(kernelOffset.fX >= 0 && kernelOffset.fX < kernelSize.fWidth); in SkMatrixConvolutionImageFilter()
58 SkASSERT(kernelOffset.fY >= 0 && kernelOffset.fY < kernelSize.fHeight); in SkMatrixConvolutionImageFilter()
339 const SkIPoint& kernelOffset, in Create() argument
348 kernelOffset, in Create()
364 const float* kernelOffset() const { return fKernelOffset; } in kernelOffset() function in GrMatrixConvolutionEffect
382 const SkIPoint& kernelOffset,
491 const char* kernelOffset = builder->getUniformCStr(fKernelOffsetUni); in emitCode() local
500 …builder->fsCodeAppendf("\t\tvec2 coord = %s - %s * %s;\n", coords2D.c_str(), kernelOffset, imgInc); in emitCode()
[all …]
/external/skia/include/effects/
DSkMatrixConvolutionImageFilter.h58 const SkIPoint& kernelOffset,
64 kernelOffset, tileMode, convolveAlpha,
75 const SkIPoint& kernelOffset,
/external/chromium_org/third_party/skia/include/effects/
DSkMatrixConvolutionImageFilter.h58 const SkIPoint& kernelOffset,
64 kernelOffset, tileMode, convolveAlpha,
75 const SkIPoint& kernelOffset,
/external/chromium_org/third_party/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/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/chromium_org/third_party/skia/samplecode/
DSampleFilterFuzz.cpp295 SkIPoint kernelOffset = SkIPoint::Make(R(SkIntToScalar(size.width())), in make_image_filter() local
301 kernelOffset, in make_image_filter()
/external/skia/samplecode/
DSampleFilterFuzz.cpp295 SkIPoint kernelOffset = SkIPoint::Make(R(SkIntToScalar(size.width())), in make_image_filter() local
301 kernelOffset, in make_image_filter()
/external/chromium_org/third_party/skia/tests/
DImageFilterTest.cpp436 SkIPoint kernelOffset = SkIPoint::Make(0, 0); in DEF_TEST() local
440 kernelSize, kernel, gain, bias, kernelOffset, in DEF_TEST()
463 SkIPoint kernelOffset = SkIPoint::Make(2, 0); in DEF_TEST() local
467 kernelSize, kernel, gain, bias, kernelOffset, in DEF_TEST()
/external/skia/tests/
DImageFilterTest.cpp436 SkIPoint kernelOffset = SkIPoint::Make(0, 0); in DEF_TEST() local
440 kernelSize, kernel, gain, bias, kernelOffset, in DEF_TEST()
463 SkIPoint kernelOffset = SkIPoint::Make(2, 0); in DEF_TEST() local
467 kernelSize, kernel, gain, bias, kernelOffset, in DEF_TEST()