Searched defs:kernel (Results 1 - 14 of 14) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/image/
H A DConvolveOp.java38 * Convolution using a convolution kernel is a spatial operation that
39 * computes the output pixel from an input pixel by multiplying the kernel
42 * in a way that can be mathematically specified with a kernel.
69 Kernel kernel; field in class:ConvolveOp
92 * @param kernel the specified <code>Kernel</code>
100 public ConvolveOp(Kernel kernel, int edgeCondition, RenderingHints hints) { argument
101 this.kernel = kernel;
109 * @param kernel the specified <code>Kernel</code>
113 public ConvolveOp(Kernel kernel) { argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageConvMxN.c34 * const mlib_s32 *kernel,
48 * dm, dn Position of key element in convolution kernel.
49 * kernel Pointer to convolution kernel.
59 * 2-D convolution, MxN kernel.
95 const mlib_s32 *kernel,
127 return mlib_ImageConvMxN_f(dst, src, kernel, m, n, dm, dn, scale, cmask, edge);
133 const void *kernel,
151 if (kernel == NULL)
181 ret = mlib_convMxNnw_u8(dst_i, src_i, kernel,
93 mlib_ImageConvMxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask, mlib_edge edge) argument
131 mlib_ImageConvMxN_f(mlib_image *dst, const mlib_image *src, const void *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask, mlib_edge edge) argument
[all...]
H A Dmlib_ImageConvMxN_Fp.c34 * const mlib_d64 *kernel,
47 * dm, dn Position of key element in convolution kernel.
48 * kernel Pointer to convolution kernel.
55 * 2-D convolution, MxN kernel.
83 const mlib_d64 *kernel,
98 const mlib_d64 *kernel,
137 const mlib_d64 *kernel,
153 return mlib_ImageConvMxN_f(dst, src, kernel, m, n, dm, dn, 0, cmask, edge);
159 const mlib_d64 *kernel,
135 mlib_ImageConvMxN_Fp(mlib_image *dst, const mlib_image *src, const mlib_d64 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 cmask, mlib_edge edge) argument
157 mlib_ImageConvMxNMulAdd_F32(mlib_f32 *dst, const mlib_f32 *src, const mlib_d64 *kernel, mlib_s32 n, mlib_s32 m, mlib_s32 nch, mlib_s32 dnch) argument
264 mlib_convMxNext_f32(mlib_image *dst, const mlib_image *src, const mlib_d64 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dx_l, mlib_s32 dx_r, mlib_s32 dy_t, mlib_s32 dy_b, mlib_s32 cmask) argument
544 mlib_ImageConvMxNMulAdd_D64(mlib_d64 *dst, const mlib_d64 *src, const mlib_d64 *kernel, mlib_s32 n, mlib_s32 m, mlib_s32 nch, mlib_s32 dnch) argument
652 mlib_convMxNext_d64(mlib_image *dst, const mlib_image *src, const mlib_d64 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dx_l, mlib_s32 dx_r, mlib_s32 dy_t, mlib_s32 dy_b, mlib_s32 cmask) argument
[all...]
H A Dmlib_ImageConvMxN_ext.c34 * const mlib_s32 *kernel,
48 * dm, dn Position of key element in convolution kernel.
49 * kernel Pointer to convolution kernel.
59 * 2-D convolution, MxN kernel.
215 const mlib_s32 *kernel,
250 /* load kernel */
268 dkernel[i] = ((mlib_s32 *) kernel)[i] * fscale;
213 mlib_convMxNext_s32(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dx_l, mlib_s32 dx_r, mlib_s32 dy_t, mlib_s32 dy_b, mlib_s32 scale, mlib_s32 cmask) argument
H A Dmlib_ImageConv_32nw.c127 /* keep kernel in regs */
412 * First loop on two first lines of kernel
449 * Second loop on two last lines of kernel
1145 const mlib_s32 *kernel,
1179 k[i] = kernel[i]*fscale;
1143 MxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask) argument
H A Dmlib_ImageConv_16nw.c173 /* keep kernel in regs */ \
486 /* keep kernel in regs */
645 * First loop on two first lines of kernel
685 * Second loop on two last lines of kernel
1635 const mlib_s32 *kernel,
1672 k[i] = kernel[i]*fscale;
2050 const mlib_s32 *kernel,
2102 k[i] = kernel[i] >> shift1;
1633 MxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask) argument
2048 MxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask) argument
H A Dmlib_ImageConv_8nw.c174 /* keep kernel in regs */ \
487 /* keep kernel in regs */
646 * First loop on two first lines of kernel
686 * Second loop on two last lines of kernel
1636 const mlib_s32 *kernel,
1673 k[i] = kernel[i]*fscale;
2051 const mlib_s32 *kernel,
2103 k[i] = kernel[i] >> shift1;
1634 MxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask) argument
2049 MxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask) argument
H A Dmlib_ImageConv_u16nw.c173 /* keep kernel in regs */ \
486 /* keep kernel in regs */
645 * First loop on two first lines of kernel
685 * Second loop on two last lines of kernel
1635 const mlib_s32 *kernel,
1672 k[i] = kernel[i]*fscale;
2050 const mlib_s32 *kernel,
2102 k[i] = kernel[i] >> shift1;
1633 MxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask) argument
2048 MxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask) argument
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DEffectUtils.java64 * @param radius The blur kernel radius
73 float[] kernel = createGaussianKernel(radius);
79 blur(srcPixels, dstPixels, width, height, kernel, radius);
82 blur(dstPixels, srcPixels, height, width, kernel, radius);
90 blur(srcPixels, dstPixels, width, height, kernel, radius);
93 blur(dstPixels, srcPixels, height, width, kernel, radius);
113 * @param kernel the kernel of the blur effect
118 float[] kernel, int radius) {
143 float blurFactor = kernel[radiu
116 blur(int[] srcPixels, int[] dstPixels, int width, int height, float[] kernel, int radius) argument
178 blur(byte[] srcPixels, byte[] dstPixels, int width, int height, float[] kernel, int radius) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DImagingLib.java82 Kernel kernel, int edgeHint);
84 Kernel kernel, int edgeHint);
81 convolveBI(BufferedImage src, BufferedImage dst, Kernel kernel, int edgeHint) argument
83 convolveRaster(Raster src, Raster dst, Kernel kernel, int edgeHint) argument
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DBufImgOps.cpp37 * The maximum kernel size supported by the ConvolveOp shader.
45 unsigned char *kernel)
102 // update the "uniform" kernel offsets and values
108 kernelVals[kIndex+2] = NEXT_FLOAT(kernel);
42 D3DBufImgOps_EnableConvolveOp(D3DContext *d3dc, jlong pSrcOps, jboolean edgeZeroFill, jint kernelWidth, jint kernelHeight, unsigned char *kernel) argument
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLBufImgOps.c45 * area, multiplies each by its corresponding kernel value, and then sums
72 // value for each location in the convolution kernel:
75 // kernelVals[i].z = kernel[i]
119 * The maximum kernel size supported by the ConvolveOp shader.
180 unsigned char *kernel)
252 // update the "uniform" kernel offsets and values
259 kernelVals[kIndex+2] = NEXT_FLOAT(kernel);
177 OGLBufImgOps_EnableConvolveOp(OGLContext *oglc, jlong pSrcOps, jboolean edgeZeroFill, jint kernelWidth, jint kernelHeight, unsigned char *kernel) argument
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageConvMxN_8.c30 * mlib_convMxN_8nw - convolve a 8-bit image, MxN kernel,
49 * skernel Ptr to convolution kernel
59 * A 2-D convolution (MxN kernel) for 8-bit images.
93 const mlib_s32 *kernel,
104 return mlib_c_convMxNnw_u8(dst, src, kernel, kwid, khgt, khw, khh,
114 return mlib_convMxN_8nw_f(dst, src, kwid, khgt, khw, khh, kernel, discardbits);
117 return mlib_convMxN_8nw_mask(dst, src, kwid, khgt, khw, khh, kernel,
91 mlib_convMxNnw_u8(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 kwid, mlib_s32 khgt, mlib_s32 khw, mlib_s32 khh, mlib_s32 discardbits, mlib_s32 cmask) argument
H A Dmlib_v_ImageConvMxN_8ext.c30 * mlib_v_convMxN_8ext - convolve a 8-bit image, MxN kernel,
51 * skernel Ptr to convolution kernel
61 * A 2-D convolution (MxN kernel) for 8-bit images.
108 const mlib_s32 *kernel,
121 return mlib_c_convMxNext_u8(dst, src, kernel, kwid, khgt,
131 return mlib_convMxN_8ext_f(dst, src, kwid, khgt, dx_l, dx_r, dy_t, dy_b, kernel,
135 return mlib_convMxN_8ext_mask(dst, src, kwid, khgt, dx_l, dx_r, dy_t, dy_b, kernel,
106 mlib_convMxNext_u8(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 kwid, mlib_s32 khgt, mlib_s32 dx_l, mlib_s32 dx_r, mlib_s32 dy_t, mlib_s32 dy_b, mlib_s32 discardbits, mlib_s32 cmask) argument

Completed in 81 milliseconds