public class sun.awt.image.PixelConverter$ArgbPre extends sun.awt.image.PixelConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.image.PixelConverter$ArgbPre
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 354
new sun.awt.image.PixelConverter$ArgbPre
dup
invokespecial sun.awt.image.PixelConverter$ArgbPre.<init>:()V
putstatic sun.awt.image.PixelConverter$ArgbPre.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$ArgbPre this
0: .line 356
aload 0 /* this */
invokespecial sun.awt.image.PixelConverter.<init>:()V
1: .line 357
aload 0 /* this */
ldc -16777216
putfield sun.awt.image.PixelConverter$ArgbPre.alphaMask:I
2: .line 358
return
end local 0 // sun.awt.image.PixelConverter$ArgbPre this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/image/PixelConverter$ArgbPre;
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$ArgbPre this
start local 1 // int rgb
start local 2 // java.awt.image.ColorModel cm
0: .line 361
iload 1 /* rgb */
bipush 24
ishr
iconst_m1
if_icmpne 2
1: .line 362
iload 1 /* rgb */
ireturn
2: .line 364
StackMap locals:
StackMap stack:
iload 1 /* rgb */
bipush 24
iushr
istore 3 /* a */
start local 3 // int a
3: .line 365
iload 1 /* rgb */
bipush 16
ishr
sipush 255
iand
istore 4 /* r */
start local 4 // int r
4: .line 366
iload 1 /* rgb */
bipush 8
ishr
sipush 255
iand
istore 5 /* g */
start local 5 // int g
5: .line 367
iload 1 /* rgb */
sipush 255
iand
istore 6 /* b */
start local 6 // int b
6: .line 368
iload 3 /* a */
iload 3 /* a */
bipush 7
ishr
iadd
istore 7 /* a2 */
start local 7 // int a2
7: .line 369
iload 4 /* r */
iload 7 /* a2 */
imul
bipush 8
ishr
istore 4 /* r */
8: .line 370
iload 5 /* g */
iload 7 /* a2 */
imul
bipush 8
ishr
istore 5 /* g */
9: .line 371
iload 6 /* b */
iload 7 /* a2 */
imul
bipush 8
ishr
istore 6 /* b */
10: .line 372
iload 3 /* a */
bipush 24
ishl
iload 4 /* r */
bipush 16
ishl
ior
iload 5 /* g */
bipush 8
ishl
ior
iload 6 /* b */
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$ArgbPre this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/awt/image/PixelConverter$ArgbPre;
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$ArgbPre this
start local 1 // int pixel
start local 2 // java.awt.image.ColorModel cm
0: .line 376
iload 1 /* pixel */
bipush 24
iushr
istore 3 /* a */
start local 3 // int a
1: .line 377
iload 3 /* a */
sipush 255
if_icmpeq 2
iload 3 /* a */
ifne 3
2: .line 378
StackMap locals: int
StackMap stack:
iload 1 /* pixel */
ireturn
3: .line 380
StackMap locals:
StackMap stack:
iload 1 /* pixel */
bipush 16
ishr
sipush 255
iand
istore 4 /* r */
start local 4 // int r
4: .line 381
iload 1 /* pixel */
bipush 8
ishr
sipush 255
iand
istore 5 /* g */
start local 5 // int g
5: .line 382
iload 1 /* pixel */
sipush 255
iand
istore 6 /* b */
start local 6 // int b
6: .line 383
iload 4 /* r */
bipush 8
ishl
iload 4 /* r */
isub
iload 3 /* a */
idiv
istore 4 /* r */
7: .line 384
iload 5 /* g */
bipush 8
ishl
iload 5 /* g */
isub
iload 3 /* a */
idiv
istore 5 /* g */
8: .line 385
iload 6 /* b */
bipush 8
ishl
iload 6 /* b */
isub
iload 3 /* a */
idiv
istore 6 /* b */
9: .line 386
iload 3 /* a */
bipush 24
ishl
iload 4 /* r */
bipush 16
ishl
ior
iload 5 /* g */
bipush 8
ishl
ior
iload 6 /* b */
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$ArgbPre this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/image/PixelConverter$ArgbPre;
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 ArgbPre = sun.awt.image.PixelConverter$ArgbPre of sun.awt.image.PixelConverter