class com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette extends com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbUncompressed
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette
super_class: com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbUncompressed
{
private static final int PALETTE_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 768
final com.sun.imageio.plugins.jpeg.JFIFMarkerSegment this$0;
descriptor: Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.imageio.plugins.jpeg.JFIFMarkerSegment, com.sun.imageio.plugins.jpeg.JPEGBuffer, int, int);
descriptor: (Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment;Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;II)V
flags: (0x0000)
Code:
stack=8, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.this$0:Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment;
1: aload 0
aload 1
aload 2
2: iload 3
3: iload 4
4: sipush 768
iload 3
iload 4
imul
iadd
5: ldc "JFIFThumbPalette"
invokespecial com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbUncompressed.<init>:(Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment;Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;IIILjava/lang/String;)V
6: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment$JFIFThumbPalette;
0 7 2 buffer Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;
0 7 3 width I
0 7 4 height I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
this$0 final
buffer
width
height
void <init>(com.sun.imageio.plugins.jpeg.JFIFMarkerSegment, Node);
descriptor: (Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment;LNode;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe import org.w3c cannot be resolved\n\tThe import org.w3c cannot be resolved\n\tThe import org.w3c cannot be resolved\n\tNode cannot be resolved to a type\n\tThe method appendChild(Node) from the type IIOMetadataNode refers to the missing type Node\n\tThe method appendChild(Node) from the type IIOMetadataNode refers to the missing type Node\n\tThe method appendChild(Node) from the type IIOMetadataNode refers to the missing type Node\n\tNode cannot be resolved to a type\n\tNamedNodeMap cannot be resolved to a type\n\tNodeList cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tNodeList cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tNamedNodeMap cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tThe method appendChild(Node) from the type IIOMetadataNode refers to the missing type Node\n\tNode cannot be resolved to a type\n\tNamedNodeMap cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tThe method appendChild(Node) from the type IIOMetadataNode refers to the missing type Node\n\tNode cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment$JFIFThumbPalette;
Exceptions:
throws javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
this$0 final
node
void <init>(com.sun.imageio.plugins.jpeg.JFIFMarkerSegment, java.awt.image.BufferedImage);
descriptor: (Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment;Ljava/awt/image/BufferedImage;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.this$0:Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment;
1: aload 0
aload 1
aload 2
invokespecial com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbUncompressed.<init>:(Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment;Ljava/awt/image/BufferedImage;)V
2: aload 0
getfield com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.thumbnail:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.getColorModel:()Ljava/awt/image/ColorModel;
checkcast java.awt.image.IndexColorModel
astore 3
start local 3 3: aload 3
invokevirtual java.awt.image.IndexColorModel.getMapSize:()I
sipush 256
if_icmple 5
4: new com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$IllegalThumbException
dup
aload 1
invokespecial com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$IllegalThumbException.<init>:(Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment;)V
athrow
5: StackMap locals: com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette com.sun.imageio.plugins.jpeg.JFIFMarkerSegment java.awt.image.BufferedImage java.awt.image.IndexColorModel
StackMap stack:
return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment$JFIFThumbPalette;
0 6 2 thumb Ljava/awt/image/BufferedImage;
3 6 3 icm Ljava/awt/image/IndexColorModel;
Exceptions:
throws com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$IllegalThumbException
MethodParameters:
Name Flags
this$0 final
thumb
int getLength();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.thumbWidth:I
aload 0
getfield com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.thumbHeight:I
imul
sipush 768
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment$JFIFThumbPalette;
java.awt.image.BufferedImage getThumbnail(javax.imageio.stream.ImageInputStream, com.sun.imageio.plugins.jpeg.JPEGImageReader);
descriptor: (Ljavax/imageio/stream/ImageInputStream;Lcom/sun/imageio/plugins/jpeg/JPEGImageReader;)Ljava/awt/image/BufferedImage;
flags: (0x0000)
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface javax.imageio.stream.ImageInputStream.mark:()V
1: aload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.streamPos:J
invokeinterface javax.imageio.stream.ImageInputStream.seek:(J)V
2: sipush 768
newarray 8
astore 3
start local 3 3: ldc 768.0
aload 0
invokevirtual com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.getLength:()I
i2f
fdiv
fstore 4
start local 4 4: aload 0
aload 1
5: aload 3
6: aload 2
7: fload 4
8: fconst_0
9: invokevirtual com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.readByteBuffer:(Ljavax/imageio/stream/ImageInputStream;[BLcom/sun/imageio/plugins/jpeg/JPEGImageReader;FF)V
10: new java.awt.image.DataBufferByte
dup
aload 0
getfield com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.thumbWidth:I
aload 0
getfield com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.thumbHeight:I
imul
invokespecial java.awt.image.DataBufferByte.<init>:(I)V
astore 5
start local 5 11: aload 0
aload 1
12: aload 5
invokevirtual java.awt.image.DataBufferByte.getData:()[B
13: aload 2
14: fconst_1
fload 4
fsub
15: fload 4
16: invokevirtual com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.readByteBuffer:(Ljavax/imageio/stream/ImageInputStream;[BLcom/sun/imageio/plugins/jpeg/JPEGImageReader;FF)V
17: aload 1
invokeinterface javax.imageio.stream.ImageInputStream.read:()I
pop
18: aload 1
invokeinterface javax.imageio.stream.ImageInputStream.reset:()V
19: new java.awt.image.IndexColorModel
dup
bipush 8
20: sipush 256
21: aload 3
22: iconst_0
23: iconst_0
24: invokespecial java.awt.image.IndexColorModel.<init>:(II[BIZ)V
astore 6
start local 6 25: aload 6
aload 0
getfield com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.thumbWidth:I
26: aload 0
getfield com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.thumbHeight:I
27: invokevirtual java.awt.image.IndexColorModel.createCompatibleSampleModel:(II)Ljava/awt/image/SampleModel;
astore 7
start local 7 28: aload 7
aload 5
aconst_null
invokestatic java.awt.image.Raster.createWritableRaster:(Ljava/awt/image/SampleModel;Ljava/awt/image/DataBuffer;Ljava/awt/Point;)Ljava/awt/image/WritableRaster;
29: astore 8
start local 8 30: new java.awt.image.BufferedImage
dup
aload 6
31: aload 8
32: iconst_0
33: aconst_null
34: invokespecial java.awt.image.BufferedImage.<init>:(Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;ZLjava/util/Hashtable;)V
areturn
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 35 0 this Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment$JFIFThumbPalette;
0 35 1 iis Ljavax/imageio/stream/ImageInputStream;
0 35 2 reader Lcom/sun/imageio/plugins/jpeg/JPEGImageReader;
3 35 3 palette [B
4 35 4 palettePart F
11 35 5 buffer Ljava/awt/image/DataBufferByte;
25 35 6 cm Ljava/awt/image/IndexColorModel;
28 35 7 sm Ljava/awt/image/SampleModel;
30 35 8 raster Ljava/awt/image/WritableRaster;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
iis
reader
void write(javax.imageio.stream.ImageOutputStream, com.sun.imageio.plugins.jpeg.JPEGImageWriter);
descriptor: (Ljavax/imageio/stream/ImageOutputStream;Lcom/sun/imageio/plugins/jpeg/JPEGImageWriter;)V
flags: (0x0000)
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbUncompressed.write:(Ljavax/imageio/stream/ImageOutputStream;Lcom/sun/imageio/plugins/jpeg/JPEGImageWriter;)V
1: sipush 768
newarray 8
astore 3
start local 3 2: aload 0
getfield com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.thumbnail:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.getColorModel:()Ljava/awt/image/ColorModel;
checkcast java.awt.image.IndexColorModel
astore 4
start local 4 3: sipush 256
newarray 8
astore 5
start local 5 4: sipush 256
newarray 8
astore 6
start local 6 5: sipush 256
newarray 8
astore 7
start local 7 6: aload 4
aload 5
invokevirtual java.awt.image.IndexColorModel.getReds:([B)V
7: aload 4
aload 6
invokevirtual java.awt.image.IndexColorModel.getGreens:([B)V
8: aload 4
aload 7
invokevirtual java.awt.image.IndexColorModel.getBlues:([B)V
9: iconst_0
istore 8
start local 8 10: goto 15
11: StackMap locals: com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette javax.imageio.stream.ImageOutputStream com.sun.imageio.plugins.jpeg.JPEGImageWriter byte[] java.awt.image.IndexColorModel byte[] byte[] byte[] int
StackMap stack:
aload 3
iload 8
iconst_3
imul
aload 5
iload 8
baload
bastore
12: aload 3
iload 8
iconst_3
imul
iconst_1
iadd
aload 6
iload 8
baload
bastore
13: aload 3
iload 8
iconst_3
imul
iconst_2
iadd
aload 7
iload 8
baload
bastore
14: iinc 8 1
StackMap locals:
StackMap stack:
15: iload 8
sipush 256
if_icmplt 11
end local 8 16: aload 1
aload 3
invokeinterface javax.imageio.stream.ImageOutputStream.write:([B)V
17: aload 0
aload 1
aload 2
invokevirtual com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette.writePixels:(Ljavax/imageio/stream/ImageOutputStream;Lcom/sun/imageio/plugins/jpeg/JPEGImageWriter;)V
18: 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 19 0 this Lcom/sun/imageio/plugins/jpeg/JFIFMarkerSegment$JFIFThumbPalette;
0 19 1 ios Ljavax/imageio/stream/ImageOutputStream;
0 19 2 writer Lcom/sun/imageio/plugins/jpeg/JPEGImageWriter;
2 19 3 palette [B
3 19 4 icm Ljava/awt/image/IndexColorModel;
4 19 5 reds [B
5 19 6 greens [B
6 19 7 blues [B
10 16 8 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ios
writer
}
SourceFile: "JFIFMarkerSegment.java"
NestHost: com.sun.imageio.plugins.jpeg.JFIFMarkerSegment
InnerClasses:
private IllegalThumbException = com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$IllegalThumbException of com.sun.imageio.plugins.jpeg.JFIFMarkerSegment
JFIFThumbPalette = com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbPalette of com.sun.imageio.plugins.jpeg.JFIFMarkerSegment
abstract JFIFThumbUncompressed = com.sun.imageio.plugins.jpeg.JFIFMarkerSegment$JFIFThumbUncompressed of com.sun.imageio.plugins.jpeg.JFIFMarkerSegment