public class com.sun.imageio.plugins.tiff.TIFFT6Compressor 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.TIFFT6Compressor
super_class: com.sun.imageio.plugins.tiff.TIFFFaxCompressor
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 // com.sun.imageio.plugins.tiff.TIFFT6Compressor this
0: .line 36
aload 0 /* this */
ldc "CCITT T.6"
iconst_4
iconst_1
invokespecial com.sun.imageio.plugins.tiff.TIFFFaxCompressor.<init>:(Ljava/lang/String;IZ)V
1: .line 37
return
end local 0 // com.sun.imageio.plugins.tiff.TIFFT6Compressor this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/imageio/plugins/tiff/TIFFT6Compressor;
public synchronized int encodeT6(byte[], int, int, int, int, byte[]);
descriptor: ([BIIII[B)I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=20, args_size=7
start local 0 // com.sun.imageio.plugins.tiff.TIFFT6Compressor this
start local 1 // byte[] data
start local 2 // int lineStride
start local 3 // int colOffset
start local 4 // int width
start local 5 // int height
start local 6 // byte[] compData
0: .line 64
aconst_null
astore 7 /* refData */
start local 7 // byte[] refData
1: .line 65
iconst_0
istore 8 /* refAddr */
start local 8 // int refAddr
2: .line 66
iconst_0
istore 9 /* lineAddr */
start local 9 // int lineAddr
3: .line 67
iconst_0
istore 10 /* outIndex */
start local 10 // int outIndex
4: .line 69
aload 0 /* this */
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.initBitBuf:()V
5: .line 74
goto 63
6: .line 75
StackMap locals: com.sun.imageio.plugins.tiff.TIFFT6Compressor byte[] int int int int byte[] byte[] int int int
StackMap stack:
iload 3 /* colOffset */
istore 11 /* a0 */
start local 11 // int a0
7: .line 76
iload 11 /* a0 */
iload 4 /* width */
iadd
istore 12 /* last */
start local 12 // int last
8: .line 79
aload 1 /* data */
iload 9 /* lineAddr */
iload 11 /* a0 */
iconst_3
iushr
iadd
baload
sipush 255
iand
9: .line 80
bipush 7
iload 11 /* a0 */
bipush 7
iand
isub
10: .line 79
iushr
11: .line 80
iconst_1
12: .line 79
iand
13: .line 78
istore 13 /* testbit */
start local 13 // int testbit
14: .line 81
iload 13 /* testbit */
ifeq 16
15: .line 82
iload 11 /* a0 */
goto 17
StackMap locals: int int int
StackMap stack:
16: aload 0 /* this */
aload 1 /* data */
iload 9 /* lineAddr */
iload 11 /* a0 */
iload 12 /* last */
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.nextState:([BIII)I
17: .line 81
StackMap locals:
StackMap stack: int
istore 14 /* a1 */
start local 14 // int a1
18: .line 84
aload 7 /* refData */
ifnonnull 20
19: .line 85
iconst_0
goto 22
StackMap locals: int
StackMap stack:
20: aload 7 /* refData */
iload 8 /* refAddr */
iload 11 /* a0 */
iconst_3
iushr
iadd
baload
sipush 255
iand
21: .line 86
bipush 7
iload 11 /* a0 */
bipush 7
iand
isub
iushr
iconst_1
iand
22: .line 84
StackMap locals:
StackMap stack: int
istore 13 /* testbit */
23: .line 87
iload 13 /* testbit */
ifeq 25
24: .line 88
iload 11 /* a0 */
goto 26
StackMap locals:
StackMap stack:
25: aload 0 /* this */
aload 7 /* refData */
iload 8 /* refAddr */
iload 11 /* a0 */
iload 12 /* last */
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.nextState:([BIII)I
26: .line 87
StackMap locals:
StackMap stack: int
istore 15 /* b1 */
start local 15 // int b1
27: .line 93
iconst_0
istore 16 /* color */
start local 16 // int color
28: .line 96
StackMap locals: int int
StackMap stack:
aload 0 /* this */
aload 7 /* refData */
iload 8 /* refAddr */
iload 15 /* b1 */
iload 12 /* last */
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.nextState:([BIII)I
istore 17 /* b2 */
start local 17 // int b2
29: .line 97
iload 17 /* b2 */
iload 14 /* a1 */
if_icmpge 33
30: .line 98
iload 10 /* outIndex */
aload 0 /* this */
aload 6 /* compData */
iload 10 /* outIndex */
getstatic com.sun.imageio.plugins.tiff.TIFFT6Compressor.pass:[[I
iconst_0
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.add2DBits:([BI[[II)I
iadd
istore 10 /* outIndex */
31: .line 99
iload 17 /* b2 */
istore 11 /* a0 */
32: .line 100
goto 43
33: .line 101
StackMap locals: int
StackMap stack:
iload 15 /* b1 */
iload 14 /* a1 */
isub
iconst_3
iadd
istore 18 /* tmp */
start local 18 // int tmp
34: .line 102
iload 18 /* tmp */
bipush 6
if_icmpgt 38
iload 18 /* tmp */
iflt 38
35: .line 103
iload 10 /* outIndex */
aload 0 /* this */
aload 6 /* compData */
iload 10 /* outIndex */
getstatic com.sun.imageio.plugins.tiff.TIFFT6Compressor.vert:[[I
iload 18 /* tmp */
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.add2DBits:([BI[[II)I
iadd
istore 10 /* outIndex */
36: .line 104
iload 14 /* a1 */
istore 11 /* a0 */
37: .line 105
goto 43
38: .line 106
StackMap locals: int
StackMap stack:
aload 0 /* this */
aload 1 /* data */
iload 9 /* lineAddr */
iload 14 /* a1 */
iload 12 /* last */
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.nextState:([BIII)I
istore 19 /* a2 */
start local 19 // int a2
39: .line 107
iload 10 /* outIndex */
aload 0 /* this */
aload 6 /* compData */
iload 10 /* outIndex */
getstatic com.sun.imageio.plugins.tiff.TIFFT6Compressor.horz:[[I
iconst_0
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.add2DBits:([BI[[II)I
iadd
istore 10 /* outIndex */
40: .line 108
iload 10 /* outIndex */
aload 0 /* this */
aload 6 /* compData */
iload 10 /* outIndex */
iload 14 /* a1 */
iload 11 /* a0 */
isub
iload 16 /* color */
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.add1DBits:([BIII)I
iadd
istore 10 /* outIndex */
41: .line 109
iload 10 /* outIndex */
aload 0 /* this */
aload 6 /* compData */
iload 10 /* outIndex */
iload 19 /* a2 */
iload 14 /* a1 */
isub
iload 16 /* color */
iconst_1
ixor
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.add1DBits:([BIII)I
iadd
istore 10 /* outIndex */
42: .line 110
iload 19 /* a2 */
istore 11 /* a0 */
end local 19 // int a2
end local 18 // int tmp
43: .line 113
StackMap locals:
StackMap stack:
iload 11 /* a0 */
iload 12 /* last */
if_icmplt 45
44: .line 114
goto 60
45: .line 116
StackMap locals:
StackMap stack:
aload 1 /* data */
iload 9 /* lineAddr */
iload 11 /* a0 */
iconst_3
iushr
iadd
baload
sipush 255
iand
46: .line 117
bipush 7
iload 11 /* a0 */
bipush 7
iand
isub
47: .line 116
iushr
48: .line 117
iconst_1
49: .line 116
iand
istore 16 /* color */
50: .line 118
aload 0 /* this */
aload 1 /* data */
iload 9 /* lineAddr */
iload 11 /* a0 */
iload 12 /* last */
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.nextState:([BIII)I
istore 14 /* a1 */
51: .line 119
aload 0 /* this */
aload 7 /* refData */
iload 8 /* refAddr */
iload 11 /* a0 */
iload 12 /* last */
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.nextState:([BIII)I
istore 15 /* b1 */
52: .line 120
aload 7 /* refData */
ifnonnull 54
53: .line 121
iconst_0
goto 56
StackMap locals:
StackMap stack:
54: aload 7 /* refData */
iload 8 /* refAddr */
iload 15 /* b1 */
iconst_3
iushr
iadd
baload
sipush 255
iand
55: .line 122
bipush 7
iload 15 /* b1 */
bipush 7
iand
isub
iushr
iconst_1
iand
56: .line 120
StackMap locals:
StackMap stack: int
istore 13 /* testbit */
57: .line 123
iload 13 /* testbit */
iload 16 /* color */
if_icmpne 28
58: .line 124
aload 0 /* this */
aload 7 /* refData */
iload 8 /* refAddr */
iload 15 /* b1 */
iload 12 /* last */
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.nextState:([BIII)I
istore 15 /* b1 */
end local 17 // int b2
59: .line 95
goto 28
60: .line 128
StackMap locals:
StackMap stack:
aload 1 /* data */
astore 7 /* refData */
61: .line 129
iload 9 /* lineAddr */
istore 8 /* refAddr */
62: .line 130
iload 9 /* lineAddr */
iload 2 /* lineStride */
iadd
istore 9 /* lineAddr */
end local 16 // int color
end local 15 // int b1
end local 14 // int a1
end local 13 // int testbit
end local 12 // int last
end local 11 // int a0
63: .line 74
StackMap locals: com.sun.imageio.plugins.tiff.TIFFT6Compressor byte[] int int int int byte[] byte[] int int int
StackMap stack:
iload 5 /* height */
iinc 5 /* height */ -1
ifne 6
64: .line 137
iload 10 /* outIndex */
aload 0 /* this */
aload 6 /* compData */
iload 10 /* outIndex */
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.addEOFB:([BI)I
iadd
istore 10 /* outIndex */
65: .line 140
aload 0 /* this */
getfield com.sun.imageio.plugins.tiff.TIFFT6Compressor.inverseFill:Z
ifeq 71
66: .line 141
iconst_0
istore 11 /* i */
start local 11 // int i
67: goto 70
68: .line 142
StackMap locals: int
StackMap stack:
aload 6 /* compData */
iload 11 /* i */
getstatic com.sun.imageio.plugins.tiff.TIFFFaxDecompressor.flipTable:[B
aload 6 /* compData */
iload 11 /* i */
baload
sipush 255
iand
baload
bastore
69: .line 141
iinc 11 /* i */ 1
StackMap locals:
StackMap stack:
70: iload 11 /* i */
iload 10 /* outIndex */
if_icmplt 68
end local 11 // int i
71: .line 146
StackMap locals:
StackMap stack:
iload 10 /* outIndex */
ireturn
end local 10 // int outIndex
end local 9 // int lineAddr
end local 8 // int refAddr
end local 7 // byte[] refData
end local 6 // byte[] compData
end local 5 // int height
end local 4 // int width
end local 3 // int colOffset
end local 2 // int lineStride
end local 1 // byte[] data
end local 0 // com.sun.imageio.plugins.tiff.TIFFT6Compressor this
LocalVariableTable:
Start End Slot Name Signature
0 72 0 this Lcom/sun/imageio/plugins/tiff/TIFFT6Compressor;
0 72 1 data [B
0 72 2 lineStride I
0 72 3 colOffset I
0 72 4 width I
0 72 5 height I
0 72 6 compData [B
1 72 7 refData [B
2 72 8 refAddr I
3 72 9 lineAddr I
4 72 10 outIndex I
7 63 11 a0 I
8 63 12 last I
14 63 13 testbit I
18 63 14 a1 I
27 63 15 b1 I
28 63 16 color I
29 59 17 b2 I
34 43 18 tmp I
39 43 19 a2 I
67 71 11 i I
MethodParameters:
Name Flags
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=7, locals=11, args_size=7
start local 0 // com.sun.imageio.plugins.tiff.TIFFT6Compressor this
start local 1 // byte[] b
start local 2 // int off
start local 3 // int width
start local 4 // int height
start local 5 // int[] bitsPerSample
start local 6 // int scanlineStride
0: .line 153
aload 5 /* bitsPerSample */
arraylength
iconst_1
if_icmpne 1
aload 5 /* bitsPerSample */
iconst_0
iaload
iconst_1
if_icmpeq 4
1: .line 154
StackMap locals:
StackMap stack:
new javax.imageio.IIOException
dup
2: .line 155
ldc "Bits per sample must be 1 for T6 compression!"
3: .line 154
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;)V
athrow
4: .line 159
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.imageio.plugins.tiff.TIFFT6Compressor.metadata:Ljavax/imageio/metadata/IIOMetadata;
instanceof com.sun.imageio.plugins.tiff.TIFFImageMetadata
ifeq 16
5: .line 160
aload 0 /* this */
getfield com.sun.imageio.plugins.tiff.TIFFT6Compressor.metadata:Ljavax/imageio/metadata/IIOMetadata;
checkcast com.sun.imageio.plugins.tiff.TIFFImageMetadata
astore 7 /* tim */
start local 7 // com.sun.imageio.plugins.tiff.TIFFImageMetadata tim
6: .line 162
iconst_1
newarray 11
astore 8 /* options */
start local 8 // long[] options
7: .line 163
aload 8 /* options */
iconst_0
lconst_0
lastore
8: .line 165
invokestatic javax.imageio.plugins.tiff.BaselineTIFFTagSet.getInstance:()Ljavax/imageio/plugins/tiff/BaselineTIFFTagSet;
astore 9 /* base */
start local 9 // javax.imageio.plugins.tiff.BaselineTIFFTagSet base
9: .line 167
new javax.imageio.plugins.tiff.TIFFField
dup
aload 9 /* base */
sipush 293
invokevirtual javax.imageio.plugins.tiff.BaselineTIFFTagSet.getTag:(I)Ljavax/imageio/plugins/tiff/TIFFTag;
10: .line 168
iconst_4
11: .line 169
iconst_1
12: .line 170
aload 8 /* options */
13: .line 167
invokespecial javax.imageio.plugins.tiff.TIFFField.<init>:(Ljavax/imageio/plugins/tiff/TIFFTag;IILjava/lang/Object;)V
14: .line 166
astore 10 /* T6Options */
start local 10 // javax.imageio.plugins.tiff.TIFFField T6Options
15: .line 171
aload 7 /* tim */
getfield com.sun.imageio.plugins.tiff.TIFFImageMetadata.rootIFD:Lcom/sun/imageio/plugins/tiff/TIFFIFD;
aload 10 /* T6Options */
invokevirtual com.sun.imageio.plugins.tiff.TIFFIFD.addTIFFField:(Ljavax/imageio/plugins/tiff/TIFFField;)V
end local 10 // javax.imageio.plugins.tiff.TIFFField T6Options
end local 9 // javax.imageio.plugins.tiff.BaselineTIFFTagSet base
end local 8 // long[] options
end local 7 // com.sun.imageio.plugins.tiff.TIFFImageMetadata tim
16: .line 175
StackMap locals:
StackMap stack:
bipush 9
iload 3 /* width */
iconst_1
iadd
iconst_2
idiv
imul
iconst_2
iadd
istore 7 /* maxBits */
start local 7 // int maxBits
17: .line 176
iload 7 /* maxBits */
bipush 7
iadd
bipush 8
idiv
istore 8 /* bufSize */
start local 8 // int bufSize
18: .line 177
iload 4 /* height */
iload 8 /* bufSize */
iconst_2
iadd
imul
bipush 12
iadd
istore 8 /* bufSize */
19: .line 179
iload 8 /* bufSize */
newarray 8
astore 9 /* compData */
start local 9 // byte[] compData
20: .line 180
aload 0 /* this */
aload 1 /* b */
iload 6 /* scanlineStride */
bipush 8
iload 2 /* off */
imul
iload 3 /* width */
iload 4 /* height */
21: .line 181
aload 9 /* compData */
22: .line 180
invokevirtual com.sun.imageio.plugins.tiff.TIFFT6Compressor.encodeT6:([BIIII[B)I
istore 10 /* bytes */
start local 10 // int bytes
23: .line 182
aload 0 /* this */
getfield com.sun.imageio.plugins.tiff.TIFFT6Compressor.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 9 /* compData */
iconst_0
iload 10 /* bytes */
invokeinterface javax.imageio.stream.ImageOutputStream.write:([BII)V
24: .line 183
iload 10 /* bytes */
ireturn
end local 10 // int bytes
end local 9 // byte[] compData
end local 8 // int bufSize
end local 7 // int maxBits
end local 6 // int scanlineStride
end local 5 // int[] bitsPerSample
end local 4 // int height
end local 3 // int width
end local 2 // int off
end local 1 // byte[] b
end local 0 // com.sun.imageio.plugins.tiff.TIFFT6Compressor this
LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/imageio/plugins/tiff/TIFFT6Compressor;
0 25 1 b [B
0 25 2 off I
0 25 3 width I
0 25 4 height I
0 25 5 bitsPerSample [I
0 25 6 scanlineStride I
6 16 7 tim Lcom/sun/imageio/plugins/tiff/TIFFImageMetadata;
7 16 8 options [J
9 16 9 base Ljavax/imageio/plugins/tiff/BaselineTIFFTagSet;
15 16 10 T6Options Ljavax/imageio/plugins/tiff/TIFFField;
17 25 7 maxBits I
18 25 8 bufSize I
20 25 9 compData [B
23 25 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: .line 1
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: .line 1
aload 0
aload 1
iload 2
invokespecial com.sun.imageio.plugins.tiff.TIFFFaxCompressor.addEOFB:([BI)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void setMetadata(javax.imageio.metadata.IIOMetadata);
descriptor: (Ljavax/imageio/metadata/IIOMetadata;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: .line 1
aload 0
aload 1
invokespecial com.sun.imageio.plugins.tiff.TIFFFaxCompressor.setMetadata:(Ljavax/imageio/metadata/IIOMetadata;)V
return
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: .line 1
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: .line 1
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: .line 1
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: .line 1
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: .line 1
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: "TIFFT6Compressor.java"