Lines Matching refs:dstBuf
99 byte[] dstBuf = new byte[w[0] * h[0] * ps]; in loadImage()
102 dstBuf[dstPtr + rindex] = (byte)((rgb[rgbPtr] >> 16) & 0xff); in loadImage()
103 dstBuf[dstPtr + gindex] = (byte)((rgb[rgbPtr] >> 8) & 0xff); in loadImage()
104 dstBuf[dstPtr + bindex] = (byte)(rgb[rgbPtr] & 0xff); in loadImage()
108 return dstBuf; in loadImage()
134 byte[] dstBuf, int w, int h, int subsamp, int jpegQual, in decomp() argument
150 if (dstBuf == null) in decomp()
151 dstBuf = new byte[pitch * scaledh]; in decomp()
155 Arrays.fill(dstBuf, (byte)127); in decomp()
180 tjd.decompress(dstBuf, x, y, width, pitch, height, pf, flags); in decomp()
184 tjd.decompress(dstBuf, x, y, width, pitch, height, pf, flags); in decomp()
238 saveImage(tempStr, dstBuf, scaledw, scaledh, pf); in decomp()
255 dstBuf[rindex] = (byte)Math.abs((dstBuf[rindex] & 0xff) - lum); in decomp()
256 dstBuf[gindex] = (byte)Math.abs((dstBuf[gindex] & 0xff) - lum); in decomp()
257 dstBuf[bindex] = (byte)Math.abs((dstBuf[bindex] & 0xff) - lum); in decomp()
263 dstBuf[pitch * y + x] = in decomp()
264 (byte)Math.abs((dstBuf[pitch * y + x] & 0xff) - in decomp()
267 saveImage(tempStr, dstBuf, w, h, pf); in decomp()