public class com.sun.imageio.plugins.tiff.TIFFT4Compressor extends com.sun.imageio.plugins.tiff.TIFFFaxCompressor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.tiff.TIFFT4Compressor
super_class: com.sun.imageio.plugins.tiff.TIFFFaxCompressor
{
private boolean is1DMode;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean isEOLAligned;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ldc "CCITT T.4"
iconst_3
iconst_1
invokespecial com.sun.imageio.plugins.tiff.TIFFFaxCompressor.<init>:(Ljava/lang/String;IZ)V
1: aload 0
iconst_0
putfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.is1DMode:Z
2: aload 0
iconst_0
putfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.isEOLAligned:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/imageio/plugins/tiff/TIFFT4Compressor;
public void setMetadata(javax.imageio.metadata.IIOMetadata);
descriptor: (Ljavax/imageio/metadata/IIOMetadata;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.imageio.plugins.tiff.TIFFFaxCompressor.setMetadata:(Ljavax/imageio/metadata/IIOMetadata;)V
1: aload 1
instanceof com.sun.imageio.plugins.tiff.TIFFImageMetadata
ifeq 28
2: aload 1
checkcast com.sun.imageio.plugins.tiff.TIFFImageMetadata
astore 2
start local 2 3: aload 2
sipush 292
invokevirtual com.sun.imageio.plugins.tiff.TIFFImageMetadata.getTIFFField:(I)Ljavax/imageio/plugins/tiff/TIFFField;
astore 3
start local 3 4: aload 3
ifnull 13
5: aload 3
iconst_0
invokevirtual javax.imageio.plugins.tiff.TIFFField.getAsInt:(I)I
istore 4
start local 4 6: aload 0
iload 4
iconst_1
iand
ifne 7
iconst_1
goto 8
StackMap locals: com.sun.imageio.plugins.tiff.TIFFT4Compressor javax.imageio.metadata.IIOMetadata com.sun.imageio.plugins.tiff.TIFFImageMetadata javax.imageio.plugins.tiff.TIFFField int
StackMap stack: com.sun.imageio.plugins.tiff.TIFFT4Compressor
7: iconst_0
StackMap locals: com.sun.imageio.plugins.tiff.TIFFT4Compressor javax.imageio.metadata.IIOMetadata com.sun.imageio.plugins.tiff.TIFFImageMetadata javax.imageio.plugins.tiff.TIFFField int
StackMap stack: com.sun.imageio.plugins.tiff.TIFFT4Compressor int
8: putfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.is1DMode:Z
9: aload 0
iload 4
iconst_4
iand
iconst_4
if_icmpne 10
iconst_1
goto 11
StackMap locals:
StackMap stack: com.sun.imageio.plugins.tiff.TIFFT4Compressor
10: iconst_0
StackMap locals: com.sun.imageio.plugins.tiff.TIFFT4Compressor javax.imageio.metadata.IIOMetadata com.sun.imageio.plugins.tiff.TIFFImageMetadata javax.imageio.plugins.tiff.TIFFField int
StackMap stack: com.sun.imageio.plugins.tiff.TIFFT4Compressor int
11: putfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.isEOLAligned:Z
end local 4 12: goto 28
13: StackMap locals:
StackMap stack:
iconst_1
newarray 11
astore 4
start local 4 14: aload 4
iconst_0
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.isEOLAligned:Z
ifeq 15
iconst_4
goto 16
StackMap locals: com.sun.imageio.plugins.tiff.TIFFT4Compressor javax.imageio.metadata.IIOMetadata com.sun.imageio.plugins.tiff.TIFFImageMetadata javax.imageio.plugins.tiff.TIFFField long[]
StackMap stack: long[] int
15: iconst_0
16: StackMap locals: com.sun.imageio.plugins.tiff.TIFFT4Compressor javax.imageio.metadata.IIOMetadata com.sun.imageio.plugins.tiff.TIFFImageMetadata javax.imageio.plugins.tiff.TIFFField long[]
StackMap stack: long[] int int
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.is1DMode:Z
ifeq 17
iconst_0
goto 18
StackMap locals: com.sun.imageio.plugins.tiff.TIFFT4Compressor javax.imageio.metadata.IIOMetadata com.sun.imageio.plugins.tiff.TIFFImageMetadata javax.imageio.plugins.tiff.TIFFField long[]
StackMap stack: long[] int int
17: iconst_1
StackMap locals: com.sun.imageio.plugins.tiff.TIFFT4Compressor javax.imageio.metadata.IIOMetadata com.sun.imageio.plugins.tiff.TIFFImageMetadata javax.imageio.plugins.tiff.TIFFField long[]
StackMap stack: long[] int int int
18: ior
i2l
19: lastore
20: invokestatic javax.imageio.plugins.tiff.BaselineTIFFTagSet.getInstance:()Ljavax/imageio/plugins/tiff/BaselineTIFFTagSet;
astore 5
start local 5 21: new javax.imageio.plugins.tiff.TIFFField
dup
aload 5
sipush 292
invokevirtual javax.imageio.plugins.tiff.BaselineTIFFTagSet.getTag:(I)Ljavax/imageio/plugins/tiff/TIFFTag;
22: iconst_4
23: iconst_1
24: aload 4
25: invokespecial javax.imageio.plugins.tiff.TIFFField.<init>:(Ljavax/imageio/plugins/tiff/TIFFTag;IILjava/lang/Object;)V
26: astore 6
start local 6 27: aload 2
getfield com.sun.imageio.plugins.tiff.TIFFImageMetadata.rootIFD:Lcom/sun/imageio/plugins/tiff/TIFFIFD;
aload 6
invokevirtual com.sun.imageio.plugins.tiff.TIFFIFD.addTIFFField:(Ljavax/imageio/plugins/tiff/TIFFField;)V
end local 6 end local 5 end local 4 end local 3 end local 2 28: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/imageio/plugins/tiff/TIFFT4Compressor;
0 29 1 metadata Ljavax/imageio/metadata/IIOMetadata;
3 28 2 tim Lcom/sun/imageio/plugins/tiff/TIFFImageMetadata;
4 28 3 f Ljavax/imageio/plugins/tiff/TIFFField;
6 12 4 options I
14 28 4 oarray [J
21 28 5 base Ljavax/imageio/plugins/tiff/BaselineTIFFTagSet;
27 28 6 T4Options Ljavax/imageio/plugins/tiff/TIFFField;
MethodParameters:
Name Flags
metadata
public int encodeT4(boolean, boolean, byte[], int, int, int, int, byte[]);
descriptor: (ZZ[BIIII[B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=24, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 3
astore 9
start local 9 1: iconst_0
istore 10
start local 10 2: iconst_0
istore 11
start local 11 3: aload 0
invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.initBitBuf:()V
4: iconst_2
istore 12
start local 12 5: iconst_0
istore 13
start local 13 6: goto 79
7: StackMap locals: com.sun.imageio.plugins.tiff.TIFFT4Compressor int int byte[] int int int int byte[] byte[] int int int int
StackMap stack:
iload 1
ifne 8
iload 13
iload 12
irem
ifne 15
8: StackMap locals:
StackMap stack:
iload 11
aload 0
iload 1
iload 2
iconst_1
9: aload 8
iload 11
10: invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.addEOL:(ZZZ[BI)I
iadd
istore 11
11: iload 11
aload 0
aload 3
iload 10
iload 5
iload 6
12: aload 8
iload 11
13: invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.encode1D:([BIII[BI)I
iadd
istore 11
14: goto 77
15: StackMap locals:
StackMap stack:
iload 11
aload 0
iload 1
iload 2
iconst_0
16: aload 8
iload 11
17: invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.addEOL:(ZZZ[BI)I
iadd
istore 11
18: iload 10
iload 4
isub
istore 14
start local 14 19: iload 5
istore 15
start local 15 20: iload 15
iload 6
iadd
istore 16
start local 16 21: aload 3
iload 10
iload 15
iconst_3
iushr
iadd
baload
sipush 255
iand
22: bipush 7
iload 15
bipush 7
iand
isub
23: iushr
24: iconst_1
25: iand
26: istore 17
start local 17 27: iload 17
ifeq 29
28: iload 15
goto 30
StackMap locals: com.sun.imageio.plugins.tiff.TIFFT4Compressor int int byte[] int int int int byte[] byte[] int int int int int int int int
StackMap stack:
29: aload 0
aload 3
iload 10
iload 15
iload 16
invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.nextState:([BIII)I
30: StackMap locals:
StackMap stack: int
istore 18
start local 18 31: aload 9
iload 14
iload 15
iconst_3
iushr
iadd
baload
sipush 255
iand
32: bipush 7
iload 15
bipush 7
iand
isub
33: iushr
34: iconst_1
35: iand
istore 17
36: iload 17
ifeq 38
37: iload 15
goto 39
StackMap locals: int
StackMap stack:
38: aload 0
aload 9
iload 14
iload 15
iload 16
invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.nextState:([BIII)I
39: StackMap locals:
StackMap stack: int
istore 19
start local 19 40: iconst_0
istore 20
start local 20 41: StackMap locals: int int
StackMap stack:
aload 0
aload 9
iload 14
iload 19
iload 16
invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.nextState:([BIII)I
istore 21
start local 21 42: iload 21
iload 18
if_icmpge 46
43: iload 11
aload 0
aload 8
iload 11
getstatic com.sun.imageio.plugins.tiff.TIFFT4Compressor.pass:[[I
iconst_0
invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.add2DBits:([BI[[II)I
iadd
istore 11
44: iload 21
istore 15
45: goto 60
46: StackMap locals: int
StackMap stack:
iload 19
iload 18
isub
iconst_3
iadd
istore 22
start local 22 47: iload 22
bipush 6
if_icmpgt 52
iload 22
iflt 52
48: iload 11
49: aload 0
aload 8
iload 11
getstatic com.sun.imageio.plugins.tiff.TIFFT4Compressor.vert:[[I
iload 22
invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.add2DBits:([BI[[II)I
iadd
istore 11
50: iload 18
istore 15
51: goto 60
52: StackMap locals: int
StackMap stack:
aload 0
aload 3
iload 10
iload 18
iload 16
invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.nextState:([BIII)I
istore 23
start local 23 53: iload 11
54: aload 0
aload 8
iload 11
getstatic com.sun.imageio.plugins.tiff.TIFFT4Compressor.horz:[[I
iconst_0
invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.add2DBits:([BI[[II)I
iadd
istore 11
55: iload 11
56: aload 0
aload 8
iload 11
iload 18
iload 15
isub
iload 20
invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.add1DBits:([BIII)I
iadd
istore 11
57: iload 11
58: aload 0
aload 8
iload 11
iload 23
iload 18
isub
iload 20
iconst_1
ixor
invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.add1DBits:([BIII)I
iadd
istore 11
59: iload 23
istore 15
end local 23 end local 22 60: StackMap locals:
StackMap stack:
iload 15
iload 16
if_icmplt 62
61: goto 77
62: StackMap locals:
StackMap stack:
aload 3
iload 10
iload 15
iconst_3
iushr
iadd
baload
sipush 255
iand
63: bipush 7
iload 15
bipush 7
iand
isub
64: iushr
65: iconst_1
66: iand
istore 20
67: aload 0
aload 3
iload 10
iload 15
iload 16
invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.nextState:([BIII)I
istore 18
68: aload 0
aload 9
iload 14
iload 15
iload 16
invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.nextState:([BIII)I
istore 19
69: aload 9
iload 14
iload 19
iconst_3
iushr
iadd
baload
sipush 255
iand
70: bipush 7
iload 19
bipush 7
iand
isub
71: iushr
72: iconst_1
73: iand
istore 17
74: iload 17
iload 20
if_icmpne 41
75: aload 0
aload 9
iload 14
iload 19
iload 16
invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.nextState:([BIII)I
istore 19
end local 21 76: goto 41
end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 77: StackMap locals: com.sun.imageio.plugins.tiff.TIFFT4Compressor int int byte[] int int int int byte[] byte[] int int int int
StackMap stack:
iload 10
iload 4
iadd
istore 10
78: iinc 13 1
StackMap locals:
StackMap stack:
79: iload 13
iload 7
if_icmplt 7
end local 13 80: iconst_0
istore 13
start local 13 81: goto 86
82: StackMap locals:
StackMap stack:
iload 11
aload 0
iload 1
iload 2
iconst_1
83: aload 8
iload 11
84: invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.addEOL:(ZZZ[BI)I
iadd
istore 11
85: iinc 13 1
StackMap locals:
StackMap stack:
86: iload 13
bipush 6
if_icmplt 82
end local 13 87: goto 91
88: StackMap locals:
StackMap stack:
aload 8
iload 11
iinc 11 1
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.bits:I
bipush 24
iushr
i2b
bastore
89: aload 0
dup
getfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.bits:I
bipush 8
ishl
putfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.bits:I
90: aload 0
dup
getfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.ndex:I
bipush 8
isub
putfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.ndex:I
91: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.ndex:I
ifgt 88
92: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.inverseFill:Z
ifeq 98
93: iconst_0
istore 13
start local 13 94: goto 97
95: StackMap locals: int
StackMap stack:
aload 8
iload 13
getstatic com.sun.imageio.plugins.tiff.TIFFFaxDecompressor.flipTable:[B
aload 8
iload 13
baload
sipush 255
iand
baload
bastore
96: iinc 13 1
StackMap locals:
StackMap stack:
97: iload 13
iload 11
if_icmplt 95
end local 13 98: StackMap locals:
StackMap stack:
iload 11
ireturn
end local 12 end local 11 end local 10 end local 9 end local 8 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 99 0 this Lcom/sun/imageio/plugins/tiff/TIFFT4Compressor;
0 99 1 is1DMode Z
0 99 2 isEOLAligned Z
0 99 3 data [B
0 99 4 lineStride I
0 99 5 colOffset I
0 99 6 width I
0 99 7 height I
0 99 8 compData [B
1 99 9 refData [B
2 99 10 lineAddr I
3 99 11 outIndex I
5 99 12 KParameter I
6 80 13 numRows I
19 77 14 refAddr I
20 77 15 a0 I
21 77 16 last I
27 77 17 testbit I
31 77 18 a1 I
40 77 19 b1 I
41 77 20 color I
42 76 21 b2 I
47 60 22 tmp I
53 60 23 a2 I
81 87 13 i I
94 98 13 i I
MethodParameters:
Name Flags
is1DMode
isEOLAligned
data
lineStride
colOffset
width
height
compData
public int encode(byte[], int, int, int, int[], int);
descriptor: ([BIII[II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=11, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 5
arraylength
iconst_1
if_icmpne 1
aload 5
iconst_0
iaload
iconst_1
if_icmpeq 4
1: StackMap locals:
StackMap stack:
new javax.imageio.IIOException
dup
2: ldc "Bits per sample must be 1 for T4 compression!"
3: invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
bipush 9
iload 3
iconst_1
iadd
iconst_2
idiv
imul
iconst_2
iadd
istore 7
start local 7 5: iload 7
bipush 7
iadd
bipush 8
idiv
istore 8
start local 8 6: iload 4
iload 8
iconst_2
iadd
imul
bipush 12
iadd
istore 8
7: iload 8
newarray 8
astore 9
start local 9 8: aload 0
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.is1DMode:Z
9: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.isEOLAligned:Z
10: aload 1
iload 6
bipush 8
iload 2
imul
11: iload 3
iload 4
12: aload 9
13: invokevirtual com.sun.imageio.plugins.tiff.TIFFT4Compressor.encodeT4:(ZZ[BIIII[B)I
istore 10
start local 10 14: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFT4Compressor.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 9
iconst_0
iload 10
invokeinterface javax.imageio.stream.ImageOutputStream.write:([BII)V
15: iload 10
ireturn
end local 10 end local 9 end local 8 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 16 0 this Lcom/sun/imageio/plugins/tiff/TIFFT4Compressor;
0 16 1 b [B
0 16 2 off I
0 16 3 width I
0 16 4 height I
0 16 5 bitsPerSample [I
0 16 6 scanlineStride I
5 16 7 maxBits I
6 16 8 bufSize I
8 16 9 compData [B
14 16 10 bytes I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
width
height
bitsPerSample
scanlineStride
public int add2DBits(byte[], int, int[][], int);
descriptor: ([BI[[II)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=5
0: aload 0
aload 1
iload 2
aload 3
iload 4
invokespecial com.sun.imageio.plugins.tiff.TIFFFaxCompressor.add2DBits:([BI[[II)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public int addEOFB(byte[], int);
descriptor: ([BI)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
iload 2
invokespecial com.sun.imageio.plugins.tiff.TIFFFaxCompressor.addEOFB:([BI)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public int encode1D(byte[], int, int, int, byte[], int);
descriptor: ([BIII[BI)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=7, locals=7, args_size=7
0: aload 0
aload 1
iload 2
iload 3
iload 4
aload 5
iload 6
invokespecial com.sun.imageio.plugins.tiff.TIFFFaxCompressor.encode1D:([BIII[BI)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public int nextState(byte[], int, int, int);
descriptor: ([BIII)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=5
0: aload 0
aload 1
iload 2
iload 3
iload 4
invokespecial com.sun.imageio.plugins.tiff.TIFFFaxCompressor.nextState:([BIII)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void initBitBuf();
descriptor: ()V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.sun.imageio.plugins.tiff.TIFFFaxCompressor.initBitBuf:()V
return
LocalVariableTable:
Start End Slot Name Signature
public int add1DBits(byte[], int, int, int);
descriptor: ([BIII)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=5
0: aload 0
aload 1
iload 2
iload 3
iload 4
invokespecial com.sun.imageio.plugins.tiff.TIFFFaxCompressor.add1DBits:([BIII)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public int addEOL(boolean, boolean, boolean, byte[], int);
descriptor: (ZZZ[BI)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=6, locals=6, args_size=6
0: aload 0
iload 1
iload 2
iload 3
aload 4
iload 5
invokespecial com.sun.imageio.plugins.tiff.TIFFFaxCompressor.addEOL:(ZZZ[BI)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "TIFFT4Compressor.java"