public class com.sun.imageio.plugins.common.ImageUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.common.ImageUtil
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.imageio.plugins.common.ImageUtil this
0: .line 59
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.sun.imageio.plugins.common.ImageUtil this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/common/ImageUtil;
public static final java.awt.image.ColorModel createColorModel(java.awt.image.SampleModel);
descriptor: (Ljava/awt/image/SampleModel;)Ljava/awt/image/ColorModel;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=8, locals=13, args_size=1
start local 0 // java.awt.image.SampleModel sampleModel
0: .line 93
aload 0 /* sampleModel */
ifnonnull 2
1: .line 94
new java.lang.IllegalArgumentException
dup
ldc "sampleModel == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: .line 98
StackMap locals:
StackMap stack:
aload 0 /* sampleModel */
invokevirtual java.awt.image.SampleModel.getDataType:()I
istore 1 /* dataType */
start local 1 // int dataType
3: .line 101
iload 1 /* dataType */
tableswitch { // 0 - 5
0: 4
1: 4
2: 4
3: 4
4: 4
5: 4
default: 5
}
4: .line 108
StackMap locals: int
StackMap stack:
goto 6
5: .line 111
StackMap locals:
StackMap stack:
aconst_null
areturn
6: .line 115
StackMap locals:
StackMap stack:
aconst_null
astore 2 /* colorModel */
start local 2 // java.awt.image.ColorModel colorModel
7: .line 118
aload 0 /* sampleModel */
invokevirtual java.awt.image.SampleModel.getSampleSize:()[I
astore 3 /* sampleSize */
start local 3 // int[] sampleSize
8: .line 121
aload 0 /* sampleModel */
instanceof java.awt.image.ComponentSampleModel
ifeq 34
9: .line 123
aload 0 /* sampleModel */
invokevirtual java.awt.image.SampleModel.getNumBands:()I
istore 4 /* numBands */
start local 4 // int numBands
10: .line 126
aconst_null
astore 5 /* colorSpace */
start local 5 // java.awt.color.ColorSpace colorSpace
11: .line 127
iload 4 /* numBands */
iconst_2
if_icmpgt 14
12: .line 128
sipush 1003
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
astore 5 /* colorSpace */
13: .line 129
goto 18
StackMap locals: java.awt.image.SampleModel int java.awt.image.ColorModel int[] int java.awt.color.ColorSpace
StackMap stack:
14: iload 4 /* numBands */
iconst_4
if_icmpgt 17
15: .line 130
sipush 1000
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
astore 5 /* colorSpace */
16: .line 131
goto 18
17: .line 132
StackMap locals:
StackMap stack:
new com.sun.imageio.plugins.common.BogusColorSpace
dup
iload 4 /* numBands */
invokespecial com.sun.imageio.plugins.common.BogusColorSpace.<init>:(I)V
astore 5 /* colorSpace */
18: .line 135
StackMap locals:
StackMap stack:
iload 4 /* numBands */
iconst_2
if_icmpeq 19
iload 4 /* numBands */
iconst_4
if_icmpeq 19
iconst_0
goto 20
StackMap locals:
StackMap stack:
19: iconst_1
StackMap locals:
StackMap stack: int
20: istore 6 /* hasAlpha */
start local 6 // boolean hasAlpha
21: .line 136
iconst_0
istore 7 /* isAlphaPremultiplied */
start local 7 // boolean isAlphaPremultiplied
22: .line 137
iload 6 /* hasAlpha */
ifeq 24
23: .line 138
iconst_3
goto 25
StackMap locals: int int
StackMap stack:
24: iconst_1
25: .line 137
StackMap locals:
StackMap stack: int
istore 8 /* transparency */
start local 8 // int transparency
26: .line 140
new java.awt.image.ComponentColorModel
dup
aload 5 /* colorSpace */
27: .line 141
aload 3 /* sampleSize */
28: .line 142
iload 6 /* hasAlpha */
29: .line 143
iload 7 /* isAlphaPremultiplied */
30: .line 144
iload 8 /* transparency */
31: .line 145
iload 1 /* dataType */
32: .line 140
invokespecial java.awt.image.ComponentColorModel.<init>:(Ljava/awt/color/ColorSpace;[IZZII)V
astore 2 /* colorModel */
end local 8 // int transparency
end local 7 // boolean isAlphaPremultiplied
end local 6 // boolean hasAlpha
end local 5 // java.awt.color.ColorSpace colorSpace
end local 4 // int numBands
33: .line 146
goto 73
StackMap locals: java.awt.image.SampleModel int java.awt.image.ColorModel int[]
StackMap stack:
34: aload 0 /* sampleModel */
invokevirtual java.awt.image.SampleModel.getNumBands:()I
iconst_4
if_icmpgt 61
35: .line 147
aload 0 /* sampleModel */
instanceof java.awt.image.SinglePixelPackedSampleModel
ifeq 61
36: .line 149
aload 0 /* sampleModel */
checkcast java.awt.image.SinglePixelPackedSampleModel
37: .line 148
astore 4 /* sppsm */
start local 4 // java.awt.image.SinglePixelPackedSampleModel sppsm
38: .line 151
aload 4 /* sppsm */
invokevirtual java.awt.image.SinglePixelPackedSampleModel.getBitMasks:()[I
astore 5 /* bitMasks */
start local 5 // int[] bitMasks
39: .line 152
iconst_0
istore 6 /* rmask */
start local 6 // int rmask
40: .line 153
iconst_0
istore 7 /* gmask */
start local 7 // int gmask
41: .line 154
iconst_0
istore 8 /* bmask */
start local 8 // int bmask
42: .line 155
iconst_0
istore 9 /* amask */
start local 9 // int amask
43: .line 157
aload 5 /* bitMasks */
arraylength
istore 10 /* numBands */
start local 10 // int numBands
44: .line 158
iload 10 /* numBands */
iconst_2
if_icmpgt 49
45: .line 159
aload 5 /* bitMasks */
iconst_0
iaload
dup
istore 8 /* bmask */
dup
istore 7 /* gmask */
istore 6 /* rmask */
46: .line 160
iload 10 /* numBands */
iconst_2
if_icmpne 54
47: .line 161
aload 5 /* bitMasks */
iconst_1
iaload
istore 9 /* amask */
48: .line 163
goto 54
49: .line 164
StackMap locals: java.awt.image.SampleModel int java.awt.image.ColorModel int[] java.awt.image.SinglePixelPackedSampleModel int[] int int int int int
StackMap stack:
aload 5 /* bitMasks */
iconst_0
iaload
istore 6 /* rmask */
50: .line 165
aload 5 /* bitMasks */
iconst_1
iaload
istore 7 /* gmask */
51: .line 166
aload 5 /* bitMasks */
iconst_2
iaload
istore 8 /* bmask */
52: .line 167
iload 10 /* numBands */
iconst_4
if_icmpne 54
53: .line 168
aload 5 /* bitMasks */
iconst_3
iaload
istore 9 /* amask */
54: .line 172
StackMap locals:
StackMap stack:
iconst_0
istore 11 /* bits */
start local 11 // int bits
55: .line 173
iconst_0
istore 12 /* i */
start local 12 // int i
56: goto 59
57: .line 174
StackMap locals: int int
StackMap stack:
iload 11 /* bits */
aload 3 /* sampleSize */
iload 12 /* i */
iaload
iadd
istore 11 /* bits */
58: .line 173
iinc 12 /* i */ 1
StackMap locals:
StackMap stack:
59: iload 12 /* i */
aload 3 /* sampleSize */
arraylength
if_icmplt 57
end local 12 // int i
60: .line 177
new java.awt.image.DirectColorModel
dup
iload 11 /* bits */
iload 6 /* rmask */
iload 7 /* gmask */
iload 8 /* bmask */
iload 9 /* amask */
invokespecial java.awt.image.DirectColorModel.<init>:(IIIII)V
areturn
end local 11 // int bits
end local 10 // int numBands
end local 9 // int amask
end local 8 // int bmask
end local 7 // int gmask
end local 6 // int rmask
end local 5 // int[] bitMasks
end local 4 // java.awt.image.SinglePixelPackedSampleModel sppsm
61: .line 179
StackMap locals: java.awt.image.SampleModel int java.awt.image.ColorModel int[]
StackMap stack:
aload 0 /* sampleModel */
instanceof java.awt.image.MultiPixelPackedSampleModel
ifeq 73
62: .line 181
aload 3 /* sampleSize */
iconst_0
iaload
istore 4 /* bitsPerSample */
start local 4 // int bitsPerSample
63: .line 182
iconst_1
iload 4 /* bitsPerSample */
ishl
istore 5 /* numEntries */
start local 5 // int numEntries
64: .line 183
iload 5 /* numEntries */
newarray 8
astore 6 /* map */
start local 6 // byte[] map
65: .line 184
iconst_0
istore 7 /* i */
start local 7 // int i
66: goto 69
67: .line 185
StackMap locals: java.awt.image.SampleModel int java.awt.image.ColorModel int[] int int byte[] int
StackMap stack:
aload 6 /* map */
iload 7 /* i */
iload 7 /* i */
sipush 255
imul
iload 5 /* numEntries */
iconst_1
isub
idiv
i2b
bastore
68: .line 184
iinc 7 /* i */ 1
StackMap locals:
StackMap stack:
69: iload 7 /* i */
iload 5 /* numEntries */
if_icmplt 67
end local 7 // int i
70: .line 188
new java.awt.image.IndexColorModel
dup
iload 4 /* bitsPerSample */
iload 5 /* numEntries */
71: .line 189
aload 6 /* map */
aload 6 /* map */
aload 6 /* map */
72: .line 188
invokespecial java.awt.image.IndexColorModel.<init>:(II[B[B[B)V
astore 2 /* colorModel */
end local 6 // byte[] map
end local 5 // int numEntries
end local 4 // int bitsPerSample
73: .line 193
StackMap locals: java.awt.image.SampleModel int java.awt.image.ColorModel int[]
StackMap stack:
aload 2 /* colorModel */
areturn
end local 3 // int[] sampleSize
end local 2 // java.awt.image.ColorModel colorModel
end local 1 // int dataType
end local 0 // java.awt.image.SampleModel sampleModel
LocalVariableTable:
Start End Slot Name Signature
0 74 0 sampleModel Ljava/awt/image/SampleModel;
3 74 1 dataType I
7 74 2 colorModel Ljava/awt/image/ColorModel;
8 74 3 sampleSize [I
10 33 4 numBands I
11 33 5 colorSpace Ljava/awt/color/ColorSpace;
21 33 6 hasAlpha Z
22 33 7 isAlphaPremultiplied Z
26 33 8 transparency I
38 61 4 sppsm Ljava/awt/image/SinglePixelPackedSampleModel;
39 61 5 bitMasks [I
40 61 6 rmask I
41 61 7 gmask I
42 61 8 bmask I
43 61 9 amask I
44 61 10 numBands I
55 61 11 bits I
56 60 12 i I
63 73 4 bitsPerSample I
64 73 5 numEntries I
65 73 6 map [B
66 70 7 i I
MethodParameters:
Name Flags
sampleModel
public static byte[] getPackedBinaryData(java.awt.image.Raster, java.awt.Rectangle);
descriptor: (Ljava/awt/image/Raster;Ljava/awt/Rectangle;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=26, args_size=2
start local 0 // java.awt.image.Raster raster
start local 1 // java.awt.Rectangle rect
0: .line 213
aload 0 /* raster */
invokevirtual java.awt.image.Raster.getSampleModel:()Ljava/awt/image/SampleModel;
astore 2 /* sm */
start local 2 // java.awt.image.SampleModel sm
1: .line 214
aload 2 /* sm */
invokestatic com.sun.imageio.plugins.common.ImageUtil.isBinary:(Ljava/awt/image/SampleModel;)Z
ifne 3
2: .line 215
new java.lang.IllegalArgumentException
dup
ldc "ImageUtil0"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: .line 218
StackMap locals: java.awt.image.SampleModel
StackMap stack:
aload 1 /* rect */
getfield java.awt.Rectangle.x:I
istore 3 /* rectX */
start local 3 // int rectX
4: .line 219
aload 1 /* rect */
getfield java.awt.Rectangle.y:I
istore 4 /* rectY */
start local 4 // int rectY
5: .line 220
aload 1 /* rect */
getfield java.awt.Rectangle.width:I
istore 5 /* rectWidth */
start local 5 // int rectWidth
6: .line 221
aload 1 /* rect */
getfield java.awt.Rectangle.height:I
istore 6 /* rectHeight */
start local 6 // int rectHeight
7: .line 223
aload 0 /* raster */
invokevirtual java.awt.image.Raster.getDataBuffer:()Ljava/awt/image/DataBuffer;
astore 7 /* dataBuffer */
start local 7 // java.awt.image.DataBuffer dataBuffer
8: .line 225
iload 3 /* rectX */
aload 0 /* raster */
invokevirtual java.awt.image.Raster.getSampleModelTranslateX:()I
isub
istore 8 /* dx */
start local 8 // int dx
9: .line 226
iload 4 /* rectY */
aload 0 /* raster */
invokevirtual java.awt.image.Raster.getSampleModelTranslateY:()I
isub
istore 9 /* dy */
start local 9 // int dy
10: .line 228
aload 2 /* sm */
checkcast java.awt.image.MultiPixelPackedSampleModel
astore 10 /* mpp */
start local 10 // java.awt.image.MultiPixelPackedSampleModel mpp
11: .line 229
aload 10 /* mpp */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getScanlineStride:()I
istore 11 /* lineStride */
start local 11 // int lineStride
12: .line 230
aload 7 /* dataBuffer */
invokevirtual java.awt.image.DataBuffer.getOffset:()I
aload 10 /* mpp */
iload 8 /* dx */
iload 9 /* dy */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getOffset:(II)I
iadd
istore 12 /* eltOffset */
start local 12 // int eltOffset
13: .line 231
aload 10 /* mpp */
iload 8 /* dx */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getBitOffset:(I)I
istore 13 /* bitOffset */
start local 13 // int bitOffset
14: .line 233
iload 5 /* rectWidth */
bipush 7
iadd
bipush 8
idiv
istore 14 /* numBytesPerRow */
start local 14 // int numBytesPerRow
15: .line 234
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferByte
ifeq 22
16: .line 235
iload 12 /* eltOffset */
ifne 22
iload 13 /* bitOffset */
ifne 22
17: .line 236
iload 14 /* numBytesPerRow */
iload 11 /* lineStride */
if_icmpne 22
18: .line 237
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
arraylength
19: .line 238
iload 14 /* numBytesPerRow */
iload 6 /* rectHeight */
imul
20: .line 237
if_icmpne 22
21: .line 239
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
areturn
22: .line 242
StackMap locals: java.awt.image.Raster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int
StackMap stack:
iload 14 /* numBytesPerRow */
iload 6 /* rectHeight */
imul
newarray 8
astore 15 /* binaryDataArray */
start local 15 // byte[] binaryDataArray
23: .line 244
iconst_0
istore 16 /* b */
start local 16 // int b
24: .line 246
iload 13 /* bitOffset */
ifne 88
25: .line 247
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferByte
ifeq 40
26: .line 248
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
astore 17 /* data */
start local 17 // byte[] data
27: .line 249
iload 14 /* numBytesPerRow */
istore 18 /* stride */
start local 18 // int stride
28: .line 250
iconst_0
istore 19 /* offset */
start local 19 // int offset
29: .line 251
iconst_0
istore 20 /* y */
start local 20 // int y
30: goto 38
31: .line 252
StackMap locals: java.awt.image.Raster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int byte[] int byte[] int int int
StackMap stack:
aload 17 /* data */
iload 12 /* eltOffset */
32: .line 253
aload 15 /* binaryDataArray */
iload 19 /* offset */
33: .line 254
iload 18 /* stride */
34: .line 252
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
35: .line 255
iload 19 /* offset */
iload 18 /* stride */
iadd
istore 19 /* offset */
36: .line 256
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
37: .line 251
iinc 20 /* y */ 1
StackMap locals:
StackMap stack:
38: iload 20 /* y */
iload 6 /* rectHeight */
if_icmplt 31
end local 20 // int y
end local 19 // int offset
end local 18 // int stride
end local 17 // byte[] data
39: .line 258
goto 184
StackMap locals: java.awt.image.Raster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int byte[] int
StackMap stack:
40: aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifne 42
41: .line 259
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferUShort
ifeq 62
42: .line 260
StackMap locals:
StackMap stack:
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifeq 44
43: .line 261
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferShort
invokevirtual java.awt.image.DataBufferShort.getData:()[S
goto 45
44: .line 262
StackMap locals:
StackMap stack:
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferUShort
invokevirtual java.awt.image.DataBufferUShort.getData:()[S
45: .line 260
StackMap locals:
StackMap stack: short[]
astore 17 /* data */
start local 17 // short[] data
46: .line 264
iconst_0
istore 18 /* y */
start local 18 // int y
47: goto 60
48: .line 265
StackMap locals: short[] int
StackMap stack:
iload 5 /* rectWidth */
istore 19 /* xRemaining */
start local 19 // int xRemaining
49: .line 266
iload 12 /* eltOffset */
istore 20 /* i */
start local 20 // int i
50: .line 267
goto 55
51: .line 268
StackMap locals: int int
StackMap stack:
aload 17 /* data */
iload 20 /* i */
iinc 20 /* i */ 1
saload
istore 21 /* datum */
start local 21 // short datum
52: .line 269
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
iload 21 /* datum */
bipush 8
iushr
sipush 255
iand
i2b
bastore
53: .line 270
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
iload 21 /* datum */
sipush 255
iand
i2b
bastore
54: .line 271
iinc 19 /* xRemaining */ -16
end local 21 // short datum
55: .line 267
StackMap locals:
StackMap stack:
iload 19 /* xRemaining */
bipush 8
if_icmpgt 51
56: .line 273
iload 19 /* xRemaining */
ifle 58
57: .line 274
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
aload 17 /* data */
iload 20 /* i */
saload
bipush 8
iushr
sipush 255
iand
i2b
bastore
58: .line 276
StackMap locals:
StackMap stack:
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
end local 20 // int i
end local 19 // int xRemaining
59: .line 264
iinc 18 /* y */ 1
StackMap locals:
StackMap stack:
60: iload 18 /* y */
iload 6 /* rectHeight */
if_icmplt 48
end local 18 // int y
end local 17 // short[] data
61: .line 278
goto 184
StackMap locals:
StackMap stack:
62: aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferInt
ifeq 184
63: .line 279
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferInt
invokevirtual java.awt.image.DataBufferInt.getData:()[I
astore 17 /* data */
start local 17 // int[] data
64: .line 281
iconst_0
istore 18 /* y */
start local 18 // int y
65: goto 86
66: .line 282
StackMap locals: int[] int
StackMap stack:
iload 5 /* rectWidth */
istore 19 /* xRemaining */
start local 19 // int xRemaining
67: .line 283
iload 12 /* eltOffset */
istore 20 /* i */
start local 20 // int i
68: .line 284
goto 75
69: .line 285
StackMap locals: int int
StackMap stack:
aload 17 /* data */
iload 20 /* i */
iinc 20 /* i */ 1
iaload
istore 21 /* datum */
start local 21 // int datum
70: .line 286
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
iload 21 /* datum */
bipush 24
iushr
sipush 255
iand
i2b
bastore
71: .line 287
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
iload 21 /* datum */
bipush 16
iushr
sipush 255
iand
i2b
bastore
72: .line 288
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
iload 21 /* datum */
bipush 8
iushr
sipush 255
iand
i2b
bastore
73: .line 289
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
iload 21 /* datum */
sipush 255
iand
i2b
bastore
74: .line 290
iinc 19 /* xRemaining */ -32
end local 21 // int datum
75: .line 284
StackMap locals:
StackMap stack:
iload 19 /* xRemaining */
bipush 24
if_icmpgt 69
76: .line 292
bipush 24
istore 21 /* shift */
start local 21 // int shift
77: .line 293
goto 83
78: .line 294
StackMap locals: int
StackMap stack:
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
79: .line 295
aload 17 /* data */
iload 20 /* i */
iaload
iload 21 /* shift */
iushr
sipush 255
iand
i2b
80: .line 294
bastore
81: .line 296
iinc 21 /* shift */ -8
82: .line 297
iinc 19 /* xRemaining */ -8
83: .line 293
StackMap locals:
StackMap stack:
iload 19 /* xRemaining */
ifgt 78
84: .line 299
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
end local 21 // int shift
end local 20 // int i
end local 19 // int xRemaining
85: .line 281
iinc 18 /* y */ 1
StackMap locals:
StackMap stack:
86: iload 18 /* y */
iload 6 /* rectHeight */
if_icmplt 66
end local 18 // int y
end local 17 // int[] data
87: .line 302
goto 184
88: .line 303
StackMap locals:
StackMap stack:
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferByte
ifeq 127
89: .line 304
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
astore 17 /* data */
start local 17 // byte[] data
90: .line 306
iload 13 /* bitOffset */
bipush 7
iand
ifne 104
91: .line 307
iload 14 /* numBytesPerRow */
istore 18 /* stride */
start local 18 // int stride
92: .line 308
iconst_0
istore 19 /* offset */
start local 19 // int offset
93: .line 309
iconst_0
istore 20 /* y */
start local 20 // int y
94: goto 102
95: .line 310
StackMap locals: java.awt.image.Raster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int byte[] int byte[] int int int
StackMap stack:
aload 17 /* data */
iload 12 /* eltOffset */
96: .line 311
aload 15 /* binaryDataArray */
iload 19 /* offset */
97: .line 312
iload 18 /* stride */
98: .line 310
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
99: .line 313
iload 19 /* offset */
iload 18 /* stride */
iadd
istore 19 /* offset */
100: .line 314
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
101: .line 309
iinc 20 /* y */ 1
StackMap locals:
StackMap stack:
102: iload 20 /* y */
iload 6 /* rectHeight */
if_icmplt 95
end local 20 // int y
end local 19 // int offset
end local 18 // int stride
103: .line 316
goto 184
104: .line 317
StackMap locals:
StackMap stack:
iload 13 /* bitOffset */
bipush 7
iand
istore 18 /* leftShift */
start local 18 // int leftShift
105: .line 318
bipush 8
iload 18 /* leftShift */
isub
istore 19 /* rightShift */
start local 19 // int rightShift
106: .line 319
iconst_0
istore 20 /* y */
start local 20 // int y
107: goto 125
108: .line 320
StackMap locals: int int int
StackMap stack:
iload 12 /* eltOffset */
istore 21 /* i */
start local 21 // int i
109: .line 321
iload 5 /* rectWidth */
istore 22 /* xRemaining */
start local 22 // int xRemaining
110: .line 322
goto 122
111: .line 323
StackMap locals: int int
StackMap stack:
iload 22 /* xRemaining */
iload 19 /* rightShift */
if_icmple 118
112: .line 324
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
113: .line 325
aload 17 /* data */
iload 21 /* i */
iinc 21 /* i */ 1
baload
sipush 255
iand
iload 18 /* leftShift */
ishl
114: .line 326
aload 17 /* data */
iload 21 /* i */
baload
sipush 255
iand
iload 19 /* rightShift */
iushr
115: .line 325
ior
i2b
116: .line 324
bastore
117: .line 327
goto 121
118: .line 328
StackMap locals:
StackMap stack:
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
119: .line 329
aload 17 /* data */
iload 21 /* i */
baload
sipush 255
iand
iload 18 /* leftShift */
ishl
i2b
120: .line 328
bastore
121: .line 331
StackMap locals:
StackMap stack:
iinc 22 /* xRemaining */ -8
122: .line 322
StackMap locals:
StackMap stack:
iload 22 /* xRemaining */
ifgt 111
123: .line 333
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
end local 22 // int xRemaining
end local 21 // int i
124: .line 319
iinc 20 /* y */ 1
StackMap locals:
StackMap stack:
125: iload 20 /* y */
iload 6 /* rectHeight */
if_icmplt 108
end local 20 // int y
end local 19 // int rightShift
end local 18 // int leftShift
end local 17 // byte[] data
126: .line 336
goto 184
StackMap locals: java.awt.image.Raster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int byte[] int
StackMap stack:
127: aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifne 129
128: .line 337
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferUShort
ifeq 157
129: .line 338
StackMap locals:
StackMap stack:
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifeq 131
130: .line 339
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferShort
invokevirtual java.awt.image.DataBufferShort.getData:()[S
goto 132
131: .line 340
StackMap locals:
StackMap stack:
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferUShort
invokevirtual java.awt.image.DataBufferUShort.getData:()[S
132: .line 338
StackMap locals:
StackMap stack: short[]
astore 17 /* data */
start local 17 // short[] data
133: .line 342
iconst_0
istore 18 /* y */
start local 18 // int y
134: goto 155
135: .line 343
StackMap locals: short[] int
StackMap stack:
iload 13 /* bitOffset */
istore 19 /* bOffset */
start local 19 // int bOffset
136: .line 344
iconst_0
istore 20 /* x */
start local 20 // int x
137: goto 152
138: .line 345
StackMap locals: int int
StackMap stack:
iload 12 /* eltOffset */
iload 19 /* bOffset */
bipush 16
idiv
iadd
istore 21 /* i */
start local 21 // int i
139: .line 346
iload 19 /* bOffset */
bipush 16
irem
istore 22 /* mod */
start local 22 // int mod
140: .line 347
aload 17 /* data */
iload 21 /* i */
saload
ldc 65535
iand
istore 23 /* left */
start local 23 // int left
141: .line 348
iload 22 /* mod */
bipush 8
if_icmpgt 144
142: .line 349
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
iload 23 /* left */
bipush 8
iload 22 /* mod */
isub
iushr
i2b
bastore
143: .line 350
goto 151
144: .line 351
StackMap locals: int int int
StackMap stack:
iload 22 /* mod */
bipush 8
isub
istore 24 /* delta */
start local 24 // int delta
145: .line 352
aload 17 /* data */
iload 21 /* i */
iconst_1
iadd
saload
ldc 65535
iand
istore 25 /* right */
start local 25 // int right
146: .line 353
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
147: .line 354
iload 23 /* left */
iload 24 /* delta */
ishl
148: .line 355
iload 25 /* right */
bipush 16
iload 24 /* delta */
isub
iushr
149: .line 354
ior
i2b
150: .line 353
bastore
end local 25 // int right
end local 24 // int delta
end local 23 // int left
end local 22 // int mod
end local 21 // int i
151: .line 344
StackMap locals:
StackMap stack:
iinc 20 /* x */ 8
iinc 19 /* bOffset */ 8
StackMap locals:
StackMap stack:
152: iload 20 /* x */
iload 5 /* rectWidth */
if_icmplt 138
end local 20 // int x
153: .line 358
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
end local 19 // int bOffset
154: .line 342
iinc 18 /* y */ 1
StackMap locals:
StackMap stack:
155: iload 18 /* y */
iload 6 /* rectHeight */
if_icmplt 135
end local 18 // int y
end local 17 // short[] data
156: .line 360
goto 184
StackMap locals:
StackMap stack:
157: aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferInt
ifeq 184
158: .line 361
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferInt
invokevirtual java.awt.image.DataBufferInt.getData:()[I
astore 17 /* data */
start local 17 // int[] data
159: .line 363
iconst_0
istore 18 /* y */
start local 18 // int y
160: goto 183
161: .line 364
StackMap locals: int[] int
StackMap stack:
iload 13 /* bitOffset */
istore 19 /* bOffset */
start local 19 // int bOffset
162: .line 365
iconst_0
istore 20 /* x */
start local 20 // int x
163: goto 180
164: .line 366
StackMap locals: int int
StackMap stack:
iload 12 /* eltOffset */
iload 19 /* bOffset */
bipush 32
idiv
iadd
istore 21 /* i */
start local 21 // int i
165: .line 367
iload 19 /* bOffset */
bipush 32
irem
istore 22 /* mod */
start local 22 // int mod
166: .line 368
aload 17 /* data */
iload 21 /* i */
iaload
istore 23 /* left */
start local 23 // int left
167: .line 369
iload 22 /* mod */
bipush 24
if_icmpgt 172
168: .line 370
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
169: .line 371
iload 23 /* left */
bipush 24
iload 22 /* mod */
isub
iushr
i2b
170: .line 370
bastore
171: .line 372
goto 179
172: .line 373
StackMap locals: int int int
StackMap stack:
iload 22 /* mod */
bipush 24
isub
istore 24 /* delta */
start local 24 // int delta
173: .line 374
aload 17 /* data */
iload 21 /* i */
iconst_1
iadd
iaload
istore 25 /* right */
start local 25 // int right
174: .line 375
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
175: .line 376
iload 23 /* left */
iload 24 /* delta */
ishl
176: .line 377
iload 25 /* right */
bipush 32
iload 24 /* delta */
isub
iushr
177: .line 376
ior
i2b
178: .line 375
bastore
end local 25 // int right
end local 24 // int delta
end local 23 // int left
end local 22 // int mod
end local 21 // int i
179: .line 365
StackMap locals:
StackMap stack:
iinc 20 /* x */ 8
iinc 19 /* bOffset */ 8
StackMap locals:
StackMap stack:
180: iload 20 /* x */
iload 5 /* rectWidth */
if_icmplt 164
end local 20 // int x
181: .line 380
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
end local 19 // int bOffset
182: .line 363
iinc 18 /* y */ 1
StackMap locals:
StackMap stack:
183: iload 18 /* y */
iload 6 /* rectHeight */
if_icmplt 161
end local 18 // int y
end local 17 // int[] data
184: .line 385
StackMap locals:
StackMap stack:
aload 15 /* binaryDataArray */
areturn
end local 16 // int b
end local 15 // byte[] binaryDataArray
end local 14 // int numBytesPerRow
end local 13 // int bitOffset
end local 12 // int eltOffset
end local 11 // int lineStride
end local 10 // java.awt.image.MultiPixelPackedSampleModel mpp
end local 9 // int dy
end local 8 // int dx
end local 7 // java.awt.image.DataBuffer dataBuffer
end local 6 // int rectHeight
end local 5 // int rectWidth
end local 4 // int rectY
end local 3 // int rectX
end local 2 // java.awt.image.SampleModel sm
end local 1 // java.awt.Rectangle rect
end local 0 // java.awt.image.Raster raster
LocalVariableTable:
Start End Slot Name Signature
0 185 0 raster Ljava/awt/image/Raster;
0 185 1 rect Ljava/awt/Rectangle;
1 185 2 sm Ljava/awt/image/SampleModel;
4 185 3 rectX I
5 185 4 rectY I
6 185 5 rectWidth I
7 185 6 rectHeight I
8 185 7 dataBuffer Ljava/awt/image/DataBuffer;
9 185 8 dx I
10 185 9 dy I
11 185 10 mpp Ljava/awt/image/MultiPixelPackedSampleModel;
12 185 11 lineStride I
13 185 12 eltOffset I
14 185 13 bitOffset I
15 185 14 numBytesPerRow I
23 185 15 binaryDataArray [B
24 185 16 b I
27 39 17 data [B
28 39 18 stride I
29 39 19 offset I
30 39 20 y I
46 61 17 data [S
47 61 18 y I
49 59 19 xRemaining I
50 59 20 i I
52 55 21 datum S
64 87 17 data [I
65 87 18 y I
67 85 19 xRemaining I
68 85 20 i I
70 75 21 datum I
77 85 21 shift I
90 126 17 data [B
92 103 18 stride I
93 103 19 offset I
94 103 20 y I
105 126 18 leftShift I
106 126 19 rightShift I
107 126 20 y I
109 124 21 i I
110 124 22 xRemaining I
133 156 17 data [S
134 156 18 y I
136 154 19 bOffset I
137 153 20 x I
139 151 21 i I
140 151 22 mod I
141 151 23 left I
145 151 24 delta I
146 151 25 right I
159 184 17 data [I
160 184 18 y I
162 182 19 bOffset I
163 181 20 x I
165 179 21 i I
166 179 22 mod I
167 179 23 left I
173 179 24 delta I
174 179 25 right I
MethodParameters:
Name Flags
raster
rect
public static byte[] getUnpackedBinaryData(java.awt.image.Raster, java.awt.Rectangle);
descriptor: (Ljava/awt/image/Raster;Ljava/awt/Rectangle;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=23, args_size=2
start local 0 // java.awt.image.Raster raster
start local 1 // java.awt.Rectangle rect
0: .line 398
aload 0 /* raster */
invokevirtual java.awt.image.Raster.getSampleModel:()Ljava/awt/image/SampleModel;
astore 2 /* sm */
start local 2 // java.awt.image.SampleModel sm
1: .line 399
aload 2 /* sm */
invokestatic com.sun.imageio.plugins.common.ImageUtil.isBinary:(Ljava/awt/image/SampleModel;)Z
ifne 3
2: .line 400
new java.lang.IllegalArgumentException
dup
ldc "ImageUtil0"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: .line 403
StackMap locals: java.awt.image.SampleModel
StackMap stack:
aload 1 /* rect */
getfield java.awt.Rectangle.x:I
istore 3 /* rectX */
start local 3 // int rectX
4: .line 404
aload 1 /* rect */
getfield java.awt.Rectangle.y:I
istore 4 /* rectY */
start local 4 // int rectY
5: .line 405
aload 1 /* rect */
getfield java.awt.Rectangle.width:I
istore 5 /* rectWidth */
start local 5 // int rectWidth
6: .line 406
aload 1 /* rect */
getfield java.awt.Rectangle.height:I
istore 6 /* rectHeight */
start local 6 // int rectHeight
7: .line 408
aload 0 /* raster */
invokevirtual java.awt.image.Raster.getDataBuffer:()Ljava/awt/image/DataBuffer;
astore 7 /* dataBuffer */
start local 7 // java.awt.image.DataBuffer dataBuffer
8: .line 410
iload 3 /* rectX */
aload 0 /* raster */
invokevirtual java.awt.image.Raster.getSampleModelTranslateX:()I
isub
istore 8 /* dx */
start local 8 // int dx
9: .line 411
iload 4 /* rectY */
aload 0 /* raster */
invokevirtual java.awt.image.Raster.getSampleModelTranslateY:()I
isub
istore 9 /* dy */
start local 9 // int dy
10: .line 413
aload 2 /* sm */
checkcast java.awt.image.MultiPixelPackedSampleModel
astore 10 /* mpp */
start local 10 // java.awt.image.MultiPixelPackedSampleModel mpp
11: .line 414
aload 10 /* mpp */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getScanlineStride:()I
istore 11 /* lineStride */
start local 11 // int lineStride
12: .line 415
aload 7 /* dataBuffer */
invokevirtual java.awt.image.DataBuffer.getOffset:()I
aload 10 /* mpp */
iload 8 /* dx */
iload 9 /* dy */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getOffset:(II)I
iadd
istore 12 /* eltOffset */
start local 12 // int eltOffset
13: .line 416
aload 10 /* mpp */
iload 8 /* dx */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getBitOffset:(I)I
istore 13 /* bitOffset */
start local 13 // int bitOffset
14: .line 418
iload 5 /* rectWidth */
iload 6 /* rectHeight */
imul
newarray 8
astore 14 /* bdata */
start local 14 // byte[] bdata
15: .line 419
iload 4 /* rectY */
iload 6 /* rectHeight */
iadd
istore 15 /* maxY */
start local 15 // int maxY
16: .line 420
iload 3 /* rectX */
iload 5 /* rectWidth */
iadd
istore 16 /* maxX */
start local 16 // int maxX
17: .line 421
iconst_0
istore 17 /* k */
start local 17 // int k
18: .line 423
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferByte
ifeq 36
19: .line 424
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
astore 18 /* data */
start local 18 // byte[] data
20: .line 425
iload 4 /* rectY */
istore 19 /* y */
start local 19 // int y
21: goto 34
22: .line 426
StackMap locals: java.awt.image.Raster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int byte[] int int int byte[] int
StackMap stack:
iload 12 /* eltOffset */
bipush 8
imul
iload 13 /* bitOffset */
iadd
istore 20 /* bOffset */
start local 20 // int bOffset
23: .line 427
iload 3 /* rectX */
istore 21 /* x */
start local 21 // int x
24: goto 31
25: .line 428
StackMap locals: int int
StackMap stack:
aload 18 /* data */
iload 20 /* bOffset */
bipush 8
idiv
baload
istore 22 /* b */
start local 22 // byte b
26: .line 429
aload 14 /* bdata */
iload 17 /* k */
iinc 17 /* k */ 1
27: .line 430
iload 22 /* b */
bipush 7
iload 20 /* bOffset */
isub
bipush 7
iand
iushr
iconst_1
iand
i2b
28: .line 429
bastore
29: .line 431
iinc 20 /* bOffset */ 1
end local 22 // byte b
30: .line 427
iinc 21 /* x */ 1
StackMap locals:
StackMap stack:
31: iload 21 /* x */
iload 16 /* maxX */
if_icmplt 25
end local 21 // int x
32: .line 433
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
end local 20 // int bOffset
33: .line 425
iinc 19 /* y */ 1
StackMap locals:
StackMap stack:
34: iload 19 /* y */
iload 15 /* maxY */
if_icmplt 22
end local 19 // int y
end local 18 // byte[] data
35: .line 435
goto 79
StackMap locals:
StackMap stack:
36: aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifne 38
37: .line 436
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferUShort
ifeq 60
38: .line 437
StackMap locals:
StackMap stack:
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifeq 40
39: .line 438
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferShort
invokevirtual java.awt.image.DataBufferShort.getData:()[S
goto 41
40: .line 439
StackMap locals:
StackMap stack:
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferUShort
invokevirtual java.awt.image.DataBufferUShort.getData:()[S
41: .line 437
StackMap locals:
StackMap stack: short[]
astore 18 /* data */
start local 18 // short[] data
42: .line 440
iload 4 /* rectY */
istore 19 /* y */
start local 19 // int y
43: goto 58
44: .line 441
StackMap locals: short[] int
StackMap stack:
iload 12 /* eltOffset */
bipush 16
imul
iload 13 /* bitOffset */
iadd
istore 20 /* bOffset */
start local 20 // int bOffset
45: .line 442
iload 3 /* rectX */
istore 21 /* x */
start local 21 // int x
46: goto 55
47: .line 443
StackMap locals: int int
StackMap stack:
aload 18 /* data */
iload 20 /* bOffset */
bipush 16
idiv
saload
istore 22 /* s */
start local 22 // short s
48: .line 444
aload 14 /* bdata */
iload 17 /* k */
iinc 17 /* k */ 1
49: .line 445
iload 22 /* s */
bipush 15
iload 20 /* bOffset */
bipush 16
irem
isub
iushr
50: .line 446
iconst_1
51: .line 445
iand
i2b
52: .line 444
bastore
53: .line 447
iinc 20 /* bOffset */ 1
end local 22 // short s
54: .line 442
iinc 21 /* x */ 1
StackMap locals:
StackMap stack:
55: iload 21 /* x */
iload 16 /* maxX */
if_icmplt 47
end local 21 // int x
56: .line 449
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
end local 20 // int bOffset
57: .line 440
iinc 19 /* y */ 1
StackMap locals:
StackMap stack:
58: iload 19 /* y */
iload 15 /* maxY */
if_icmplt 44
end local 19 // int y
end local 18 // short[] data
59: .line 451
goto 79
StackMap locals:
StackMap stack:
60: aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferInt
ifeq 79
61: .line 452
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferInt
invokevirtual java.awt.image.DataBufferInt.getData:()[I
astore 18 /* data */
start local 18 // int[] data
62: .line 453
iload 4 /* rectY */
istore 19 /* y */
start local 19 // int y
63: goto 78
64: .line 454
StackMap locals: int[] int
StackMap stack:
iload 12 /* eltOffset */
bipush 32
imul
iload 13 /* bitOffset */
iadd
istore 20 /* bOffset */
start local 20 // int bOffset
65: .line 455
iload 3 /* rectX */
istore 21 /* x */
start local 21 // int x
66: goto 75
67: .line 456
StackMap locals: int int
StackMap stack:
aload 18 /* data */
iload 20 /* bOffset */
bipush 32
idiv
iaload
istore 22 /* i */
start local 22 // int i
68: .line 457
aload 14 /* bdata */
iload 17 /* k */
iinc 17 /* k */ 1
69: .line 458
iload 22 /* i */
bipush 31
iload 20 /* bOffset */
bipush 32
irem
isub
iushr
70: .line 459
iconst_1
71: .line 458
iand
i2b
72: .line 457
bastore
73: .line 460
iinc 20 /* bOffset */ 1
end local 22 // int i
74: .line 455
iinc 21 /* x */ 1
StackMap locals:
StackMap stack:
75: iload 21 /* x */
iload 16 /* maxX */
if_icmplt 67
end local 21 // int x
76: .line 462
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
end local 20 // int bOffset
77: .line 453
iinc 19 /* y */ 1
StackMap locals:
StackMap stack:
78: iload 19 /* y */
iload 15 /* maxY */
if_icmplt 64
end local 19 // int y
end local 18 // int[] data
79: .line 466
StackMap locals:
StackMap stack:
aload 14 /* bdata */
areturn
end local 17 // int k
end local 16 // int maxX
end local 15 // int maxY
end local 14 // byte[] bdata
end local 13 // int bitOffset
end local 12 // int eltOffset
end local 11 // int lineStride
end local 10 // java.awt.image.MultiPixelPackedSampleModel mpp
end local 9 // int dy
end local 8 // int dx
end local 7 // java.awt.image.DataBuffer dataBuffer
end local 6 // int rectHeight
end local 5 // int rectWidth
end local 4 // int rectY
end local 3 // int rectX
end local 2 // java.awt.image.SampleModel sm
end local 1 // java.awt.Rectangle rect
end local 0 // java.awt.image.Raster raster
LocalVariableTable:
Start End Slot Name Signature
0 80 0 raster Ljava/awt/image/Raster;
0 80 1 rect Ljava/awt/Rectangle;
1 80 2 sm Ljava/awt/image/SampleModel;
4 80 3 rectX I
5 80 4 rectY I
6 80 5 rectWidth I
7 80 6 rectHeight I
8 80 7 dataBuffer Ljava/awt/image/DataBuffer;
9 80 8 dx I
10 80 9 dy I
11 80 10 mpp Ljava/awt/image/MultiPixelPackedSampleModel;
12 80 11 lineStride I
13 80 12 eltOffset I
14 80 13 bitOffset I
15 80 14 bdata [B
16 80 15 maxY I
17 80 16 maxX I
18 80 17 k I
20 35 18 data [B
21 35 19 y I
23 33 20 bOffset I
24 32 21 x I
26 30 22 b B
42 59 18 data [S
43 59 19 y I
45 57 20 bOffset I
46 56 21 x I
48 54 22 s S
62 79 18 data [I
63 79 19 y I
65 77 20 bOffset I
66 76 21 x I
68 74 22 i I
MethodParameters:
Name Flags
raster
rect
public static void setPackedBinaryData(byte[], java.awt.image.WritableRaster, java.awt.Rectangle);
descriptor: ([BLjava/awt/image/WritableRaster;Ljava/awt/Rectangle;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=33, args_size=3
start local 0 // byte[] binaryDataArray
start local 1 // java.awt.image.WritableRaster raster
start local 2 // java.awt.Rectangle rect
0: .line 481
aload 1 /* raster */
invokevirtual java.awt.image.WritableRaster.getSampleModel:()Ljava/awt/image/SampleModel;
astore 3 /* sm */
start local 3 // java.awt.image.SampleModel sm
1: .line 482
aload 3 /* sm */
invokestatic com.sun.imageio.plugins.common.ImageUtil.isBinary:(Ljava/awt/image/SampleModel;)Z
ifne 3
2: .line 483
new java.lang.IllegalArgumentException
dup
ldc "ImageUtil0"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: .line 486
StackMap locals: java.awt.image.SampleModel
StackMap stack:
aload 2 /* rect */
getfield java.awt.Rectangle.x:I
istore 4 /* rectX */
start local 4 // int rectX
4: .line 487
aload 2 /* rect */
getfield java.awt.Rectangle.y:I
istore 5 /* rectY */
start local 5 // int rectY
5: .line 488
aload 2 /* rect */
getfield java.awt.Rectangle.width:I
istore 6 /* rectWidth */
start local 6 // int rectWidth
6: .line 489
aload 2 /* rect */
getfield java.awt.Rectangle.height:I
istore 7 /* rectHeight */
start local 7 // int rectHeight
7: .line 491
aload 1 /* raster */
invokevirtual java.awt.image.WritableRaster.getDataBuffer:()Ljava/awt/image/DataBuffer;
astore 8 /* dataBuffer */
start local 8 // java.awt.image.DataBuffer dataBuffer
8: .line 493
iload 4 /* rectX */
aload 1 /* raster */
invokevirtual java.awt.image.WritableRaster.getSampleModelTranslateX:()I
isub
istore 9 /* dx */
start local 9 // int dx
9: .line 494
iload 5 /* rectY */
aload 1 /* raster */
invokevirtual java.awt.image.WritableRaster.getSampleModelTranslateY:()I
isub
istore 10 /* dy */
start local 10 // int dy
10: .line 496
aload 3 /* sm */
checkcast java.awt.image.MultiPixelPackedSampleModel
astore 11 /* mpp */
start local 11 // java.awt.image.MultiPixelPackedSampleModel mpp
11: .line 497
aload 11 /* mpp */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getScanlineStride:()I
istore 12 /* lineStride */
start local 12 // int lineStride
12: .line 498
aload 8 /* dataBuffer */
invokevirtual java.awt.image.DataBuffer.getOffset:()I
aload 11 /* mpp */
iload 9 /* dx */
iload 10 /* dy */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getOffset:(II)I
iadd
istore 13 /* eltOffset */
start local 13 // int eltOffset
13: .line 499
aload 11 /* mpp */
iload 9 /* dx */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getBitOffset:(I)I
istore 14 /* bitOffset */
start local 14 // int bitOffset
14: .line 501
iconst_0
istore 15 /* b */
start local 15 // int b
15: .line 503
iload 14 /* bitOffset */
ifne 87
16: .line 504
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferByte
ifeq 33
17: .line 505
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
astore 16 /* data */
start local 16 // byte[] data
18: .line 506
aload 16 /* data */
aload 0 /* binaryDataArray */
if_acmpne 20
19: .line 508
return
20: .line 510
StackMap locals: byte[] java.awt.image.WritableRaster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int byte[]
StackMap stack:
iload 6 /* rectWidth */
bipush 7
iadd
bipush 8
idiv
istore 17 /* stride */
start local 17 // int stride
21: .line 511
iconst_0
istore 18 /* offset */
start local 18 // int offset
22: .line 512
iconst_0
istore 19 /* y */
start local 19 // int y
23: goto 31
24: .line 513
StackMap locals: int int int
StackMap stack:
aload 0 /* binaryDataArray */
iload 18 /* offset */
25: .line 514
aload 16 /* data */
iload 13 /* eltOffset */
26: .line 515
iload 17 /* stride */
27: .line 513
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
28: .line 516
iload 18 /* offset */
iload 17 /* stride */
iadd
istore 18 /* offset */
29: .line 517
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
30: .line 512
iinc 19 /* y */ 1
StackMap locals:
StackMap stack:
31: iload 19 /* y */
iload 7 /* rectHeight */
if_icmplt 24
end local 19 // int y
end local 18 // int offset
end local 17 // int stride
end local 16 // byte[] data
32: .line 519
goto 230
StackMap locals: byte[] java.awt.image.WritableRaster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int
StackMap stack:
33: aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifne 35
34: .line 520
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferUShort
ifeq 59
35: .line 521
StackMap locals:
StackMap stack:
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifeq 37
36: .line 522
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferShort
invokevirtual java.awt.image.DataBufferShort.getData:()[S
goto 38
37: .line 523
StackMap locals:
StackMap stack:
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferUShort
invokevirtual java.awt.image.DataBufferUShort.getData:()[S
38: .line 521
StackMap locals:
StackMap stack: short[]
astore 16 /* data */
start local 16 // short[] data
39: .line 525
iconst_0
istore 17 /* y */
start local 17 // int y
40: goto 57
41: .line 526
StackMap locals: short[] int
StackMap stack:
iload 6 /* rectWidth */
istore 18 /* xRemaining */
start local 18 // int xRemaining
42: .line 527
iload 13 /* eltOffset */
istore 19 /* i */
start local 19 // int i
43: .line 528
goto 50
44: .line 529
StackMap locals: int int
StackMap stack:
aload 16 /* data */
iload 19 /* i */
iinc 19 /* i */ 1
45: .line 530
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
bipush 8
ishl
46: .line 531
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
47: .line 530
ior
i2s
48: .line 529
sastore
49: .line 532
iinc 18 /* xRemaining */ -16
50: .line 528
StackMap locals:
StackMap stack:
iload 18 /* xRemaining */
bipush 8
if_icmpgt 44
51: .line 534
iload 18 /* xRemaining */
ifle 55
52: .line 535
aload 16 /* data */
iload 19 /* i */
iinc 19 /* i */ 1
53: .line 536
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
bipush 8
ishl
i2s
54: .line 535
sastore
55: .line 538
StackMap locals:
StackMap stack:
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
end local 19 // int i
end local 18 // int xRemaining
56: .line 525
iinc 17 /* y */ 1
StackMap locals:
StackMap stack:
57: iload 17 /* y */
iload 7 /* rectHeight */
if_icmplt 41
end local 17 // int y
end local 16 // short[] data
58: .line 540
goto 230
StackMap locals:
StackMap stack:
59: aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferInt
ifeq 230
60: .line 541
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferInt
invokevirtual java.awt.image.DataBufferInt.getData:()[I
astore 16 /* data */
start local 16 // int[] data
61: .line 543
iconst_0
istore 17 /* y */
start local 17 // int y
62: goto 85
63: .line 544
StackMap locals: int[] int
StackMap stack:
iload 6 /* rectWidth */
istore 18 /* xRemaining */
start local 18 // int xRemaining
64: .line 545
iload 13 /* eltOffset */
istore 19 /* i */
start local 19 // int i
65: .line 546
goto 76
66: .line 547
StackMap locals: int int
StackMap stack:
aload 16 /* data */
iload 19 /* i */
iinc 19 /* i */ 1
67: .line 548
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
bipush 24
ishl
68: .line 549
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
bipush 16
ishl
69: .line 548
ior
70: .line 550
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
bipush 8
ishl
71: .line 548
ior
72: .line 551
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
73: .line 548
ior
74: .line 547
iastore
75: .line 552
iinc 18 /* xRemaining */ -32
76: .line 546
StackMap locals:
StackMap stack:
iload 18 /* xRemaining */
bipush 24
if_icmpgt 66
77: .line 554
bipush 24
istore 20 /* shift */
start local 20 // int shift
78: .line 555
goto 82
79: .line 556
StackMap locals: int
StackMap stack:
aload 16 /* data */
iload 19 /* i */
dup2
iaload
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
iload 20 /* shift */
ishl
ior
iastore
80: .line 557
iinc 20 /* shift */ -8
81: .line 558
iinc 18 /* xRemaining */ -8
82: .line 555
StackMap locals:
StackMap stack:
iload 18 /* xRemaining */
ifgt 79
83: .line 560
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
end local 20 // int shift
end local 19 // int i
end local 18 // int xRemaining
84: .line 543
iinc 17 /* y */ 1
StackMap locals:
StackMap stack:
85: iload 17 /* y */
iload 7 /* rectHeight */
if_icmplt 63
end local 17 // int y
end local 16 // int[] data
86: .line 563
goto 230
87: .line 564
StackMap locals:
StackMap stack:
iload 6 /* rectWidth */
bipush 7
iadd
bipush 8
idiv
istore 16 /* stride */
start local 16 // int stride
88: .line 565
iconst_0
istore 17 /* offset */
start local 17 // int offset
89: .line 566
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferByte
ifeq 141
90: .line 567
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
astore 18 /* data */
start local 18 // byte[] data
91: .line 569
iload 14 /* bitOffset */
bipush 7
iand
ifne 103
92: .line 570
iconst_0
istore 19 /* y */
start local 19 // int y
93: goto 101
94: .line 571
StackMap locals: byte[] java.awt.image.WritableRaster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int int int byte[] int
StackMap stack:
aload 0 /* binaryDataArray */
iload 17 /* offset */
95: .line 572
aload 18 /* data */
iload 13 /* eltOffset */
96: .line 573
iload 16 /* stride */
97: .line 571
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
98: .line 574
iload 17 /* offset */
iload 16 /* stride */
iadd
istore 17 /* offset */
99: .line 575
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
100: .line 570
iinc 19 /* y */ 1
StackMap locals:
StackMap stack:
101: iload 19 /* y */
iload 7 /* rectHeight */
if_icmplt 94
end local 19 // int y
102: .line 577
goto 230
103: .line 578
StackMap locals:
StackMap stack:
iload 14 /* bitOffset */
bipush 7
iand
istore 19 /* rightShift */
start local 19 // int rightShift
104: .line 579
bipush 8
iload 19 /* rightShift */
isub
istore 20 /* leftShift */
start local 20 // int leftShift
105: .line 580
bipush 8
iload 20 /* leftShift */
iadd
istore 21 /* leftShift8 */
start local 21 // int leftShift8
106: .line 581
sipush 255
iload 20 /* leftShift */
ishl
i2b
istore 22 /* mask */
start local 22 // int mask
107: .line 582
iload 22 /* mask */
iconst_m1
ixor
i2b
istore 23 /* mask1 */
start local 23 // int mask1
108: .line 584
iconst_0
istore 24 /* y */
start local 24 // int y
109: goto 139
110: .line 585
StackMap locals: byte[] java.awt.image.WritableRaster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int int int byte[] int int int int int int
StackMap stack:
iload 13 /* eltOffset */
istore 25 /* i */
start local 25 // int i
111: .line 586
iload 6 /* rectWidth */
istore 26 /* xRemaining */
start local 26 // int xRemaining
112: .line 587
goto 136
113: .line 588
StackMap locals: int int
StackMap stack:
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
istore 27 /* datum */
start local 27 // byte datum
114: .line 590
iload 26 /* xRemaining */
iload 21 /* leftShift8 */
if_icmple 120
115: .line 593
aload 18 /* data */
iload 25 /* i */
aload 18 /* data */
iload 25 /* i */
baload
iload 22 /* mask */
iand
116: .line 594
iload 27 /* datum */
sipush 255
iand
iload 19 /* rightShift */
iushr
ior
i2b
117: .line 593
bastore
118: .line 595
aload 18 /* data */
iinc 25 /* i */ 1
iload 25 /* i */
iload 27 /* datum */
sipush 255
iand
iload 20 /* leftShift */
ishl
i2b
bastore
119: .line 596
goto 135
StackMap locals: int
StackMap stack:
120: iload 26 /* xRemaining */
iload 20 /* leftShift */
if_icmple 129
121: .line 600
aload 18 /* data */
iload 25 /* i */
aload 18 /* data */
iload 25 /* i */
baload
iload 22 /* mask */
iand
122: .line 601
iload 27 /* datum */
sipush 255
iand
iload 19 /* rightShift */
iushr
ior
i2b
123: .line 600
bastore
124: .line 602
iinc 25 /* i */ 1
125: .line 603
aload 18 /* data */
iload 25 /* i */
126: .line 604
aload 18 /* data */
iload 25 /* i */
baload
iload 23 /* mask1 */
iand
iload 27 /* datum */
sipush 255
iand
iload 20 /* leftShift */
ishl
ior
i2b
127: .line 603
bastore
128: .line 605
goto 135
129: .line 608
StackMap locals:
StackMap stack:
iconst_1
iload 20 /* leftShift */
iload 26 /* xRemaining */
isub
ishl
iconst_1
isub
istore 28 /* remainMask */
start local 28 // int remainMask
130: .line 609
aload 18 /* data */
iload 25 /* i */
131: .line 610
aload 18 /* data */
iload 25 /* i */
baload
iload 22 /* mask */
iload 28 /* remainMask */
ior
iand
132: .line 611
iload 27 /* datum */
sipush 255
iand
iload 19 /* rightShift */
iushr
iload 28 /* remainMask */
iconst_m1
ixor
iand
133: .line 610
ior
i2b
134: .line 609
bastore
end local 28 // int remainMask
135: .line 613
StackMap locals:
StackMap stack:
iinc 26 /* xRemaining */ -8
end local 27 // byte datum
136: .line 587
StackMap locals:
StackMap stack:
iload 26 /* xRemaining */
ifgt 113
137: .line 615
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
end local 26 // int xRemaining
end local 25 // int i
138: .line 584
iinc 24 /* y */ 1
StackMap locals:
StackMap stack:
139: iload 24 /* y */
iload 7 /* rectHeight */
if_icmplt 110
end local 24 // int y
end local 23 // int mask1
end local 22 // int mask
end local 21 // int leftShift8
end local 20 // int leftShift
end local 19 // int rightShift
end local 18 // byte[] data
140: .line 618
goto 230
StackMap locals: byte[] java.awt.image.WritableRaster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int int int
StackMap stack:
141: aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifne 143
142: .line 619
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferUShort
ifeq 190
143: .line 620
StackMap locals:
StackMap stack:
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifeq 145
144: .line 621
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferShort
invokevirtual java.awt.image.DataBufferShort.getData:()[S
goto 146
145: .line 622
StackMap locals:
StackMap stack:
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferUShort
invokevirtual java.awt.image.DataBufferUShort.getData:()[S
146: .line 620
StackMap locals:
StackMap stack: short[]
astore 18 /* data */
start local 18 // short[] data
147: .line 624
iload 14 /* bitOffset */
bipush 7
iand
istore 19 /* rightShift */
start local 19 // int rightShift
148: .line 625
bipush 8
iload 19 /* rightShift */
isub
istore 20 /* leftShift */
start local 20 // int leftShift
149: .line 626
bipush 16
iload 20 /* leftShift */
iadd
istore 21 /* leftShift16 */
start local 21 // int leftShift16
150: .line 627
sipush 255
iload 20 /* leftShift */
ishl
iconst_m1
ixor
i2s
istore 22 /* mask */
start local 22 // int mask
151: .line 628
ldc 65535
iload 20 /* leftShift */
ishl
i2s
istore 23 /* mask1 */
start local 23 // int mask1
152: .line 629
iload 23 /* mask1 */
iconst_m1
ixor
i2s
istore 24 /* mask2 */
start local 24 // int mask2
153: .line 631
iconst_0
istore 25 /* y */
start local 25 // int y
154: goto 188
155: .line 632
StackMap locals: byte[] java.awt.image.WritableRaster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int int int short[] int int int int int int int
StackMap stack:
iload 14 /* bitOffset */
istore 26 /* bOffset */
start local 26 // int bOffset
156: .line 633
iload 6 /* rectWidth */
istore 27 /* xRemaining */
start local 27 // int xRemaining
157: .line 634
iconst_0
istore 28 /* x */
start local 28 // int x
158: goto 185
159: .line 636
StackMap locals: int int int
StackMap stack:
iload 13 /* eltOffset */
iload 26 /* bOffset */
iconst_4
ishr
iadd
istore 29 /* i */
start local 29 // int i
160: .line 637
iload 26 /* bOffset */
bipush 15
iand
istore 30 /* mod */
start local 30 // int mod
161: .line 638
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
istore 31 /* datum */
start local 31 // int datum
162: .line 639
iload 30 /* mod */
bipush 8
if_icmpgt 167
163: .line 641
iload 27 /* xRemaining */
bipush 8
if_icmpge 165
164: .line 643
iload 31 /* datum */
sipush 255
bipush 8
iload 27 /* xRemaining */
isub
ishl
iand
istore 31 /* datum */
165: .line 645
StackMap locals: int int int
StackMap stack:
aload 18 /* data */
iload 29 /* i */
aload 18 /* data */
iload 29 /* i */
saload
iload 22 /* mask */
iand
iload 31 /* datum */
iload 20 /* leftShift */
ishl
ior
i2s
sastore
166: .line 646
goto 184
StackMap locals:
StackMap stack:
167: iload 27 /* xRemaining */
iload 21 /* leftShift16 */
if_icmple 173
168: .line 648
aload 18 /* data */
iload 29 /* i */
aload 18 /* data */
iload 29 /* i */
saload
iload 23 /* mask1 */
iand
iload 31 /* datum */
iload 19 /* rightShift */
iushr
ldc 65535
iand
ior
i2s
sastore
169: .line 649
aload 18 /* data */
iinc 29 /* i */ 1
iload 29 /* i */
170: .line 650
iload 31 /* datum */
iload 20 /* leftShift */
ishl
ldc 65535
iand
i2s
171: .line 649
sastore
172: .line 651
goto 184
StackMap locals:
StackMap stack:
173: iload 27 /* xRemaining */
iload 20 /* leftShift */
if_icmple 180
174: .line 654
aload 18 /* data */
iload 29 /* i */
aload 18 /* data */
iload 29 /* i */
saload
iload 23 /* mask1 */
iand
iload 31 /* datum */
iload 19 /* rightShift */
iushr
ldc 65535
iand
ior
i2s
sastore
175: .line 655
iinc 29 /* i */ 1
176: .line 656
aload 18 /* data */
iload 29 /* i */
177: .line 657
aload 18 /* data */
iload 29 /* i */
saload
iload 24 /* mask2 */
iand
iload 31 /* datum */
iload 20 /* leftShift */
ishl
ldc 65535
iand
ior
i2s
178: .line 656
sastore
179: .line 658
goto 184
180: .line 661
StackMap locals:
StackMap stack:
iconst_1
iload 20 /* leftShift */
iload 27 /* xRemaining */
isub
ishl
iconst_1
isub
istore 32 /* remainMask */
start local 32 // int remainMask
181: .line 662
aload 18 /* data */
iload 29 /* i */
aload 18 /* data */
iload 29 /* i */
saload
iload 23 /* mask1 */
iload 32 /* remainMask */
ior
iand
182: .line 663
iload 31 /* datum */
iload 19 /* rightShift */
iushr
ldc 65535
iand
iload 32 /* remainMask */
iconst_m1
ixor
iand
ior
i2s
183: .line 662
sastore
end local 32 // int remainMask
end local 31 // int datum
end local 30 // int mod
end local 29 // int i
184: .line 635
StackMap locals:
StackMap stack:
iinc 28 /* x */ 8
iinc 26 /* bOffset */ 8
iinc 27 /* xRemaining */ -8
185: .line 634
StackMap locals:
StackMap stack:
iload 28 /* x */
iload 6 /* rectWidth */
if_icmplt 159
end local 28 // int x
186: .line 666
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
end local 27 // int xRemaining
end local 26 // int bOffset
187: .line 631
iinc 25 /* y */ 1
StackMap locals:
StackMap stack:
188: iload 25 /* y */
iload 7 /* rectHeight */
if_icmplt 155
end local 25 // int y
end local 24 // int mask2
end local 23 // int mask1
end local 22 // int mask
end local 21 // int leftShift16
end local 20 // int leftShift
end local 19 // int rightShift
end local 18 // short[] data
189: .line 668
goto 230
StackMap locals: byte[] java.awt.image.WritableRaster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int int int
StackMap stack:
190: aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferInt
ifeq 230
191: .line 669
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferInt
invokevirtual java.awt.image.DataBufferInt.getData:()[I
astore 18 /* data */
start local 18 // int[] data
192: .line 670
iload 14 /* bitOffset */
bipush 7
iand
istore 19 /* rightShift */
start local 19 // int rightShift
193: .line 671
bipush 8
iload 19 /* rightShift */
isub
istore 20 /* leftShift */
start local 20 // int leftShift
194: .line 672
bipush 32
iload 20 /* leftShift */
iadd
istore 21 /* leftShift32 */
start local 21 // int leftShift32
195: .line 673
iconst_m1
iload 20 /* leftShift */
ishl
istore 22 /* mask */
start local 22 // int mask
196: .line 674
iload 22 /* mask */
iconst_m1
ixor
istore 23 /* mask1 */
start local 23 // int mask1
197: .line 676
iconst_0
istore 24 /* y */
start local 24 // int y
198: goto 229
199: .line 677
StackMap locals: byte[] java.awt.image.WritableRaster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int int int int[] int int int int int int
StackMap stack:
iload 14 /* bitOffset */
istore 25 /* bOffset */
start local 25 // int bOffset
200: .line 678
iload 6 /* rectWidth */
istore 26 /* xRemaining */
start local 26 // int xRemaining
201: .line 679
iconst_0
istore 27 /* x */
start local 27 // int x
202: goto 226
203: .line 681
StackMap locals: int int int
StackMap stack:
iload 13 /* eltOffset */
iload 25 /* bOffset */
iconst_5
ishr
iadd
istore 28 /* i */
start local 28 // int i
204: .line 682
iload 25 /* bOffset */
bipush 31
iand
istore 29 /* mod */
start local 29 // int mod
205: .line 683
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
istore 30 /* datum */
start local 30 // int datum
206: .line 684
iload 29 /* mod */
bipush 24
if_icmpgt 212
207: .line 686
bipush 24
iload 29 /* mod */
isub
istore 31 /* shift */
start local 31 // int shift
208: .line 687
iload 26 /* xRemaining */
bipush 8
if_icmpge 210
209: .line 689
iload 30 /* datum */
sipush 255
bipush 8
iload 26 /* xRemaining */
isub
ishl
iand
istore 30 /* datum */
210: .line 691
StackMap locals: byte[] java.awt.image.WritableRaster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int int int int[] int int int int int int int int int int int int int
StackMap stack:
aload 18 /* data */
iload 28 /* i */
aload 18 /* data */
iload 28 /* i */
iaload
sipush 255
iload 31 /* shift */
ishl
iconst_m1
ixor
iand
iload 30 /* datum */
iload 31 /* shift */
ishl
ior
iastore
end local 31 // int shift
211: .line 692
goto 225
StackMap locals:
StackMap stack:
212: iload 26 /* xRemaining */
iload 21 /* leftShift32 */
if_icmple 216
213: .line 694
aload 18 /* data */
iload 28 /* i */
aload 18 /* data */
iload 28 /* i */
iaload
iload 22 /* mask */
iand
iload 30 /* datum */
iload 19 /* rightShift */
iushr
ior
iastore
214: .line 695
aload 18 /* data */
iinc 28 /* i */ 1
iload 28 /* i */
iload 30 /* datum */
iload 20 /* leftShift */
ishl
iastore
215: .line 696
goto 225
StackMap locals:
StackMap stack:
216: iload 26 /* xRemaining */
iload 20 /* leftShift */
if_icmple 221
217: .line 699
aload 18 /* data */
iload 28 /* i */
aload 18 /* data */
iload 28 /* i */
iaload
iload 22 /* mask */
iand
iload 30 /* datum */
iload 19 /* rightShift */
iushr
ior
iastore
218: .line 700
iinc 28 /* i */ 1
219: .line 701
aload 18 /* data */
iload 28 /* i */
aload 18 /* data */
iload 28 /* i */
iaload
iload 23 /* mask1 */
iand
iload 30 /* datum */
iload 20 /* leftShift */
ishl
ior
iastore
220: .line 702
goto 225
221: .line 704
StackMap locals:
StackMap stack:
iconst_1
iload 20 /* leftShift */
iload 26 /* xRemaining */
isub
ishl
iconst_1
isub
istore 31 /* remainMask */
start local 31 // int remainMask
222: .line 705
aload 18 /* data */
iload 28 /* i */
aload 18 /* data */
iload 28 /* i */
iaload
iload 22 /* mask */
iload 31 /* remainMask */
ior
iand
223: .line 706
iload 30 /* datum */
iload 19 /* rightShift */
iushr
iload 31 /* remainMask */
iconst_m1
ixor
iand
ior
224: .line 705
iastore
end local 31 // int remainMask
end local 30 // int datum
end local 29 // int mod
end local 28 // int i
225: .line 680
StackMap locals:
StackMap stack:
iinc 27 /* x */ 8
iinc 25 /* bOffset */ 8
iinc 26 /* xRemaining */ -8
226: .line 679
StackMap locals:
StackMap stack:
iload 27 /* x */
iload 6 /* rectWidth */
if_icmplt 203
end local 27 // int x
227: .line 709
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
end local 26 // int xRemaining
end local 25 // int bOffset
228: .line 676
iinc 24 /* y */ 1
StackMap locals:
StackMap stack:
229: iload 24 /* y */
iload 7 /* rectHeight */
if_icmplt 199
end local 24 // int y
end local 23 // int mask1
end local 22 // int mask
end local 21 // int leftShift32
end local 20 // int leftShift
end local 19 // int rightShift
end local 18 // int[] data
end local 17 // int offset
end local 16 // int stride
230: .line 713
StackMap locals: byte[] java.awt.image.WritableRaster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int
StackMap stack:
return
end local 15 // int b
end local 14 // int bitOffset
end local 13 // int eltOffset
end local 12 // int lineStride
end local 11 // java.awt.image.MultiPixelPackedSampleModel mpp
end local 10 // int dy
end local 9 // int dx
end local 8 // java.awt.image.DataBuffer dataBuffer
end local 7 // int rectHeight
end local 6 // int rectWidth
end local 5 // int rectY
end local 4 // int rectX
end local 3 // java.awt.image.SampleModel sm
end local 2 // java.awt.Rectangle rect
end local 1 // java.awt.image.WritableRaster raster
end local 0 // byte[] binaryDataArray
LocalVariableTable:
Start End Slot Name Signature
0 231 0 binaryDataArray [B
0 231 1 raster Ljava/awt/image/WritableRaster;
0 231 2 rect Ljava/awt/Rectangle;
1 231 3 sm Ljava/awt/image/SampleModel;
4 231 4 rectX I
5 231 5 rectY I
6 231 6 rectWidth I
7 231 7 rectHeight I
8 231 8 dataBuffer Ljava/awt/image/DataBuffer;
9 231 9 dx I
10 231 10 dy I
11 231 11 mpp Ljava/awt/image/MultiPixelPackedSampleModel;
12 231 12 lineStride I
13 231 13 eltOffset I
14 231 14 bitOffset I
15 231 15 b I
18 32 16 data [B
21 32 17 stride I
22 32 18 offset I
23 32 19 y I
39 58 16 data [S
40 58 17 y I
42 56 18 xRemaining I
43 56 19 i I
61 86 16 data [I
62 86 17 y I
64 84 18 xRemaining I
65 84 19 i I
78 84 20 shift I
88 230 16 stride I
89 230 17 offset I
91 140 18 data [B
93 102 19 y I
104 140 19 rightShift I
105 140 20 leftShift I
106 140 21 leftShift8 I
107 140 22 mask I
108 140 23 mask1 I
109 140 24 y I
111 138 25 i I
112 138 26 xRemaining I
114 136 27 datum B
130 135 28 remainMask I
147 189 18 data [S
148 189 19 rightShift I
149 189 20 leftShift I
150 189 21 leftShift16 I
151 189 22 mask I
152 189 23 mask1 I
153 189 24 mask2 I
154 189 25 y I
156 187 26 bOffset I
157 187 27 xRemaining I
158 186 28 x I
160 184 29 i I
161 184 30 mod I
162 184 31 datum I
181 184 32 remainMask I
192 230 18 data [I
193 230 19 rightShift I
194 230 20 leftShift I
195 230 21 leftShift32 I
196 230 22 mask I
197 230 23 mask1 I
198 230 24 y I
200 228 25 bOffset I
201 228 26 xRemaining I
202 227 27 x I
204 225 28 i I
205 225 29 mod I
206 225 30 datum I
208 211 31 shift I
222 225 31 remainMask I
MethodParameters:
Name Flags
binaryDataArray
raster
rect
public static void setUnpackedBinaryData(byte[], java.awt.image.WritableRaster, java.awt.Rectangle);
descriptor: ([BLjava/awt/image/WritableRaster;Ljava/awt/Rectangle;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=20, args_size=3
start local 0 // byte[] bdata
start local 1 // java.awt.image.WritableRaster raster
start local 2 // java.awt.Rectangle rect
0: .line 730
aload 1 /* raster */
invokevirtual java.awt.image.WritableRaster.getSampleModel:()Ljava/awt/image/SampleModel;
astore 3 /* sm */
start local 3 // java.awt.image.SampleModel sm
1: .line 731
aload 3 /* sm */
invokestatic com.sun.imageio.plugins.common.ImageUtil.isBinary:(Ljava/awt/image/SampleModel;)Z
ifne 3
2: .line 732
new java.lang.IllegalArgumentException
dup
ldc "ImageUtil0"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: .line 735
StackMap locals: java.awt.image.SampleModel
StackMap stack:
aload 2 /* rect */
getfield java.awt.Rectangle.x:I
istore 4 /* rectX */
start local 4 // int rectX
4: .line 736
aload 2 /* rect */
getfield java.awt.Rectangle.y:I
istore 5 /* rectY */
start local 5 // int rectY
5: .line 737
aload 2 /* rect */
getfield java.awt.Rectangle.width:I
istore 6 /* rectWidth */
start local 6 // int rectWidth
6: .line 738
aload 2 /* rect */
getfield java.awt.Rectangle.height:I
istore 7 /* rectHeight */
start local 7 // int rectHeight
7: .line 740
aload 1 /* raster */
invokevirtual java.awt.image.WritableRaster.getDataBuffer:()Ljava/awt/image/DataBuffer;
astore 8 /* dataBuffer */
start local 8 // java.awt.image.DataBuffer dataBuffer
8: .line 742
iload 4 /* rectX */
aload 1 /* raster */
invokevirtual java.awt.image.WritableRaster.getSampleModelTranslateX:()I
isub
istore 9 /* dx */
start local 9 // int dx
9: .line 743
iload 5 /* rectY */
aload 1 /* raster */
invokevirtual java.awt.image.WritableRaster.getSampleModelTranslateY:()I
isub
istore 10 /* dy */
start local 10 // int dy
10: .line 745
aload 3 /* sm */
checkcast java.awt.image.MultiPixelPackedSampleModel
astore 11 /* mpp */
start local 11 // java.awt.image.MultiPixelPackedSampleModel mpp
11: .line 746
aload 11 /* mpp */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getScanlineStride:()I
istore 12 /* lineStride */
start local 12 // int lineStride
12: .line 747
aload 8 /* dataBuffer */
invokevirtual java.awt.image.DataBuffer.getOffset:()I
aload 11 /* mpp */
iload 9 /* dx */
iload 10 /* dy */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getOffset:(II)I
iadd
istore 13 /* eltOffset */
start local 13 // int eltOffset
13: .line 748
aload 11 /* mpp */
iload 9 /* dx */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getBitOffset:(I)I
istore 14 /* bitOffset */
start local 14 // int bitOffset
14: .line 750
iconst_0
istore 15 /* k */
start local 15 // int k
15: .line 752
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferByte
ifeq 33
16: .line 753
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
astore 16 /* data */
start local 16 // byte[] data
17: .line 754
iconst_0
istore 17 /* y */
start local 17 // int y
18: goto 31
19: .line 755
StackMap locals: byte[] java.awt.image.WritableRaster java.awt.Rectangle java.awt.image.SampleModel int int int int java.awt.image.DataBuffer int int java.awt.image.MultiPixelPackedSampleModel int int int int byte[] int
StackMap stack:
iload 13 /* eltOffset */
bipush 8
imul
iload 14 /* bitOffset */
iadd
istore 18 /* bOffset */
start local 18 // int bOffset
20: .line 756
iconst_0
istore 19 /* x */
start local 19 // int x
21: goto 28
22: .line 757
StackMap locals: int int
StackMap stack:
aload 0 /* bdata */
iload 15 /* k */
iinc 15 /* k */ 1
baload
ifeq 26
23: .line 758
aload 16 /* data */
iload 18 /* bOffset */
bipush 8
idiv
dup2
baload
24: .line 759
iconst_1
bipush 7
iload 18 /* bOffset */
isub
bipush 7
iand
ishl
i2b
25: .line 758
ior
i2b
bastore
26: .line 761
StackMap locals:
StackMap stack:
iinc 18 /* bOffset */ 1
27: .line 756
iinc 19 /* x */ 1
StackMap locals:
StackMap stack:
28: iload 19 /* x */
iload 6 /* rectWidth */
if_icmplt 22
end local 19 // int x
29: .line 763
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
end local 18 // int bOffset
30: .line 754
iinc 17 /* y */ 1
StackMap locals:
StackMap stack:
31: iload 17 /* y */
iload 7 /* rectHeight */
if_icmplt 19
end local 17 // int y
end local 16 // byte[] data
32: .line 765
goto 74
StackMap locals:
StackMap stack:
33: aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifne 35
34: .line 766
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferUShort
ifeq 57
35: .line 767
StackMap locals:
StackMap stack:
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifeq 37
36: .line 768
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferShort
invokevirtual java.awt.image.DataBufferShort.getData:()[S
goto 38
37: .line 769
StackMap locals:
StackMap stack:
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferUShort
invokevirtual java.awt.image.DataBufferUShort.getData:()[S
38: .line 767
StackMap locals:
StackMap stack: short[]
astore 16 /* data */
start local 16 // short[] data
39: .line 770
iconst_0
istore 17 /* y */
start local 17 // int y
40: goto 55
41: .line 771
StackMap locals: short[] int
StackMap stack:
iload 13 /* eltOffset */
bipush 16
imul
iload 14 /* bitOffset */
iadd
istore 18 /* bOffset */
start local 18 // int bOffset
42: .line 772
iconst_0
istore 19 /* x */
start local 19 // int x
43: goto 52
44: .line 773
StackMap locals: int int
StackMap stack:
aload 0 /* bdata */
iload 15 /* k */
iinc 15 /* k */ 1
baload
ifeq 50
45: .line 774
aload 16 /* data */
iload 18 /* bOffset */
bipush 16
idiv
dup2
saload
46: .line 775
iconst_1
47: .line 776
bipush 15
iload 18 /* bOffset */
bipush 16
irem
isub
48: .line 775
ishl
i2s
49: .line 774
ior
i2s
sastore
50: .line 778
StackMap locals:
StackMap stack:
iinc 18 /* bOffset */ 1
51: .line 772
iinc 19 /* x */ 1
StackMap locals:
StackMap stack:
52: iload 19 /* x */
iload 6 /* rectWidth */
if_icmplt 44
end local 19 // int x
53: .line 780
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
end local 18 // int bOffset
54: .line 770
iinc 17 /* y */ 1
StackMap locals:
StackMap stack:
55: iload 17 /* y */
iload 7 /* rectHeight */
if_icmplt 41
end local 17 // int y
end local 16 // short[] data
56: .line 782
goto 74
StackMap locals:
StackMap stack:
57: aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferInt
ifeq 74
58: .line 783
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferInt
invokevirtual java.awt.image.DataBufferInt.getData:()[I
astore 16 /* data */
start local 16 // int[] data
59: .line 784
iconst_0
istore 17 /* y */
start local 17 // int y
60: goto 73
61: .line 785
StackMap locals: int[] int
StackMap stack:
iload 13 /* eltOffset */
bipush 32
imul
iload 14 /* bitOffset */
iadd
istore 18 /* bOffset */
start local 18 // int bOffset
62: .line 786
iconst_0
istore 19 /* x */
start local 19 // int x
63: goto 70
64: .line 787
StackMap locals: int int
StackMap stack:
aload 0 /* bdata */
iload 15 /* k */
iinc 15 /* k */ 1
baload
ifeq 68
65: .line 788
aload 16 /* data */
iload 18 /* bOffset */
bipush 32
idiv
dup2
iaload
66: .line 789
iconst_1
bipush 31
iload 18 /* bOffset */
bipush 32
irem
isub
ishl
67: .line 788
ior
iastore
68: .line 791
StackMap locals:
StackMap stack:
iinc 18 /* bOffset */ 1
69: .line 786
iinc 19 /* x */ 1
StackMap locals:
StackMap stack:
70: iload 19 /* x */
iload 6 /* rectWidth */
if_icmplt 64
end local 19 // int x
71: .line 793
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
end local 18 // int bOffset
72: .line 784
iinc 17 /* y */ 1
StackMap locals:
StackMap stack:
73: iload 17 /* y */
iload 7 /* rectHeight */
if_icmplt 61
end local 17 // int y
end local 16 // int[] data
74: .line 796
StackMap locals:
StackMap stack:
return
end local 15 // int k
end local 14 // int bitOffset
end local 13 // int eltOffset
end local 12 // int lineStride
end local 11 // java.awt.image.MultiPixelPackedSampleModel mpp
end local 10 // int dy
end local 9 // int dx
end local 8 // java.awt.image.DataBuffer dataBuffer
end local 7 // int rectHeight
end local 6 // int rectWidth
end local 5 // int rectY
end local 4 // int rectX
end local 3 // java.awt.image.SampleModel sm
end local 2 // java.awt.Rectangle rect
end local 1 // java.awt.image.WritableRaster raster
end local 0 // byte[] bdata
LocalVariableTable:
Start End Slot Name Signature
0 75 0 bdata [B
0 75 1 raster Ljava/awt/image/WritableRaster;
0 75 2 rect Ljava/awt/Rectangle;
1 75 3 sm Ljava/awt/image/SampleModel;
4 75 4 rectX I
5 75 5 rectY I
6 75 6 rectWidth I
7 75 7 rectHeight I
8 75 8 dataBuffer Ljava/awt/image/DataBuffer;
9 75 9 dx I
10 75 10 dy I
11 75 11 mpp Ljava/awt/image/MultiPixelPackedSampleModel;
12 75 12 lineStride I
13 75 13 eltOffset I
14 75 14 bitOffset I
15 75 15 k I
17 32 16 data [B
18 32 17 y I
20 30 18 bOffset I
21 29 19 x I
39 56 16 data [S
40 56 17 y I
42 54 18 bOffset I
43 53 19 x I
59 74 16 data [I
60 74 17 y I
62 72 18 bOffset I
63 71 19 x I
MethodParameters:
Name Flags
bdata
raster
rect
public static boolean isBinary(java.awt.image.SampleModel);
descriptor: (Ljava/awt/image/SampleModel;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 // java.awt.image.SampleModel sm
0: .line 799
aload 0 /* sm */
instanceof java.awt.image.MultiPixelPackedSampleModel
ifeq 4
1: .line 800
aload 0 /* sm */
checkcast java.awt.image.MultiPixelPackedSampleModel
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getPixelBitStride:()I
iconst_1
if_icmpne 4
2: .line 801
aload 0 /* sm */
invokevirtual java.awt.image.SampleModel.getNumBands:()I
iconst_1
if_icmpne 4
3: .line 799
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 0 // java.awt.image.SampleModel sm
LocalVariableTable:
Start End Slot Name Signature
0 5 0 sm Ljava/awt/image/SampleModel;
MethodParameters:
Name Flags
sm
public static java.awt.image.ColorModel createColorModel(java.awt.color.ColorSpace, java.awt.image.SampleModel);
descriptor: (Ljava/awt/color/ColorSpace;Ljava/awt/image/SampleModel;)Ljava/awt/image/ColorModel;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=14, args_size=2
start local 0 // java.awt.color.ColorSpace colorSpace
start local 1 // java.awt.image.SampleModel sampleModel
0: .line 806
aconst_null
astore 2 /* colorModel */
start local 2 // java.awt.image.ColorModel colorModel
1: .line 808
aload 1 /* sampleModel */
ifnonnull 3
2: .line 809
new java.lang.IllegalArgumentException
dup
ldc "ImageUtil1"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: .line 812
StackMap locals: java.awt.image.ColorModel
StackMap stack:
aload 1 /* sampleModel */
invokevirtual java.awt.image.SampleModel.getNumBands:()I
istore 3 /* numBands */
start local 3 // int numBands
4: .line 813
iload 3 /* numBands */
iconst_1
if_icmplt 5
iload 3 /* numBands */
iconst_4
if_icmple 6
5: .line 814
StackMap locals: int
StackMap stack:
aconst_null
areturn
6: .line 817
StackMap locals:
StackMap stack:
aload 1 /* sampleModel */
invokevirtual java.awt.image.SampleModel.getDataType:()I
istore 4 /* dataType */
start local 4 // int dataType
7: .line 818
aload 1 /* sampleModel */
instanceof java.awt.image.ComponentSampleModel
ifeq 39
8: .line 819
iload 4 /* dataType */
iflt 10
9: .line 821
iload 4 /* dataType */
iconst_5
if_icmple 11
10: .line 822
StackMap locals: int
StackMap stack:
aconst_null
areturn
11: .line 825
StackMap locals:
StackMap stack:
aload 0 /* colorSpace */
ifnonnull 16
12: .line 827
iload 3 /* numBands */
iconst_2
if_icmpgt 14
13: .line 828
sipush 1003
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
goto 15
14: .line 829
StackMap locals:
StackMap stack:
sipush 1000
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
15: .line 826
StackMap locals:
StackMap stack: java.awt.color.ColorSpace
astore 0 /* colorSpace */
16: .line 831
StackMap locals:
StackMap stack:
iload 3 /* numBands */
iconst_2
if_icmpeq 17
iload 3 /* numBands */
iconst_4
if_icmpeq 17
iconst_0
goto 18
StackMap locals:
StackMap stack:
17: iconst_1
StackMap locals:
StackMap stack: int
18: istore 5 /* useAlpha */
start local 5 // boolean useAlpha
19: .line 832
iload 5 /* useAlpha */
ifeq 21
20: .line 833
iconst_3
goto 22
StackMap locals: int
StackMap stack:
21: iconst_1
22: .line 832
StackMap locals:
StackMap stack: int
istore 6 /* transparency */
start local 6 // int transparency
23: .line 835
iconst_0
istore 7 /* premultiplied */
start local 7 // boolean premultiplied
24: .line 837
iload 4 /* dataType */
invokestatic java.awt.image.DataBuffer.getDataTypeSize:(I)I
istore 8 /* dataTypeSize */
start local 8 // int dataTypeSize
25: .line 838
iload 3 /* numBands */
newarray 10
astore 9 /* bits */
start local 9 // int[] bits
26: .line 839
iconst_0
istore 10 /* i */
start local 10 // int i
27: goto 30
28: .line 840
StackMap locals: java.awt.color.ColorSpace java.awt.image.SampleModel java.awt.image.ColorModel int int int int int int int[] int
StackMap stack:
aload 9 /* bits */
iload 10 /* i */
iload 8 /* dataTypeSize */
iastore
29: .line 839
iinc 10 /* i */ 1
StackMap locals:
StackMap stack:
30: iload 10 /* i */
iload 3 /* numBands */
if_icmplt 28
end local 10 // int i
31: .line 843
new java.awt.image.ComponentColorModel
dup
aload 0 /* colorSpace */
32: .line 844
aload 9 /* bits */
33: .line 845
iload 5 /* useAlpha */
34: .line 846
iload 7 /* premultiplied */
35: .line 847
iload 6 /* transparency */
36: .line 848
iload 4 /* dataType */
37: .line 843
invokespecial java.awt.image.ComponentColorModel.<init>:(Ljava/awt/color/ColorSpace;[IZZII)V
astore 2 /* colorModel */
end local 9 // int[] bits
end local 8 // int dataTypeSize
end local 7 // boolean premultiplied
end local 6 // int transparency
end local 5 // boolean useAlpha
38: .line 849
goto 85
StackMap locals: java.awt.color.ColorSpace java.awt.image.SampleModel java.awt.image.ColorModel int int
StackMap stack:
39: aload 1 /* sampleModel */
instanceof java.awt.image.SinglePixelPackedSampleModel
ifeq 74
40: .line 851
aload 1 /* sampleModel */
checkcast java.awt.image.SinglePixelPackedSampleModel
41: .line 850
astore 5 /* sppsm */
start local 5 // java.awt.image.SinglePixelPackedSampleModel sppsm
42: .line 853
aload 5 /* sppsm */
invokevirtual java.awt.image.SinglePixelPackedSampleModel.getBitMasks:()[I
astore 6 /* bitMasks */
start local 6 // int[] bitMasks
43: .line 854
iconst_0
istore 7 /* rmask */
start local 7 // int rmask
44: .line 855
iconst_0
istore 8 /* gmask */
start local 8 // int gmask
45: .line 856
iconst_0
istore 9 /* bmask */
start local 9 // int bmask
46: .line 857
iconst_0
istore 10 /* amask */
start local 10 // int amask
47: .line 859
aload 6 /* bitMasks */
arraylength
istore 3 /* numBands */
48: .line 860
iload 3 /* numBands */
iconst_2
if_icmpgt 53
49: .line 861
aload 6 /* bitMasks */
iconst_0
iaload
dup
istore 9 /* bmask */
dup
istore 8 /* gmask */
istore 7 /* rmask */
50: .line 862
iload 3 /* numBands */
iconst_2
if_icmpne 58
51: .line 863
aload 6 /* bitMasks */
iconst_1
iaload
istore 10 /* amask */
52: .line 865
goto 58
53: .line 866
StackMap locals: java.awt.color.ColorSpace java.awt.image.SampleModel java.awt.image.ColorModel int int java.awt.image.SinglePixelPackedSampleModel int[] int int int int
StackMap stack:
aload 6 /* bitMasks */
iconst_0
iaload
istore 7 /* rmask */
54: .line 867
aload 6 /* bitMasks */
iconst_1
iaload
istore 8 /* gmask */
55: .line 868
aload 6 /* bitMasks */
iconst_2
iaload
istore 9 /* bmask */
56: .line 869
iload 3 /* numBands */
iconst_4
if_icmpne 58
57: .line 870
aload 6 /* bitMasks */
iconst_3
iaload
istore 10 /* amask */
58: .line 874
StackMap locals:
StackMap stack:
aload 5 /* sppsm */
invokevirtual java.awt.image.SinglePixelPackedSampleModel.getSampleSize:()[I
astore 11 /* sampleSize */
start local 11 // int[] sampleSize
59: .line 875
iconst_0
istore 12 /* bits */
start local 12 // int bits
60: .line 876
iconst_0
istore 13 /* i */
start local 13 // int i
61: goto 64
62: .line 877
StackMap locals: int[] int int
StackMap stack:
iload 12 /* bits */
aload 11 /* sampleSize */
iload 13 /* i */
iaload
iadd
istore 12 /* bits */
63: .line 876
iinc 13 /* i */ 1
StackMap locals:
StackMap stack:
64: iload 13 /* i */
aload 11 /* sampleSize */
arraylength
if_icmplt 62
end local 13 // int i
65: .line 880
aload 0 /* colorSpace */
ifnonnull 67
66: .line 881
sipush 1000
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
astore 0 /* colorSpace */
67: .line 884
StackMap locals:
StackMap stack:
new java.awt.image.DirectColorModel
dup
aload 0 /* colorSpace */
68: .line 885
iload 12 /* bits */
iload 7 /* rmask */
iload 8 /* gmask */
iload 9 /* bmask */
iload 10 /* amask */
69: .line 886
iconst_0
70: .line 887
aload 1 /* sampleModel */
invokevirtual java.awt.image.SampleModel.getDataType:()I
71: .line 884
invokespecial java.awt.image.DirectColorModel.<init>:(Ljava/awt/color/ColorSpace;IIIIIZI)V
72: .line 883
astore 2 /* colorModel */
end local 12 // int bits
end local 11 // int[] sampleSize
end local 10 // int amask
end local 9 // int bmask
end local 8 // int gmask
end local 7 // int rmask
end local 6 // int[] bitMasks
end local 5 // java.awt.image.SinglePixelPackedSampleModel sppsm
73: .line 888
goto 85
StackMap locals: java.awt.color.ColorSpace java.awt.image.SampleModel java.awt.image.ColorModel int int
StackMap stack:
74: aload 1 /* sampleModel */
instanceof java.awt.image.MultiPixelPackedSampleModel
ifeq 85
75: .line 890
aload 1 /* sampleModel */
checkcast java.awt.image.MultiPixelPackedSampleModel
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getPixelBitStride:()I
76: .line 889
istore 5 /* bits */
start local 5 // int bits
77: .line 891
iconst_1
iload 5 /* bits */
ishl
istore 6 /* size */
start local 6 // int size
78: .line 892
iload 6 /* size */
newarray 8
astore 7 /* comp */
start local 7 // byte[] comp
79: .line 894
iconst_0
istore 8 /* i */
start local 8 // int i
80: goto 83
81: .line 895
StackMap locals: java.awt.color.ColorSpace java.awt.image.SampleModel java.awt.image.ColorModel int int int int byte[] int
StackMap stack:
aload 7 /* comp */
iload 8 /* i */
sipush 255
iload 8 /* i */
imul
iload 6 /* size */
iconst_1
isub
idiv
i2b
bastore
82: .line 894
iinc 8 /* i */ 1
StackMap locals:
StackMap stack:
83: iload 8 /* i */
iload 6 /* size */
if_icmplt 81
end local 8 // int i
84: .line 897
new java.awt.image.IndexColorModel
dup
iload 5 /* bits */
iload 6 /* size */
aload 7 /* comp */
aload 7 /* comp */
aload 7 /* comp */
invokespecial java.awt.image.IndexColorModel.<init>:(II[B[B[B)V
astore 2 /* colorModel */
end local 7 // byte[] comp
end local 6 // int size
end local 5 // int bits
85: .line 900
StackMap locals: java.awt.color.ColorSpace java.awt.image.SampleModel java.awt.image.ColorModel int int
StackMap stack:
aload 2 /* colorModel */
areturn
end local 4 // int dataType
end local 3 // int numBands
end local 2 // java.awt.image.ColorModel colorModel
end local 1 // java.awt.image.SampleModel sampleModel
end local 0 // java.awt.color.ColorSpace colorSpace
LocalVariableTable:
Start End Slot Name Signature
0 86 0 colorSpace Ljava/awt/color/ColorSpace;
0 86 1 sampleModel Ljava/awt/image/SampleModel;
1 86 2 colorModel Ljava/awt/image/ColorModel;
4 86 3 numBands I
7 86 4 dataType I
19 38 5 useAlpha Z
23 38 6 transparency I
24 38 7 premultiplied Z
25 38 8 dataTypeSize I
26 38 9 bits [I
27 31 10 i I
42 73 5 sppsm Ljava/awt/image/SinglePixelPackedSampleModel;
43 73 6 bitMasks [I
44 73 7 rmask I
45 73 8 gmask I
46 73 9 bmask I
47 73 10 amask I
59 73 11 sampleSize [I
60 73 12 bits I
61 65 13 i I
77 85 5 bits I
78 85 6 size I
79 85 7 comp [B
80 84 8 i I
MethodParameters:
Name Flags
colorSpace
sampleModel
public static int getElementSize(java.awt.image.SampleModel);
descriptor: (Ljava/awt/image/SampleModel;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 // java.awt.image.SampleModel sm
0: .line 904
aload 0 /* sm */
invokevirtual java.awt.image.SampleModel.getDataType:()I
invokestatic java.awt.image.DataBuffer.getDataTypeSize:(I)I
istore 1 /* elementSize */
start local 1 // int elementSize
1: .line 906
aload 0 /* sm */
instanceof java.awt.image.MultiPixelPackedSampleModel
ifeq 5
2: .line 908
aload 0 /* sm */
checkcast java.awt.image.MultiPixelPackedSampleModel
3: .line 907
astore 2 /* mppsm */
start local 2 // java.awt.image.MultiPixelPackedSampleModel mppsm
4: .line 909
aload 2 /* mppsm */
iconst_0
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getSampleSize:(I)I
aload 2 /* mppsm */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getNumBands:()I
imul
ireturn
end local 2 // java.awt.image.MultiPixelPackedSampleModel mppsm
5: .line 910
StackMap locals: int
StackMap stack:
aload 0 /* sm */
instanceof java.awt.image.ComponentSampleModel
ifeq 7
6: .line 911
aload 0 /* sm */
invokevirtual java.awt.image.SampleModel.getNumBands:()I
iload 1 /* elementSize */
imul
ireturn
7: .line 912
StackMap locals:
StackMap stack:
aload 0 /* sm */
instanceof java.awt.image.SinglePixelPackedSampleModel
ifeq 9
8: .line 913
iload 1 /* elementSize */
ireturn
9: .line 916
StackMap locals:
StackMap stack:
iload 1 /* elementSize */
aload 0 /* sm */
invokevirtual java.awt.image.SampleModel.getNumBands:()I
imul
ireturn
end local 1 // int elementSize
end local 0 // java.awt.image.SampleModel sm
LocalVariableTable:
Start End Slot Name Signature
0 10 0 sm Ljava/awt/image/SampleModel;
1 10 1 elementSize I
4 5 2 mppsm Ljava/awt/image/MultiPixelPackedSampleModel;
MethodParameters:
Name Flags
sm
public static long getTileSize(java.awt.image.SampleModel);
descriptor: (Ljava/awt/image/SampleModel;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=11, args_size=1
start local 0 // java.awt.image.SampleModel sm
0: .line 921
aload 0 /* sm */
invokevirtual java.awt.image.SampleModel.getDataType:()I
invokestatic java.awt.image.DataBuffer.getDataTypeSize:(I)I
istore 1 /* elementSize */
start local 1 // int elementSize
1: .line 923
aload 0 /* sm */
instanceof java.awt.image.MultiPixelPackedSampleModel
ifeq 9
2: .line 925
aload 0 /* sm */
checkcast java.awt.image.MultiPixelPackedSampleModel
3: .line 924
astore 2 /* mppsm */
start local 2 // java.awt.image.MultiPixelPackedSampleModel mppsm
4: .line 926
aload 2 /* mppsm */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getScanlineStride:()I
aload 2 /* mppsm */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getHeight:()I
imul
5: .line 927
aload 2 /* mppsm */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getDataBitOffset:()I
iload 1 /* elementSize */
iadd
iconst_1
isub
iload 1 /* elementSize */
idiv
6: .line 926
iadd
7: .line 928
iload 1 /* elementSize */
bipush 7
iadd
bipush 8
idiv
8: .line 926
imul
i2l
lreturn
end local 2 // java.awt.image.MultiPixelPackedSampleModel mppsm
9: .line 929
StackMap locals: int
StackMap stack:
aload 0 /* sm */
instanceof java.awt.image.ComponentSampleModel
ifeq 35
10: .line 930
aload 0 /* sm */
checkcast java.awt.image.ComponentSampleModel
astore 2 /* csm */
start local 2 // java.awt.image.ComponentSampleModel csm
11: .line 931
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getBandOffsets:()[I
astore 3 /* bandOffsets */
start local 3 // int[] bandOffsets
12: .line 932
aload 3 /* bandOffsets */
iconst_0
iaload
istore 4 /* maxBandOff */
start local 4 // int maxBandOff
13: .line 933
iconst_1
istore 5 /* i */
start local 5 // int i
14: goto 17
15: .line 934
StackMap locals: java.awt.image.SampleModel int java.awt.image.ComponentSampleModel int[] int int
StackMap stack:
iload 4 /* maxBandOff */
aload 3 /* bandOffsets */
iload 5 /* i */
iaload
invokestatic java.lang.Math.max:(II)I
istore 4 /* maxBandOff */
16: .line 933
iinc 5 /* i */ 1
StackMap locals:
StackMap stack:
17: iload 5 /* i */
aload 3 /* bandOffsets */
arraylength
if_icmplt 15
end local 5 // int i
18: .line 936
lconst_0
lstore 5 /* size */
start local 5 // long size
19: .line 937
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getPixelStride:()I
istore 7 /* pixelStride */
start local 7 // int pixelStride
20: .line 938
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getScanlineStride:()I
istore 8 /* scanlineStride */
start local 8 // int scanlineStride
21: .line 939
iload 4 /* maxBandOff */
iflt 23
22: .line 940
lload 5 /* size */
iload 4 /* maxBandOff */
iconst_1
iadd
i2l
ladd
lstore 5 /* size */
23: .line 941
StackMap locals: java.awt.image.SampleModel int java.awt.image.ComponentSampleModel int[] int long int int
StackMap stack:
iload 7 /* pixelStride */
ifle 25
24: .line 942
lload 5 /* size */
iload 7 /* pixelStride */
aload 0 /* sm */
invokevirtual java.awt.image.SampleModel.getWidth:()I
iconst_1
isub
imul
i2l
ladd
lstore 5 /* size */
25: .line 943
StackMap locals:
StackMap stack:
iload 8 /* scanlineStride */
ifle 27
26: .line 944
lload 5 /* size */
iload 8 /* scanlineStride */
aload 0 /* sm */
invokevirtual java.awt.image.SampleModel.getHeight:()I
iconst_1
isub
imul
i2l
ladd
lstore 5 /* size */
27: .line 946
StackMap locals:
StackMap stack:
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getBankIndices:()[I
astore 9 /* bankIndices */
start local 9 // int[] bankIndices
28: .line 947
aload 9 /* bankIndices */
iconst_0
iaload
istore 4 /* maxBandOff */
29: .line 948
iconst_1
istore 10 /* i */
start local 10 // int i
30: goto 33
31: .line 949
StackMap locals: int[] int
StackMap stack:
iload 4 /* maxBandOff */
aload 9 /* bankIndices */
iload 10 /* i */
iaload
invokestatic java.lang.Math.max:(II)I
istore 4 /* maxBandOff */
32: .line 948
iinc 10 /* i */ 1
StackMap locals:
StackMap stack:
33: iload 10 /* i */
aload 9 /* bankIndices */
arraylength
if_icmplt 31
end local 10 // int i
34: .line 950
lload 5 /* size */
iload 4 /* maxBandOff */
iconst_1
iadd
i2l
lmul
iload 1 /* elementSize */
bipush 7
iadd
bipush 8
idiv
i2l
lmul
lreturn
end local 9 // int[] bankIndices
end local 8 // int scanlineStride
end local 7 // int pixelStride
end local 5 // long size
end local 4 // int maxBandOff
end local 3 // int[] bandOffsets
end local 2 // java.awt.image.ComponentSampleModel csm
35: .line 951
StackMap locals: java.awt.image.SampleModel int
StackMap stack:
aload 0 /* sm */
instanceof java.awt.image.SinglePixelPackedSampleModel
ifeq 42
36: .line 953
aload 0 /* sm */
checkcast java.awt.image.SinglePixelPackedSampleModel
37: .line 952
astore 2 /* sppsm */
start local 2 // java.awt.image.SinglePixelPackedSampleModel sppsm
38: .line 954
aload 2 /* sppsm */
invokevirtual java.awt.image.SinglePixelPackedSampleModel.getScanlineStride:()I
aload 2 /* sppsm */
invokevirtual java.awt.image.SinglePixelPackedSampleModel.getHeight:()I
iconst_1
isub
imul
39: .line 955
aload 2 /* sppsm */
invokevirtual java.awt.image.SinglePixelPackedSampleModel.getWidth:()I
40: .line 954
iadd
i2l
lstore 3 /* size */
start local 3 // long size
41: .line 956
lload 3 /* size */
iload 1 /* elementSize */
bipush 7
iadd
bipush 8
idiv
i2l
lmul
lreturn
end local 3 // long size
end local 2 // java.awt.image.SinglePixelPackedSampleModel sppsm
42: .line 959
StackMap locals:
StackMap stack:
lconst_0
lreturn
end local 1 // int elementSize
end local 0 // java.awt.image.SampleModel sm
LocalVariableTable:
Start End Slot Name Signature
0 43 0 sm Ljava/awt/image/SampleModel;
1 43 1 elementSize I
4 9 2 mppsm Ljava/awt/image/MultiPixelPackedSampleModel;
11 35 2 csm Ljava/awt/image/ComponentSampleModel;
12 35 3 bandOffsets [I
13 35 4 maxBandOff I
14 18 5 i I
19 35 5 size J
20 35 7 pixelStride I
21 35 8 scanlineStride I
28 35 9 bankIndices [I
30 34 10 i I
38 42 2 sppsm Ljava/awt/image/SinglePixelPackedSampleModel;
41 42 3 size J
MethodParameters:
Name Flags
sm
public static long getBandSize(java.awt.image.SampleModel);
descriptor: (Ljava/awt/image/SampleModel;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=1
start local 0 // java.awt.image.SampleModel sm
0: .line 963
aload 0 /* sm */
invokevirtual java.awt.image.SampleModel.getDataType:()I
invokestatic java.awt.image.DataBuffer.getDataTypeSize:(I)I
istore 1 /* elementSize */
start local 1 // int elementSize
1: .line 965
aload 0 /* sm */
instanceof java.awt.image.ComponentSampleModel
ifeq 11
2: .line 966
aload 0 /* sm */
checkcast java.awt.image.ComponentSampleModel
astore 2 /* csm */
start local 2 // java.awt.image.ComponentSampleModel csm
3: .line 967
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getPixelStride:()I
istore 3 /* pixelStride */
start local 3 // int pixelStride
4: .line 968
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getScanlineStride:()I
istore 4 /* scanlineStride */
start local 4 // int scanlineStride
5: .line 969
iload 3 /* pixelStride */
iload 4 /* scanlineStride */
invokestatic java.lang.Math.min:(II)I
i2l
lstore 5 /* size */
start local 5 // long size
6: .line 971
iload 3 /* pixelStride */
ifle 8
7: .line 972
lload 5 /* size */
iload 3 /* pixelStride */
aload 0 /* sm */
invokevirtual java.awt.image.SampleModel.getWidth:()I
iconst_1
isub
imul
i2l
ladd
lstore 5 /* size */
8: .line 973
StackMap locals: java.awt.image.SampleModel int java.awt.image.ComponentSampleModel int int long
StackMap stack:
iload 4 /* scanlineStride */
ifle 10
9: .line 974
lload 5 /* size */
iload 4 /* scanlineStride */
aload 0 /* sm */
invokevirtual java.awt.image.SampleModel.getHeight:()I
iconst_1
isub
imul
i2l
ladd
lstore 5 /* size */
10: .line 975
StackMap locals:
StackMap stack:
lload 5 /* size */
iload 1 /* elementSize */
bipush 7
iadd
bipush 8
idiv
i2l
lmul
lreturn
end local 5 // long size
end local 4 // int scanlineStride
end local 3 // int pixelStride
end local 2 // java.awt.image.ComponentSampleModel csm
11: .line 977
StackMap locals: java.awt.image.SampleModel int
StackMap stack:
aload 0 /* sm */
invokestatic com.sun.imageio.plugins.common.ImageUtil.getTileSize:(Ljava/awt/image/SampleModel;)J
lreturn
end local 1 // int elementSize
end local 0 // java.awt.image.SampleModel sm
LocalVariableTable:
Start End Slot Name Signature
0 12 0 sm Ljava/awt/image/SampleModel;
1 12 1 elementSize I
3 11 2 csm Ljava/awt/image/ComponentSampleModel;
4 11 3 pixelStride I
5 11 4 scanlineStride I
6 11 5 size J
MethodParameters:
Name Flags
sm
public static boolean isIndicesForGrayscale(byte[], byte[], byte[]);
descriptor: ([B[B[B)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=3
start local 0 // byte[] r
start local 1 // byte[] g
start local 2 // byte[] b
0: .line 989
aload 0 /* r */
arraylength
aload 1 /* g */
arraylength
if_icmpne 1
aload 0 /* r */
arraylength
aload 2 /* b */
arraylength
if_icmpeq 2
1: .line 990
StackMap locals:
StackMap stack:
iconst_0
ireturn
2: .line 992
StackMap locals:
StackMap stack:
aload 0 /* r */
arraylength
istore 3 /* size */
start local 3 // int size
3: .line 994
iload 3 /* size */
sipush 256
if_icmpeq 5
4: .line 995
iconst_0
ireturn
5: .line 997
StackMap locals: int
StackMap stack:
iconst_0
istore 4 /* i */
start local 4 // int i
6: goto 11
7: .line 998
StackMap locals: int
StackMap stack:
iload 4 /* i */
i2b
istore 5 /* temp */
start local 5 // byte temp
8: .line 1000
aload 0 /* r */
iload 4 /* i */
baload
iload 5 /* temp */
if_icmpne 9
aload 1 /* g */
iload 4 /* i */
baload
iload 5 /* temp */
if_icmpne 9
aload 2 /* b */
iload 4 /* i */
baload
iload 5 /* temp */
if_icmpeq 10
9: .line 1001
StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 5 // byte temp
10: .line 997
StackMap locals:
StackMap stack:
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
11: iload 4 /* i */
iload 3 /* size */
if_icmplt 7
end local 4 // int i
12: .line 1004
iconst_1
ireturn
end local 3 // int size
end local 2 // byte[] b
end local 1 // byte[] g
end local 0 // byte[] r
LocalVariableTable:
Start End Slot Name Signature
0 13 0 r [B
0 13 1 g [B
0 13 2 b [B
3 13 3 size I
6 12 4 i I
8 10 5 temp B
MethodParameters:
Name Flags
r
g
b
public static java.lang.String convertObjectToString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 // java.lang.Object obj
0: .line 1009
aload 0 /* obj */
ifnonnull 2
1: .line 1010
ldc ""
areturn
2: .line 1012
StackMap locals:
StackMap stack:
ldc ""
astore 1 /* s */
start local 1 // java.lang.String s
3: .line 1013
aload 0 /* obj */
instanceof byte[]
ifeq 11
4: .line 1014
aload 0 /* obj */
checkcast byte[]
astore 2 /* bArray */
start local 2 // byte[] bArray
5: .line 1015
iconst_0
istore 3 /* i */
start local 3 // int i
6: goto 9
7: .line 1016
StackMap locals: java.lang.String byte[] int
StackMap stack:
new java.lang.StringBuilder
dup
aload 1 /* s */
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2 /* bArray */
iload 3 /* i */
baload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1 /* s */
8: .line 1015
iinc 3 /* i */ 1
StackMap locals:
StackMap stack:
9: iload 3 /* i */
aload 2 /* bArray */
arraylength
if_icmplt 7
end local 3 // int i
10: .line 1017
aload 1 /* s */
areturn
end local 2 // byte[] bArray
11: .line 1020
StackMap locals:
StackMap stack:
aload 0 /* obj */
instanceof int[]
ifeq 19
12: .line 1021
aload 0 /* obj */
checkcast int[]
astore 2 /* iArray */
start local 2 // int[] iArray
13: .line 1022
iconst_0
istore 3 /* i */
start local 3 // int i
14: goto 17
15: .line 1023
StackMap locals: int[] int
StackMap stack:
new java.lang.StringBuilder
dup
aload 1 /* s */
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2 /* iArray */
iload 3 /* i */
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1 /* s */
16: .line 1022
iinc 3 /* i */ 1
StackMap locals:
StackMap stack:
17: iload 3 /* i */
aload 2 /* iArray */
arraylength
if_icmplt 15
end local 3 // int i
18: .line 1024
aload 1 /* s */
areturn
end local 2 // int[] iArray
19: .line 1027
StackMap locals:
StackMap stack:
aload 0 /* obj */
instanceof short[]
ifeq 27
20: .line 1028
aload 0 /* obj */
checkcast short[]
astore 2 /* sArray */
start local 2 // short[] sArray
21: .line 1029
iconst_0
istore 3 /* i */
start local 3 // int i
22: goto 25
23: .line 1030
StackMap locals: short[] int
StackMap stack:
new java.lang.StringBuilder
dup
aload 1 /* s */
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2 /* sArray */
iload 3 /* i */
saload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1 /* s */
24: .line 1029
iinc 3 /* i */ 1
StackMap locals:
StackMap stack:
25: iload 3 /* i */
aload 2 /* sArray */
arraylength
if_icmplt 23
end local 3 // int i
26: .line 1031
aload 1 /* s */
areturn
end local 2 // short[] sArray
27: .line 1034
StackMap locals:
StackMap stack:
aload 0 /* obj */
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 1 // java.lang.String s
end local 0 // java.lang.Object obj
LocalVariableTable:
Start End Slot Name Signature
0 28 0 obj Ljava/lang/Object;
3 28 1 s Ljava/lang/String;
5 11 2 bArray [B
6 10 3 i I
13 19 2 iArray [I
14 18 3 i I
21 27 2 sArray [S
22 26 3 i I
MethodParameters:
Name Flags
obj
public static final void canEncodeImage(javax.imageio.ImageWriter, javax.imageio.ImageTypeSpecifier);
descriptor: (Ljavax/imageio/ImageWriter;Ljavax/imageio/ImageTypeSpecifier;)V
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 // javax.imageio.ImageWriter writer
start local 1 // javax.imageio.ImageTypeSpecifier type
0: .line 1048
aload 0 /* writer */
invokevirtual javax.imageio.ImageWriter.getOriginatingProvider:()Ljavax/imageio/spi/ImageWriterSpi;
astore 2 /* spi */
start local 2 // javax.imageio.spi.ImageWriterSpi spi
1: .line 1050
aload 1 /* type */
ifnull 5
aload 2 /* spi */
ifnull 5
aload 2 /* spi */
aload 1 /* type */
invokevirtual javax.imageio.spi.ImageWriterSpi.canEncodeImage:(Ljavax/imageio/ImageTypeSpecifier;)Z
ifne 5
2: .line 1051
new javax.imageio.IIOException
dup
new java.lang.StringBuilder
dup
ldc "ImageUtil2"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: .line 1052
aload 0 /* writer */
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: .line 1051
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;)V
athrow
5: .line 1054
StackMap locals: javax.imageio.spi.ImageWriterSpi
StackMap stack:
return
end local 2 // javax.imageio.spi.ImageWriterSpi spi
end local 1 // javax.imageio.ImageTypeSpecifier type
end local 0 // javax.imageio.ImageWriter writer
LocalVariableTable:
Start End Slot Name Signature
0 6 0 writer Ljavax/imageio/ImageWriter;
0 6 1 type Ljavax/imageio/ImageTypeSpecifier;
1 6 2 spi Ljavax/imageio/spi/ImageWriterSpi;
Exceptions:
throws javax.imageio.IIOException
MethodParameters:
Name Flags
writer
type
public static final void canEncodeImage(javax.imageio.ImageWriter, java.awt.image.ColorModel, java.awt.image.SampleModel);
descriptor: (Ljavax/imageio/ImageWriter;Ljava/awt/image/ColorModel;Ljava/awt/image/SampleModel;)V
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 // javax.imageio.ImageWriter writer
start local 1 // java.awt.image.ColorModel colorModel
start local 2 // java.awt.image.SampleModel sampleModel
0: .line 1068
aconst_null
astore 3 /* type */
start local 3 // javax.imageio.ImageTypeSpecifier type
1: .line 1069
aload 1 /* colorModel */
ifnull 3
aload 2 /* sampleModel */
ifnull 3
2: .line 1070
new javax.imageio.ImageTypeSpecifier
dup
aload 1 /* colorModel */
aload 2 /* sampleModel */
invokespecial javax.imageio.ImageTypeSpecifier.<init>:(Ljava/awt/image/ColorModel;Ljava/awt/image/SampleModel;)V
astore 3 /* type */
3: .line 1071
StackMap locals: javax.imageio.ImageTypeSpecifier
StackMap stack:
aload 0 /* writer */
aload 3 /* type */
invokestatic com.sun.imageio.plugins.common.ImageUtil.canEncodeImage:(Ljavax/imageio/ImageWriter;Ljavax/imageio/ImageTypeSpecifier;)V
4: .line 1072
return
end local 3 // javax.imageio.ImageTypeSpecifier type
end local 2 // java.awt.image.SampleModel sampleModel
end local 1 // java.awt.image.ColorModel colorModel
end local 0 // javax.imageio.ImageWriter writer
LocalVariableTable:
Start End Slot Name Signature
0 5 0 writer Ljavax/imageio/ImageWriter;
0 5 1 colorModel Ljava/awt/image/ColorModel;
0 5 2 sampleModel Ljava/awt/image/SampleModel;
1 5 3 type Ljavax/imageio/ImageTypeSpecifier;
Exceptions:
throws javax.imageio.IIOException
MethodParameters:
Name Flags
writer
colorModel
sampleModel
public static final boolean imageIsContiguous(java.awt.image.RenderedImage);
descriptor: (Ljava/awt/image/RenderedImage;)Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=6, args_size=1
start local 0 // java.awt.image.RenderedImage image
0: .line 1079
aload 0 /* image */
instanceof java.awt.image.BufferedImage
ifeq 4
1: .line 1080
aload 0 /* image */
checkcast java.awt.image.BufferedImage
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
astore 2 /* ras */
start local 2 // java.awt.image.WritableRaster ras
2: .line 1081
aload 2 /* ras */
invokevirtual java.awt.image.WritableRaster.getSampleModel:()Ljava/awt/image/SampleModel;
astore 1 /* sm */
end local 2 // java.awt.image.WritableRaster ras
start local 1 // java.awt.image.SampleModel sm
3: .line 1082
goto 5
end local 1 // java.awt.image.SampleModel sm
4: .line 1083
StackMap locals:
StackMap stack:
aload 0 /* image */
invokeinterface java.awt.image.RenderedImage.getSampleModel:()Ljava/awt/image/SampleModel;
astore 1 /* sm */
start local 1 // java.awt.image.SampleModel sm
5: .line 1086
StackMap locals: java.awt.image.SampleModel
StackMap stack:
aload 1 /* sm */
instanceof java.awt.image.ComponentSampleModel
ifeq 24
6: .line 1089
aload 1 /* sm */
checkcast java.awt.image.ComponentSampleModel
astore 2 /* csm */
start local 2 // java.awt.image.ComponentSampleModel csm
7: .line 1091
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getPixelStride:()I
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getNumBands:()I
if_icmpeq 9
8: .line 1092
iconst_0
ireturn
9: .line 1095
StackMap locals: java.awt.image.ComponentSampleModel
StackMap stack:
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getBandOffsets:()[I
astore 3 /* bandOffsets */
start local 3 // int[] bandOffsets
10: .line 1096
iconst_0
istore 4 /* i */
start local 4 // int i
11: goto 15
12: .line 1097
StackMap locals: int[] int
StackMap stack:
aload 3 /* bandOffsets */
iload 4 /* i */
iaload
iload 4 /* i */
if_icmpeq 14
13: .line 1098
iconst_0
ireturn
14: .line 1096
StackMap locals:
StackMap stack:
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
15: iload 4 /* i */
aload 3 /* bandOffsets */
arraylength
if_icmplt 12
end local 4 // int i
16: .line 1102
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getBankIndices:()[I
astore 4 /* bankIndices */
start local 4 // int[] bankIndices
17: .line 1103
iconst_0
istore 5 /* i */
start local 5 // int i
18: goto 22
19: .line 1104
StackMap locals: java.awt.image.RenderedImage java.awt.image.SampleModel java.awt.image.ComponentSampleModel int[] int[] int
StackMap stack:
aload 4 /* bankIndices */
iload 5 /* i */
iaload
ifeq 21
20: .line 1105
iconst_0
ireturn
21: .line 1103
StackMap locals:
StackMap stack:
iinc 5 /* i */ 1
StackMap locals:
StackMap stack:
22: iload 5 /* i */
aload 3 /* bandOffsets */
arraylength
if_icmplt 19
end local 5 // int i
23: .line 1109
iconst_1
ireturn
end local 4 // int[] bankIndices
end local 3 // int[] bandOffsets
end local 2 // java.awt.image.ComponentSampleModel csm
24: .line 1115
StackMap locals: java.awt.image.RenderedImage java.awt.image.SampleModel
StackMap stack:
aload 1 /* sm */
invokestatic com.sun.imageio.plugins.common.ImageUtil.isBinary:(Ljava/awt/image/SampleModel;)Z
ireturn
end local 1 // java.awt.image.SampleModel sm
end local 0 // java.awt.image.RenderedImage image
LocalVariableTable:
Start End Slot Name Signature
0 25 0 image Ljava/awt/image/RenderedImage;
3 4 1 sm Ljava/awt/image/SampleModel;
5 25 1 sm Ljava/awt/image/SampleModel;
2 3 2 ras Ljava/awt/image/WritableRaster;
7 24 2 csm Ljava/awt/image/ComponentSampleModel;
10 24 3 bandOffsets [I
11 16 4 i I
17 24 4 bankIndices [I
18 23 5 i I
MethodParameters:
Name Flags
image
public static final javax.imageio.ImageTypeSpecifier getDestinationType(javax.imageio.ImageReadParam, java.util.Iterator<javax.imageio.ImageTypeSpecifier>);
descriptor: (Ljavax/imageio/ImageReadParam;Ljava/util/Iterator;)Ljavax/imageio/ImageTypeSpecifier;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=5, args_size=2
start local 0 // javax.imageio.ImageReadParam param
start local 1 // java.util.Iterator imageTypes
0: .line 1125
aload 1 /* imageTypes */
ifnull 1
aload 1 /* imageTypes */
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
1: .line 1126
StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "imageTypes null or empty!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: .line 1129
StackMap locals:
StackMap stack:
aconst_null
astore 2 /* imageType */
start local 2 // javax.imageio.ImageTypeSpecifier imageType
3: .line 1132
aload 0 /* param */
ifnull 5
4: .line 1133
aload 0 /* param */
invokevirtual javax.imageio.ImageReadParam.getDestinationType:()Ljavax/imageio/ImageTypeSpecifier;
astore 2 /* imageType */
5: .line 1137
StackMap locals: javax.imageio.ImageTypeSpecifier
StackMap stack:
aload 2 /* imageType */
ifnonnull 13
6: .line 1138
aload 1 /* imageTypes */
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3 /* o */
start local 3 // java.lang.Object o
7: .line 1139
aload 3 /* o */
instanceof javax.imageio.ImageTypeSpecifier
ifne 11
8: .line 1140
new java.lang.IllegalArgumentException
dup
9: .line 1141
ldc "Non-ImageTypeSpecifier retrieved from imageTypes!"
10: .line 1140
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: .line 1143
StackMap locals: java.lang.Object
StackMap stack:
aload 3 /* o */
checkcast javax.imageio.ImageTypeSpecifier
astore 2 /* imageType */
end local 3 // java.lang.Object o
12: .line 1144
goto 25
13: .line 1145
StackMap locals:
StackMap stack:
iconst_0
istore 3 /* foundIt */
start local 3 // boolean foundIt
14: .line 1146
goto 20
15: .line 1148
StackMap locals: int
StackMap stack:
aload 1 /* imageTypes */
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.ImageTypeSpecifier
16: .line 1147
astore 4 /* type */
start local 4 // javax.imageio.ImageTypeSpecifier type
17: .line 1149
aload 4 /* type */
aload 2 /* imageType */
invokevirtual javax.imageio.ImageTypeSpecifier.equals:(Ljava/lang/Object;)Z
ifeq 20
18: .line 1150
iconst_1
istore 3 /* foundIt */
19: .line 1151
goto 21
end local 4 // javax.imageio.ImageTypeSpecifier type
20: .line 1146
StackMap locals:
StackMap stack:
aload 1 /* imageTypes */
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
21: .line 1155
StackMap locals:
StackMap stack:
iload 3 /* foundIt */
ifne 25
22: .line 1156
new javax.imageio.IIOException
dup
23: .line 1157
ldc "Destination type from ImageReadParam does not match!"
24: .line 1156
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;)V
athrow
end local 3 // boolean foundIt
25: .line 1161
StackMap locals:
StackMap stack:
aload 2 /* imageType */
areturn
end local 2 // javax.imageio.ImageTypeSpecifier imageType
end local 1 // java.util.Iterator imageTypes
end local 0 // javax.imageio.ImageReadParam param
LocalVariableTable:
Start End Slot Name Signature
0 26 0 param Ljavax/imageio/ImageReadParam;
0 26 1 imageTypes Ljava/util/Iterator<Ljavax/imageio/ImageTypeSpecifier;>;
3 26 2 imageType Ljavax/imageio/ImageTypeSpecifier;
7 12 3 o Ljava/lang/Object;
14 25 3 foundIt Z
17 20 4 type Ljavax/imageio/ImageTypeSpecifier;
Exceptions:
throws javax.imageio.IIOException
Signature: (Ljavax/imageio/ImageReadParam;Ljava/util/Iterator<Ljavax/imageio/ImageTypeSpecifier;>;)Ljavax/imageio/ImageTypeSpecifier;
MethodParameters:
Name Flags
param
imageTypes
public static boolean isNonStandardICCColorSpace(java.awt.color.ColorSpace);
descriptor: (Ljava/awt/color/ColorSpace;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 // java.awt.color.ColorSpace cs
0: .line 1172
iconst_0
istore 1 /* retval */
start local 1 // boolean retval
1: .line 1179
aload 0 /* cs */
instanceof java.awt.color.ICC_ColorSpace
ifeq 8
2: .line 1180
aload 0 /* cs */
invokevirtual java.awt.color.ColorSpace.isCS_sRGB:()Z
ifne 8
3: .line 1181
aload 0 /* cs */
sipush 1004
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 8
4: .line 1182
aload 0 /* cs */
sipush 1003
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 8
5: .line 1183
aload 0 /* cs */
sipush 1001
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 8
6: .line 1184
aload 0 /* cs */
sipush 1002
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 8
7: .line 1178
iconst_1
goto 9
StackMap locals: int
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 1 /* retval */
10: .line 1185
goto 12
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
11: pop
12: .line 1189
StackMap locals:
StackMap stack:
iload 1 /* retval */
ireturn
end local 1 // boolean retval
end local 0 // java.awt.color.ColorSpace cs
LocalVariableTable:
Start End Slot Name Signature
0 13 0 cs Ljava/awt/color/ColorSpace;
1 13 1 retval Z
Exception table:
from to target type
1 10 11 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
cs
}
SourceFile: "ImageUtil.java"