public class com.sun.javafx.iio.common.RoughScaler implements com.sun.javafx.iio.common.PushbroomScaler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.iio.common.RoughScaler
super_class: java.lang.Object
{
protected int numBands;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int destWidth;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int destHeight;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected double scaleY;
descriptor: D
flags: (0x0004) ACC_PROTECTED
protected java.nio.ByteBuffer destBuf;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0004) ACC_PROTECTED
protected int[] colPositions;
descriptor: [I
flags: (0x0004) ACC_PROTECTED
protected int sourceLine;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int nextSourceLine;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int destLine;
descriptor: I
flags: (0x0004) ACC_PROTECTED
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/javafx/iio/common/RoughScaler;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.sun.javafx.iio.common.RoughScaler.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int, int, int, int, int);
descriptor: (IIIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
ifle 3
iload 2
ifle 3
iload 3
ifle 3
2: iload 4
ifle 3
iload 5
ifgt 4
3: StackMap locals: com.sun.javafx.iio.common.RoughScaler int int int int int
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield com.sun.javafx.iio.common.RoughScaler.numBands:I
5: aload 0
iload 4
putfield com.sun.javafx.iio.common.RoughScaler.destWidth:I
6: aload 0
iload 5
putfield com.sun.javafx.iio.common.RoughScaler.destHeight:I
7: aload 0
iload 5
iload 4
imul
iload 3
imul
newarray 8
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
putfield com.sun.javafx.iio.common.RoughScaler.destBuf:Ljava/nio/ByteBuffer;
8: iload 1
i2d
iload 4
i2d
ddiv
dstore 6
start local 6 9: aload 0
iload 2
i2d
iload 5
i2d
ddiv
putfield com.sun.javafx.iio.common.RoughScaler.scaleY:D
10: aload 0
iload 4
newarray 10
putfield com.sun.javafx.iio.common.RoughScaler.colPositions:[I
11: iconst_0
istore 8
start local 8 12: goto 16
13: StackMap locals: double int
StackMap stack:
iload 8
i2d
ldc 0.5
dadd
dload 6
dmul
d2i
istore 9
start local 9 14: aload 0
getfield com.sun.javafx.iio.common.RoughScaler.colPositions:[I
iload 8
iload 9
iload 3
imul
iastore
end local 9 15: iinc 8 1
StackMap locals:
StackMap stack:
16: iload 8
iload 4
if_icmplt 13
end local 8 17: aload 0
iconst_0
putfield com.sun.javafx.iio.common.RoughScaler.sourceLine:I
18: aload 0
iconst_0
putfield com.sun.javafx.iio.common.RoughScaler.destLine:I
19: aload 0
ldc 0.5
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.scaleY:D
dmul
d2i
putfield com.sun.javafx.iio.common.RoughScaler.nextSourceLine:I
20: return
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 21 0 this Lcom/sun/javafx/iio/common/RoughScaler;
0 21 1 sourceWidth I
0 21 2 sourceHeight I
0 21 3 numBands I
0 21 4 destWidth I
0 21 5 destHeight I
9 21 6 scaleX D
12 17 8 i I
14 15 9 pos I
MethodParameters:
Name Flags
sourceWidth
sourceHeight
numBands
destWidth
destHeight
public java.nio.ByteBuffer getDestination();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.iio.common.RoughScaler.destBuf:Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/iio/common/RoughScaler;
public boolean putSourceScanline(byte[], int);
descriptor: ([BI)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "off < 0!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.destLine:I
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.destHeight:I
if_icmpge 24
3: aload 0
getfield com.sun.javafx.iio.common.RoughScaler.sourceLine:I
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.nextSourceLine:I
if_icmpne 23
4: getstatic com.sun.javafx.iio.common.RoughScaler.$assertionsDisabled:Z
ifne 5
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.destBuf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifne 5
new java.lang.AssertionError
dup
ldc "destBuf.hasArray() == false => destBuf is direct"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.destBuf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
astore 3
start local 3 6: aload 0
getfield com.sun.javafx.iio.common.RoughScaler.destLine:I
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.destWidth:I
imul
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.numBands:I
imul
istore 4
start local 4 7: iload 4
istore 5
start local 5 8: iconst_0
istore 6
start local 6 9: goto 17
10: StackMap locals: com.sun.javafx.iio.common.RoughScaler byte[] int byte[] int int int
StackMap stack:
iload 2
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.colPositions:[I
iload 6
iaload
iadd
istore 7
start local 7 11: iconst_0
istore 8
start local 8 12: goto 15
13: StackMap locals: int int
StackMap stack:
aload 3
iload 5
iinc 5 1
aload 1
iload 7
iload 8
iadd
baload
bastore
14: iinc 8 1
StackMap locals:
StackMap stack:
15: iload 8
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.numBands:I
if_icmplt 13
end local 8 end local 7 16: iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.destWidth:I
if_icmplt 10
end local 6 18: goto 21
19: StackMap locals:
StackMap stack:
aload 3
iload 4
aload 3
iload 5
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.destWidth:I
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.numBands:I
imul
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
20: iload 5
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.destWidth:I
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.numBands:I
imul
iadd
istore 5
21: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.javafx.iio.common.RoughScaler.destLine:I
iconst_1
iadd
dup_x1
putfield com.sun.javafx.iio.common.RoughScaler.destLine:I
i2d
ldc 0.5
dadd
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.scaleY:D
dmul
d2i
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.sourceLine:I
if_icmpeq 19
22: aload 0
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.destLine:I
i2d
ldc 0.5
dadd
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.scaleY:D
dmul
d2i
putfield com.sun.javafx.iio.common.RoughScaler.nextSourceLine:I
end local 5 end local 4 end local 3 23: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.javafx.iio.common.RoughScaler.sourceLine:I
iconst_1
iadd
putfield com.sun.javafx.iio.common.RoughScaler.sourceLine:I
24: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.destLine:I
aload 0
getfield com.sun.javafx.iio.common.RoughScaler.destHeight:I
if_icmpne 25
iconst_1
ireturn
StackMap locals:
StackMap stack:
25: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/sun/javafx/iio/common/RoughScaler;
0 26 1 scanline [B
0 26 2 off I
6 23 3 dest [B
7 23 4 destOffset I
8 23 5 doff I
9 18 6 i I
11 16 7 sourceOffset I
12 16 8 j I
MethodParameters:
Name Flags
scanline
off
}
SourceFile: "RoughScaler.java"