Lines Matching defs:srcPixels
75 int[] srcPixels = new int[width * height];
77 getPixels(src, 0, 0, width, height, srcPixels);
79 blur(srcPixels, dstPixels, width, height, kernel, radius);
82 blur(dstPixels, srcPixels, height, width, kernel, radius);
83 // the result is now stored in srcPixels due to the 2nd pass
84 setPixels(dst, 0, 0, width, height, srcPixels);
86 byte[] srcPixels = new byte[width * height];
88 getPixels(src, 0, 0, width, height, srcPixels);
90 blur(srcPixels, dstPixels, width, height, kernel, radius);
93 blur(dstPixels, srcPixels, height, width, kernel, radius);
94 // the result is now stored in srcPixels due to the 2nd pass
95 setPixels(dst, 0, 0, width, height, srcPixels);
107 * srcPixels.</p>
109 * @param srcPixels the source pixels
116 private static void blur(int[] srcPixels, int[] dstPixels,
142 int pixel = srcPixels[offset + subOffset];
169 * srcPixels.</p>
171 * @param srcPixels the source pixels
178 static void blur(byte[] srcPixels, byte[] dstPixels,
195 int pixel = srcPixels[offset + subOffset] & 0xFF;