1 /* Copyright (C) 2005-2011 Fabio Riccardi */ 2 3 package com.lightcrafts.jai.opimage; 4 5 /** 6 * Created by IntelliJ IDEA. 7 * User: fabio 8 * Date: Jun 3, 2005 9 * Time: 2:49:56 PM 10 * To change this template use File | Settings | File Templates. 11 */ 12 public class Convolutions { cByteLoop(byte[] s1, byte[] d, int s1LineOffset, int dLineOffset, int s1LineStride, int dLineStride, int s1PixelStride, int dPixelStride, int dheight, int dwidth, int kw, int kh, float[] hValues, float vValues[])13 public static native void cByteLoop(byte[] s1, byte[] d, 14 int s1LineOffset, int dLineOffset, 15 int s1LineStride, int dLineStride, 16 int s1PixelStride, int dPixelStride, 17 int dheight, int dwidth, int kw, int kh, 18 float[] hValues, float vValues[]); 19 cShortLoop(short[] s1, short[] d, int s1LineOffset, int dLineOffset, int s1LineStride, int dLineStride, int s1PixelStride, int dPixelStride, int dheight, int dwidth, int kw, int kh, float[] hValues, float vValues[])20 public static native void cShortLoop(short[] s1, short[] d, 21 int s1LineOffset, int dLineOffset, 22 int s1LineStride, int dLineStride, 23 int s1PixelStride, int dPixelStride, 24 int dheight, int dwidth, int kw, int kh, 25 float[] hValues, float vValues[]); 26 cUShortLoop(short[] s1, short[] d, int s1LineOffset, int dLineOffset, int s1LineStride, int dLineStride, int s1PixelStride, int dPixelStride, int dheight, int dwidth, int kw, int kh, float[] hValues, float vValues[])27 public static native void cUShortLoop(short[] s1, short[] d, 28 int s1LineOffset, int dLineOffset, 29 int s1LineStride, int dLineStride, 30 int s1PixelStride, int dPixelStride, 31 int dheight, int dwidth, int kw, int kh, 32 float[] hValues, float vValues[]); 33 cIntLoop(int[] s1, int[] d, int s1LineOffset, int dLineOffset, int s1LineStride, int dLineStride, int s1PixelStride, int dPixelStride, int dheight, int dwidth, int kw, int kh, float[] hValues, float vValues[])34 public static native void cIntLoop(int[] s1, int[] d, 35 int s1LineOffset, int dLineOffset, 36 int s1LineStride, int dLineStride, 37 int s1PixelStride, int dPixelStride, 38 int dheight, int dwidth, int kw, int kh, 39 float[] hValues, float vValues[]); 40 cFloatLoop(float[] s1, float[] d, int s1LineOffset, int dLineOffset, int s1LineStride, int dLineStride, int s1PixelStride, int dPixelStride, int dheight, int dwidth, int kw, int kh, float[] hValues, float vValues[])41 public static native void cFloatLoop(float[] s1, float[] d, 42 int s1LineOffset, int dLineOffset, 43 int s1LineStride, int dLineStride, 44 int s1PixelStride, int dPixelStride, 45 int dheight, int dwidth, int kw, int kh, 46 float[] hValues, float vValues[]); 47 cDoubleLoop(double[] s1, double[] d, int s1LineOffset, int dLineOffset, int s1LineStride, int dLineStride, int s1PixelStride, int dPixelStride, int dheight, int dwidth, int kw, int kh, float[] hValues, float vValues[])48 public static native void cDoubleLoop(double[] s1, double[] d, 49 int s1LineOffset, int dLineOffset, 50 int s1LineStride, int dLineStride, 51 int s1PixelStride, int dPixelStride, 52 int dheight, int dwidth, int kw, int kh, 53 float[] hValues, float vValues[]); 54 cInterleaved3ByteLoop(byte[] s1, byte[] d, int s1LineOffset, int dLineOffset, int s1LineStride, int dLineStride, int dheight, int dwidth, int kw, int kh, float[] hValues, float vValues[])55 public static native void cInterleaved3ByteLoop(byte[] s1, byte[] d, 56 int s1LineOffset, int dLineOffset, 57 int s1LineStride, int dLineStride, 58 int dheight, int dwidth, int kw, int kh, 59 float[] hValues, float vValues[]); 60 cInterleaved3ShortLoop(short[] s1, short[] d, int s1LineOffset, int dLineOffset, int s1LineStride, int dLineStride, int dheight, int dwidth, int kw, int kh, float[] hValues, float vValues[])61 public static native void cInterleaved3ShortLoop(short[] s1, short[] d, 62 int s1LineOffset, int dLineOffset, 63 int s1LineStride, int dLineStride, 64 int dheight, int dwidth, int kw, int kh, 65 float[] hValues, float vValues[]); 66 cInterleaved3UShortLoop(short[] s1, short[] d, int s1LineOffset, int dLineOffset, int s1LineStride, int dLineStride, int dheight, int dwidth, int kw, int kh, float[] hValues, float vValues[])67 public static native void cInterleaved3UShortLoop(short[] s1, short[] d, 68 int s1LineOffset, int dLineOffset, 69 int s1LineStride, int dLineStride, 70 int dheight, int dwidth, int kw, int kh, 71 float[] hValues, float vValues[]); 72 cInterleaved3IntLoop(int[] s1, int[] d, int s1LineOffset, int dLineOffset, int s1LineStride, int dLineStride, int dheight, int dwidth, int kw, int kh, float[] hValues, float vValues[])73 public static native void cInterleaved3IntLoop(int[] s1, int[] d, 74 int s1LineOffset, int dLineOffset, 75 int s1LineStride, int dLineStride, 76 int dheight, int dwidth, int kw, int kh, 77 float[] hValues, float vValues[]); 78 } 79