class org.apache.batik.ext.awt.image.rendered.IndexImage$Cube
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.batik.ext.awt.image.rendered.IndexImage$Cube
super_class: java.lang.Object
{
static final byte[] RGB_BLACK;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
int[] min;
descriptor: [I
flags: (0x0000)
int[] max;
descriptor: [I
flags: (0x0000)
boolean done;
descriptor: Z
flags: (0x0000)
final org.apache.batik.ext.awt.image.rendered.IndexImage$Counter[][] colors;
descriptor: [[Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Counter;
flags: (0x0010) ACC_FINAL
int count;
descriptor: I
flags: (0x0000)
static final int RED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int GRN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int BLU;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: .line 102
iconst_3
newarray 8
putstatic org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.RGB_BLACK:[B
1: .line 123
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.batik.ext.awt.image.rendered.IndexImage$Counter[][], int);
descriptor: ([[Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Counter;I)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
start local 1 // org.apache.batik.ext.awt.image.rendered.IndexImage$Counter[][] colors
start local 2 // int count
0: .line 130
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 104
aload 0 /* this */
iconst_3
newarray 10
putfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
aload 0 /* this */
iconst_3
newarray 10
dup
iconst_0
sipush 255
iastore
dup
iconst_1
sipush 255
iastore
dup
iconst_2
sipush 255
iastore
putfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
2: .line 106
aload 0 /* this */
iconst_0
putfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.done:Z
3: .line 119
aload 0 /* this */
iconst_0
putfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.count:I
4: .line 131
aload 0 /* this */
aload 1 /* colors */
putfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.colors:[[Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Counter;
5: .line 132
aload 0 /* this */
iload 2 /* count */
putfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.count:I
6: .line 133
return
end local 2 // int count
end local 1 // org.apache.batik.ext.awt.image.rendered.IndexImage$Counter[][] colors
end local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
0 7 1 colors [[Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Counter;
0 7 2 count I
MethodParameters:
Name Flags
colors
count
public boolean isDone();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
0: .line 139
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.done:Z
ireturn
end local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
private boolean contains(int[]);
descriptor: ([I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
start local 1 // int[] val
0: .line 149
aload 1 /* val */
iconst_0
iaload
istore 2 /* vRed */
start local 2 // int vRed
1: .line 150
aload 1 /* val */
iconst_1
iaload
istore 3 /* vGrn */
start local 3 // int vGrn
2: .line 151
aload 1 /* val */
iconst_2
iaload
istore 4 /* vBlu */
start local 4 // int vBlu
3: .line 154
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_0
iaload
iload 2 /* vRed */
if_icmpgt 7
iload 2 /* vRed */
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_0
iaload
if_icmpgt 7
4: .line 155
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_1
iaload
iload 3 /* vGrn */
if_icmpgt 7
iload 3 /* vGrn */
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_1
iaload
if_icmpgt 7
5: .line 156
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_2
iaload
iload 4 /* vBlu */
if_icmpgt 7
iload 4 /* vBlu */
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_2
iaload
6: .line 153
if_icmpgt 7
iconst_1
ireturn
StackMap locals: int int int
StackMap stack:
7: iconst_0
ireturn
end local 4 // int vBlu
end local 3 // int vGrn
end local 2 // int vRed
end local 1 // int[] val
end local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
0 8 1 val [I
1 8 2 vRed I
2 8 3 vGrn I
3 8 4 vBlu I
MethodParameters:
Name Flags
val
org.apache.batik.ext.awt.image.rendered.IndexImage$Cube split();
descriptor: ()Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
flags: (0x0000)
Code:
stack=4, locals=8, args_size=1
start local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
0: .line 165
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_0
iaload
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_0
iaload
isub
iconst_1
iadd
istore 1 /* dr */
start local 1 // int dr
1: .line 166
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_1
iaload
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_1
iaload
isub
iconst_1
iadd
istore 2 /* dg */
start local 2 // int dg
2: .line 167
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_2
iaload
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_2
iaload
isub
iconst_1
iadd
istore 3 /* db */
start local 3 // int db
3: .line 172
iload 1 /* dr */
iload 2 /* dg */
if_icmplt 12
4: .line 173
iload 1 /* dr */
iload 3 /* db */
if_icmplt 8
iconst_0
istore 6 /* splitChannel */
start local 6 // int splitChannel
5: iconst_1
istore 4 /* c0 */
start local 4 // int c0
6: iconst_2
istore 5 /* c1 */
start local 5 // int c1
7: goto 20
end local 6 // int splitChannel
end local 5 // int c1
end local 4 // int c0
8: .line 174
StackMap locals: int int int
StackMap stack:
iconst_2
istore 6 /* splitChannel */
start local 6 // int splitChannel
9: iconst_0
istore 4 /* c0 */
start local 4 // int c0
10: iconst_1
istore 5 /* c1 */
start local 5 // int c1
11: .line 175
goto 20
end local 6 // int splitChannel
end local 5 // int c1
end local 4 // int c0
StackMap locals:
StackMap stack:
12: iload 2 /* dg */
iload 3 /* db */
if_icmplt 17
13: .line 176
iconst_1
istore 6 /* splitChannel */
start local 6 // int splitChannel
14: .line 177
iconst_0
istore 4 /* c0 */
start local 4 // int c0
15: .line 178
iconst_2
istore 5 /* c1 */
start local 5 // int c1
16: .line 179
goto 20
end local 6 // int splitChannel
end local 5 // int c1
end local 4 // int c0
17: .line 180
StackMap locals:
StackMap stack:
iconst_2
istore 6 /* splitChannel */
start local 6 // int splitChannel
18: .line 181
iconst_1
istore 4 /* c0 */
start local 4 // int c0
19: .line 182
iconst_0
istore 5 /* c1 */
start local 5 // int c1
20: .line 195
StackMap locals: int int int
StackMap stack:
aload 0 /* this */
iload 6 /* splitChannel */
iload 4 /* c0 */
iload 5 /* c1 */
invokevirtual org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.splitChannel:(III)Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
astore 7 /* ret */
start local 7 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube ret
21: .line 196
aload 7 /* ret */
ifnull 22
aload 7 /* ret */
areturn
22: .line 199
StackMap locals: org.apache.batik.ext.awt.image.rendered.IndexImage$Cube
StackMap stack:
aload 0 /* this */
iload 4 /* c0 */
iload 6 /* splitChannel */
iload 5 /* c1 */
invokevirtual org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.splitChannel:(III)Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
astore 7 /* ret */
23: .line 200
aload 7 /* ret */
ifnull 24
aload 7 /* ret */
areturn
24: .line 203
StackMap locals:
StackMap stack:
aload 0 /* this */
iload 5 /* c1 */
iload 6 /* splitChannel */
iload 4 /* c0 */
invokevirtual org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.splitChannel:(III)Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
astore 7 /* ret */
25: .line 204
aload 7 /* ret */
ifnull 26
aload 7 /* ret */
areturn
26: .line 208
StackMap locals:
StackMap stack:
aload 0 /* this */
iconst_1
putfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.done:Z
27: .line 209
aconst_null
areturn
end local 7 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube ret
end local 6 // int splitChannel
end local 5 // int c1
end local 4 // int c0
end local 3 // int db
end local 2 // int dg
end local 1 // int dr
end local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
1 28 1 dr I
2 28 2 dg I
3 28 3 db I
6 8 4 c0 I
10 12 4 c0 I
15 17 4 c0 I
19 28 4 c0 I
7 8 5 c1 I
11 12 5 c1 I
16 17 5 c1 I
20 28 5 c1 I
5 8 6 splitChannel I
9 12 6 splitChannel I
14 17 6 splitChannel I
18 28 6 splitChannel I
21 28 7 ret Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
private void normalize(int, int[]);
descriptor: (I[I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=3
start local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
start local 1 // int splitChannel
start local 2 // int[] counts
0: .line 230
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.count:I
ifne 2
1: .line 232
return
2: .line 235
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iload 1 /* splitChannel */
iaload
istore 3 /* iMin */
start local 3 // int iMin
3: .line 236
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iload 1 /* splitChannel */
iaload
istore 4 /* iMax */
start local 4 // int iMax
4: .line 237
iconst_m1
istore 5 /* loBound */
start local 5 // int loBound
5: .line 238
iconst_m1
istore 6 /* hiBound */
start local 6 // int hiBound
6: .line 242
iload 3 /* iMin */
istore 7 /* i */
start local 7 // int i
7: goto 13
8: .line 243
StackMap locals: org.apache.batik.ext.awt.image.rendered.IndexImage$Cube int int[] int int int int int
StackMap stack:
aload 2 /* counts */
iload 7 /* i */
iaload
ifne 10
9: .line 245
goto 12
10: .line 249
StackMap locals:
StackMap stack:
iload 7 /* i */
istore 5 /* loBound */
11: .line 250
goto 14
12: .line 242
StackMap locals:
StackMap stack:
iinc 7 /* i */ 1
StackMap locals:
StackMap stack:
13: iload 7 /* i */
iload 4 /* iMax */
if_icmple 8
end local 7 // int i
14: .line 255
StackMap locals:
StackMap stack:
iload 4 /* iMax */
istore 7 /* i */
start local 7 // int i
15: goto 21
16: .line 256
StackMap locals: int
StackMap stack:
aload 2 /* counts */
iload 7 /* i */
iaload
ifne 18
17: .line 258
goto 20
18: .line 261
StackMap locals:
StackMap stack:
iload 7 /* i */
istore 6 /* hiBound */
19: .line 262
goto 22
20: .line 255
StackMap locals:
StackMap stack:
iinc 7 /* i */ -1
StackMap locals:
StackMap stack:
21: iload 7 /* i */
iload 3 /* iMin */
if_icmpge 16
end local 7 // int i
22: .line 265
StackMap locals:
StackMap stack:
iload 5 /* loBound */
iconst_m1
if_icmpeq 23
iload 3 /* iMin */
iload 5 /* loBound */
if_icmpeq 23
iconst_1
goto 24
StackMap locals:
StackMap stack:
23: iconst_0
StackMap locals:
StackMap stack: int
24: istore 7 /* flagChangedLo */
start local 7 // boolean flagChangedLo
25: .line 266
iload 6 /* hiBound */
iconst_m1
if_icmpeq 26
iload 4 /* iMax */
iload 6 /* hiBound */
if_icmpeq 26
iconst_1
goto 27
StackMap locals: int
StackMap stack:
26: iconst_0
StackMap locals:
StackMap stack: int
27: istore 8 /* flagChangedHi */
start local 8 // boolean flagChangedHi
28: .line 278
iload 7 /* flagChangedLo */
ifeq 30
29: .line 279
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iload 1 /* splitChannel */
iload 5 /* loBound */
iastore
30: .line 281
StackMap locals: int
StackMap stack:
iload 8 /* flagChangedHi */
ifeq 32
31: .line 282
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iload 1 /* splitChannel */
iload 6 /* hiBound */
iastore
32: .line 284
StackMap locals:
StackMap stack:
return
end local 8 // boolean flagChangedHi
end local 7 // boolean flagChangedLo
end local 6 // int hiBound
end local 5 // int loBound
end local 4 // int iMax
end local 3 // int iMin
end local 2 // int[] counts
end local 1 // int splitChannel
end local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
0 33 1 splitChannel I
0 33 2 counts [I
3 33 3 iMin I
4 33 4 iMax I
5 33 5 loBound I
6 33 6 hiBound I
7 14 7 i I
15 22 7 i I
25 33 7 flagChangedLo Z
28 33 8 flagChangedHi Z
MethodParameters:
Name Flags
splitChannel
counts
org.apache.batik.ext.awt.image.rendered.IndexImage$Cube splitChannel(int, int, int);
descriptor: (III)Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
flags: (0x0000)
Code:
stack=4, locals=12, args_size=4
start local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
start local 1 // int splitChannel
start local 2 // int c0
start local 3 // int c1
0: .line 294
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iload 1 /* splitChannel */
iaload
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iload 1 /* splitChannel */
iaload
if_icmpne 2
1: .line 296
aconst_null
areturn
2: .line 299
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.count:I
ifne 4
3: .line 301
aconst_null
areturn
4: .line 306
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.count:I
iconst_2
idiv
istore 4 /* half */
start local 4 // int half
5: .line 311
aload 0 /* this */
iload 1 /* splitChannel */
iload 2 /* c0 */
iload 3 /* c1 */
invokevirtual org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.computeCounts:(III)[I
astore 5 /* counts */
start local 5 // int[] counts
6: .line 313
iconst_0
istore 6 /* tcount */
start local 6 // int tcount
7: .line 314
iconst_m1
istore 7 /* lastAdd */
start local 7 // int lastAdd
8: .line 319
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iload 1 /* splitChannel */
iaload
istore 8 /* splitLo */
start local 8 // int splitLo
9: .line 320
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iload 1 /* splitChannel */
iaload
istore 9 /* splitHi */
start local 9 // int splitHi
10: .line 321
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iload 1 /* splitChannel */
iaload
istore 10 /* i */
start local 10 // int i
11: goto 44
12: .line 322
StackMap locals: org.apache.batik.ext.awt.image.rendered.IndexImage$Cube int int int int int[] int int int int int
StackMap stack:
aload 5 /* counts */
iload 10 /* i */
iaload
istore 11 /* c */
start local 11 // int c
13: .line 323
iload 11 /* c */
ifne 17
14: .line 325
iload 6 /* tcount */
ifne 43
iload 10 /* i */
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iload 1 /* splitChannel */
iaload
if_icmpge 43
15: .line 326
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iload 1 /* splitChannel */
iload 10 /* i */
iconst_1
iadd
iastore
16: .line 327
goto 43
17: .line 330
StackMap locals: int
StackMap stack:
iload 6 /* tcount */
iload 11 /* c */
iadd
iload 4 /* half */
if_icmpge 21
18: .line 331
iload 10 /* i */
istore 7 /* lastAdd */
19: .line 332
iload 6 /* tcount */
iload 11 /* c */
iadd
istore 6 /* tcount */
20: .line 333
goto 43
21: .line 335
StackMap locals:
StackMap stack:
iload 4 /* half */
iload 6 /* tcount */
isub
iload 6 /* tcount */
iload 11 /* c */
iadd
iload 4 /* half */
isub
if_icmpgt 33
22: .line 337
iload 7 /* lastAdd */
iconst_m1
if_icmpne 30
23: .line 339
iload 11 /* c */
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.count:I
if_icmpne 26
24: .line 342
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iload 1 /* splitChannel */
iload 10 /* i */
iastore
25: .line 343
aconst_null
areturn
26: .line 347
StackMap locals:
StackMap stack:
iload 10 /* i */
istore 8 /* splitLo */
27: .line 348
iload 10 /* i */
iconst_1
iadd
istore 9 /* splitHi */
28: .line 349
iload 6 /* tcount */
iload 11 /* c */
iadd
istore 6 /* tcount */
29: .line 350
goto 45
30: .line 353
StackMap locals:
StackMap stack:
iload 7 /* lastAdd */
istore 8 /* splitLo */
31: .line 354
iload 10 /* i */
istore 9 /* splitHi */
32: .line 355
goto 45
33: .line 356
StackMap locals:
StackMap stack:
iload 10 /* i */
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iload 1 /* splitChannel */
iaload
if_icmpne 39
34: .line 357
iload 11 /* c */
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.count:I
if_icmpne 36
35: .line 360
aconst_null
areturn
36: .line 364
StackMap locals:
StackMap stack:
iload 7 /* lastAdd */
istore 8 /* splitLo */
37: .line 365
iload 10 /* i */
istore 9 /* splitHi */
38: .line 366
goto 45
39: .line 370
StackMap locals:
StackMap stack:
iload 6 /* tcount */
iload 11 /* c */
iadd
istore 6 /* tcount */
40: .line 371
iload 10 /* i */
istore 8 /* splitLo */
41: .line 372
iload 10 /* i */
iconst_1
iadd
istore 9 /* splitHi */
42: .line 374
goto 45
end local 11 // int c
43: .line 321
StackMap locals:
StackMap stack:
iinc 10 /* i */ 1
StackMap locals:
StackMap stack:
44: iload 10 /* i */
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iload 1 /* splitChannel */
iaload
if_icmple 12
end local 10 // int i
45: .line 383
StackMap locals:
StackMap stack:
new org.apache.batik.ext.awt.image.rendered.IndexImage$Cube
dup
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.colors:[[Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Counter;
iload 6 /* tcount */
invokespecial org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.<init>:([[Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Counter;I)V
astore 10 /* ret */
start local 10 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube ret
46: .line 384
aload 0 /* this */
dup
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.count:I
iload 6 /* tcount */
isub
putfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.count:I
47: .line 385
aload 10 /* ret */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iload 1 /* splitChannel */
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iload 1 /* splitChannel */
iaload
iastore
48: .line 386
aload 10 /* ret */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iload 1 /* splitChannel */
iload 8 /* splitLo */
iastore
49: .line 387
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iload 1 /* splitChannel */
iload 9 /* splitHi */
iastore
50: .line 391
aload 10 /* ret */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iload 2 /* c0 */
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iload 2 /* c0 */
iaload
iastore
51: .line 392
aload 10 /* ret */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iload 2 /* c0 */
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iload 2 /* c0 */
iaload
iastore
52: .line 393
aload 10 /* ret */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iload 3 /* c1 */
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iload 3 /* c1 */
iaload
iastore
53: .line 394
aload 10 /* ret */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iload 3 /* c1 */
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iload 3 /* c1 */
iaload
iastore
54: .line 408
aload 0 /* this */
iload 1 /* splitChannel */
aload 5 /* counts */
invokevirtual org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.normalize:(I[I)V
55: .line 409
aload 10 /* ret */
iload 1 /* splitChannel */
aload 5 /* counts */
invokevirtual org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.normalize:(I[I)V
56: .line 411
aload 10 /* ret */
areturn
end local 10 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube ret
end local 9 // int splitHi
end local 8 // int splitLo
end local 7 // int lastAdd
end local 6 // int tcount
end local 5 // int[] counts
end local 4 // int half
end local 3 // int c1
end local 2 // int c0
end local 1 // int splitChannel
end local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
LocalVariableTable:
Start End Slot Name Signature
0 57 0 this Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
0 57 1 splitChannel I
0 57 2 c0 I
0 57 3 c1 I
5 57 4 half I
6 57 5 counts [I
7 57 6 tcount I
8 57 7 lastAdd I
9 57 8 splitLo I
10 57 9 splitHi I
11 45 10 i I
13 43 11 c I
46 57 10 ret Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
MethodParameters:
Name Flags
splitChannel
c0
c1
private int[] computeCounts(int, int, int);
descriptor: (III)[I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=28, args_size=4
start local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
start local 1 // int splitChannel
start local 2 // int c0
start local 3 // int c1
0: .line 427
iconst_2
iload 1 /* splitChannel */
isub
iconst_4
imul
istore 4 /* splitSh4 */
start local 4 // int splitSh4
1: .line 428
iconst_2
iload 2 /* c0 */
isub
iconst_4
imul
istore 5 /* c0Sh4 */
start local 5 // int c0Sh4
2: .line 429
iconst_2
iload 3 /* c1 */
isub
iconst_4
imul
istore 6 /* c1Sh4 */
start local 6 // int c1Sh4
3: .line 432
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.count:I
iconst_2
idiv
pop
4: .line 438
sipush 256
newarray 10
astore 7 /* counts */
start local 7 // int[] counts
5: .line 441
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_0
iaload
istore 8 /* minR */
start local 8 // int minR
6: aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_1
iaload
istore 9 /* minG */
start local 9 // int minG
7: aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_2
iaload
istore 10 /* minB */
start local 10 // int minB
8: .line 442
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_0
iaload
istore 11 /* maxR */
start local 11 // int maxR
9: aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_1
iaload
istore 12 /* maxG */
start local 12 // int maxG
10: aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_2
iaload
istore 13 /* maxB */
start local 13 // int maxB
11: .line 444
iconst_3
newarray 10
dup
iconst_0
iload 8 /* minR */
iconst_4
ishr
iastore
dup
iconst_1
iload 9 /* minG */
iconst_4
ishr
iastore
dup
iconst_2
iload 10 /* minB */
iconst_4
ishr
iastore
astore 14 /* minIdx */
start local 14 // int[] minIdx
12: .line 445
iconst_3
newarray 10
dup
iconst_0
iload 11 /* maxR */
iconst_4
ishr
iastore
dup
iconst_1
iload 12 /* maxG */
iconst_4
ishr
iastore
dup
iconst_2
iload 13 /* maxB */
iconst_4
ishr
iastore
astore 15 /* maxIdx */
start local 15 // int[] maxIdx
13: .line 447
iconst_3
newarray 10
astore 16 /* vals */
start local 16 // int[] vals
14: .line 448
aload 14 /* minIdx */
iload 1 /* splitChannel */
iaload
istore 17 /* i */
start local 17 // int i
15: goto 37
16: .line 449
StackMap locals: org.apache.batik.ext.awt.image.rendered.IndexImage$Cube int int int int int int int[] int int int int int int int[] int[] int[] int
StackMap stack:
iload 17 /* i */
iload 4 /* splitSh4 */
ishl
istore 18 /* idx1 */
start local 18 // int idx1
17: .line 450
aload 14 /* minIdx */
iload 2 /* c0 */
iaload
istore 19 /* j */
start local 19 // int j
18: goto 35
19: .line 451
StackMap locals: int int
StackMap stack:
iload 18 /* idx1 */
iload 19 /* j */
iload 5 /* c0Sh4 */
ishl
ior
istore 20 /* idx2 */
start local 20 // int idx2
20: .line 452
aload 14 /* minIdx */
iload 3 /* c1 */
iaload
istore 21 /* k */
start local 21 // int k
21: goto 33
22: .line 453
StackMap locals: int int
StackMap stack:
iload 20 /* idx2 */
iload 21 /* k */
iload 6 /* c1Sh4 */
ishl
ior
istore 22 /* idx */
start local 22 // int idx
23: .line 454
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.colors:[[Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Counter;
iload 22 /* idx */
aaload
astore 23 /* v */
start local 23 // org.apache.batik.ext.awt.image.rendered.IndexImage$Counter[] v
24: .line 455
aload 23 /* v */
dup
astore 27
arraylength
istore 26
iconst_0
istore 25
goto 31
StackMap locals: org.apache.batik.ext.awt.image.rendered.IndexImage$Cube int int int int int int int[] int int int int int int int[] int[] int[] int int int int int int org.apache.batik.ext.awt.image.rendered.IndexImage$Counter[] top int int org.apache.batik.ext.awt.image.rendered.IndexImage$Counter[]
StackMap stack:
25: aload 27
iload 25
aaload
astore 24 /* c */
start local 24 // org.apache.batik.ext.awt.image.rendered.IndexImage$Counter c
26: .line 456
aload 24 /* c */
aload 16 /* vals */
invokevirtual org.apache.batik.ext.awt.image.rendered.IndexImage$Counter.getRgb:([I)[I
astore 16 /* vals */
27: .line 457
aload 0 /* this */
aload 16 /* vals */
invokevirtual org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.contains:([I)Z
ifeq 30
28: .line 460
aload 7 /* counts */
aload 16 /* vals */
iload 1 /* splitChannel */
iaload
dup2
iaload
aload 24 /* c */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Counter.count:I
iadd
iastore
29: .line 461
aload 24 /* c */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Counter.count:I
pop
end local 24 // org.apache.batik.ext.awt.image.rendered.IndexImage$Counter c
30: .line 455
StackMap locals:
StackMap stack:
iinc 25 1
StackMap locals:
StackMap stack:
31: iload 25
iload 26
if_icmplt 25
end local 23 // org.apache.batik.ext.awt.image.rendered.IndexImage$Counter[] v
end local 22 // int idx
32: .line 452
iinc 21 /* k */ 1
StackMap locals: org.apache.batik.ext.awt.image.rendered.IndexImage$Cube int int int int int int int[] int int int int int int int[] int[] int[] int int int int int
StackMap stack:
33: iload 21 /* k */
aload 15 /* maxIdx */
iload 3 /* c1 */
iaload
if_icmple 22
end local 21 // int k
end local 20 // int idx2
34: .line 450
iinc 19 /* j */ 1
StackMap locals:
StackMap stack:
35: iload 19 /* j */
aload 15 /* maxIdx */
iload 2 /* c0 */
iaload
if_icmple 19
end local 19 // int j
end local 18 // int idx1
36: .line 448
iinc 17 /* i */ 1
StackMap locals:
StackMap stack:
37: iload 17 /* i */
aload 15 /* maxIdx */
iload 1 /* splitChannel */
iaload
if_icmple 16
end local 17 // int i
38: .line 476
aload 7 /* counts */
areturn
end local 16 // int[] vals
end local 15 // int[] maxIdx
end local 14 // int[] minIdx
end local 13 // int maxB
end local 12 // int maxG
end local 11 // int maxR
end local 10 // int minB
end local 9 // int minG
end local 8 // int minR
end local 7 // int[] counts
end local 6 // int c1Sh4
end local 5 // int c0Sh4
end local 4 // int splitSh4
end local 3 // int c1
end local 2 // int c0
end local 1 // int splitChannel
end local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
0 39 1 splitChannel I
0 39 2 c0 I
0 39 3 c1 I
1 39 4 splitSh4 I
2 39 5 c0Sh4 I
3 39 6 c1Sh4 I
5 39 7 counts [I
6 39 8 minR I
7 39 9 minG I
8 39 10 minB I
9 39 11 maxR I
10 39 12 maxG I
11 39 13 maxB I
12 39 14 minIdx [I
13 39 15 maxIdx [I
14 39 16 vals [I
15 38 17 i I
17 36 18 idx1 I
18 36 19 j I
20 34 20 idx2 I
21 34 21 k I
23 32 22 idx I
24 32 23 v [Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Counter;
26 30 24 c Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Counter;
MethodParameters:
Name Flags
splitChannel
c0
c1
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
0: .line 486
new java.lang.StringBuilder
dup
ldc "Cube: ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: .line 487
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_0
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_0
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: .line 488
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_1
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_1
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: .line 489
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_2
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_2
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] n:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.count:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
4: .line 486
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
public int averageColor();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
0: .line 497
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.count:I
ifne 2
1: .line 499
iconst_0
ireturn
2: .line 502
StackMap locals:
StackMap stack:
aload 0 /* this */
aconst_null
invokevirtual org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.averageColorRGB:([B)[B
astore 1 /* rgb */
start local 1 // byte[] rgb
3: .line 504
aload 1 /* rgb */
iconst_0
baload
bipush 16
ishl
ldc 16711680
iand
4: .line 505
aload 1 /* rgb */
iconst_1
baload
bipush 8
ishl
ldc 65280
iand
5: .line 504
ior
6: .line 506
aload 1 /* rgb */
iconst_2
baload
sipush 255
iand
7: .line 504
ior
ireturn
end local 1 // byte[] rgb
end local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
3 8 1 rgb [B
public byte[] averageColorRGB(byte[]);
descriptor: ([B)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=26, args_size=2
start local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
start local 1 // byte[] rgb
0: .line 514
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.count:I
ifne 1
getstatic org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.RGB_BLACK:[B
areturn
1: .line 516
StackMap locals:
StackMap stack:
fconst_0
fstore 2 /* red */
start local 2 // float red
2: fconst_0
fstore 3 /* grn */
start local 3 // float grn
3: fconst_0
fstore 4 /* blu */
start local 4 // float blu
4: .line 519
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_0
iaload
istore 5 /* minR */
start local 5 // int minR
5: aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_1
iaload
istore 6 /* minG */
start local 6 // int minG
6: aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.min:[I
iconst_2
iaload
istore 7 /* minB */
start local 7 // int minB
7: .line 520
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_0
iaload
istore 8 /* maxR */
start local 8 // int maxR
8: aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_1
iaload
istore 9 /* maxG */
start local 9 // int maxG
9: aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.max:[I
iconst_2
iaload
istore 10 /* maxB */
start local 10 // int maxB
10: .line 521
iconst_3
newarray 10
dup
iconst_0
iload 5 /* minR */
iconst_4
ishr
iastore
dup
iconst_1
iload 6 /* minG */
iconst_4
ishr
iastore
dup
iconst_2
iload 7 /* minB */
iconst_4
ishr
iastore
astore 11 /* minIdx */
start local 11 // int[] minIdx
11: .line 522
iconst_3
newarray 10
dup
iconst_0
iload 8 /* maxR */
iconst_4
ishr
iastore
dup
iconst_1
iload 9 /* maxG */
iconst_4
ishr
iastore
dup
iconst_2
iload 10 /* maxB */
iconst_4
ishr
iastore
astore 12 /* maxIdx */
start local 12 // int[] maxIdx
12: .line 523
iconst_3
newarray 10
astore 13 /* vals */
start local 13 // int[] vals
13: .line 525
aload 11 /* minIdx */
iconst_0
iaload
istore 14 /* i */
start local 14 // int i
14: goto 38
15: .line 526
StackMap locals: org.apache.batik.ext.awt.image.rendered.IndexImage$Cube byte[] float float float int int int int int int int[] int[] int[] int
StackMap stack:
iload 14 /* i */
bipush 8
ishl
istore 15 /* idx1 */
start local 15 // int idx1
16: .line 527
aload 11 /* minIdx */
iconst_1
iaload
istore 16 /* j */
start local 16 // int j
17: goto 36
18: .line 528
StackMap locals: int int
StackMap stack:
iload 15 /* idx1 */
iload 16 /* j */
iconst_4
ishl
ior
istore 17 /* idx2 */
start local 17 // int idx2
19: .line 529
aload 11 /* minIdx */
iconst_2
iaload
istore 18 /* k */
start local 18 // int k
20: goto 34
21: .line 530
StackMap locals: int int
StackMap stack:
iload 17 /* idx2 */
iload 18 /* k */
ior
istore 19 /* idx */
start local 19 // int idx
22: .line 531
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.colors:[[Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Counter;
iload 19 /* idx */
aaload
astore 20 /* v */
start local 20 // org.apache.batik.ext.awt.image.rendered.IndexImage$Counter[] v
23: .line 532
aload 20 /* v */
dup
astore 24
arraylength
istore 23
iconst_0
istore 22
goto 32
StackMap locals: org.apache.batik.ext.awt.image.rendered.IndexImage$Cube byte[] float float float int int int int int int int[] int[] int[] int int int int int int org.apache.batik.ext.awt.image.rendered.IndexImage$Counter[] top int int org.apache.batik.ext.awt.image.rendered.IndexImage$Counter[]
StackMap stack:
24: aload 24
iload 22
aaload
astore 21 /* c */
start local 21 // org.apache.batik.ext.awt.image.rendered.IndexImage$Counter c
25: .line 533
aload 21 /* c */
aload 13 /* vals */
invokevirtual org.apache.batik.ext.awt.image.rendered.IndexImage$Counter.getRgb:([I)[I
astore 13 /* vals */
26: .line 534
aload 0 /* this */
aload 13 /* vals */
invokevirtual org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.contains:([I)Z
ifeq 31
27: .line 535
aload 21 /* c */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Counter.count:I
i2f
aload 0 /* this */
getfield org.apache.batik.ext.awt.image.rendered.IndexImage$Cube.count:I
i2f
fdiv
fstore 25 /* weight */
start local 25 // float weight
28: .line 536
fload 2 /* red */
aload 13 /* vals */
iconst_0
iaload
i2f
fload 25 /* weight */
fmul
fadd
fstore 2 /* red */
29: .line 537
fload 3 /* grn */
aload 13 /* vals */
iconst_1
iaload
i2f
fload 25 /* weight */
fmul
fadd
fstore 3 /* grn */
30: .line 538
fload 4 /* blu */
aload 13 /* vals */
iconst_2
iaload
i2f
fload 25 /* weight */
fmul
fadd
fstore 4 /* blu */
end local 25 // float weight
end local 21 // org.apache.batik.ext.awt.image.rendered.IndexImage$Counter c
31: .line 532
StackMap locals:
StackMap stack:
iinc 22 1
StackMap locals:
StackMap stack:
32: iload 22
iload 23
if_icmplt 24
end local 20 // org.apache.batik.ext.awt.image.rendered.IndexImage$Counter[] v
end local 19 // int idx
33: .line 529
iinc 18 /* k */ 1
StackMap locals: org.apache.batik.ext.awt.image.rendered.IndexImage$Cube byte[] float float float int int int int int int int[] int[] int[] int int int int int
StackMap stack:
34: iload 18 /* k */
aload 12 /* maxIdx */
iconst_2
iaload
if_icmple 21
end local 18 // int k
end local 17 // int idx2
35: .line 527
iinc 16 /* j */ 1
StackMap locals:
StackMap stack:
36: iload 16 /* j */
aload 12 /* maxIdx */
iconst_1
iaload
if_icmple 18
end local 16 // int j
end local 15 // int idx1
37: .line 525
iinc 14 /* i */ 1
StackMap locals:
StackMap stack:
38: iload 14 /* i */
aload 12 /* maxIdx */
iconst_0
iaload
if_icmple 15
end local 14 // int i
39: .line 544
aload 1 /* rgb */
ifnonnull 40
iconst_3
newarray 8
goto 41
StackMap locals:
StackMap stack:
40: aload 1 /* rgb */
StackMap locals:
StackMap stack: byte[]
41: astore 14 /* result */
start local 14 // byte[] result
42: .line 545
aload 14 /* result */
iconst_0
fload 2 /* red */
ldc 0.5
fadd
f2i
i2b
bastore
43: .line 546
aload 14 /* result */
iconst_1
fload 3 /* grn */
ldc 0.5
fadd
f2i
i2b
bastore
44: .line 547
aload 14 /* result */
iconst_2
fload 4 /* blu */
ldc 0.5
fadd
f2i
i2b
bastore
45: .line 549
aload 14 /* result */
areturn
end local 14 // byte[] result
end local 13 // int[] vals
end local 12 // int[] maxIdx
end local 11 // int[] minIdx
end local 10 // int maxB
end local 9 // int maxG
end local 8 // int maxR
end local 7 // int minB
end local 6 // int minG
end local 5 // int minR
end local 4 // float blu
end local 3 // float grn
end local 2 // float red
end local 1 // byte[] rgb
end local 0 // org.apache.batik.ext.awt.image.rendered.IndexImage$Cube this
LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Cube;
0 46 1 rgb [B
2 46 2 red F
3 46 3 grn F
4 46 4 blu F
5 46 5 minR I
6 46 6 minG I
7 46 7 minB I
8 46 8 maxR I
9 46 9 maxG I
10 46 10 maxB I
11 46 11 minIdx [I
12 46 12 maxIdx [I
13 46 13 vals [I
14 39 14 i I
16 37 15 idx1 I
17 37 16 j I
19 35 17 idx2 I
20 35 18 k I
22 33 19 idx I
23 33 20 v [Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Counter;
25 31 21 c Lorg/apache/batik/ext/awt/image/rendered/IndexImage$Counter;
28 31 25 weight F
42 46 14 result [B
MethodParameters:
Name Flags
rgb
}
SourceFile: "IndexImage.java"
NestHost: org.apache.batik.ext.awt.image.rendered.IndexImage
InnerClasses:
private Counter = org.apache.batik.ext.awt.image.rendered.IndexImage$Counter of org.apache.batik.ext.awt.image.rendered.IndexImage
private Cube = org.apache.batik.ext.awt.image.rendered.IndexImage$Cube of org.apache.batik.ext.awt.image.rendered.IndexImage