Lines Matching refs:bpp
53 final int bpp, am, rm, gm, bm, as, rs, gs, bs, im, is; field in ImageToAwt.DecodeParams
55 …public DecodeParams(int bpp, int am, int rm, int gm, int bm, int as, int rs, int gs, int bs, int i… in DecodeParams() argument
56 this.bpp = bpp; in DecodeParams()
69 public DecodeParams(int bpp, int rm, int rs, int im, int is, boolean alpha){ in DecodeParams() argument
70 this.bpp = bpp; in DecodeParams()
91 public DecodeParams(int bpp, int rm, int rs, int im, int is){ in DecodeParams() argument
92 this(bpp, rm, rs, im, is, false); in DecodeParams()
182 private static int readPixel(ByteBuffer buf, int idx, int bpp){ in readPixel() argument
185 while ((--bpp) > 0){ in readPixel()
191 private static void writePixel(ByteBuffer buf, int idx, int pixel, int bpp){ in writePixel() argument
193 while ((--bpp) >= 0){ in writePixel()
195 byte bt = (byte) ((pixel >> (bpp * 8)) & 0xff); in writePixel()
263 int i = initialPos + (Ix(x,y,width) * p.bpp); in convert()
264 writePixel(buf, i, outputPixel, p.bpp); in convert()
272 int bpp = image.getFormat().getBitsPerPixel(); in createData() local
276 image.setData(BufferUtils.createByteBuffer(w*h*bpp/8)); in createData()
283 int size = (w * h * bpp) / 8; in createData()
337 int i = Ix(x, y, width) * inParams.bpp; in convert()
338 inputPixel = (readPixel(inData, i, inParams.bpp) & inParams.im) >> inParams.is; in convert()
448 int i = mipPos + (Ix(x,y,width) * p.bpp); in convert()
449 inputPixel = (readPixel(buf,i,p.bpp) & p.im) >> p.is; in convert()