public final class com.sun.media.sound.SoftLanczosResampler extends com.sun.media.sound.SoftAbstractResampler
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.SoftLanczosResampler
super_class: com.sun.media.sound.SoftAbstractResampler
{
float[][] sinc_table;
descriptor: [[F
flags: (0x0000)
int sinc_table_fsize;
descriptor: I
flags: (0x0000)
int sinc_table_size;
descriptor: I
flags: (0x0000)
int sinc_table_center;
descriptor: I
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 // com.sun.media.sound.SoftLanczosResampler this
0: .line 41
aload 0 /* this */
invokespecial com.sun.media.sound.SoftAbstractResampler.<init>:()V
1: .line 36
aload 0 /* this */
sipush 2000
putfield com.sun.media.sound.SoftLanczosResampler.sinc_table_fsize:I
2: .line 37
aload 0 /* this */
iconst_5
putfield com.sun.media.sound.SoftLanczosResampler.sinc_table_size:I
3: .line 38
aload 0 /* this */
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table_size:I
iconst_2
idiv
putfield com.sun.media.sound.SoftLanczosResampler.sinc_table_center:I
4: .line 42
aload 0 /* this */
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table_fsize:I
anewarray float[]
putfield com.sun.media.sound.SoftLanczosResampler.sinc_table:[[F
5: .line 43
iconst_0
istore 1 /* i */
start local 1 // int i
6: goto 11
7: .line 44
StackMap locals: com.sun.media.sound.SoftLanczosResampler int
StackMap stack:
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table:[[F
iload 1 /* i */
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table_size:I
iload 1 /* i */
ineg
i2f
8: .line 45
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table_fsize:I
i2f
fdiv
9: .line 44
invokestatic com.sun.media.sound.SoftLanczosResampler.sincTable:(IF)[F
aastore
10: .line 43
iinc 1 /* i */ 1
StackMap locals:
StackMap stack:
11: iload 1 /* i */
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table_fsize:I
if_icmplt 7
end local 1 // int i
12: .line 47
return
end local 0 // com.sun.media.sound.SoftLanczosResampler this
LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/media/sound/SoftLanczosResampler;
6 12 1 i I
public static double sinc(double);
descriptor: (D)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 // double x
0: .line 51
dload 0 /* x */
dconst_0
dcmpl
ifne 1
dconst_1
goto 2
StackMap locals:
StackMap stack:
1: ldc 3.141592653589793
dload 0 /* x */
dmul
invokestatic java.lang.Math.sin:(D)D
ldc 3.141592653589793
dload 0 /* x */
dmul
ddiv
StackMap locals:
StackMap stack: double
2: dreturn
end local 0 // double x
LocalVariableTable:
Start End Slot Name Signature
0 3 0 x D
MethodParameters:
Name Flags
x
public static float[] sincTable(int, float);
descriptor: (IF)[F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=6, args_size=2
start local 0 // int size
start local 1 // float offset
0: .line 56
iload 0 /* size */
iconst_2
idiv
istore 2 /* center */
start local 2 // int center
1: .line 57
iload 0 /* size */
newarray 6
astore 3 /* w */
start local 3 // float[] w
2: .line 58
iconst_0
istore 4 /* k */
start local 4 // int k
3: goto 14
4: .line 59
StackMap locals: int float[] int
StackMap stack:
iload 2 /* center */
ineg
iload 4 /* k */
iadd
i2f
fload 1 /* offset */
fadd
fstore 5 /* x */
start local 5 // float x
5: .line 60
fload 5 /* x */
ldc -2.0
fcmpg
iflt 6
fload 5 /* x */
fconst_2
fcmpl
ifle 7
6: .line 61
StackMap locals: float
StackMap stack:
aload 3 /* w */
iload 4 /* k */
fconst_0
fastore
goto 13
7: .line 62
StackMap locals:
StackMap stack:
fload 5 /* x */
fconst_0
fcmpl
ifne 9
8: .line 63
aload 3 /* w */
iload 4 /* k */
fconst_1
fastore
goto 13
9: .line 65
StackMap locals:
StackMap stack:
aload 3 /* w */
iload 4 /* k */
ldc 2.0
ldc 3.141592653589793
fload 5 /* x */
f2d
dmul
invokestatic java.lang.Math.sin:(D)D
dmul
10: .line 66
ldc 3.141592653589793
fload 5 /* x */
f2d
dmul
ldc 2.0
ddiv
invokestatic java.lang.Math.sin:(D)D
dmul
11: .line 67
ldc 3.141592653589793
fload 5 /* x */
f2d
dmul
ldc 3.141592653589793
fload 5 /* x */
f2d
dmul
dmul
ddiv
d2f
12: .line 65
fastore
end local 5 // float x
13: .line 58
StackMap locals:
StackMap stack:
iinc 4 /* k */ 1
StackMap locals:
StackMap stack:
14: iload 4 /* k */
iload 0 /* size */
if_icmplt 4
end local 4 // int k
15: .line 70
aload 3 /* w */
areturn
end local 3 // float[] w
end local 2 // int center
end local 1 // float offset
end local 0 // int size
LocalVariableTable:
Start End Slot Name Signature
0 16 0 size I
0 16 1 offset F
1 16 2 center I
2 16 3 w [F
3 15 4 k I
5 13 5 x F
MethodParameters:
Name Flags
size
offset
public int getPadding();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 // com.sun.media.sound.SoftLanczosResampler this
0: .line 76
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table_size:I
iconst_2
idiv
iconst_2
iadd
ireturn
end local 0 // com.sun.media.sound.SoftLanczosResampler this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftLanczosResampler;
public void interpolate(float[], float[], float, float[], float, float[], int[], int);
descriptor: ([F[FF[FF[F[II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=19, args_size=9
start local 0 // com.sun.media.sound.SoftLanczosResampler this
start local 1 // float[] in
start local 2 // float[] in_offset
start local 3 // float in_end
start local 4 // float[] startpitch
start local 5 // float pitchstep
start local 6 // float[] out
start local 7 // int[] out_offset
start local 8 // int out_end
0: .line 83
aload 4 /* startpitch */
iconst_0
faload
fstore 9 /* pitch */
start local 9 // float pitch
1: .line 84
aload 2 /* in_offset */
iconst_0
faload
fstore 10 /* ix */
start local 10 // float ix
2: .line 85
aload 7 /* out_offset */
iconst_0
iaload
istore 11 /* ox */
start local 11 // int ox
3: .line 86
fload 3 /* in_end */
fstore 12 /* ix_end */
start local 12 // float ix_end
4: .line 87
iload 8 /* out_end */
istore 13 /* ox_end */
start local 13 // int ox_end
5: .line 89
fload 5 /* pitchstep */
fconst_0
fcmpl
ifne 34
6: .line 90
goto 19
7: .line 91
StackMap locals: com.sun.media.sound.SoftLanczosResampler float[] float[] float float[] float float[] int[] int float float int float int
StackMap stack:
fload 10 /* ix */
f2i
istore 14 /* iix */
start local 14 // int iix
8: .line 93
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table:[[F
fload 10 /* ix */
iload 14 /* iix */
i2f
fsub
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table_fsize:I
i2f
fmul
f2i
aaload
9: .line 92
astore 15 /* sinc_table */
start local 15 // float[] sinc_table
10: .line 94
iload 14 /* iix */
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table_center:I
isub
istore 16 /* xx */
start local 16 // int xx
11: .line 95
fconst_0
fstore 17 /* y */
start local 17 // float y
12: .line 96
iconst_0
istore 18 /* i */
start local 18 // int i
13: goto 16
14: .line 97
StackMap locals: com.sun.media.sound.SoftLanczosResampler float[] float[] float float[] float float[] int[] int float float int float int int float[] int float int
StackMap stack:
fload 17 /* y */
aload 1 /* in */
iload 16 /* xx */
faload
aload 15 /* sinc_table */
iload 18 /* i */
faload
fmul
fadd
fstore 17 /* y */
15: .line 96
iinc 18 /* i */ 1
iinc 16 /* xx */ 1
StackMap locals:
StackMap stack:
16: iload 18 /* i */
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table_size:I
if_icmplt 14
end local 18 // int i
17: .line 98
aload 6 /* out */
iload 11 /* ox */
iinc 11 /* ox */ 1
fload 17 /* y */
fastore
18: .line 99
fload 10 /* ix */
fload 9 /* pitch */
fadd
fstore 10 /* ix */
end local 17 // float y
end local 16 // int xx
end local 15 // float[] sinc_table
end local 14 // int iix
19: .line 90
StackMap locals: com.sun.media.sound.SoftLanczosResampler float[] float[] float float[] float float[] int[] int float float int float int
StackMap stack:
fload 10 /* ix */
fload 12 /* ix_end */
fcmpg
ifge 35
iload 11 /* ox */
iload 13 /* ox_end */
if_icmplt 7
20: .line 101
goto 35
21: .line 103
StackMap locals:
StackMap stack:
fload 10 /* ix */
f2i
istore 14 /* iix */
start local 14 // int iix
22: .line 105
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table:[[F
fload 10 /* ix */
iload 14 /* iix */
i2f
fsub
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table_fsize:I
i2f
fmul
f2i
aaload
23: .line 104
astore 15 /* sinc_table */
start local 15 // float[] sinc_table
24: .line 106
iload 14 /* iix */
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table_center:I
isub
istore 16 /* xx */
start local 16 // int xx
25: .line 107
fconst_0
fstore 17 /* y */
start local 17 // float y
26: .line 108
iconst_0
istore 18 /* i */
start local 18 // int i
27: goto 30
28: .line 109
StackMap locals: com.sun.media.sound.SoftLanczosResampler float[] float[] float float[] float float[] int[] int float float int float int int float[] int float int
StackMap stack:
fload 17 /* y */
aload 1 /* in */
iload 16 /* xx */
faload
aload 15 /* sinc_table */
iload 18 /* i */
faload
fmul
fadd
fstore 17 /* y */
29: .line 108
iinc 18 /* i */ 1
iinc 16 /* xx */ 1
StackMap locals:
StackMap stack:
30: iload 18 /* i */
aload 0 /* this */
getfield com.sun.media.sound.SoftLanczosResampler.sinc_table_size:I
if_icmplt 28
end local 18 // int i
31: .line 110
aload 6 /* out */
iload 11 /* ox */
iinc 11 /* ox */ 1
fload 17 /* y */
fastore
32: .line 112
fload 10 /* ix */
fload 9 /* pitch */
fadd
fstore 10 /* ix */
33: .line 113
fload 9 /* pitch */
fload 5 /* pitchstep */
fadd
fstore 9 /* pitch */
end local 17 // float y
end local 16 // int xx
end local 15 // float[] sinc_table
end local 14 // int iix
34: .line 102
StackMap locals: com.sun.media.sound.SoftLanczosResampler float[] float[] float float[] float float[] int[] int float float int float int
StackMap stack:
fload 10 /* ix */
fload 12 /* ix_end */
fcmpg
ifge 35
iload 11 /* ox */
iload 13 /* ox_end */
if_icmplt 21
35: .line 116
StackMap locals:
StackMap stack:
aload 2 /* in_offset */
iconst_0
fload 10 /* ix */
fastore
36: .line 117
aload 7 /* out_offset */
iconst_0
iload 11 /* ox */
iastore
37: .line 118
aload 4 /* startpitch */
iconst_0
fload 9 /* pitch */
fastore
38: .line 120
return
end local 13 // int ox_end
end local 12 // float ix_end
end local 11 // int ox
end local 10 // float ix
end local 9 // float pitch
end local 8 // int out_end
end local 7 // int[] out_offset
end local 6 // float[] out
end local 5 // float pitchstep
end local 4 // float[] startpitch
end local 3 // float in_end
end local 2 // float[] in_offset
end local 1 // float[] in
end local 0 // com.sun.media.sound.SoftLanczosResampler this
LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lcom/sun/media/sound/SoftLanczosResampler;
0 39 1 in [F
0 39 2 in_offset [F
0 39 3 in_end F
0 39 4 startpitch [F
0 39 5 pitchstep F
0 39 6 out [F
0 39 7 out_offset [I
0 39 8 out_end I
1 39 9 pitch F
2 39 10 ix F
3 39 11 ox I
4 39 12 ix_end F
5 39 13 ox_end I
8 19 14 iix I
10 19 15 sinc_table [F
11 19 16 xx I
12 19 17 y F
13 17 18 i I
22 34 14 iix I
24 34 15 sinc_table [F
25 34 16 xx I
26 34 17 y F
27 31 18 i I
MethodParameters:
Name Flags
in
in_offset
in_end
startpitch
pitchstep
out
out_offset
out_end
}
SourceFile: "SoftLanczosResampler.java"