public class sun.awt.image.PixelConverter$UshortGray extends sun.awt.image.PixelConverter$ByteGray
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.image.PixelConverter$UshortGray
super_class: sun.awt.image.PixelConverter$ByteGray
{
static final double SHORT_MULT;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 257.0
static final double USHORT_RED_MULT;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 76.843
static final double USHORT_GRN_MULT;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 150.85899999999998
static final double USHORT_BLU_MULT;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 29.298000000000002
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: new sun.awt.image.PixelConverter$UshortGray
dup
invokespecial sun.awt.image.PixelConverter$UshortGray.<init>:()V
putstatic sun.awt.image.PixelConverter$UshortGray.instance:Lsun/awt/image/PixelConverter;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.image.PixelConverter$ByteGray.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/PixelConverter$UshortGray;
public int rgbToPixel(int, java.awt.image.ColorModel);
descriptor: (ILjava/awt/image/ColorModel;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 1
bipush 16
ishr
sipush 255
iand
istore 3
start local 3 1: iload 1
bipush 8
ishr
sipush 255
iand
istore 4
start local 4 2: iload 1
sipush 255
iand
istore 5
start local 5 3: iload 3
i2d
ldc 76.843
dmul
4: iload 4
i2d
ldc 150.85899999999998
dmul
5: dadd
6: iload 5
i2d
ldc 29.298000000000002
dmul
7: dadd
8: ldc 0.5
9: dadd
d2i
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/image/PixelConverter$UshortGray;
0 10 1 rgb I
0 10 2 cm Ljava/awt/image/ColorModel;
1 10 3 red I
2 10 4 grn I
3 10 5 blu 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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
bipush 8
ishr
istore 1
1: ldc 65280
iload 1
ior
bipush 8
ishl
iload 1
ior
bipush 8
ishl
iload 1
ior
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/image/PixelConverter$UshortGray;
0 2 1 pixel I
0 2 2 cm Ljava/awt/image/ColorModel;
MethodParameters:
Name Flags
pixel
cm
}
SourceFile: "PixelConverter.java"
NestHost: sun.awt.image.PixelConverter
InnerClasses:
public ByteGray = sun.awt.image.PixelConverter$ByteGray of sun.awt.image.PixelConverter
public UshortGray = sun.awt.image.PixelConverter$UshortGray of sun.awt.image.PixelConverter