Lines Matching defs:bitDepth
65 private int bitDepth;
151 bitDepth = getByte(st+8);
205 if (bitDepth == 16) {
225 t = 0xFF & ((bitDepth == 16) ? (t >> 8) : t);
260 switch(bitDepth) {
270 int combinedType = colorType|(bitDepth<<3);
271 int bitMask = (1<<(bitDepth>=8?8:bitDepth))-1;
278 cm = new IndexColorModel(bitDepth,red_map.length,
281 cm = new IndexColorModel(bitDepth,red_map.length,
294 cm = new IndexColorModel(bitDepth,ramp.length,ramp,ramp,ramp);
296 cm = new IndexColorModel(bitDepth,ramp.length,ramp,ramp,ramp,
333 int bitsPerPixel = samplesPerPixel*bitDepth;
438 } else switch(bitDepth) {