class com.sun.imageio.plugins.jpeg.DQTMarkerSegment extends com.sun.imageio.plugins.jpeg.MarkerSegment
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.imageio.plugins.jpeg.DQTMarkerSegment
super_class: com.sun.imageio.plugins.jpeg.MarkerSegment
{
java.util.List<com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable> tables;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment$Qtable;>;
void <init>(float, boolean);
descriptor: (FZ)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
sipush 219
invokespecial com.sun.imageio.plugins.jpeg.MarkerSegment.<init>:(I)V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
2: aload 0
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
new com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable
dup
aload 0
iconst_1
fload 1
invokespecial com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.<init>:(Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;ZF)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: iload 2
ifeq 5
4: aload 0
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
new com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable
dup
aload 0
iconst_0
fload 1
invokespecial com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.<init>:(Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;ZF)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals: com.sun.imageio.plugins.jpeg.DQTMarkerSegment float int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;
0 6 1 quality F
0 6 2 needTwo Z
MethodParameters:
Name Flags
quality
needTwo
void <init>(com.sun.imageio.plugins.jpeg.JPEGBuffer);
descriptor: (Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.imageio.plugins.jpeg.MarkerSegment.<init>:(Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;)V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
2: aload 0
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.length:I
istore 2
start local 2 3: goto 7
4: StackMap locals: com.sun.imageio.plugins.jpeg.DQTMarkerSegment com.sun.imageio.plugins.jpeg.JPEGBuffer int
StackMap stack:
new com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable
dup
aload 0
aload 1
invokespecial com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.<init>:(Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;)V
astore 3
start local 3 5: aload 0
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: iload 2
aload 3
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.data:[I
arraylength
iconst_1
iadd
isub
istore 2
end local 3 7: StackMap locals:
StackMap stack:
iload 2
ifgt 4
8: aload 1
dup
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufAvail:I
aload 0
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.length:I
isub
putfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufAvail:I
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;
0 10 1 buffer Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;
3 10 2 count I
5 7 3 newGuy Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment$Qtable;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
void <init>(javax.imageio.plugins.jpeg.JPEGQTable[]);
descriptor: ([Ljavax/imageio/plugins/jpeg/JPEGQTable;)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
sipush 219
invokespecial com.sun.imageio.plugins.jpeg.MarkerSegment.<init>:(I)V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: com.sun.imageio.plugins.jpeg.DQTMarkerSegment javax.imageio.plugins.jpeg.JPEGQTable[] int
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
new com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable
dup
aload 0
aload 1
iload 2
aaload
iload 2
invokespecial com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.<init>:(Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;Ljavax/imageio/plugins/jpeg/JPEGQTable;I)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 1
arraylength
if_icmplt 4
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;
0 8 1 qtables [Ljavax/imageio/plugins/jpeg/JPEGQTable;
3 7 2 i I
MethodParameters:
Name Flags
qtables
void <init>(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x0000)
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
sipush 219
invokespecial com.sun.imageio.plugins.jpeg.MarkerSegment.<init>:(I)V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
2: aload 1
invokeinterface org.w3c.dom.Node.getChildNodes:()Lorg/w3c/dom/NodeList;
astore 2
start local 2 3: aload 2
invokeinterface org.w3c.dom.NodeList.getLength:()I
istore 3
start local 3 4: iload 3
iconst_1
if_icmplt 5
iload 3
iconst_4
if_icmple 6
5: StackMap locals: com.sun.imageio.plugins.jpeg.DQTMarkerSegment org.w3c.dom.Node org.w3c.dom.NodeList int
StackMap stack:
new javax.imageio.metadata.IIOInvalidTreeException
dup
ldc "Invalid DQT node"
aload 1
invokespecial javax.imageio.metadata.IIOInvalidTreeException.<init>:(Ljava/lang/String;Lorg/w3c/dom/Node;)V
athrow
6: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 7: goto 10
8: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
new com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable
dup
aload 0
aload 2
iload 4
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
invokespecial com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.<init>:(Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;Lorg/w3c/dom/Node;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 3
if_icmplt 8
end local 4 11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;
0 12 1 node Lorg/w3c/dom/Node;
3 12 2 children Lorg/w3c/dom/NodeList;
4 12 3 size I
7 11 4 i I
Exceptions:
throws javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
node
protected java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokespecial com.sun.imageio.plugins.jpeg.MarkerSegment.clone:()Ljava/lang/Object;
checkcast com.sun.imageio.plugins.jpeg.DQTMarkerSegment
astore 1
start local 1 1: aload 1
new java.util.ArrayList
dup
aload 0
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
putfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
2: aload 0
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 3: goto 6
4: StackMap locals: com.sun.imageio.plugins.jpeg.DQTMarkerSegment java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable
astore 3
start local 3 5: aload 1
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
aload 3
invokevirtual com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.clone:()Ljava/lang/Object;
checkcast com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;
1 8 1 newGuy Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;
3 8 2 iter Ljava/util/Iterator<Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment$Qtable;>;
5 6 3 table Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment$Qtable;
javax.imageio.metadata.IIOMetadataNode getNativeNode();
descriptor: ()Ljavax/imageio/metadata/IIOMetadataNode;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=1
start local 0 0: new javax.imageio.metadata.IIOMetadataNode
dup
ldc "dqt"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: javax.imageio.metadata.IIOMetadataNode int
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable
astore 3
start local 3 4: aload 1
aload 3
invokevirtual com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.getNativeNode:()Ljavax/imageio/metadata/IIOMetadataNode;
invokevirtual javax.imageio.metadata.IIOMetadataNode.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
end local 3 5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 3
end local 2 7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;
1 8 1 node Ljavax/imageio/metadata/IIOMetadataNode;
2 7 2 i I
4 5 3 table Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment$Qtable;
void write(javax.imageio.stream.ImageOutputStream);
descriptor: (Ljavax/imageio/stream/ImageOutputStream;)V
flags: (0x0000)
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;
0 1 1 ios Ljavax/imageio/stream/ImageOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ios
void print();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
ldc "DQT"
invokevirtual com.sun.imageio.plugins.jpeg.DQTMarkerSegment.printTag:(Ljava/lang/String;)V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Num tables: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 0
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: iconst_0
istore 1
start local 1 5: goto 9
6: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable
astore 2
start local 2 7: aload 2
invokevirtual com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.print:()V
end local 2 8: iinc 1 1
StackMap locals:
StackMap stack:
9: iload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment.tables:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 6
end local 1 10: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;
5 10 1 i I
7 8 2 table Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment$Qtable;
com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable getChromaForLuma(com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable);
descriptor: (Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment$Qtable;)Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment$Qtable;
flags: (0x0000)
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: iconst_1
istore 3
start local 3 2: iconst_1
istore 4
start local 4 3: goto 8
4: StackMap locals: com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable int int
StackMap stack:
aload 1
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.data:[I
iload 4
iaload
aload 1
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.data:[I
iload 4
iconst_1
isub
iaload
if_icmpeq 7
5: iconst_0
istore 3
6: goto 9
7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
bipush 64
if_icmplt 4
end local 4 9: StackMap locals:
StackMap stack:
iload 3
ifeq 13
10: aload 1
invokevirtual com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.clone:()Ljava/lang/Object;
checkcast com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable
astore 2
11: aload 2
iconst_1
putfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.tableID:I
12: goto 28
13: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 14: iconst_1
istore 5
start local 5 15: goto 19
16: StackMap locals: int int
StackMap stack:
aload 1
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.data:[I
iload 5
iaload
aload 1
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.data:[I
iload 4
iaload
if_icmple 18
17: iload 5
istore 4
18: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
bipush 64
if_icmplt 16
end local 5 20: aload 1
getfield com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.data:[I
iload 4
iaload
i2f
21: getstatic javax.imageio.plugins.jpeg.JPEGQTable.K1Div2Luminance:Ljavax/imageio/plugins/jpeg/JPEGQTable;
invokevirtual javax.imageio.plugins.jpeg.JPEGQTable.getTable:()[I
iload 4
iaload
i2f
22: fdiv
fstore 5
start local 5 23: getstatic javax.imageio.plugins.jpeg.JPEGQTable.K2Div2Chrominance:Ljavax/imageio/plugins/jpeg/JPEGQTable;
fload 5
24: iconst_1
25: invokevirtual javax.imageio.plugins.jpeg.JPEGQTable.getScaledInstance:(FZ)Ljavax/imageio/plugins/jpeg/JPEGQTable;
26: astore 6
start local 6 27: new com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable
dup
aload 0
aload 6
iconst_1
invokespecial com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.<init>:(Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;Ljavax/imageio/plugins/jpeg/JPEGQTable;I)V
astore 2
end local 6 end local 5 end local 4 28: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;
0 29 1 luma Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment$Qtable;
1 29 2 newGuy Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment$Qtable;
2 29 3 allSame Z
3 9 4 i I
14 28 4 largestPos I
15 20 5 i I
23 28 5 scaleFactor F
27 28 6 jpegTable Ljavax/imageio/plugins/jpeg/JPEGQTable;
MethodParameters:
Name Flags
luma
com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable getQtableFromNode(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment$Qtable;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable
dup
aload 0
aload 1
invokespecial com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable.<init>:(Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;Lorg/w3c/dom/Node;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/jpeg/DQTMarkerSegment;
0 1 1 node Lorg/w3c/dom/Node;
Exceptions:
throws javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
node
}
SourceFile: "DQTMarkerSegment.java"
NestMembers:
com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable
InnerClasses:
Qtable = com.sun.imageio.plugins.jpeg.DQTMarkerSegment$Qtable of com.sun.imageio.plugins.jpeg.DQTMarkerSegment