public class com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter 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.TIFFYCbCrColorConverter
super_class: com.sun.imageio.plugins.tiff.TIFFColorConverter
{
private static final float CODING_RANGE_Y;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 255.0
private static final float CODING_RANGE_CB_CR;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 127.0
private float lumaRed;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float lumaGreen;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float lumaBlue;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float referenceBlackY;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float referenceWhiteY;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float referenceBlackCb;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float referenceWhiteCb;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float referenceBlackCr;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float referenceWhiteCr;
descriptor: F
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.imageio.plugins.tiff.TIFFImageMetadata);
descriptor: (Lcom/sun/imageio/plugins/tiff/TIFFImageMetadata;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.imageio.plugins.tiff.TIFFColorConverter.<init>:()V
1: aload 0
ldc 0.299
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaRed:F
2: aload 0
ldc 0.587
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaGreen:F
3: aload 0
ldc 0.114
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaBlue:F
4: aload 0
fconst_0
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackY:F
5: aload 0
ldc 255.0
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceWhiteY:F
6: aload 0
ldc 128.0
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackCb:F
7: aload 0
ldc 255.0
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceWhiteCb:F
8: aload 0
ldc 128.0
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackCr:F
9: aload 0
ldc 255.0
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceWhiteCr:F
10: aload 1
astore 2
start local 2 11: aload 2
sipush 529
invokevirtual com.sun.imageio.plugins.tiff.TIFFImageMetadata.getTIFFField:(I)Ljavax/imageio/plugins/tiff/TIFFField;
12: astore 3
start local 3 13: aload 3
ifnull 17
aload 3
invokevirtual javax.imageio.plugins.tiff.TIFFField.getCount:()I
iconst_3
if_icmpne 17
14: aload 0
aload 3
iconst_0
invokevirtual javax.imageio.plugins.tiff.TIFFField.getAsFloat:(I)F
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaRed:F
15: aload 0
aload 3
iconst_1
invokevirtual javax.imageio.plugins.tiff.TIFFField.getAsFloat:(I)F
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaGreen:F
16: aload 0
aload 3
iconst_2
invokevirtual javax.imageio.plugins.tiff.TIFFField.getAsFloat:(I)F
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaBlue:F
17: StackMap locals: com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter com.sun.imageio.plugins.tiff.TIFFImageMetadata com.sun.imageio.plugins.tiff.TIFFImageMetadata javax.imageio.plugins.tiff.TIFFField
StackMap stack:
aload 2
sipush 532
invokevirtual com.sun.imageio.plugins.tiff.TIFFImageMetadata.getTIFFField:(I)Ljavax/imageio/plugins/tiff/TIFFField;
18: astore 3
19: aload 3
ifnull 26
aload 3
invokevirtual javax.imageio.plugins.tiff.TIFFField.getCount:()I
bipush 6
if_icmpne 26
20: aload 0
aload 3
iconst_0
invokevirtual javax.imageio.plugins.tiff.TIFFField.getAsFloat:(I)F
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackY:F
21: aload 0
aload 3
iconst_1
invokevirtual javax.imageio.plugins.tiff.TIFFField.getAsFloat:(I)F
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceWhiteY:F
22: aload 0
aload 3
iconst_2
invokevirtual javax.imageio.plugins.tiff.TIFFField.getAsFloat:(I)F
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackCb:F
23: aload 0
aload 3
iconst_3
invokevirtual javax.imageio.plugins.tiff.TIFFField.getAsFloat:(I)F
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceWhiteCb:F
24: aload 0
aload 3
iconst_4
invokevirtual javax.imageio.plugins.tiff.TIFFField.getAsFloat:(I)F
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackCr:F
25: aload 0
aload 3
iconst_5
invokevirtual javax.imageio.plugins.tiff.TIFFField.getAsFloat:(I)F
putfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceWhiteCr:F
26: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/imageio/plugins/tiff/TIFFYCbCrColorConverter;
0 27 1 metadata Lcom/sun/imageio/plugins/tiff/TIFFImageMetadata;
11 27 2 tmetadata Lcom/sun/imageio/plugins/tiff/TIFFImageMetadata;
13 27 3 f Ljavax/imageio/plugins/tiff/TIFFField;
MethodParameters:
Name Flags
metadata
public void fromRGB(float, float, float, float[]);
descriptor: (FFF[F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaRed:F
fload 1
fmul
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaGreen:F
fload 2
fmul
fadd
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaBlue:F
fload 3
fmul
fadd
fstore 5
start local 5 1: fload 3
fload 5
fsub
fconst_2
fconst_2
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaBlue:F
fmul
fsub
fdiv
fstore 6
start local 6 2: fload 1
fload 5
fsub
fconst_2
fconst_2
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaRed:F
fmul
fsub
fdiv
fstore 7
start local 7 3: aload 4
iconst_0
fload 5
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceWhiteY:F
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackY:F
fsub
fmul
ldc 255.0
fdiv
4: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackY:F
fadd
5: fastore
6: aload 4
iconst_1
fload 6
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceWhiteCb:F
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackCb:F
fsub
fmul
ldc 127.0
fdiv
7: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackCb:F
fadd
8: fastore
9: aload 4
iconst_2
fload 7
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceWhiteCr:F
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackCr:F
fsub
fmul
ldc 127.0
fdiv
10: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackCr:F
fadd
11: fastore
12: return
end local 7 end local 6 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 13 0 this Lcom/sun/imageio/plugins/tiff/TIFFYCbCrColorConverter;
0 13 1 r F
0 13 2 g F
0 13 3 b F
0 13 4 result [F
1 13 5 Y F
2 13 6 Cb F
3 13 7 Cr 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=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: fload 1
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackY:F
fsub
ldc 255.0
fmul
1: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceWhiteY:F
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackY:F
fsub
2: fdiv
fstore 5
start local 5 3: fload 2
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackCb:F
fsub
ldc 127.0
fmul
4: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceWhiteCb:F
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackCb:F
fsub
5: fdiv
fstore 6
start local 6 6: fload 3
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackCr:F
fsub
ldc 127.0
fmul
7: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceWhiteCr:F
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.referenceBlackCr:F
fsub
8: fdiv
fstore 7
start local 7 9: aload 4
iconst_0
fload 7
fconst_2
fconst_2
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaRed:F
fmul
fsub
fmul
fload 5
fadd
fastore
10: aload 4
iconst_2
fload 6
fconst_2
fconst_2
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaBlue:F
fmul
fsub
fmul
fload 5
fadd
fastore
11: aload 4
iconst_1
fload 5
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaBlue:F
aload 4
iconst_2
faload
fmul
fsub
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaRed:F
aload 4
iconst_0
faload
fmul
fsub
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFYCbCrColorConverter.lumaGreen:F
fdiv
fastore
12: return
end local 7 end local 6 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 13 0 this Lcom/sun/imageio/plugins/tiff/TIFFYCbCrColorConverter;
0 13 1 x0 F
0 13 2 x1 F
0 13 3 x2 F
0 13 4 rgb [F
3 13 5 Y F
6 13 6 Cb F
9 13 7 Cr F
MethodParameters:
Name Flags
x0
x1
x2
rgb
}
SourceFile: "TIFFYCbCrColorConverter.java"