public class com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter extends com.sun.imageio.plugins.tiff.TIFFColorConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter
super_class: com.sun.imageio.plugins.tiff.TIFFColorConverter
{
private static final float Xn;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 95.047
private static final float Yn;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 100.0
private static final float Zn;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 108.883
private static final float THRESHOLD;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: .line 34
ldc 0.008856
ldc 0.3333333333333333
invokestatic java.lang.Math.pow:(DD)D
d2f
putstatic com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter.THRESHOLD:F
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter this
0: .line 36
aload 0 /* this */
invokespecial com.sun.imageio.plugins.tiff.TIFFColorConverter.<init>:()V
return
end local 0 // com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/tiff/TIFFCIELabColorConverter;
private float clamp(float);
descriptor: (F)F
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 // com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter this
start local 1 // float x
0: .line 40
fload 1 /* x */
fconst_0
fcmpg
ifge 2
1: .line 41
fconst_0
freturn
2: .line 42
StackMap locals:
StackMap stack:
fload 1 /* x */
ldc 100.0
fcmpl
ifle 4
3: .line 43
ldc 255.0
freturn
4: .line 45
StackMap locals:
StackMap stack:
fload 1 /* x */
ldc 2.55
fmul
freturn
end local 1 // float x
end local 0 // com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/imageio/plugins/tiff/TIFFCIELabColorConverter;
0 5 1 x F
MethodParameters:
Name Flags
x
private float clamp2(float);
descriptor: (F)F
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 // com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter this
start local 1 // float x
0: .line 50
fload 1 /* x */
fconst_0
fcmpg
ifge 2
1: .line 51
fconst_0
freturn
2: .line 52
StackMap locals:
StackMap stack:
fload 1 /* x */
ldc 255.0
fcmpl
ifle 4
3: .line 53
ldc 255.0
freturn
4: .line 55
StackMap locals:
StackMap stack:
fload 1 /* x */
freturn
end local 1 // float x
end local 0 // com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/imageio/plugins/tiff/TIFFCIELabColorConverter;
0 5 1 x F
MethodParameters:
Name Flags
x
public void fromRGB(float, float, float, float[]);
descriptor: (FFF[F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=14, args_size=5
start local 0 // com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter this
start local 1 // float r
start local 2 // float g
start local 3 // float b
start local 4 // float[] result
0: .line 60
ldc 0.412453
fload 1 /* r */
fmul
ldc 0.35758
fload 2 /* g */
fmul
fadd
ldc 0.180423
fload 3 /* b */
fmul
fadd
fstore 5 /* X */
start local 5 // float X
1: .line 61
ldc 0.212671
fload 1 /* r */
fmul
ldc 0.71516
fload 2 /* g */
fmul
fadd
ldc 0.072169
fload 3 /* b */
fmul
fadd
fstore 6 /* Y */
start local 6 // float Y
2: .line 62
ldc 0.019334
fload 1 /* r */
fmul
ldc 0.119193
fload 2 /* g */
fmul
fadd
ldc 0.950227
fload 3 /* b */
fmul
fadd
fstore 7 /* Z */
start local 7 // float Z
3: .line 64
fload 6 /* Y */
ldc 100.0
fdiv
fstore 8 /* YYn */
start local 8 // float YYn
4: .line 65
fload 5 /* X */
ldc 95.047
fdiv
fstore 9 /* XXn */
start local 9 // float XXn
5: .line 66
fload 7 /* Z */
ldc 108.883
fdiv
fstore 10 /* ZZn */
start local 10 // float ZZn
6: .line 68
fload 8 /* YYn */
ldc 0.008856
fcmpg
ifge 9
7: .line 69
ldc 7.787
fload 8 /* YYn */
fmul
ldc 0.13793103
fadd
fstore 8 /* YYn */
8: .line 70
goto 10
9: .line 71
StackMap locals: com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter float float float float[] float float float float float float
StackMap stack:
fload 8 /* YYn */
f2d
ldc 0.3333333333333333
invokestatic java.lang.Math.pow:(DD)D
d2f
fstore 8 /* YYn */
10: .line 74
StackMap locals:
StackMap stack:
fload 9 /* XXn */
ldc 0.008856
fcmpg
ifge 13
11: .line 75
ldc 7.787
fload 9 /* XXn */
fmul
ldc 0.13793103
fadd
fstore 9 /* XXn */
12: .line 76
goto 14
13: .line 77
StackMap locals:
StackMap stack:
fload 9 /* XXn */
f2d
ldc 0.3333333333333333
invokestatic java.lang.Math.pow:(DD)D
d2f
fstore 9 /* XXn */
14: .line 80
StackMap locals:
StackMap stack:
fload 10 /* ZZn */
ldc 0.008856
fcmpg
ifge 17
15: .line 81
ldc 7.787
fload 10 /* ZZn */
fmul
ldc 0.13793103
fadd
fstore 10 /* ZZn */
16: .line 82
goto 18
17: .line 83
StackMap locals:
StackMap stack:
fload 10 /* ZZn */
f2d
ldc 0.3333333333333333
invokestatic java.lang.Math.pow:(DD)D
d2f
fstore 10 /* ZZn */
18: .line 86
StackMap locals:
StackMap stack:
ldc 116.0
fload 8 /* YYn */
fmul
ldc 16.0
fsub
fstore 11 /* LStar */
start local 11 // float LStar
19: .line 87
ldc 500.0
fload 9 /* XXn */
fload 8 /* YYn */
fsub
fmul
fstore 12 /* aStar */
start local 12 // float aStar
20: .line 88
ldc 200.0
fload 8 /* YYn */
fload 10 /* ZZn */
fsub
fmul
fstore 13 /* bStar */
start local 13 // float bStar
21: .line 90
fload 11 /* LStar */
ldc 2.55
fmul
fstore 11 /* LStar */
22: .line 91
fload 12 /* aStar */
fconst_0
fcmpg
ifge 24
23: .line 92
fload 12 /* aStar */
ldc 256.0
fadd
fstore 12 /* aStar */
24: .line 94
StackMap locals: float float float
StackMap stack:
fload 13 /* bStar */
fconst_0
fcmpg
ifge 26
25: .line 95
fload 13 /* bStar */
ldc 256.0
fadd
fstore 13 /* bStar */
26: .line 98
StackMap locals:
StackMap stack:
aload 4 /* result */
iconst_0
aload 0 /* this */
fload 11 /* LStar */
invokevirtual com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter.clamp2:(F)F
fastore
27: .line 99
aload 4 /* result */
iconst_1
aload 0 /* this */
fload 12 /* aStar */
invokevirtual com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter.clamp2:(F)F
fastore
28: .line 100
aload 4 /* result */
iconst_2
aload 0 /* this */
fload 13 /* bStar */
invokevirtual com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter.clamp2:(F)F
fastore
29: .line 101
return
end local 13 // float bStar
end local 12 // float aStar
end local 11 // float LStar
end local 10 // float ZZn
end local 9 // float XXn
end local 8 // float YYn
end local 7 // float Z
end local 6 // float Y
end local 5 // float X
end local 4 // float[] result
end local 3 // float b
end local 2 // float g
end local 1 // float r
end local 0 // com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter this
LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/sun/imageio/plugins/tiff/TIFFCIELabColorConverter;
0 30 1 r F
0 30 2 g F
0 30 3 b F
0 30 4 result [F
1 30 5 X F
2 30 6 Y F
3 30 7 Z F
4 30 8 YYn F
5 30 9 XXn F
6 30 10 ZZn F
19 30 11 LStar F
20 30 12 aStar F
21 30 13 bStar F
MethodParameters:
Name Flags
r
g
b
result
public void toRGB(float, float, float, float[]);
descriptor: (FFF[F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=18, args_size=5
start local 0 // com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter this
start local 1 // float x0
start local 2 // float x1
start local 3 // float x2
start local 4 // float[] rgb
0: .line 104
fload 1 /* x0 */
ldc 100.0
fmul
ldc 255.0
fdiv
fstore 5 /* LStar */
start local 5 // float LStar
1: .line 105
fload 2 /* x1 */
ldc 128.0
fcmpl
ifle 2
fload 2 /* x1 */
ldc 256.0
fsub
goto 3
StackMap locals: float
StackMap stack:
2: fload 2 /* x1 */
StackMap locals:
StackMap stack: float
3: fstore 6 /* aStar */
start local 6 // float aStar
4: .line 106
fload 3 /* x2 */
ldc 128.0
fcmpl
ifle 5
fload 3 /* x2 */
ldc 256.0
fsub
goto 6
StackMap locals: float
StackMap stack:
5: fload 3 /* x2 */
StackMap locals:
StackMap stack: float
6: fstore 7 /* bStar */
start local 7 // float bStar
7: .line 111
fload 5 /* LStar */
ldc 8.0
fcmpg
ifge 11
8: .line 112
fload 5 /* LStar */
ldc 903.3
fdiv
fstore 8 /* YYn */
start local 8 // float YYn
9: .line 113
ldc 7.787
fload 8 /* YYn */
fmul
ldc 0.13793103
fadd
fstore 9 /* fY */
start local 9 // float fY
10: .line 114
goto 14
end local 9 // float fY
end local 8 // float YYn
11: .line 115
StackMap locals: float
StackMap stack:
fload 5 /* LStar */
ldc 16.0
fadd
ldc 116.0
fdiv
fstore 10 /* YYn_cubeRoot */
start local 10 // float YYn_cubeRoot
12: .line 116
fload 10 /* YYn_cubeRoot */
fload 10 /* YYn_cubeRoot */
fmul
fload 10 /* YYn_cubeRoot */
fmul
fstore 8 /* YYn */
start local 8 // float YYn
13: .line 117
fload 8 /* YYn */
f2d
ldc 0.3333333333333333
invokestatic java.lang.Math.pow:(DD)D
d2f
fstore 9 /* fY */
end local 10 // float YYn_cubeRoot
start local 9 // float fY
14: .line 119
StackMap locals: float float
StackMap stack:
fload 8 /* YYn */
ldc 100.0
fmul
fstore 10 /* Y */
start local 10 // float Y
15: .line 121
fload 9 /* fY */
fload 6 /* aStar */
ldc 500.0
fdiv
fadd
fstore 11 /* fX */
start local 11 // float fX
16: .line 123
fload 11 /* fX */
getstatic com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter.THRESHOLD:F
fcmpg
ifgt 19
17: .line 124
ldc 95.047
fload 11 /* fX */
ldc 0.13793103
fsub
fmul
ldc 7.787
fdiv
fstore 12 /* X */
start local 12 // float X
18: .line 125
goto 20
end local 12 // float X
19: .line 126
StackMap locals: float float
StackMap stack:
ldc 95.047
fload 11 /* fX */
fmul
fload 11 /* fX */
fmul
fload 11 /* fX */
fmul
fstore 12 /* X */
start local 12 // float X
20: .line 129
StackMap locals: float
StackMap stack:
fload 9 /* fY */
fload 7 /* bStar */
ldc 200.0
fdiv
fsub
fstore 13 /* fZ */
start local 13 // float fZ
21: .line 131
fload 13 /* fZ */
getstatic com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter.THRESHOLD:F
fcmpg
ifgt 24
22: .line 132
ldc 108.883
fload 13 /* fZ */
ldc 0.13793103
fsub
fmul
ldc 7.787
fdiv
fstore 14 /* Z */
start local 14 // float Z
23: .line 133
goto 25
end local 14 // float Z
24: .line 134
StackMap locals: float
StackMap stack:
ldc 108.883
fload 13 /* fZ */
fmul
fload 13 /* fZ */
fmul
fload 13 /* fZ */
fmul
fstore 14 /* Z */
start local 14 // float Z
25: .line 137
StackMap locals: float
StackMap stack:
ldc 3.240479
fload 12 /* X */
fmul
ldc 1.53715
fload 10 /* Y */
fmul
fsub
ldc 0.498535
fload 14 /* Z */
fmul
fsub
fstore 15 /* R */
start local 15 // float R
26: .line 138
ldc -0.969256
fload 12 /* X */
fmul
ldc 1.875992
fload 10 /* Y */
fmul
fadd
ldc 0.041556
fload 14 /* Z */
fmul
fadd
fstore 16 /* G */
start local 16 // float G
27: .line 139
ldc 0.055648
fload 12 /* X */
fmul
ldc 0.204043
fload 10 /* Y */
fmul
fsub
ldc 1.057311
fload 14 /* Z */
fmul
fadd
fstore 17 /* B */
start local 17 // float B
28: .line 141
aload 4 /* rgb */
iconst_0
aload 0 /* this */
fload 15 /* R */
invokevirtual com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter.clamp:(F)F
fastore
29: .line 142
aload 4 /* rgb */
iconst_1
aload 0 /* this */
fload 16 /* G */
invokevirtual com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter.clamp:(F)F
fastore
30: .line 143
aload 4 /* rgb */
iconst_2
aload 0 /* this */
fload 17 /* B */
invokevirtual com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter.clamp:(F)F
fastore
31: .line 144
return
end local 17 // float B
end local 16 // float G
end local 15 // float R
end local 14 // float Z
end local 13 // float fZ
end local 12 // float X
end local 11 // float fX
end local 10 // float Y
end local 9 // float fY
end local 8 // float YYn
end local 7 // float bStar
end local 6 // float aStar
end local 5 // float LStar
end local 4 // float[] rgb
end local 3 // float x2
end local 2 // float x1
end local 1 // float x0
end local 0 // com.sun.imageio.plugins.tiff.TIFFCIELabColorConverter this
LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lcom/sun/imageio/plugins/tiff/TIFFCIELabColorConverter;
0 32 1 x0 F
0 32 2 x1 F
0 32 3 x2 F
0 32 4 rgb [F
1 32 5 LStar F
4 32 6 aStar F
7 32 7 bStar F
9 11 8 YYn F
13 32 8 YYn F
10 11 9 fY F
14 32 9 fY F
12 14 10 YYn_cubeRoot F
15 32 10 Y F
16 32 11 fX F
18 19 12 X F
20 32 12 X F
21 32 13 fZ F
23 24 14 Z F
25 32 14 Z F
26 32 15 R F
27 32 16 G F
28 32 17 B F
MethodParameters:
Name Flags
x0
x1
x2
rgb
}
SourceFile: "TIFFCIELabColorConverter.java"