71 * - failed to load library. |
71 * - failed to load library. |
72 * - failed to get all required entry points. |
72 * - failed to get all required entry points. |
73 */ |
73 */ |
74 private static native boolean init(); |
74 private static native boolean init(); |
75 |
75 |
76 static public native int transformBI(BufferedImage src, BufferedImage dst, |
76 public static native int transformBI(BufferedImage src, BufferedImage dst, |
77 double[] matrix, int interpType); |
77 double[] matrix, int interpType); |
78 static public native int transformRaster(Raster src, Raster dst, |
78 public static native int transformRaster(Raster src, Raster dst, |
79 double[] matrix, |
79 double[] matrix, |
80 int interpType); |
80 int interpType); |
81 static public native int convolveBI(BufferedImage src, BufferedImage dst, |
81 public static native int convolveBI(BufferedImage src, BufferedImage dst, |
82 Kernel kernel, int edgeHint); |
82 Kernel kernel, int edgeHint); |
83 static public native int convolveRaster(Raster src, Raster dst, |
83 public static native int convolveRaster(Raster src, Raster dst, |
84 Kernel kernel, int edgeHint); |
84 Kernel kernel, int edgeHint); |
85 static public native int lookupByteBI(BufferedImage src, BufferedImage dst, |
85 public static native int lookupByteBI(BufferedImage src, BufferedImage dst, |
86 byte[][] table); |
86 byte[][] table); |
87 static public native int lookupByteRaster(Raster src, Raster dst, |
87 public static native int lookupByteRaster(Raster src, Raster dst, |
88 byte[][] table); |
88 byte[][] table); |
89 |
89 |
90 static { |
90 static { |
91 |
91 |
92 PrivilegedAction<Boolean> doMlibInitialization = |
92 PrivilegedAction<Boolean> doMlibInitialization = |