public class sun.awt.image.PixelConverter$RgbaPre extends sun.awt.image.PixelConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.image.PixelConverter$RgbaPre
super_class: sun.awt.image.PixelConverter
{
public static final sun.awt.image.PixelConverter instance;
descriptor: Lsun/awt/image/PixelConverter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: .line 318
new sun.awt.image.PixelConverter$RgbaPre
dup
invokespecial sun.awt.image.PixelConverter$RgbaPre.<init>:()V
putstatic sun.awt.image.PixelConverter$RgbaPre.instance:Lsun/awt/image/PixelConverter;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 // sun.awt.image.PixelConverter$RgbaPre this
0: .line 320
aload 0 /* this */
invokespecial sun.awt.image.PixelConverter.<init>:()V
1: .line 321
aload 0 /* this */
sipush 255
putfield sun.awt.image.PixelConverter$RgbaPre.alphaMask:I
2: .line 322
return
end local 0 // sun.awt.image.PixelConverter$RgbaPre this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/image/PixelConverter$RgbaPre;
public int rgbToPixel(int, java.awt.image.ColorModel);
descriptor: (ILjava/awt/image/ColorModel;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=3
start local 0 // sun.awt.image.PixelConverter$RgbaPre this
start local 1 // int rgb
start local 2 // java.awt.image.ColorModel cm
0: .line 325
iload 1 /* rgb */
bipush 24
ishr
iconst_m1
if_icmpne 2
1: .line 326
iload 1 /* rgb */
bipush 8
ishl
iload 1 /* rgb */
bipush 24
iushr
ior
ireturn
2: .line 328
StackMap locals:
StackMap stack:
iload 1 /* rgb */
bipush 24
iushr
istore 3 /* a */
start local 3 // int a
3: .line 329
iload 1 /* rgb */
bipush 16
ishr
sipush 255
iand
istore 4 /* r */
start local 4 // int r
4: .line 330
iload 1 /* rgb */
bipush 8
ishr
sipush 255
iand
istore 5 /* g */
start local 5 // int g
5: .line 331
iload 1 /* rgb */
sipush 255
iand
istore 6 /* b */
start local 6 // int b
6: .line 332
iload 3 /* a */
iload 3 /* a */
bipush 7
ishr
iadd
istore 7 /* a2 */
start local 7 // int a2
7: .line 333
iload 4 /* r */
iload 7 /* a2 */
imul
bipush 8
ishr
istore 4 /* r */
8: .line 334
iload 5 /* g */
iload 7 /* a2 */
imul
bipush 8
ishr
istore 5 /* g */
9: .line 335
iload 6 /* b */
iload 7 /* a2 */
imul
bipush 8
ishr
istore 6 /* b */
10: .line 336
iload 4 /* r */
bipush 24
ishl
iload 5 /* g */
bipush 16
ishl
ior
iload 6 /* b */
bipush 8
ishl
ior
iload 3 /* a */
ior
ireturn
end local 7 // int a2
end local 6 // int b
end local 5 // int g
end local 4 // int r
end local 3 // int a
end local 2 // java.awt.image.ColorModel cm
end local 1 // int rgb
end local 0 // sun.awt.image.PixelConverter$RgbaPre this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/awt/image/PixelConverter$RgbaPre;
0 11 1 rgb I
0 11 2 cm Ljava/awt/image/ColorModel;
3 11 3 a I
4 11 4 r I
5 11 5 g I
6 11 6 b I
7 11 7 a2 I
MethodParameters:
Name Flags
rgb
cm
public int pixelToRgb(int, java.awt.image.ColorModel);
descriptor: (ILjava/awt/image/ColorModel;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 // sun.awt.image.PixelConverter$RgbaPre this
start local 1 // int pixel
start local 2 // java.awt.image.ColorModel cm
0: .line 340
iload 1 /* pixel */
sipush 255
iand
istore 3 /* a */
start local 3 // int a
1: .line 341
iload 3 /* a */
sipush 255
if_icmpeq 2
iload 3 /* a */
ifne 3
2: .line 342
StackMap locals: int
StackMap stack:
iload 1 /* pixel */
bipush 8
iushr
iload 1 /* pixel */
bipush 24
ishl
ior
ireturn
3: .line 344
StackMap locals:
StackMap stack:
iload 1 /* pixel */
bipush 24
iushr
istore 4 /* r */
start local 4 // int r
4: .line 345
iload 1 /* pixel */
bipush 16
ishr
sipush 255
iand
istore 5 /* g */
start local 5 // int g
5: .line 346
iload 1 /* pixel */
bipush 8
ishr
sipush 255
iand
istore 6 /* b */
start local 6 // int b
6: .line 347
iload 4 /* r */
bipush 8
ishl
iload 4 /* r */
isub
iload 3 /* a */
idiv
istore 4 /* r */
7: .line 348
iload 5 /* g */
bipush 8
ishl
iload 5 /* g */
isub
iload 3 /* a */
idiv
istore 5 /* g */
8: .line 349
iload 6 /* b */
bipush 8
ishl
iload 6 /* b */
isub
iload 3 /* a */
idiv
istore 6 /* b */
9: .line 350
iload 4 /* r */
bipush 24
ishl
iload 5 /* g */
bipush 16
ishl
ior
iload 6 /* b */
bipush 8
ishl
ior
iload 3 /* a */
ior
ireturn
end local 6 // int b
end local 5 // int g
end local 4 // int r
end local 3 // int a
end local 2 // java.awt.image.ColorModel cm
end local 1 // int pixel
end local 0 // sun.awt.image.PixelConverter$RgbaPre this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/image/PixelConverter$RgbaPre;
0 10 1 pixel I
0 10 2 cm Ljava/awt/image/ColorModel;
1 10 3 a I
4 10 4 r I
5 10 5 g I
6 10 6 b I
MethodParameters:
Name Flags
pixel
cm
}
SourceFile: "PixelConverter.java"
NestHost: sun.awt.image.PixelConverter
InnerClasses:
public RgbaPre = sun.awt.image.PixelConverter$RgbaPre of sun.awt.image.PixelConverter