Home
last modified time | relevance | path

Searched refs:kernelWidth (Results 1 – 25 of 178) sorted by relevance

12345678

/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/filters/fx/
H A Dcharcoalfilter.cpp129 QScopedArrayPointer<double> kernel(new double[kernelWidth * kernelWidth]); in filterImage()
137 for (i = 0 ; i < (kernelWidth * kernelWidth) ; ++i) in filterImage()
142 kernel[i / 2] = kernelWidth * kernelWidth - 1.0; in filterImage()
281 long kernelWidth = order; in convolveImage() local
292 QScopedArrayPointer<double> normal_kernel(new double[kernelWidth * kernelWidth]); in convolveImage()
300 for (i = 0 ; i < (kernelWidth * kernelWidth) ; ++i) in convolveImage()
312 for (i = 0 ; i < (kernelWidth * kernelWidth) ; ++i) in convolveImage()
344 long kernelWidth; in getOptimalKernelWidth() local
352 for (kernelWidth = 5 ; ;) in getOptimalKernelWidth()
356 for (u = (-kernelWidth / 2) ; u <= (kernelWidth / 2) ; ++u) in getOptimalKernelWidth()
[all …]
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/filters/sharp/
H A Dsharpenfilter.cpp137 QScopedArrayPointer<double> kernel(new double[kernelWidth * kernelWidth]); in sharpenImage()
210 prm.kernelWidth = order; in convolveImage()
219 QScopedArrayPointer<double> normal_kernel(new double[prm.kernelWidth * prm.kernelWidth]); in convolveImage()
227 for (i = 0 ; i < (prm.kernelWidth * prm.kernelWidth) ; ++i) in convolveImage()
239 for (i = 0 ; i < (prm.kernelWidth * prm.kernelWidth) ; ++i) in convolveImage()
282 long kernelWidth; in getOptimalKernelWidth() local
290 for (kernelWidth = 5; ;) in getOptimalKernelWidth()
294 for (u = (-kernelWidth / 2) ; u <= (kernelWidth / 2) ; ++u) in getOptimalKernelWidth()
299 u = kernelWidth / 2; in getOptimalKernelWidth()
307 kernelWidth += 2; in getOptimalKernelWidth()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/platform/graphics/gpu/
H A DConvolutionShader.cpp42 ConvolutionShader::ConvolutionShader(GraphicsContext3D* context, unsigned program, int kernelWidth) in ConvolutionShader() argument
44 , m_kernelWidth(kernelWidth) in ConvolutionShader()
54 PassOwnPtr<ConvolutionShader> ConvolutionShader::create(GraphicsContext3D* context, int kernelWidth) in create() argument
71 snprintf(vertexShaderSource, sizeof(vertexShaderSource), vertexShaderRaw, kernelWidth); in create()
91 snprintf(fragmentShaderSource, sizeof(fragmentShaderSource), fragmentShaderRaw, kernelWidth); in create()
96 return new ConvolutionShader(context, program, kernelWidth); in create()
99 …ansform, const AffineTransform& texTransform, const float* kernel, int kernelWidth, float imageInc… in use() argument
115 if (kernelWidth > m_kernelWidth) in use()
116 kernelWidth = m_kernelWidth; in use()
117 m_context->uniform1fv(m_kernelLocation, const_cast<float*>(kernel), kernelWidth); in use()
H A DConvolutionShader.h40 static PassOwnPtr<ConvolutionShader> create(GraphicsContext3D*, int kernelWidth);
42 …nsform&, const AffineTransform& texTransform, const float* kernel, int kernelWidth, float imageInc…
45 ConvolutionShader(GraphicsContext3D*, unsigned program, int kernelWidth);
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Samples/Media/materials/scripts/SSAO/
H A DUnsharpMask.cg34 const int kernelWidth = 19;
35 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
40 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
62 const int kernelWidth = 19;
63 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
68 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
H A DUnsharpMask.hlsl41 const int kernelWidth = 19;
42 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
47 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
69 const int kernelWidth = 19;
70 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
75 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
H A DGaussianBlurXFP.glsl11 const int kernelWidth = 19;
12 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
17 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
H A DGaussianBlurYFP.glsl11 const int kernelWidth = 19;
12 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
17 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
H A DCrossBilateralFilterYFP.glsl11 const int kernelWidth = 13;
12 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
19 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
H A DCrossBilateralFilterXFP.glsl15 const int kernelWidth = 13;
16 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
23 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
/dports/graphics/ogre3d/ogre-1.11.6/Samples/Media/materials/scripts/SSAO/
H A DUnsharpMask.cg34 const int kernelWidth = 19;
35 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
40 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
62 const int kernelWidth = 19;
63 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
68 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
H A DUnsharpMask.hlsl45 const int kernelWidth = 19;
46 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
51 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
72 const int kernelWidth = 19;
73 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
78 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
H A DGaussianBlurXFP.glsl11 const int kernelWidth = 19;
12 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
17 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
H A DGaussianBlurYFP.glsl11 const int kernelWidth = 19;
12 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
17 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
H A DCrossBilateralFilterYFP.glsl11 const int kernelWidth = 13;
12 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
19 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
H A DSSAOPost.cg87 const int kernelWidth = 13;
88 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
95 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
122 const int kernelWidth = 13;
123 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
130 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
H A DCrossBilateralFilterXFP.glsl15 const int kernelWidth = 13;
16 float sigma = (kernelWidth - 1) / 6; // make the kernel span 6 sigma
23 for (float i = -(kernelWidth - 1) / 2; i < (kernelWidth - 1) / 2; i++)
/dports/misc/mnn/MNN-1.2.0/source/backend/cpu/
H A DCPUPool.hpp37 for (int kw = 0; kw < kernelWidth; kw++) { in pooling_max_pad()
85 kernelWidth, kernelHeight, iw, ih); in poolingMax()
93 kernelWidth, kernelHeight, iw, ih); in poolingMax()
99 kernelWidth, kernelHeight, iw, ih); in poolingMax()
107 kernelWidth, kernelHeight, iw, ih); in poolingMax()
133 for (int kw = 0; kw < kernelWidth; kw++, cursorInput += PACK) { in poolingMax()
151 for (int kw = 0; kw < kernelWidth; kw++, cursorInput += PACK) { in poolingMax()
171 const int kwe = kernelWidth < inputWidth - iw ? kernelWidth : inputWidth - iw; // min in poolingAvgPad()
184 (ALIMIN(iw + kernelWidth, inputWidth + padWidth) - iw); in poolingAvgPad()
278 int count = kernelHeight * kernelWidth; in poolingAvg()
[all …]
/dports/math/mlpack/mlpack-3.4.2/src/mlpack/methods/ann/layer/
H A Dtransposed_convolution_impl.hpp56 const size_t kernelWidth, in TransposedConvolution() argument
70 kernelWidth, in TransposedConvolution()
101 const size_t kernelWidth, in TransposedConvolution() argument
114 kernelWidth(kernelWidth), in TransposedConvolution()
149 aW = (outputWidth + totalPadWidth - kernelWidth) % strideWidth; in TransposedConvolution()
152 const size_t padWidthLeftForward = kernelWidth - padWLeft - 1; in TransposedConvolution()
154 const size_t padWidthRightForward = kernelWidth - padWRight - 1; in TransposedConvolution()
166 aW + kernelWidth - totalPadWidth || in TransposedConvolution()
190 weight = arma::cube(weights.memptr(), kernelWidth, kernelHeight, in Reset()
458 ar & BOOST_SERIALIZATION_NVP(kernelWidth); in serialize()
[all …]
H A Dmean_pooling_impl.hpp30 const size_t kernelWidth, in MeanPooling() argument
35 kernelWidth(kernelWidth), in MeanPooling()
67 (double) kernelWidth) / (double) strideWidth + 1); in Forward()
76 (double) kernelWidth) / (double) strideWidth + 1); in Forward()
124 ar & BOOST_SERIALIZATION_NVP(kernelWidth); in serialize()
H A Dmax_pooling.hpp67 MaxPooling(const size_t kernelWidth,
134 size_t KernelWidth() const { return kernelWidth; } in KernelWidth()
136 size_t& KernelWidth() { return kernelWidth; } in KernelWidth()
189 arma::span(rowidx, rowidx + kernelWidth - 1 - offset), in PoolingOperation()
198 rowidx + kernelWidth - 1 - offset), in PoolingOperation()
226 size_t kernelWidth; member in mlpack::ann::MaxPooling
H A Dmax_pooling_impl.hpp30 const size_t kernelWidth, in MaxPooling() argument
35 kernelWidth(kernelWidth), in MaxPooling()
67 (double) kernelWidth) / (double) strideWidth + 1); in Forward()
75 (double) kernelWidth) / (double) strideWidth + 1); in Forward()
150 ar & BOOST_SERIALIZATION_NVP(kernelWidth); in serialize()
H A Datrous_convolution_impl.hpp56 const size_t kernelWidth, in AtrousConvolution() argument
70 kernelWidth, in AtrousConvolution()
101 const size_t kernelWidth, in AtrousConvolution() argument
114 kernelWidth(kernelWidth), in AtrousConvolution()
125 weights.set_size((outSize * inSize * kernelWidth * kernelHeight) + outSize, in AtrousConvolution()
166 weight = arma::cube(weights.memptr(), kernelWidth, kernelHeight, in Reset()
206 size_t wConv = ConvOutSize(inputWidth, kernelWidth, strideWidth, in Forward()
424 ar & BOOST_SERIALIZATION_NVP(kernelWidth); in serialize()
451 weights.set_size((outSize * inSize * kernelWidth * kernelHeight) + outSize, in serialize()
477 size_t totalVerticalPadding = (strideWidth - 1) * inputWidth + kernelWidth - in InitializeSamePadding()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/windows/native/libawt/java2d/d3d/
H A DD3DBufImgOps.cpp44 jint kernelWidth, jint kernelHeight, in D3DBufImgOps_EnableConvolveOp() argument
50 jint kernelSize = kernelWidth * kernelHeight; in D3DBufImgOps_EnableConvolveOp()
61 kernelWidth, kernelHeight); in D3DBufImgOps_EnableConvolveOp()
79 if (kernelWidth == 5 && kernelHeight == 5) { in D3DBufImgOps_EnableConvolveOp()
93 edgeX = (kernelWidth/2) * xoff; in D3DBufImgOps_EnableConvolveOp()
105 for (j = -kernelWidth/2; j < kernelWidth/2+1; j++) { in D3DBufImgOps_EnableConvolveOp()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/windows/native/libawt/java2d/d3d/
H A DD3DBufImgOps.cpp44 jint kernelWidth, jint kernelHeight, in D3DBufImgOps_EnableConvolveOp() argument
50 jint kernelSize = kernelWidth * kernelHeight; in D3DBufImgOps_EnableConvolveOp()
61 kernelWidth, kernelHeight); in D3DBufImgOps_EnableConvolveOp()
79 if (kernelWidth == 5 && kernelHeight == 5) { in D3DBufImgOps_EnableConvolveOp()
93 edgeX = (kernelWidth/2) * xoff; in D3DBufImgOps_EnableConvolveOp()
105 for (j = -kernelWidth/2; j < kernelWidth/2+1; j++) { in D3DBufImgOps_EnableConvolveOp()

12345678