public class com.sun.imageio.plugins.tiff.TIFFRLECompressor 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.TIFFRLECompressor
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 0: aload 0
ldc "CCITT RLE"
iconst_2
iconst_1
invokespecial com.sun.imageio.plugins.tiff.TIFFFaxCompressor.<init>:(Ljava/lang/String;IZ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/imageio/plugins/tiff/TIFFRLECompressor;
public int encodeRLE(byte[], int, int, int, byte[]);
descriptor: ([BIII[B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual com.sun.imageio.plugins.tiff.TIFFRLECompressor.initBitBuf:()V
1: aload 0
aload 1
iload 2
iload 3
iload 4
aload 5
iconst_0
invokevirtual com.sun.imageio.plugins.tiff.TIFFRLECompressor.encode1D:([BIII[BI)I
2: istore 6
start local 6 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 5
iload 6
iinc 6 1
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFRLECompressor.bits:I
bipush 24
iushr
i2b
bastore
5: aload 0
dup
getfield com.sun.imageio.plugins.tiff.TIFFRLECompressor.bits:I
bipush 8
ishl
putfield com.sun.imageio.plugins.tiff.TIFFRLECompressor.bits:I
6: aload 0
dup
getfield com.sun.imageio.plugins.tiff.TIFFRLECompressor.ndex:I
bipush 8
isub
putfield com.sun.imageio.plugins.tiff.TIFFRLECompressor.ndex:I
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFRLECompressor.ndex:I
ifgt 4
8: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFRLECompressor.inverseFill:Z
ifeq 15
9: getstatic com.sun.imageio.plugins.tiff.TIFFFaxDecompressor.flipTable:[B
astore 7
start local 7 10: iconst_0
istore 8
start local 8 11: goto 14
12: StackMap locals: byte[] int
StackMap stack:
aload 5
iload 8
aload 7
aload 5
iload 8
baload
sipush 255
iand
baload
bastore
13: iinc 8 1
StackMap locals:
StackMap stack:
14: iload 8
iload 6
if_icmplt 12
end local 8 end local 7 15: StackMap locals:
StackMap stack:
iload 6
ireturn
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/TIFFRLECompressor;
0 16 1 data [B
0 16 2 rowOffset I
0 16 3 colOffset I
0 16 4 rowLength I
0 16 5 compData [B
3 16 6 outIndex I
10 15 7 flipTable [B
11 15 8 i I
MethodParameters:
Name Flags
data
rowOffset
colOffset
rowLength
compData
public int encode(byte[], int, int, int, int[], int);
descriptor: ([BIII[II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=13, 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 RLE 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
newarray 8
astore 8
start local 8 6: iconst_0
istore 9
start local 9 7: iload 2
istore 10
start local 10 8: iconst_0
istore 11
start local 11 9: goto 15
10: StackMap locals: com.sun.imageio.plugins.tiff.TIFFRLECompressor byte[] int int int int[] int int byte[] int int int
StackMap stack:
aload 0
aload 1
iload 10
iconst_0
iload 3
aload 8
invokevirtual com.sun.imageio.plugins.tiff.TIFFRLECompressor.encodeRLE:([BIII[B)I
istore 12
start local 12 11: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFRLECompressor.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 8
iconst_0
iload 12
invokeinterface javax.imageio.stream.ImageOutputStream.write:([BII)V
12: iload 10
iload 6
iadd
istore 10
13: iload 9
iload 12
iadd
istore 9
end local 12 14: iinc 11 1
StackMap locals:
StackMap stack:
15: iload 11
iload 4
if_icmplt 10
end local 11 16: iload 9
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 17 0 this Lcom/sun/imageio/plugins/tiff/TIFFRLECompressor;
0 17 1 b [B
0 17 2 off I
0 17 3 width I
0 17 4 height I
0 17 5 bitsPerSample [I
0 17 6 scanlineStride I
5 17 7 maxBits I
6 17 8 compData [B
7 17 9 bytes I
8 17 10 rowOffset I
9 16 11 i I
11 14 12 rowBytes 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 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: 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: 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: "TIFFRLECompressor.java"