/external/skia/src/gpu/effects/ |
D | GrMatrixConvolutionEffect.cpp | 42 int kWidth = mce.kernelSize().width(); in emitCode() 43 int kHeight = mce.kernelSize().height(); in emitCode() 118 SkASSERT(m.kernelSize().width() <= 0x7FFF && m.kernelSize().height() <= 0xFFFF); in GenKey() 119 uint32_t key = m.kernelSize().width() << 16 | m.kernelSize().height(); in GenKey() 137 int kernelCount = conv.kernelSize().width() * conv.kernelSize().height(); in onSetData() 148 const SkISize& kernelSize, in GrMatrixConvolutionEffect() argument 162 , fKernelSize(kernelSize) in GrMatrixConvolutionEffect() 168 for (int i = 0; i < kernelSize.width() * kernelSize.height(); i++) { in GrMatrixConvolutionEffect() 205 return fKernelSize == s.kernelSize() && in onIsEqual() 299 const SkISize& kernelSize, in MakeGaussian() argument [all …]
|
D | GrMatrixConvolutionEffect.h | 21 const SkISize& kernelSize, in Make() argument 29 new GrMatrixConvolutionEffect(std::move(srcProxy), srcBounds, kernelSize, kernel, in Make() 35 const SkISize& kernelSize, 45 const SkISize& kernelSize() const { return fKernelSize; } in kernelSize() function 62 const SkISize& kernelSize,
|
/external/skqp/src/gpu/effects/ |
D | GrMatrixConvolutionEffect.cpp | 42 int kWidth = mce.kernelSize().width(); in emitCode() 43 int kHeight = mce.kernelSize().height(); in emitCode() 118 SkASSERT(m.kernelSize().width() <= 0x7FFF && m.kernelSize().height() <= 0xFFFF); in GenKey() 119 uint32_t key = m.kernelSize().width() << 16 | m.kernelSize().height(); in GenKey() 137 int kernelCount = conv.kernelSize().width() * conv.kernelSize().height(); in onSetData() 148 const SkISize& kernelSize, in GrMatrixConvolutionEffect() argument 162 , fKernelSize(kernelSize) in GrMatrixConvolutionEffect() 168 for (int i = 0; i < kernelSize.width() * kernelSize.height(); i++) { in GrMatrixConvolutionEffect() 205 return fKernelSize == s.kernelSize() && in onIsEqual() 299 const SkISize& kernelSize, in MakeGaussian() argument [all …]
|
D | GrMatrixConvolutionEffect.h | 21 const SkISize& kernelSize, in Make() argument 29 new GrMatrixConvolutionEffect(std::move(srcProxy), srcBounds, kernelSize, kernel, in Make() 35 const SkISize& kernelSize, 45 const SkISize& kernelSize() const { return fKernelSize; } in kernelSize() function 62 const SkISize& kernelSize,
|
/external/skqp/src/effects/imagefilters/ |
D | SkMatrixConvolutionImageFilter.cpp | 29 SkMatrixConvolutionImageFilter::SkMatrixConvolutionImageFilter(const SkISize& kernelSize, in SkMatrixConvolutionImageFilter() argument 39 , fKernelSize(kernelSize) in SkMatrixConvolutionImageFilter() 48 SkASSERT(kernelSize.fWidth >= 1 && kernelSize.fHeight >= 1); in SkMatrixConvolutionImageFilter() 49 SkASSERT(kernelOffset.fX >= 0 && kernelOffset.fX < kernelSize.fWidth); in SkMatrixConvolutionImageFilter() 50 SkASSERT(kernelOffset.fY >= 0 && kernelOffset.fY < kernelSize.fHeight); in SkMatrixConvolutionImageFilter() 53 sk_sp<SkImageFilter> SkMatrixConvolutionImageFilter::Make(const SkISize& kernelSize, in Make() argument 62 if (kernelSize.width() < 1 || kernelSize.height() < 1) { in Make() 65 if (gMaxKernelSize / kernelSize.fWidth < kernelSize.fHeight) { in Make() 71 if ((kernelOffset.fX < 0) || (kernelOffset.fX >= kernelSize.fWidth) || in Make() 72 (kernelOffset.fY < 0) || (kernelOffset.fY >= kernelSize.fHeight)) { in Make() [all …]
|
/external/skia/src/effects/imagefilters/ |
D | SkMatrixConvolutionImageFilter.cpp | 29 SkMatrixConvolutionImageFilter::SkMatrixConvolutionImageFilter(const SkISize& kernelSize, in SkMatrixConvolutionImageFilter() argument 39 , fKernelSize(kernelSize) in SkMatrixConvolutionImageFilter() 48 SkASSERT(kernelSize.fWidth >= 1 && kernelSize.fHeight >= 1); in SkMatrixConvolutionImageFilter() 49 SkASSERT(kernelOffset.fX >= 0 && kernelOffset.fX < kernelSize.fWidth); in SkMatrixConvolutionImageFilter() 50 SkASSERT(kernelOffset.fY >= 0 && kernelOffset.fY < kernelSize.fHeight); in SkMatrixConvolutionImageFilter() 53 sk_sp<SkImageFilter> SkMatrixConvolutionImageFilter::Make(const SkISize& kernelSize, in Make() argument 62 if (kernelSize.width() < 1 || kernelSize.height() < 1) { in Make() 65 if (gMaxKernelSize / kernelSize.fWidth < kernelSize.fHeight) { in Make() 71 if ((kernelOffset.fX < 0) || (kernelOffset.fX >= kernelSize.fWidth) || in Make() 72 (kernelOffset.fY < 0) || (kernelOffset.fY >= kernelSize.fHeight)) { in Make() [all …]
|
/external/skqp/bench/ |
D | MatrixConvolutionBench.cpp | 29 SkISize kernelSize = SkISize::Make(3, 3); in MatrixConvolutionBench() local 37 fFilter = SkMatrixConvolutionImageFilter::Make(kernelSize, kernel, gain, bias, in MatrixConvolutionBench()
|
/external/skia/bench/ |
D | MatrixConvolutionBench.cpp | 29 SkISize kernelSize = SkISize::Make(3, 3); in MatrixConvolutionBench() local 37 fFilter = SkMatrixConvolutionImageFilter::Make(kernelSize, kernel, gain, bias, in MatrixConvolutionBench()
|
/external/skia/include/effects/ |
D | SkMatrixConvolutionImageFilter.h | 61 static sk_sp<SkImageFilter> Make(const SkISize& kernelSize, 72 SkMatrixConvolutionImageFilter(const SkISize& kernelSize,
|
/external/skqp/include/effects/ |
D | SkMatrixConvolutionImageFilter.h | 61 static sk_sp<SkImageFilter> Make(const SkISize& kernelSize, 72 SkMatrixConvolutionImageFilter(const SkISize& kernelSize,
|
/external/skqp/gm/ |
D | matrixconvolution.cpp | 59 SkISize kernelSize = SkISize::Make(3, 3); in draw() local 62 paint.setImageFilter(SkMatrixConvolutionImageFilter::Make(kernelSize, in draw()
|
D | imagefiltersgraph.cpp | 123 SkISize kernelSize = SkISize::Make(3, 3); in onDraw() local 128 sk_sp<SkImageFilter> convolve(SkMatrixConvolutionImageFilter::Make(kernelSize, in onDraw()
|
/external/skia/gm/ |
D | matrixconvolution.cpp | 59 SkISize kernelSize = SkISize::Make(3, 3); in draw() local 62 paint.setImageFilter(SkMatrixConvolutionImageFilter::Make(kernelSize, in draw()
|
D | imagefiltersgraph.cpp | 123 SkISize kernelSize = SkISize::Make(3, 3); in onDraw() local 128 sk_sp<SkImageFilter> convolve(SkMatrixConvolutionImageFilter::Make(kernelSize, in onDraw()
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorConvolution.h | 564 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int operator() (const int kernelSize) const { 565 return kernelSize; 576 const int maxX, const int kernelSize, float* buffer) { 581 const int num_x_input = last_x - first_x + GetKernelSize<StaticKernelSize>()(kernelSize); 607 for (int k = 0; k < GetKernelSize<StaticKernelSize>()(kernelSize); ++k) {
|
/external/skqp/tests/ |
D | ImageFilterTest.cpp | 181 const SkISize kernelSize = SkISize::Make(3, 3); in FilterList() local 187 kernelSize, kernel, gain, bias, SkIPoint::Make(1, 1), in FilterList() 1071 SkISize kernelSize = SkISize::Make(1, 3); in DEF_TEST() local 1076 kernelSize, kernel, in DEF_TEST() 1099 SkISize kernelSize = SkISize::Make(3, 1); in DEF_TEST() local 1104 kernelSize, kernel, gain, bias, kernelOffset, in DEF_TEST() 1136 SkISize kernelSize = SkISize::Make(7, 7); in test_big_kernel() local 1141 kernelSize, identityKernel, gain, bias, kernelOffset, in test_big_kernel()
|
/external/skia/tests/ |
D | ImageFilterTest.cpp | 181 const SkISize kernelSize = SkISize::Make(3, 3); in FilterList() local 187 kernelSize, kernel, gain, bias, SkIPoint::Make(1, 1), in FilterList() 1069 SkISize kernelSize = SkISize::Make(1, 3); in DEF_TEST() local 1074 kernelSize, kernel, in DEF_TEST() 1097 SkISize kernelSize = SkISize::Make(3, 1); in DEF_TEST() local 1102 kernelSize, kernel, gain, bias, kernelOffset, in DEF_TEST() 1134 SkISize kernelSize = SkISize::Make(7, 7); in test_big_kernel() local 1139 kernelSize, identityKernel, gain, bias, kernelOffset, in test_big_kernel()
|
/external/ImageMagick/MagickCore/ |
D | accelerate.c | 1542 kernelSize; in ComputeConvolveImage() local 1633 kernelSize = (unsigned int) (kernel->width * kernel->height); in ComputeConvolveImage() 1634 …lCreateBuffer(device->context, CL_MEM_READ_ONLY|CL_MEM_ALLOC_HOST_PTR, kernelSize * sizeof(float),… in ComputeConvolveImage() 1643 …->clEnqueueMapBuffer(queue, convolutionKernel, CL_TRUE, CL_MAP_WRITE, 0, kernelSize * sizeof(float) in ComputeConvolveImage() 1650 for (i = 0; i < kernelSize; i++) in ComputeConvolveImage()
|