/third_party/flutter/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,
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkMatrixConvolutionImageFilter.cpp | 30 SkMatrixConvolutionImageFilterImpl(const SkISize& kernelSize, const SkScalar* kernel, in SkMatrixConvolutionImageFilterImpl() argument 35 , fKernelSize(kernelSize) in SkMatrixConvolutionImageFilterImpl() 44 SkASSERT(kernelSize.fWidth >= 1 && kernelSize.fHeight >= 1); in SkMatrixConvolutionImageFilterImpl() 45 SkASSERT(kernelOffset.fX >= 0 && kernelOffset.fX < kernelSize.fWidth); in SkMatrixConvolutionImageFilterImpl() 46 SkASSERT(kernelOffset.fY >= 0 && kernelOffset.fY < kernelSize.fHeight); in SkMatrixConvolutionImageFilterImpl() 157 sk_sp<SkImageFilter> SkMatrixConvolutionImageFilter::Make(const SkISize& kernelSize, in Make() argument 166 return Make(kernelSize, kernel, gain, bias, kernelOffset, to_sktilemode(tileMode), in Make() 170 sk_sp<SkImageFilter> SkMatrixConvolutionImageFilter::Make(const SkISize& kernelSize, in Make() argument 183 if (kernelSize.width() < 1 || kernelSize.height() < 1) { in Make() 186 if (kMaxKernelSize / kernelSize.fWidth < kernelSize.fHeight) { in Make() [all …]
|
D | SkImageFilters.cpp | 148 const SkISize& kernelSize, const SkScalar kernel[], SkScalar gain, SkScalar bias, in MatrixConvolution() argument 152 return SkMatrixConvolutionImageFilter::Make(kernelSize, kernel, gain, bias, kernelOffset, in MatrixConvolution()
|
/third_party/skia/src/effects/imagefilters/ |
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.fWidth < kernelSize.fHeight) { in MatrixConvolution() 167 if ((kernelOffset.fX < 0) || (kernelOffset.fX >= kernelSize.fWidth) || in MatrixConvolution() 168 (kernelOffset.fY < 0) || (kernelOffset.fY >= kernelSize.fHeight)) { in MatrixConvolution() [all …]
|
/third_party/skia/bench/ |
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/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/ |
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/flutter/skia/include/effects/ |
D | SkMatrixConvolutionImageFilter.h | 41 static sk_sp<SkImageFilter> Make(const SkISize& kernelSize, 72 static sk_sp<SkImageFilter> Make(const SkISize& kernelSize,
|
D | SkImageFilters.h | 198 static sk_sp<SkImageFilter> MatrixConvolution(const SkISize& kernelSize,
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
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/flutter/skia/bench/ |
D | MatrixConvolutionBench.cpp | 23 SkISize kernelSize = SkISize::Make(3, 3); in MatrixConvolutionBench() local 31 fFilter = SkImageFilters::MatrixConvolution(kernelSize, kernel, gain, bias, in MatrixConvolutionBench()
|
/third_party/skia/src/gpu/effects/ |
D | GrMatrixConvolutionEffect.cpp | 328 const SkISize& kernelSize, in Make() argument 336 auto [kernelWrapper, kernelFP] = KernelWrapper::Make(context, kernelSize, caps, kernel); in Make() 357 SkISize kernelSize = SkISize::Make(width, height); in TestCreate() local 365 uint32_t kernalOffsetX = d->fRandom->nextRangeU(0, kernelSize.width()); in TestCreate() 366 uint32_t kernalOffsetY = d->fRandom->nextRangeU(0, kernelSize.height()); in TestCreate() 381 kernelSize, in TestCreate()
|
D | GrMatrixConvolutionEffect.h | 25 const SkISize& kernelSize,
|
/third_party/flutter/skia/gm/ |
D | matrixconvolution.cpp | 72 SkISize kernelSize = SkISize::Make(3, 3); in draw() local 75 paint.setImageFilter(SkImageFilters::MatrixConvolution(kernelSize, kernel, gain, bias, in draw()
|
D | imagefiltersgraph.cpp | 117 SkISize kernelSize = SkISize::Make(3, 3); in onDraw() local 122 kernelSize, kernel, gain, bias, kernelOffset, SkTileMode::kClamp, convolveAlpha, in onDraw()
|
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/mindspore/mindspore/lite/src/delegate/tensorrt/op/ |
D | convolution_tensorrt.cc | 85 …nvinfer1::Dims kernelSize = lite::ConvertCudaDims(std::vector<int64_t>(kernel_size->begin(), kerne… in AddInnerOp() local 98 network->addConvolutionNd(*conv_input, nbOutputMaps, kernelSize, kernelWeights, biasWeights); in AddInnerOp()
|
D | deconvolution_tensorrt.cc | 82 …nvinfer1::Dims kernelSize = lite::ConvertCudaDims(std::vector<int64_t>(kernel_size->begin(), kerne… in AddInnerOp() local 95 … network->addDeconvolutionNd(*deconv_input, nbOutputMaps, kernelSize, kernelWeights, biasWeights); in AddInnerOp()
|
/third_party/skia/gm/ |
D | imagefiltersgraph.cpp | 116 SkISize kernelSize = SkISize::Make(3, 3); in onDraw() local 121 kernelSize, kernel, gain, bias, kernelOffset, SkTileMode::kClamp, convolveAlpha, in onDraw()
|
D | imagefilters.cpp | 210 SkISize kernelSize = SkISize::Make(3, 3); variable 217 kernelSize, kernel, 1.f, 0.f, kernelOffset, SkTileMode::kClamp, false, nullptr);
|
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/ |
D | SkBlurMF.cpp | 1158 int kernelSize, in eval_H() argument 1163 SkASSERT(kernelSize % 2); in eval_H() 1167 int xSampleLoc = x - (kernelSize / 2); in eval_H() 1168 for (int i = 0; i < kernelSize; ++i, ++xSampleLoc) { in eval_H() 1187 int kernelSize = 2 * radius + 1; in create_mask_on_cpu() local 1189 SkASSERT(kernelSize % 2); in create_mask_on_cpu() 1199 std::unique_ptr<float[]> kernel(new float[kernelSize]); in create_mask_on_cpu() 1238 kernelSize, in create_mask_on_cpu()
|
/third_party/flutter/skia/tests/ |
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() 993 SkISize kernelSize = SkISize::Make(1, 3); in DEF_TEST() local 998 kernelSize, kernel, gain, bias, kernelOffset, SkTileMode::kRepeat, false, nullptr)); in DEF_TEST() 1018 SkISize kernelSize = SkISize::Make(3, 1); in DEF_TEST() local 1023 kernelSize, kernel, gain, bias, kernelOffset, SkTileMode::kClamp, true, nullptr)); in DEF_TEST() 1053 SkISize kernelSize = SkISize::Make(7, 7); in test_big_kernel() local 1058 kernelSize, identityKernel, gain, bias, kernelOffset, in test_big_kernel()
|
/third_party/skia/tests/ |
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/ |
D | SkImageFilters.h | 259 static sk_sp<SkImageFilter> MatrixConvolution(const SkISize& kernelSize,
|