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 141
aload 0 /* sampleModel */
ifnonnull 2
1: .line 142
new java.lang.IllegalArgumentException
dup
ldc "sampleModel == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: .line 146
StackMap locals:
StackMap stack:
aload 0 /* sampleModel */
invokevirtual java.awt.image.SampleModel.getDataType:()I
istore 1 /* dataType */
start local 1 // int dataType
3: .line 149
iload 1 /* dataType */
tableswitch { // 0 - 5
0: 4
1: 4
2: 4
3: 4
4: 4
5: 4
default: 5
}
4: .line 156
StackMap locals: int
StackMap stack:
goto 6
5: .line 159
StackMap locals:
StackMap stack:
aconst_null
areturn
6: .line 163
StackMap locals:
StackMap stack:
aconst_null
astore 2 /* colorModel */
start local 2 // java.awt.image.ColorModel colorModel
7: .line 166
aload 0 /* sampleModel */
invokevirtual java.awt.image.SampleModel.getSampleSize:()[I
astore 3 /* sampleSize */
start local 3 // int[] sampleSize
8: .line 169
aload 0 /* sampleModel */
instanceof java.awt.image.ComponentSampleModel
ifeq 34
9: .line 171
aload 0 /* sampleModel */
invokevirtual java.awt.image.SampleModel.getNumBands:()I
istore 4 /* numBands */
start local 4 // int numBands
10: .line 174
aconst_null
astore 5 /* colorSpace */
start local 5 // java.awt.color.ColorSpace colorSpace
11: .line 175
iload 4 /* numBands */
iconst_2
if_icmpgt 14
12: .line 176
sipush 1003
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
astore 5 /* colorSpace */
13: .line 177
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 178
sipush 1000
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
astore 5 /* colorSpace */
16: .line 179
goto 18
17: .line 180
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 183
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 184
iconst_0
istore 7 /* isAlphaPremultiplied */
start local 7 // boolean isAlphaPremultiplied
22: .line 185
iload 6 /* hasAlpha */
ifeq 24
23: .line 186
iconst_3
goto 25
StackMap locals: int int
StackMap stack:
24: iconst_1
25: .line 185
StackMap locals:
StackMap stack: int
istore 8 /* transparency */
start local 8 // int transparency
26: .line 188
new java.awt.image.ComponentColorModel
dup
aload 5 /* colorSpace */
27: .line 189
aload 3 /* sampleSize */
28: .line 190
iload 6 /* hasAlpha */
29: .line 191
iload 7 /* isAlphaPremultiplied */
30: .line 192
iload 8 /* transparency */
31: .line 193
iload 1 /* dataType */
32: .line 188
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 194
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 195
aload 0 /* sampleModel */
instanceof java.awt.image.SinglePixelPackedSampleModel
ifeq 61
36: .line 197
aload 0 /* sampleModel */
checkcast java.awt.image.SinglePixelPackedSampleModel
37: .line 196
astore 4 /* sppsm */
start local 4 // java.awt.image.SinglePixelPackedSampleModel sppsm
38: .line 199
aload 4 /* sppsm */
invokevirtual java.awt.image.SinglePixelPackedSampleModel.getBitMasks:()[I
astore 5 /* bitMasks */
start local 5 // int[] bitMasks
39: .line 200
iconst_0
istore 6 /* rmask */
start local 6 // int rmask
40: .line 201
iconst_0
istore 7 /* gmask */
start local 7 // int gmask
41: .line 202
iconst_0
istore 8 /* bmask */
start local 8 // int bmask
42: .line 203
iconst_0
istore 9 /* amask */
start local 9 // int amask
43: .line 205
aload 5 /* bitMasks */
arraylength
istore 10 /* numBands */
start local 10 // int numBands
44: .line 206
iload 10 /* numBands */
iconst_2
if_icmpgt 49
45: .line 207
aload 5 /* bitMasks */
iconst_0
iaload
dup
istore 8 /* bmask */
dup
istore 7 /* gmask */
istore 6 /* rmask */
46: .line 208
iload 10 /* numBands */
iconst_2
if_icmpne 54
47: .line 209
aload 5 /* bitMasks */
iconst_1
iaload
istore 9 /* amask */
48: .line 211
goto 54
49: .line 212
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 213
aload 5 /* bitMasks */
iconst_1
iaload
istore 7 /* gmask */
51: .line 214
aload 5 /* bitMasks */
iconst_2
iaload
istore 8 /* bmask */
52: .line 215
iload 10 /* numBands */
iconst_4
if_icmpne 54
53: .line 216
aload 5 /* bitMasks */
iconst_3
iaload
istore 9 /* amask */
54: .line 220
StackMap locals:
StackMap stack:
iconst_0
istore 11 /* bits */
start local 11 // int bits
55: .line 221
iconst_0
istore 12 /* i */
start local 12 // int i
56: goto 59
57: .line 222
StackMap locals: int int
StackMap stack:
iload 11 /* bits */
aload 3 /* sampleSize */
iload 12 /* i */
iaload
iadd
istore 11 /* bits */
58: .line 221
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 225
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 227
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 229
aload 3 /* sampleSize */
iconst_0
iaload
istore 4 /* bitsPerSample */
start local 4 // int bitsPerSample
63: .line 230
iconst_1
iload 4 /* bitsPerSample */
ishl
istore 5 /* numEntries */
start local 5 // int numEntries
64: .line 231
iload 5 /* numEntries */
newarray 8
astore 6 /* map */
start local 6 // byte[] map
65: .line 232
iconst_0
istore 7 /* i */
start local 7 // int i
66: goto 69
67: .line 233
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 232
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 236
new java.awt.image.IndexColorModel
dup
iload 4 /* bitsPerSample */
iload 5 /* numEntries */
71: .line 237
aload 6 /* map */
aload 6 /* map */
aload 6 /* map */
72: .line 236
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 241
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 261
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 262
aload 2 /* sm */
invokestatic com.sun.imageio.plugins.common.ImageUtil.isBinary:(Ljava/awt/image/SampleModel;)Z
ifne 3
2: .line 263
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 266
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 267
aload 1 /* rect */
getfield java.awt.Rectangle.y:I
istore 4 /* rectY */
start local 4 // int rectY
5: .line 268
aload 1 /* rect */
getfield java.awt.Rectangle.width:I
istore 5 /* rectWidth */
start local 5 // int rectWidth
6: .line 269
aload 1 /* rect */
getfield java.awt.Rectangle.height:I
istore 6 /* rectHeight */
start local 6 // int rectHeight
7: .line 271
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 273
iload 3 /* rectX */
aload 0 /* raster */
invokevirtual java.awt.image.Raster.getSampleModelTranslateX:()I
isub
istore 8 /* dx */
start local 8 // int dx
9: .line 274
iload 4 /* rectY */
aload 0 /* raster */
invokevirtual java.awt.image.Raster.getSampleModelTranslateY:()I
isub
istore 9 /* dy */
start local 9 // int dy
10: .line 276
aload 2 /* sm */
checkcast java.awt.image.MultiPixelPackedSampleModel
astore 10 /* mpp */
start local 10 // java.awt.image.MultiPixelPackedSampleModel mpp
11: .line 277
aload 10 /* mpp */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getScanlineStride:()I
istore 11 /* lineStride */
start local 11 // int lineStride
12: .line 278
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 279
aload 10 /* mpp */
iload 8 /* dx */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getBitOffset:(I)I
istore 13 /* bitOffset */
start local 13 // int bitOffset
14: .line 281
iload 5 /* rectWidth */
bipush 7
iadd
bipush 8
idiv
istore 14 /* numBytesPerRow */
start local 14 // int numBytesPerRow
15: .line 282
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferByte
ifeq 22
16: .line 283
iload 12 /* eltOffset */
ifne 22
iload 13 /* bitOffset */
ifne 22
17: .line 284
iload 14 /* numBytesPerRow */
iload 11 /* lineStride */
if_icmpne 22
18: .line 285
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
arraylength
19: .line 286
iload 14 /* numBytesPerRow */
iload 6 /* rectHeight */
imul
20: .line 285
if_icmpne 22
21: .line 287
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
areturn
22: .line 290
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 292
iconst_0
istore 16 /* b */
start local 16 // int b
24: .line 294
iload 13 /* bitOffset */
ifne 88
25: .line 295
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferByte
ifeq 40
26: .line 296
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 297
iload 14 /* numBytesPerRow */
istore 18 /* stride */
start local 18 // int stride
28: .line 298
iconst_0
istore 19 /* offset */
start local 19 // int offset
29: .line 299
iconst_0
istore 20 /* y */
start local 20 // int y
30: goto 38
31: .line 300
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 301
aload 15 /* binaryDataArray */
iload 19 /* offset */
33: .line 302
iload 18 /* stride */
34: .line 300
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
35: .line 303
iload 19 /* offset */
iload 18 /* stride */
iadd
istore 19 /* offset */
36: .line 304
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
37: .line 299
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 306
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 307
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferUShort
ifeq 62
42: .line 308
StackMap locals:
StackMap stack:
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifeq 44
43: .line 309
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferShort
invokevirtual java.awt.image.DataBufferShort.getData:()[S
goto 45
44: .line 310
StackMap locals:
StackMap stack:
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferUShort
invokevirtual java.awt.image.DataBufferUShort.getData:()[S
45: .line 308
StackMap locals:
StackMap stack: short[]
astore 17 /* data */
start local 17 // short[] data
46: .line 312
iconst_0
istore 18 /* y */
start local 18 // int y
47: goto 60
48: .line 313
StackMap locals: short[] int
StackMap stack:
iload 5 /* rectWidth */
istore 19 /* xRemaining */
start local 19 // int xRemaining
49: .line 314
iload 12 /* eltOffset */
istore 20 /* i */
start local 20 // int i
50: .line 315
goto 55
51: .line 316
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 317
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
iload 21 /* datum */
bipush 8
iushr
sipush 255
iand
i2b
bastore
53: .line 318
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
iload 21 /* datum */
sipush 255
iand
i2b
bastore
54: .line 319
iinc 19 /* xRemaining */ -16
end local 21 // short datum
55: .line 315
StackMap locals:
StackMap stack:
iload 19 /* xRemaining */
bipush 8
if_icmpgt 51
56: .line 321
iload 19 /* xRemaining */
ifle 58
57: .line 322
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 324
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 312
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 326
goto 184
StackMap locals:
StackMap stack:
62: aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferInt
ifeq 184
63: .line 327
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 329
iconst_0
istore 18 /* y */
start local 18 // int y
65: goto 86
66: .line 330
StackMap locals: int[] int
StackMap stack:
iload 5 /* rectWidth */
istore 19 /* xRemaining */
start local 19 // int xRemaining
67: .line 331
iload 12 /* eltOffset */
istore 20 /* i */
start local 20 // int i
68: .line 332
goto 75
69: .line 333
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 334
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
iload 21 /* datum */
bipush 24
iushr
sipush 255
iand
i2b
bastore
71: .line 335
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
iload 21 /* datum */
bipush 16
iushr
sipush 255
iand
i2b
bastore
72: .line 336
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
iload 21 /* datum */
bipush 8
iushr
sipush 255
iand
i2b
bastore
73: .line 337
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
iload 21 /* datum */
sipush 255
iand
i2b
bastore
74: .line 338
iinc 19 /* xRemaining */ -32
end local 21 // int datum
75: .line 332
StackMap locals:
StackMap stack:
iload 19 /* xRemaining */
bipush 24
if_icmpgt 69
76: .line 340
bipush 24
istore 21 /* shift */
start local 21 // int shift
77: .line 341
goto 83
78: .line 342
StackMap locals: int
StackMap stack:
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
79: .line 343
aload 17 /* data */
iload 20 /* i */
iaload
iload 21 /* shift */
iushr
sipush 255
iand
i2b
80: .line 342
bastore
81: .line 344
iinc 21 /* shift */ -8
82: .line 345
iinc 19 /* xRemaining */ -8
83: .line 341
StackMap locals:
StackMap stack:
iload 19 /* xRemaining */
ifgt 78
84: .line 347
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 329
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 350
goto 184
88: .line 351
StackMap locals:
StackMap stack:
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferByte
ifeq 127
89: .line 352
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 354
iload 13 /* bitOffset */
bipush 7
iand
ifne 104
91: .line 355
iload 14 /* numBytesPerRow */
istore 18 /* stride */
start local 18 // int stride
92: .line 356
iconst_0
istore 19 /* offset */
start local 19 // int offset
93: .line 357
iconst_0
istore 20 /* y */
start local 20 // int y
94: goto 102
95: .line 358
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 359
aload 15 /* binaryDataArray */
iload 19 /* offset */
97: .line 360
iload 18 /* stride */
98: .line 358
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
99: .line 361
iload 19 /* offset */
iload 18 /* stride */
iadd
istore 19 /* offset */
100: .line 362
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
101: .line 357
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 364
goto 184
104: .line 365
StackMap locals:
StackMap stack:
iload 13 /* bitOffset */
bipush 7
iand
istore 18 /* leftShift */
start local 18 // int leftShift
105: .line 366
bipush 8
iload 18 /* leftShift */
isub
istore 19 /* rightShift */
start local 19 // int rightShift
106: .line 367
iconst_0
istore 20 /* y */
start local 20 // int y
107: goto 125
108: .line 368
StackMap locals: int int int
StackMap stack:
iload 12 /* eltOffset */
istore 21 /* i */
start local 21 // int i
109: .line 369
iload 5 /* rectWidth */
istore 22 /* xRemaining */
start local 22 // int xRemaining
110: .line 370
goto 122
111: .line 371
StackMap locals: int int
StackMap stack:
iload 22 /* xRemaining */
iload 19 /* rightShift */
if_icmple 118
112: .line 372
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
113: .line 373
aload 17 /* data */
iload 21 /* i */
iinc 21 /* i */ 1
baload
sipush 255
iand
iload 18 /* leftShift */
ishl
114: .line 374
aload 17 /* data */
iload 21 /* i */
baload
sipush 255
iand
iload 19 /* rightShift */
iushr
115: .line 373
ior
i2b
116: .line 372
bastore
117: .line 375
goto 121
118: .line 376
StackMap locals:
StackMap stack:
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
119: .line 377
aload 17 /* data */
iload 21 /* i */
baload
sipush 255
iand
iload 18 /* leftShift */
ishl
i2b
120: .line 376
bastore
121: .line 379
StackMap locals:
StackMap stack:
iinc 22 /* xRemaining */ -8
122: .line 370
StackMap locals:
StackMap stack:
iload 22 /* xRemaining */
ifgt 111
123: .line 381
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
end local 22 // int xRemaining
end local 21 // int i
124: .line 367
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 384
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 385
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferUShort
ifeq 157
129: .line 386
StackMap locals:
StackMap stack:
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifeq 131
130: .line 387
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferShort
invokevirtual java.awt.image.DataBufferShort.getData:()[S
goto 132
131: .line 388
StackMap locals:
StackMap stack:
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferUShort
invokevirtual java.awt.image.DataBufferUShort.getData:()[S
132: .line 386
StackMap locals:
StackMap stack: short[]
astore 17 /* data */
start local 17 // short[] data
133: .line 390
iconst_0
istore 18 /* y */
start local 18 // int y
134: goto 155
135: .line 391
StackMap locals: short[] int
StackMap stack:
iload 13 /* bitOffset */
istore 19 /* bOffset */
start local 19 // int bOffset
136: .line 392
iconst_0
istore 20 /* x */
start local 20 // int x
137: goto 152
138: .line 393
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 394
iload 19 /* bOffset */
bipush 16
irem
istore 22 /* mod */
start local 22 // int mod
140: .line 395
aload 17 /* data */
iload 21 /* i */
saload
ldc 65535
iand
istore 23 /* left */
start local 23 // int left
141: .line 396
iload 22 /* mod */
bipush 8
if_icmpgt 144
142: .line 397
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
iload 23 /* left */
bipush 8
iload 22 /* mod */
isub
iushr
i2b
bastore
143: .line 398
goto 151
144: .line 399
StackMap locals: int int int
StackMap stack:
iload 22 /* mod */
bipush 8
isub
istore 24 /* delta */
start local 24 // int delta
145: .line 400
aload 17 /* data */
iload 21 /* i */
iconst_1
iadd
saload
ldc 65535
iand
istore 25 /* right */
start local 25 // int right
146: .line 401
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
147: .line 402
iload 23 /* left */
iload 24 /* delta */
ishl
148: .line 403
iload 25 /* right */
bipush 16
iload 24 /* delta */
isub
iushr
149: .line 402
ior
i2b
150: .line 401
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 392
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 406
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
end local 19 // int bOffset
154: .line 390
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 408
goto 184
StackMap locals:
StackMap stack:
157: aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferInt
ifeq 184
158: .line 409
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 411
iconst_0
istore 18 /* y */
start local 18 // int y
160: goto 183
161: .line 412
StackMap locals: int[] int
StackMap stack:
iload 13 /* bitOffset */
istore 19 /* bOffset */
start local 19 // int bOffset
162: .line 413
iconst_0
istore 20 /* x */
start local 20 // int x
163: goto 180
164: .line 414
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 415
iload 19 /* bOffset */
bipush 32
irem
istore 22 /* mod */
start local 22 // int mod
166: .line 416
aload 17 /* data */
iload 21 /* i */
iaload
istore 23 /* left */
start local 23 // int left
167: .line 417
iload 22 /* mod */
bipush 24
if_icmpgt 172
168: .line 418
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
169: .line 419
iload 23 /* left */
bipush 24
iload 22 /* mod */
isub
iushr
i2b
170: .line 418
bastore
171: .line 420
goto 179
172: .line 421
StackMap locals: int int int
StackMap stack:
iload 22 /* mod */
bipush 24
isub
istore 24 /* delta */
start local 24 // int delta
173: .line 422
aload 17 /* data */
iload 21 /* i */
iconst_1
iadd
iaload
istore 25 /* right */
start local 25 // int right
174: .line 423
aload 15 /* binaryDataArray */
iload 16 /* b */
iinc 16 /* b */ 1
175: .line 424
iload 23 /* left */
iload 24 /* delta */
ishl
176: .line 425
iload 25 /* right */
bipush 32
iload 24 /* delta */
isub
iushr
177: .line 424
ior
i2b
178: .line 423
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 413
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 428
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
end local 19 // int bOffset
182: .line 411
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 433
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 446
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 447
aload 2 /* sm */
invokestatic com.sun.imageio.plugins.common.ImageUtil.isBinary:(Ljava/awt/image/SampleModel;)Z
ifne 3
2: .line 448
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 451
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 452
aload 1 /* rect */
getfield java.awt.Rectangle.y:I
istore 4 /* rectY */
start local 4 // int rectY
5: .line 453
aload 1 /* rect */
getfield java.awt.Rectangle.width:I
istore 5 /* rectWidth */
start local 5 // int rectWidth
6: .line 454
aload 1 /* rect */
getfield java.awt.Rectangle.height:I
istore 6 /* rectHeight */
start local 6 // int rectHeight
7: .line 456
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 458
iload 3 /* rectX */
aload 0 /* raster */
invokevirtual java.awt.image.Raster.getSampleModelTranslateX:()I
isub
istore 8 /* dx */
start local 8 // int dx
9: .line 459
iload 4 /* rectY */
aload 0 /* raster */
invokevirtual java.awt.image.Raster.getSampleModelTranslateY:()I
isub
istore 9 /* dy */
start local 9 // int dy
10: .line 461
aload 2 /* sm */
checkcast java.awt.image.MultiPixelPackedSampleModel
astore 10 /* mpp */
start local 10 // java.awt.image.MultiPixelPackedSampleModel mpp
11: .line 462
aload 10 /* mpp */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getScanlineStride:()I
istore 11 /* lineStride */
start local 11 // int lineStride
12: .line 463
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 464
aload 10 /* mpp */
iload 8 /* dx */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getBitOffset:(I)I
istore 13 /* bitOffset */
start local 13 // int bitOffset
14: .line 466
iload 5 /* rectWidth */
iload 6 /* rectHeight */
imul
newarray 8
astore 14 /* bdata */
start local 14 // byte[] bdata
15: .line 467
iload 4 /* rectY */
iload 6 /* rectHeight */
iadd
istore 15 /* maxY */
start local 15 // int maxY
16: .line 468
iload 3 /* rectX */
iload 5 /* rectWidth */
iadd
istore 16 /* maxX */
start local 16 // int maxX
17: .line 469
iconst_0
istore 17 /* k */
start local 17 // int k
18: .line 471
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferByte
ifeq 36
19: .line 472
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 473
iload 4 /* rectY */
istore 19 /* y */
start local 19 // int y
21: goto 34
22: .line 474
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 475
iload 3 /* rectX */
istore 21 /* x */
start local 21 // int x
24: goto 31
25: .line 476
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 477
aload 14 /* bdata */
iload 17 /* k */
iinc 17 /* k */ 1
27: .line 478
iload 22 /* b */
bipush 7
iload 20 /* bOffset */
isub
bipush 7
iand
iushr
iconst_1
iand
i2b
28: .line 477
bastore
29: .line 479
iinc 20 /* bOffset */ 1
end local 22 // byte b
30: .line 475
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 481
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
end local 20 // int bOffset
33: .line 473
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 483
goto 79
StackMap locals:
StackMap stack:
36: aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifne 38
37: .line 484
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferUShort
ifeq 60
38: .line 485
StackMap locals:
StackMap stack:
aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifeq 40
39: .line 486
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferShort
invokevirtual java.awt.image.DataBufferShort.getData:()[S
goto 41
40: .line 487
StackMap locals:
StackMap stack:
aload 7 /* dataBuffer */
checkcast java.awt.image.DataBufferUShort
invokevirtual java.awt.image.DataBufferUShort.getData:()[S
41: .line 485
StackMap locals:
StackMap stack: short[]
astore 18 /* data */
start local 18 // short[] data
42: .line 488
iload 4 /* rectY */
istore 19 /* y */
start local 19 // int y
43: goto 58
44: .line 489
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 490
iload 3 /* rectX */
istore 21 /* x */
start local 21 // int x
46: goto 55
47: .line 491
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 492
aload 14 /* bdata */
iload 17 /* k */
iinc 17 /* k */ 1
49: .line 493
iload 22 /* s */
bipush 15
iload 20 /* bOffset */
bipush 16
irem
isub
iushr
50: .line 494
iconst_1
51: .line 493
iand
i2b
52: .line 492
bastore
53: .line 495
iinc 20 /* bOffset */ 1
end local 22 // short s
54: .line 490
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 497
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
end local 20 // int bOffset
57: .line 488
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 499
goto 79
StackMap locals:
StackMap stack:
60: aload 7 /* dataBuffer */
instanceof java.awt.image.DataBufferInt
ifeq 79
61: .line 500
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 501
iload 4 /* rectY */
istore 19 /* y */
start local 19 // int y
63: goto 78
64: .line 502
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 503
iload 3 /* rectX */
istore 21 /* x */
start local 21 // int x
66: goto 75
67: .line 504
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 505
aload 14 /* bdata */
iload 17 /* k */
iinc 17 /* k */ 1
69: .line 506
iload 22 /* i */
bipush 31
iload 20 /* bOffset */
bipush 32
irem
isub
iushr
70: .line 507
iconst_1
71: .line 506
iand
i2b
72: .line 505
bastore
73: .line 508
iinc 20 /* bOffset */ 1
end local 22 // int i
74: .line 503
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 510
iload 12 /* eltOffset */
iload 11 /* lineStride */
iadd
istore 12 /* eltOffset */
end local 20 // int bOffset
77: .line 501
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 514
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 529
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 530
aload 3 /* sm */
invokestatic com.sun.imageio.plugins.common.ImageUtil.isBinary:(Ljava/awt/image/SampleModel;)Z
ifne 3
2: .line 531
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 534
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 535
aload 2 /* rect */
getfield java.awt.Rectangle.y:I
istore 5 /* rectY */
start local 5 // int rectY
5: .line 536
aload 2 /* rect */
getfield java.awt.Rectangle.width:I
istore 6 /* rectWidth */
start local 6 // int rectWidth
6: .line 537
aload 2 /* rect */
getfield java.awt.Rectangle.height:I
istore 7 /* rectHeight */
start local 7 // int rectHeight
7: .line 539
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 541
iload 4 /* rectX */
aload 1 /* raster */
invokevirtual java.awt.image.WritableRaster.getSampleModelTranslateX:()I
isub
istore 9 /* dx */
start local 9 // int dx
9: .line 542
iload 5 /* rectY */
aload 1 /* raster */
invokevirtual java.awt.image.WritableRaster.getSampleModelTranslateY:()I
isub
istore 10 /* dy */
start local 10 // int dy
10: .line 544
aload 3 /* sm */
checkcast java.awt.image.MultiPixelPackedSampleModel
astore 11 /* mpp */
start local 11 // java.awt.image.MultiPixelPackedSampleModel mpp
11: .line 545
aload 11 /* mpp */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getScanlineStride:()I
istore 12 /* lineStride */
start local 12 // int lineStride
12: .line 546
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 547
aload 11 /* mpp */
iload 9 /* dx */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getBitOffset:(I)I
istore 14 /* bitOffset */
start local 14 // int bitOffset
14: .line 549
iconst_0
istore 15 /* b */
start local 15 // int b
15: .line 551
iload 14 /* bitOffset */
ifne 89
16: .line 552
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferByte
ifeq 33
17: .line 553
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 554
aload 16 /* data */
aload 0 /* binaryDataArray */
if_acmpne 20
19: .line 556
return
20: .line 558
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 559
iconst_0
istore 18 /* offset */
start local 18 // int offset
22: .line 560
iconst_0
istore 19 /* y */
start local 19 // int y
23: goto 31
24: .line 561
StackMap locals: int int int
StackMap stack:
aload 0 /* binaryDataArray */
iload 18 /* offset */
25: .line 562
aload 16 /* data */
iload 13 /* eltOffset */
26: .line 563
iload 17 /* stride */
27: .line 561
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
28: .line 564
iload 18 /* offset */
iload 17 /* stride */
iadd
istore 18 /* offset */
29: .line 565
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
30: .line 560
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 567
goto 232
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 568
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferUShort
ifeq 59
35: .line 569
StackMap locals:
StackMap stack:
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifeq 37
36: .line 570
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferShort
invokevirtual java.awt.image.DataBufferShort.getData:()[S
goto 38
37: .line 571
StackMap locals:
StackMap stack:
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferUShort
invokevirtual java.awt.image.DataBufferUShort.getData:()[S
38: .line 569
StackMap locals:
StackMap stack: short[]
astore 16 /* data */
start local 16 // short[] data
39: .line 573
iconst_0
istore 17 /* y */
start local 17 // int y
40: goto 57
41: .line 574
StackMap locals: short[] int
StackMap stack:
iload 6 /* rectWidth */
istore 18 /* xRemaining */
start local 18 // int xRemaining
42: .line 575
iload 13 /* eltOffset */
istore 19 /* i */
start local 19 // int i
43: .line 576
goto 50
44: .line 577
StackMap locals: int int
StackMap stack:
aload 16 /* data */
iload 19 /* i */
iinc 19 /* i */ 1
45: .line 578
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
bipush 8
ishl
46: .line 579
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
47: .line 578
ior
i2s
48: .line 577
sastore
49: .line 580
iinc 18 /* xRemaining */ -16
50: .line 576
StackMap locals:
StackMap stack:
iload 18 /* xRemaining */
bipush 8
if_icmpgt 44
51: .line 582
iload 18 /* xRemaining */
ifle 55
52: .line 583
aload 16 /* data */
iload 19 /* i */
iinc 19 /* i */ 1
53: .line 584
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
bipush 8
ishl
i2s
54: .line 583
sastore
55: .line 586
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 573
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 588
goto 232
StackMap locals:
StackMap stack:
59: aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferInt
ifeq 232
60: .line 589
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 591
iconst_0
istore 17 /* y */
start local 17 // int y
62: goto 87
63: .line 592
StackMap locals: int[] int
StackMap stack:
iload 6 /* rectWidth */
istore 18 /* xRemaining */
start local 18 // int xRemaining
64: .line 593
iload 13 /* eltOffset */
istore 19 /* i */
start local 19 // int i
65: .line 594
goto 76
66: .line 595
StackMap locals: int int
StackMap stack:
aload 16 /* data */
iload 19 /* i */
iinc 19 /* i */ 1
67: .line 596
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
bipush 24
ishl
68: .line 597
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
bipush 16
ishl
69: .line 596
ior
70: .line 598
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
bipush 8
ishl
71: .line 596
ior
72: .line 599
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
73: .line 596
ior
74: .line 595
iastore
75: .line 600
iinc 18 /* xRemaining */ -32
76: .line 594
StackMap locals:
StackMap stack:
iload 18 /* xRemaining */
bipush 24
if_icmpgt 66
77: .line 602
bipush 24
istore 20 /* shift */
start local 20 // int shift
78: .line 603
goto 84
79: .line 604
StackMap locals: int
StackMap stack:
aload 16 /* data */
iload 19 /* i */
dup2
iaload
80: .line 605
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
iload 20 /* shift */
ishl
81: .line 604
ior
iastore
82: .line 606
iinc 20 /* shift */ -8
83: .line 607
iinc 18 /* xRemaining */ -8
84: .line 603
StackMap locals:
StackMap stack:
iload 18 /* xRemaining */
ifgt 79
85: .line 609
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
86: .line 591
iinc 17 /* y */ 1
StackMap locals:
StackMap stack:
87: iload 17 /* y */
iload 7 /* rectHeight */
if_icmplt 63
end local 17 // int y
end local 16 // int[] data
88: .line 612
goto 232
89: .line 613
StackMap locals:
StackMap stack:
iload 6 /* rectWidth */
bipush 7
iadd
bipush 8
idiv
istore 16 /* stride */
start local 16 // int stride
90: .line 614
iconst_0
istore 17 /* offset */
start local 17 // int offset
91: .line 615
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferByte
ifeq 143
92: .line 616
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
astore 18 /* data */
start local 18 // byte[] data
93: .line 618
iload 14 /* bitOffset */
bipush 7
iand
ifne 105
94: .line 619
iconst_0
istore 19 /* y */
start local 19 // int y
95: goto 103
96: .line 620
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 */
97: .line 621
aload 18 /* data */
iload 13 /* eltOffset */
98: .line 622
iload 16 /* stride */
99: .line 620
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
100: .line 623
iload 17 /* offset */
iload 16 /* stride */
iadd
istore 17 /* offset */
101: .line 624
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
102: .line 619
iinc 19 /* y */ 1
StackMap locals:
StackMap stack:
103: iload 19 /* y */
iload 7 /* rectHeight */
if_icmplt 96
end local 19 // int y
104: .line 626
goto 232
105: .line 627
StackMap locals:
StackMap stack:
iload 14 /* bitOffset */
bipush 7
iand
istore 19 /* rightShift */
start local 19 // int rightShift
106: .line 628
bipush 8
iload 19 /* rightShift */
isub
istore 20 /* leftShift */
start local 20 // int leftShift
107: .line 629
bipush 8
iload 20 /* leftShift */
iadd
istore 21 /* leftShift8 */
start local 21 // int leftShift8
108: .line 630
sipush 255
iload 20 /* leftShift */
ishl
i2b
istore 22 /* mask */
start local 22 // int mask
109: .line 631
iload 22 /* mask */
iconst_m1
ixor
i2b
istore 23 /* mask1 */
start local 23 // int mask1
110: .line 633
iconst_0
istore 24 /* y */
start local 24 // int y
111: goto 141
112: .line 634
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
113: .line 635
iload 6 /* rectWidth */
istore 26 /* xRemaining */
start local 26 // int xRemaining
114: .line 636
goto 138
115: .line 637
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
116: .line 639
iload 26 /* xRemaining */
iload 21 /* leftShift8 */
if_icmple 122
117: .line 642
aload 18 /* data */
iload 25 /* i */
aload 18 /* data */
iload 25 /* i */
baload
iload 22 /* mask */
iand
118: .line 643
iload 27 /* datum */
sipush 255
iand
iload 19 /* rightShift */
iushr
ior
i2b
119: .line 642
bastore
120: .line 644
aload 18 /* data */
iinc 25 /* i */ 1
iload 25 /* i */
iload 27 /* datum */
sipush 255
iand
iload 20 /* leftShift */
ishl
i2b
bastore
121: .line 645
goto 137
StackMap locals: int
StackMap stack:
122: iload 26 /* xRemaining */
iload 20 /* leftShift */
if_icmple 131
123: .line 649
aload 18 /* data */
iload 25 /* i */
aload 18 /* data */
iload 25 /* i */
baload
iload 22 /* mask */
iand
124: .line 650
iload 27 /* datum */
sipush 255
iand
iload 19 /* rightShift */
iushr
ior
i2b
125: .line 649
bastore
126: .line 651
iinc 25 /* i */ 1
127: .line 652
aload 18 /* data */
iload 25 /* i */
128: .line 653
aload 18 /* data */
iload 25 /* i */
baload
iload 23 /* mask1 */
iand
iload 27 /* datum */
sipush 255
iand
iload 20 /* leftShift */
ishl
ior
i2b
129: .line 652
bastore
130: .line 654
goto 137
131: .line 657
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
132: .line 658
aload 18 /* data */
iload 25 /* i */
133: .line 659
aload 18 /* data */
iload 25 /* i */
baload
iload 22 /* mask */
iload 28 /* remainMask */
ior
iand
134: .line 660
iload 27 /* datum */
sipush 255
iand
iload 19 /* rightShift */
iushr
iload 28 /* remainMask */
iconst_m1
ixor
iand
135: .line 659
ior
i2b
136: .line 658
bastore
end local 28 // int remainMask
137: .line 662
StackMap locals:
StackMap stack:
iinc 26 /* xRemaining */ -8
end local 27 // byte datum
138: .line 636
StackMap locals:
StackMap stack:
iload 26 /* xRemaining */
ifgt 115
139: .line 664
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
end local 26 // int xRemaining
end local 25 // int i
140: .line 633
iinc 24 /* y */ 1
StackMap locals:
StackMap stack:
141: iload 24 /* y */
iload 7 /* rectHeight */
if_icmplt 112
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
142: .line 667
goto 232
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:
143: aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifne 145
144: .line 668
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferUShort
ifeq 192
145: .line 669
StackMap locals:
StackMap stack:
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifeq 147
146: .line 670
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferShort
invokevirtual java.awt.image.DataBufferShort.getData:()[S
goto 148
147: .line 671
StackMap locals:
StackMap stack:
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferUShort
invokevirtual java.awt.image.DataBufferUShort.getData:()[S
148: .line 669
StackMap locals:
StackMap stack: short[]
astore 18 /* data */
start local 18 // short[] data
149: .line 673
iload 14 /* bitOffset */
bipush 7
iand
istore 19 /* rightShift */
start local 19 // int rightShift
150: .line 674
bipush 8
iload 19 /* rightShift */
isub
istore 20 /* leftShift */
start local 20 // int leftShift
151: .line 675
bipush 16
iload 20 /* leftShift */
iadd
istore 21 /* leftShift16 */
start local 21 // int leftShift16
152: .line 676
sipush 255
iload 20 /* leftShift */
ishl
iconst_m1
ixor
i2s
istore 22 /* mask */
start local 22 // int mask
153: .line 677
ldc 65535
iload 20 /* leftShift */
ishl
i2s
istore 23 /* mask1 */
start local 23 // int mask1
154: .line 678
iload 23 /* mask1 */
iconst_m1
ixor
i2s
istore 24 /* mask2 */
start local 24 // int mask2
155: .line 680
iconst_0
istore 25 /* y */
start local 25 // int y
156: goto 190
157: .line 681
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
158: .line 682
iload 6 /* rectWidth */
istore 27 /* xRemaining */
start local 27 // int xRemaining
159: .line 683
iconst_0
istore 28 /* x */
start local 28 // int x
160: goto 187
161: .line 685
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
162: .line 686
iload 26 /* bOffset */
bipush 15
iand
istore 30 /* mod */
start local 30 // int mod
163: .line 687
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
istore 31 /* datum */
start local 31 // int datum
164: .line 688
iload 30 /* mod */
bipush 8
if_icmpgt 169
165: .line 690
iload 27 /* xRemaining */
bipush 8
if_icmpge 167
166: .line 692
iload 31 /* datum */
sipush 255
bipush 8
iload 27 /* xRemaining */
isub
ishl
iand
istore 31 /* datum */
167: .line 694
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
168: .line 695
goto 186
StackMap locals:
StackMap stack:
169: iload 27 /* xRemaining */
iload 21 /* leftShift16 */
if_icmple 175
170: .line 697
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
171: .line 698
aload 18 /* data */
iinc 29 /* i */ 1
iload 29 /* i */
172: .line 699
iload 31 /* datum */
iload 20 /* leftShift */
ishl
ldc 65535
iand
i2s
173: .line 698
sastore
174: .line 700
goto 186
StackMap locals:
StackMap stack:
175: iload 27 /* xRemaining */
iload 20 /* leftShift */
if_icmple 182
176: .line 703
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
177: .line 704
iinc 29 /* i */ 1
178: .line 705
aload 18 /* data */
iload 29 /* i */
179: .line 706
aload 18 /* data */
iload 29 /* i */
saload
iload 24 /* mask2 */
iand
iload 31 /* datum */
iload 20 /* leftShift */
ishl
ldc 65535
iand
ior
i2s
180: .line 705
sastore
181: .line 707
goto 186
182: .line 710
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
183: .line 711
aload 18 /* data */
iload 29 /* i */
aload 18 /* data */
iload 29 /* i */
saload
iload 23 /* mask1 */
iload 32 /* remainMask */
ior
iand
184: .line 712
iload 31 /* datum */
iload 19 /* rightShift */
iushr
ldc 65535
iand
iload 32 /* remainMask */
iconst_m1
ixor
iand
ior
i2s
185: .line 711
sastore
end local 32 // int remainMask
end local 31 // int datum
end local 30 // int mod
end local 29 // int i
186: .line 684
StackMap locals:
StackMap stack:
iinc 28 /* x */ 8
iinc 26 /* bOffset */ 8
iinc 27 /* xRemaining */ -8
187: .line 683
StackMap locals:
StackMap stack:
iload 28 /* x */
iload 6 /* rectWidth */
if_icmplt 161
end local 28 // int x
188: .line 715
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
end local 27 // int xRemaining
end local 26 // int bOffset
189: .line 680
iinc 25 /* y */ 1
StackMap locals:
StackMap stack:
190: iload 25 /* y */
iload 7 /* rectHeight */
if_icmplt 157
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
191: .line 717
goto 232
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:
192: aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferInt
ifeq 232
193: .line 718
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferInt
invokevirtual java.awt.image.DataBufferInt.getData:()[I
astore 18 /* data */
start local 18 // int[] data
194: .line 719
iload 14 /* bitOffset */
bipush 7
iand
istore 19 /* rightShift */
start local 19 // int rightShift
195: .line 720
bipush 8
iload 19 /* rightShift */
isub
istore 20 /* leftShift */
start local 20 // int leftShift
196: .line 721
bipush 32
iload 20 /* leftShift */
iadd
istore 21 /* leftShift32 */
start local 21 // int leftShift32
197: .line 722
iconst_m1
iload 20 /* leftShift */
ishl
istore 22 /* mask */
start local 22 // int mask
198: .line 723
iload 22 /* mask */
iconst_m1
ixor
istore 23 /* mask1 */
start local 23 // int mask1
199: .line 725
iconst_0
istore 24 /* y */
start local 24 // int y
200: goto 231
201: .line 726
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
202: .line 727
iload 6 /* rectWidth */
istore 26 /* xRemaining */
start local 26 // int xRemaining
203: .line 728
iconst_0
istore 27 /* x */
start local 27 // int x
204: goto 228
205: .line 730
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
206: .line 731
iload 25 /* bOffset */
bipush 31
iand
istore 29 /* mod */
start local 29 // int mod
207: .line 732
aload 0 /* binaryDataArray */
iload 15 /* b */
iinc 15 /* b */ 1
baload
sipush 255
iand
istore 30 /* datum */
start local 30 // int datum
208: .line 733
iload 29 /* mod */
bipush 24
if_icmpgt 214
209: .line 735
bipush 24
iload 29 /* mod */
isub
istore 31 /* shift */
start local 31 // int shift
210: .line 736
iload 26 /* xRemaining */
bipush 8
if_icmpge 212
211: .line 738
iload 30 /* datum */
sipush 255
bipush 8
iload 26 /* xRemaining */
isub
ishl
iand
istore 30 /* datum */
212: .line 740
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
213: .line 741
goto 227
StackMap locals:
StackMap stack:
214: iload 26 /* xRemaining */
iload 21 /* leftShift32 */
if_icmple 218
215: .line 743
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
216: .line 744
aload 18 /* data */
iinc 28 /* i */ 1
iload 28 /* i */
iload 30 /* datum */
iload 20 /* leftShift */
ishl
iastore
217: .line 745
goto 227
StackMap locals:
StackMap stack:
218: iload 26 /* xRemaining */
iload 20 /* leftShift */
if_icmple 223
219: .line 748
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
220: .line 749
iinc 28 /* i */ 1
221: .line 750
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
222: .line 751
goto 227
223: .line 753
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
224: .line 754
aload 18 /* data */
iload 28 /* i */
aload 18 /* data */
iload 28 /* i */
iaload
iload 22 /* mask */
iload 31 /* remainMask */
ior
iand
225: .line 755
iload 30 /* datum */
iload 19 /* rightShift */
iushr
iload 31 /* remainMask */
iconst_m1
ixor
iand
ior
226: .line 754
iastore
end local 31 // int remainMask
end local 30 // int datum
end local 29 // int mod
end local 28 // int i
227: .line 729
StackMap locals:
StackMap stack:
iinc 27 /* x */ 8
iinc 25 /* bOffset */ 8
iinc 26 /* xRemaining */ -8
228: .line 728
StackMap locals:
StackMap stack:
iload 27 /* x */
iload 6 /* rectWidth */
if_icmplt 205
end local 27 // int x
229: .line 758
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
end local 26 // int xRemaining
end local 25 // int bOffset
230: .line 725
iinc 24 /* y */ 1
StackMap locals:
StackMap stack:
231: iload 24 /* y */
iload 7 /* rectHeight */
if_icmplt 201
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
232: .line 762
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 233 0 binaryDataArray [B
0 233 1 raster Ljava/awt/image/WritableRaster;
0 233 2 rect Ljava/awt/Rectangle;
1 233 3 sm Ljava/awt/image/SampleModel;
4 233 4 rectX I
5 233 5 rectY I
6 233 6 rectWidth I
7 233 7 rectHeight I
8 233 8 dataBuffer Ljava/awt/image/DataBuffer;
9 233 9 dx I
10 233 10 dy I
11 233 11 mpp Ljava/awt/image/MultiPixelPackedSampleModel;
12 233 12 lineStride I
13 233 13 eltOffset I
14 233 14 bitOffset I
15 233 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 88 16 data [I
62 88 17 y I
64 86 18 xRemaining I
65 86 19 i I
78 86 20 shift I
90 232 16 stride I
91 232 17 offset I
93 142 18 data [B
95 104 19 y I
106 142 19 rightShift I
107 142 20 leftShift I
108 142 21 leftShift8 I
109 142 22 mask I
110 142 23 mask1 I
111 142 24 y I
113 140 25 i I
114 140 26 xRemaining I
116 138 27 datum B
132 137 28 remainMask I
149 191 18 data [S
150 191 19 rightShift I
151 191 20 leftShift I
152 191 21 leftShift16 I
153 191 22 mask I
154 191 23 mask1 I
155 191 24 mask2 I
156 191 25 y I
158 189 26 bOffset I
159 189 27 xRemaining I
160 188 28 x I
162 186 29 i I
163 186 30 mod I
164 186 31 datum I
183 186 32 remainMask I
194 232 18 data [I
195 232 19 rightShift I
196 232 20 leftShift I
197 232 21 leftShift32 I
198 232 22 mask I
199 232 23 mask1 I
200 232 24 y I
202 230 25 bOffset I
203 230 26 xRemaining I
204 229 27 x I
206 227 28 i I
207 227 29 mod I
208 227 30 datum I
210 213 31 shift I
224 227 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 779
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 780
aload 3 /* sm */
invokestatic com.sun.imageio.plugins.common.ImageUtil.isBinary:(Ljava/awt/image/SampleModel;)Z
ifne 3
2: .line 781
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 784
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 785
aload 2 /* rect */
getfield java.awt.Rectangle.y:I
istore 5 /* rectY */
start local 5 // int rectY
5: .line 786
aload 2 /* rect */
getfield java.awt.Rectangle.width:I
istore 6 /* rectWidth */
start local 6 // int rectWidth
6: .line 787
aload 2 /* rect */
getfield java.awt.Rectangle.height:I
istore 7 /* rectHeight */
start local 7 // int rectHeight
7: .line 789
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 791
iload 4 /* rectX */
aload 1 /* raster */
invokevirtual java.awt.image.WritableRaster.getSampleModelTranslateX:()I
isub
istore 9 /* dx */
start local 9 // int dx
9: .line 792
iload 5 /* rectY */
aload 1 /* raster */
invokevirtual java.awt.image.WritableRaster.getSampleModelTranslateY:()I
isub
istore 10 /* dy */
start local 10 // int dy
10: .line 794
aload 3 /* sm */
checkcast java.awt.image.MultiPixelPackedSampleModel
astore 11 /* mpp */
start local 11 // java.awt.image.MultiPixelPackedSampleModel mpp
11: .line 795
aload 11 /* mpp */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getScanlineStride:()I
istore 12 /* lineStride */
start local 12 // int lineStride
12: .line 796
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 797
aload 11 /* mpp */
iload 9 /* dx */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getBitOffset:(I)I
istore 14 /* bitOffset */
start local 14 // int bitOffset
14: .line 799
iconst_0
istore 15 /* k */
start local 15 // int k
15: .line 801
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferByte
ifeq 33
16: .line 802
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 803
iconst_0
istore 17 /* y */
start local 17 // int y
18: goto 31
19: .line 804
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 805
iconst_0
istore 19 /* x */
start local 19 // int x
21: goto 28
22: .line 806
StackMap locals: int int
StackMap stack:
aload 0 /* bdata */
iload 15 /* k */
iinc 15 /* k */ 1
baload
ifeq 26
23: .line 807
aload 16 /* data */
iload 18 /* bOffset */
bipush 8
idiv
dup2
baload
24: .line 808
iconst_1
bipush 7
iload 18 /* bOffset */
isub
bipush 7
iand
ishl
i2b
25: .line 807
ior
i2b
bastore
26: .line 810
StackMap locals:
StackMap stack:
iinc 18 /* bOffset */ 1
27: .line 805
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 812
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
end local 18 // int bOffset
30: .line 803
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 814
goto 76
StackMap locals:
StackMap stack:
33: aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifne 35
34: .line 815
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferUShort
ifeq 57
35: .line 816
StackMap locals:
StackMap stack:
aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferShort
ifeq 37
36: .line 817
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferShort
invokevirtual java.awt.image.DataBufferShort.getData:()[S
goto 38
37: .line 818
StackMap locals:
StackMap stack:
aload 8 /* dataBuffer */
checkcast java.awt.image.DataBufferUShort
invokevirtual java.awt.image.DataBufferUShort.getData:()[S
38: .line 816
StackMap locals:
StackMap stack: short[]
astore 16 /* data */
start local 16 // short[] data
39: .line 819
iconst_0
istore 17 /* y */
start local 17 // int y
40: goto 55
41: .line 820
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 821
iconst_0
istore 19 /* x */
start local 19 // int x
43: goto 52
44: .line 822
StackMap locals: int int
StackMap stack:
aload 0 /* bdata */
iload 15 /* k */
iinc 15 /* k */ 1
baload
ifeq 50
45: .line 823
aload 16 /* data */
iload 18 /* bOffset */
bipush 16
idiv
dup2
saload
46: .line 824
iconst_1
47: .line 825
bipush 15
iload 18 /* bOffset */
bipush 16
irem
isub
48: .line 824
ishl
i2s
49: .line 823
ior
i2s
sastore
50: .line 827
StackMap locals:
StackMap stack:
iinc 18 /* bOffset */ 1
51: .line 821
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 829
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
end local 18 // int bOffset
54: .line 819
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 831
goto 76
StackMap locals:
StackMap stack:
57: aload 8 /* dataBuffer */
instanceof java.awt.image.DataBufferInt
ifeq 76
58: .line 832
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 833
iconst_0
istore 17 /* y */
start local 17 // int y
60: goto 75
61: .line 834
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 835
iconst_0
istore 19 /* x */
start local 19 // int x
63: goto 72
64: .line 836
StackMap locals: int int
StackMap stack:
aload 0 /* bdata */
iload 15 /* k */
iinc 15 /* k */ 1
baload
ifeq 70
65: .line 837
aload 16 /* data */
iload 18 /* bOffset */
bipush 32
idiv
dup2
iaload
66: .line 838
iconst_1
67: .line 839
bipush 31
iload 18 /* bOffset */
bipush 32
irem
isub
68: .line 838
ishl
69: .line 837
ior
iastore
70: .line 841
StackMap locals:
StackMap stack:
iinc 18 /* bOffset */ 1
71: .line 835
iinc 19 /* x */ 1
StackMap locals:
StackMap stack:
72: iload 19 /* x */
iload 6 /* rectWidth */
if_icmplt 64
end local 19 // int x
73: .line 843
iload 13 /* eltOffset */
iload 12 /* lineStride */
iadd
istore 13 /* eltOffset */
end local 18 // int bOffset
74: .line 833
iinc 17 /* y */ 1
StackMap locals:
StackMap stack:
75: iload 17 /* y */
iload 7 /* rectHeight */
if_icmplt 61
end local 17 // int y
end local 16 // int[] data
76: .line 846
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 77 0 bdata [B
0 77 1 raster Ljava/awt/image/WritableRaster;
0 77 2 rect Ljava/awt/Rectangle;
1 77 3 sm Ljava/awt/image/SampleModel;
4 77 4 rectX I
5 77 5 rectY I
6 77 6 rectWidth I
7 77 7 rectHeight I
8 77 8 dataBuffer Ljava/awt/image/DataBuffer;
9 77 9 dx I
10 77 10 dy I
11 77 11 mpp Ljava/awt/image/MultiPixelPackedSampleModel;
12 77 12 lineStride I
13 77 13 eltOffset I
14 77 14 bitOffset I
15 77 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 76 16 data [I
60 76 17 y I
62 74 18 bOffset I
63 73 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 849
aload 0 /* sm */
instanceof java.awt.image.MultiPixelPackedSampleModel
ifeq 4
1: .line 850
aload 0 /* sm */
checkcast java.awt.image.MultiPixelPackedSampleModel
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getPixelBitStride:()I
iconst_1
if_icmpne 4
2: .line 851
aload 0 /* sm */
invokevirtual java.awt.image.SampleModel.getNumBands:()I
iconst_1
if_icmpne 4
3: .line 849
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 856
aconst_null
astore 2 /* colorModel */
start local 2 // java.awt.image.ColorModel colorModel
1: .line 858
aload 1 /* sampleModel */
ifnonnull 3
2: .line 859
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 862
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 863
iload 3 /* numBands */
iconst_1
if_icmplt 5
iload 3 /* numBands */
iconst_4
if_icmple 6
5: .line 864
StackMap locals: int
StackMap stack:
aconst_null
areturn
6: .line 867
StackMap locals:
StackMap stack:
aload 1 /* sampleModel */
invokevirtual java.awt.image.SampleModel.getDataType:()I
istore 4 /* dataType */
start local 4 // int dataType
7: .line 868
aload 1 /* sampleModel */
instanceof java.awt.image.ComponentSampleModel
ifeq 39
8: .line 869
iload 4 /* dataType */
iflt 10
9: .line 871
iload 4 /* dataType */
iconst_5
if_icmple 11
10: .line 872
StackMap locals: int
StackMap stack:
aconst_null
areturn
11: .line 875
StackMap locals:
StackMap stack:
aload 0 /* colorSpace */
ifnonnull 16
12: .line 877
iload 3 /* numBands */
iconst_2
if_icmpgt 14
13: .line 878
sipush 1003
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
goto 15
14: .line 879
StackMap locals:
StackMap stack:
sipush 1000
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
15: .line 876
StackMap locals:
StackMap stack: java.awt.color.ColorSpace
astore 0 /* colorSpace */
16: .line 881
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 882
iload 5 /* useAlpha */
ifeq 21
20: .line 883
iconst_3
goto 22
StackMap locals: int
StackMap stack:
21: iconst_1
22: .line 882
StackMap locals:
StackMap stack: int
istore 6 /* transparency */
start local 6 // int transparency
23: .line 885
iconst_0
istore 7 /* premultiplied */
start local 7 // boolean premultiplied
24: .line 887
iload 4 /* dataType */
invokestatic java.awt.image.DataBuffer.getDataTypeSize:(I)I
istore 8 /* dataTypeSize */
start local 8 // int dataTypeSize
25: .line 888
iload 3 /* numBands */
newarray 10
astore 9 /* bits */
start local 9 // int[] bits
26: .line 889
iconst_0
istore 10 /* i */
start local 10 // int i
27: goto 30
28: .line 890
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 889
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 893
new java.awt.image.ComponentColorModel
dup
aload 0 /* colorSpace */
32: .line 894
aload 9 /* bits */
33: .line 895
iload 5 /* useAlpha */
34: .line 896
iload 7 /* premultiplied */
35: .line 897
iload 6 /* transparency */
36: .line 898
iload 4 /* dataType */
37: .line 893
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 899
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 901
aload 1 /* sampleModel */
checkcast java.awt.image.SinglePixelPackedSampleModel
41: .line 900
astore 5 /* sppsm */
start local 5 // java.awt.image.SinglePixelPackedSampleModel sppsm
42: .line 903
aload 5 /* sppsm */
invokevirtual java.awt.image.SinglePixelPackedSampleModel.getBitMasks:()[I
astore 6 /* bitMasks */
start local 6 // int[] bitMasks
43: .line 904
iconst_0
istore 7 /* rmask */
start local 7 // int rmask
44: .line 905
iconst_0
istore 8 /* gmask */
start local 8 // int gmask
45: .line 906
iconst_0
istore 9 /* bmask */
start local 9 // int bmask
46: .line 907
iconst_0
istore 10 /* amask */
start local 10 // int amask
47: .line 909
aload 6 /* bitMasks */
arraylength
istore 3 /* numBands */
48: .line 910
iload 3 /* numBands */
iconst_2
if_icmpgt 53
49: .line 911
aload 6 /* bitMasks */
iconst_0
iaload
dup
istore 9 /* bmask */
dup
istore 8 /* gmask */
istore 7 /* rmask */
50: .line 912
iload 3 /* numBands */
iconst_2
if_icmpne 58
51: .line 913
aload 6 /* bitMasks */
iconst_1
iaload
istore 10 /* amask */
52: .line 915
goto 58
53: .line 916
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 917
aload 6 /* bitMasks */
iconst_1
iaload
istore 8 /* gmask */
55: .line 918
aload 6 /* bitMasks */
iconst_2
iaload
istore 9 /* bmask */
56: .line 919
iload 3 /* numBands */
iconst_4
if_icmpne 58
57: .line 920
aload 6 /* bitMasks */
iconst_3
iaload
istore 10 /* amask */
58: .line 924
StackMap locals:
StackMap stack:
aload 5 /* sppsm */
invokevirtual java.awt.image.SinglePixelPackedSampleModel.getSampleSize:()[I
astore 11 /* sampleSize */
start local 11 // int[] sampleSize
59: .line 925
iconst_0
istore 12 /* bits */
start local 12 // int bits
60: .line 926
iconst_0
istore 13 /* i */
start local 13 // int i
61: goto 64
62: .line 927
StackMap locals: int[] int int
StackMap stack:
iload 12 /* bits */
aload 11 /* sampleSize */
iload 13 /* i */
iaload
iadd
istore 12 /* bits */
63: .line 926
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 930
aload 0 /* colorSpace */
ifnonnull 67
66: .line 931
sipush 1000
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
astore 0 /* colorSpace */
67: .line 934
StackMap locals:
StackMap stack:
new java.awt.image.DirectColorModel
dup
aload 0 /* colorSpace */
68: .line 935
iload 12 /* bits */
iload 7 /* rmask */
iload 8 /* gmask */
iload 9 /* bmask */
iload 10 /* amask */
69: .line 936
iconst_0
70: .line 937
aload 1 /* sampleModel */
invokevirtual java.awt.image.SampleModel.getDataType:()I
71: .line 934
invokespecial java.awt.image.DirectColorModel.<init>:(Ljava/awt/color/ColorSpace;IIIIIZI)V
72: .line 933
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 938
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 940
aload 1 /* sampleModel */
checkcast java.awt.image.MultiPixelPackedSampleModel
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getPixelBitStride:()I
76: .line 939
istore 5 /* bits */
start local 5 // int bits
77: .line 941
iconst_1
iload 5 /* bits */
ishl
istore 6 /* size */
start local 6 // int size
78: .line 942
iload 6 /* size */
newarray 8
astore 7 /* comp */
start local 7 // byte[] comp
79: .line 944
iconst_0
istore 8 /* i */
start local 8 // int i
80: goto 83
81: .line 945
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 944
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 947
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 950
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 954
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 956
aload 0 /* sm */
instanceof java.awt.image.MultiPixelPackedSampleModel
ifeq 5
2: .line 958
aload 0 /* sm */
checkcast java.awt.image.MultiPixelPackedSampleModel
3: .line 957
astore 2 /* mppsm */
start local 2 // java.awt.image.MultiPixelPackedSampleModel mppsm
4: .line 959
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 960
StackMap locals: int
StackMap stack:
aload 0 /* sm */
instanceof java.awt.image.ComponentSampleModel
ifeq 7
6: .line 961
aload 0 /* sm */
invokevirtual java.awt.image.SampleModel.getNumBands:()I
iload 1 /* elementSize */
imul
ireturn
7: .line 962
StackMap locals:
StackMap stack:
aload 0 /* sm */
instanceof java.awt.image.SinglePixelPackedSampleModel
ifeq 9
8: .line 963
iload 1 /* elementSize */
ireturn
9: .line 966
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 971
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 973
aload 0 /* sm */
instanceof java.awt.image.MultiPixelPackedSampleModel
ifeq 9
2: .line 975
aload 0 /* sm */
checkcast java.awt.image.MultiPixelPackedSampleModel
3: .line 974
astore 2 /* mppsm */
start local 2 // java.awt.image.MultiPixelPackedSampleModel mppsm
4: .line 976
aload 2 /* mppsm */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getScanlineStride:()I
aload 2 /* mppsm */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getHeight:()I
imul
5: .line 977
aload 2 /* mppsm */
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getDataBitOffset:()I
iload 1 /* elementSize */
iadd
iconst_1
isub
iload 1 /* elementSize */
idiv
6: .line 976
iadd
7: .line 978
iload 1 /* elementSize */
bipush 7
iadd
bipush 8
idiv
8: .line 976
imul
i2l
lreturn
end local 2 // java.awt.image.MultiPixelPackedSampleModel mppsm
9: .line 979
StackMap locals: int
StackMap stack:
aload 0 /* sm */
instanceof java.awt.image.ComponentSampleModel
ifeq 35
10: .line 980
aload 0 /* sm */
checkcast java.awt.image.ComponentSampleModel
astore 2 /* csm */
start local 2 // java.awt.image.ComponentSampleModel csm
11: .line 981
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getBandOffsets:()[I
astore 3 /* bandOffsets */
start local 3 // int[] bandOffsets
12: .line 982
aload 3 /* bandOffsets */
iconst_0
iaload
istore 4 /* maxBandOff */
start local 4 // int maxBandOff
13: .line 983
iconst_1
istore 5 /* i */
start local 5 // int i
14: goto 17
15: .line 984
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 983
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 986
lconst_0
lstore 5 /* size */
start local 5 // long size
19: .line 987
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getPixelStride:()I
istore 7 /* pixelStride */
start local 7 // int pixelStride
20: .line 988
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getScanlineStride:()I
istore 8 /* scanlineStride */
start local 8 // int scanlineStride
21: .line 989
iload 4 /* maxBandOff */
iflt 23
22: .line 990
lload 5 /* size */
iload 4 /* maxBandOff */
iconst_1
iadd
i2l
ladd
lstore 5 /* size */
23: .line 991
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 992
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 993
StackMap locals:
StackMap stack:
iload 8 /* scanlineStride */
ifle 27
26: .line 994
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 996
StackMap locals:
StackMap stack:
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getBankIndices:()[I
astore 9 /* bankIndices */
start local 9 // int[] bankIndices
28: .line 997
aload 9 /* bankIndices */
iconst_0
iaload
istore 4 /* maxBandOff */
29: .line 998
iconst_1
istore 10 /* i */
start local 10 // int i
30: goto 33
31: .line 999
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 998
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 1000
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 1001
StackMap locals: java.awt.image.SampleModel int
StackMap stack:
aload 0 /* sm */
instanceof java.awt.image.SinglePixelPackedSampleModel
ifeq 42
36: .line 1003
aload 0 /* sm */
checkcast java.awt.image.SinglePixelPackedSampleModel
37: .line 1002
astore 2 /* sppsm */
start local 2 // java.awt.image.SinglePixelPackedSampleModel sppsm
38: .line 1004
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 1005
aload 2 /* sppsm */
invokevirtual java.awt.image.SinglePixelPackedSampleModel.getWidth:()I
40: .line 1004
iadd
i2l
lstore 3 /* size */
start local 3 // long size
41: .line 1006
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 1009
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 1013
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 1015
aload 0 /* sm */
instanceof java.awt.image.ComponentSampleModel
ifeq 11
2: .line 1016
aload 0 /* sm */
checkcast java.awt.image.ComponentSampleModel
astore 2 /* csm */
start local 2 // java.awt.image.ComponentSampleModel csm
3: .line 1017
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getPixelStride:()I
istore 3 /* pixelStride */
start local 3 // int pixelStride
4: .line 1018
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getScanlineStride:()I
istore 4 /* scanlineStride */
start local 4 // int scanlineStride
5: .line 1019
iload 3 /* pixelStride */
iload 4 /* scanlineStride */
invokestatic java.lang.Math.min:(II)I
i2l
lstore 5 /* size */
start local 5 // long size
6: .line 1021
iload 3 /* pixelStride */
ifle 8
7: .line 1022
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 1023
StackMap locals: java.awt.image.SampleModel int java.awt.image.ComponentSampleModel int int long
StackMap stack:
iload 4 /* scanlineStride */
ifle 10
9: .line 1024
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 1025
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 1027
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 1039
aload 0 /* r */
arraylength
aload 1 /* g */
arraylength
if_icmpne 1
aload 0 /* r */
arraylength
aload 2 /* b */
arraylength
if_icmpeq 2
1: .line 1040
StackMap locals:
StackMap stack:
iconst_0
ireturn
2: .line 1042
StackMap locals:
StackMap stack:
aload 0 /* r */
arraylength
istore 3 /* size */
start local 3 // int size
3: .line 1044
iload 3 /* size */
sipush 256
if_icmpeq 5
4: .line 1045
iconst_0
ireturn
5: .line 1047
StackMap locals: int
StackMap stack:
iconst_0
istore 4 /* i */
start local 4 // int i
6: goto 11
7: .line 1048
StackMap locals: int
StackMap stack:
iload 4 /* i */
i2b
istore 5 /* temp */
start local 5 // byte temp
8: .line 1050
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 1051
StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 5 // byte temp
10: .line 1047
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 1054
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 1059
aload 0 /* obj */
ifnonnull 2
1: .line 1060
ldc ""
areturn
2: .line 1062
StackMap locals:
StackMap stack:
ldc ""
astore 1 /* s */
start local 1 // java.lang.String s
3: .line 1063
aload 0 /* obj */
instanceof byte[]
ifeq 11
4: .line 1064
aload 0 /* obj */
checkcast byte[]
astore 2 /* bArray */
start local 2 // byte[] bArray
5: .line 1065
iconst_0
istore 3 /* i */
start local 3 // int i
6: goto 9
7: .line 1066
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 1065
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 1067
aload 1 /* s */
areturn
end local 2 // byte[] bArray
11: .line 1070
StackMap locals:
StackMap stack:
aload 0 /* obj */
instanceof int[]
ifeq 19
12: .line 1071
aload 0 /* obj */
checkcast int[]
astore 2 /* iArray */
start local 2 // int[] iArray
13: .line 1072
iconst_0
istore 3 /* i */
start local 3 // int i
14: goto 17
15: .line 1073
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 1072
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 1074
aload 1 /* s */
areturn
end local 2 // int[] iArray
19: .line 1077
StackMap locals:
StackMap stack:
aload 0 /* obj */
instanceof short[]
ifeq 27
20: .line 1078
aload 0 /* obj */
checkcast short[]
astore 2 /* sArray */
start local 2 // short[] sArray
21: .line 1079
iconst_0
istore 3 /* i */
start local 3 // int i
22: goto 25
23: .line 1080
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 1079
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 1081
aload 1 /* s */
areturn
end local 2 // short[] sArray
27: .line 1084
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 1098
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 1100
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 1101
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 1102
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 1101
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;)V
athrow
5: .line 1104
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 1118
aconst_null
astore 3 /* type */
start local 3 // javax.imageio.ImageTypeSpecifier type
1: .line 1119
aload 1 /* colorModel */
ifnull 3
aload 2 /* sampleModel */
ifnull 3
2: .line 1120
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 1121
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 1122
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 1129
aload 0 /* image */
instanceof java.awt.image.BufferedImage
ifeq 4
1: .line 1130
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 1131
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 1132
goto 5
end local 1 // java.awt.image.SampleModel sm
4: .line 1133
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 1136
StackMap locals: java.awt.image.SampleModel
StackMap stack:
aload 1 /* sm */
instanceof java.awt.image.ComponentSampleModel
ifeq 24
6: .line 1139
aload 1 /* sm */
checkcast java.awt.image.ComponentSampleModel
astore 2 /* csm */
start local 2 // java.awt.image.ComponentSampleModel csm
7: .line 1141
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 1142
iconst_0
ireturn
9: .line 1145
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 1146
iconst_0
istore 4 /* i */
start local 4 // int i
11: goto 15
12: .line 1147
StackMap locals: int[] int
StackMap stack:
aload 3 /* bandOffsets */
iload 4 /* i */
iaload
iload 4 /* i */
if_icmpeq 14
13: .line 1148
iconst_0
ireturn
14: .line 1146
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 1152
aload 2 /* csm */
invokevirtual java.awt.image.ComponentSampleModel.getBankIndices:()[I
astore 4 /* bankIndices */
start local 4 // int[] bankIndices
17: .line 1153
iconst_0
istore 5 /* i */
start local 5 // int i
18: goto 22
19: .line 1154
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 1155
iconst_0
ireturn
21: .line 1153
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 1159
iconst_1
ireturn
end local 4 // int[] bankIndices
end local 3 // int[] bandOffsets
end local 2 // java.awt.image.ComponentSampleModel csm
24: .line 1165
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
}
SourceFile: "ImageUtil.java"