class javafx.scene.media.NGMediaView extends com.sun.javafx.sg.prism.NGNode
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.scene.media.NGMediaView
super_class: com.sun.javafx.sg.prism.NGNode
{
private boolean smooth;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final com.sun.javafx.geom.RectBounds dimension;
descriptor: Lcom/sun/javafx/geom/RectBounds;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.javafx.geom.RectBounds viewport;
descriptor: Lcom/sun/javafx/geom/RectBounds;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.sun.javafx.media.PrismMediaFrameHandler handler;
descriptor: Lcom/sun/javafx/media/PrismMediaFrameHandler;
flags: (0x0002) ACC_PRIVATE
private javafx.scene.media.MediaPlayer player;
descriptor: Ljavafx/scene/media/MediaPlayer;
flags: (0x0002) ACC_PRIVATE
private com.sun.javafx.sg.prism.MediaFrameTracker frameTracker;
descriptor: Lcom/sun/javafx/sg/prism/MediaFrameTracker;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.javafx.sg.prism.NGNode.<init>:()V
1: aload 0
iconst_1
putfield javafx.scene.media.NGMediaView.smooth:Z
2: aload 0
new com.sun.javafx.geom.RectBounds
dup
invokespecial com.sun.javafx.geom.RectBounds.<init>:()V
putfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
3: aload 0
new com.sun.javafx.geom.RectBounds
dup
invokespecial com.sun.javafx.geom.RectBounds.<init>:()V
putfield javafx.scene.media.NGMediaView.viewport:Lcom/sun/javafx/geom/RectBounds;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavafx/scene/media/NGMediaView;
public void renderNextFrame();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javafx.scene.media.NGMediaView.visualsChanged:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/media/NGMediaView;
public boolean isSmooth();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.media.NGMediaView.smooth:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/media/NGMediaView;
public void setSmooth(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield javafx.scene.media.NGMediaView.smooth:Z
if_icmpeq 3
1: aload 0
iload 1
putfield javafx.scene.media.NGMediaView.smooth:Z
2: aload 0
invokevirtual javafx.scene.media.NGMediaView.visualsChanged:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/media/NGMediaView;
0 4 1 smooth Z
MethodParameters:
Name Flags
smooth
public void setX(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: fload 1
aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getMinX:()F
fcmpl
ifeq 5
1: aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getWidth:()F
fstore 2
start local 2 2: aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
fload 1
invokevirtual com.sun.javafx.geom.RectBounds.setMinX:(F)V
3: aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
fload 1
fload 2
fadd
invokevirtual com.sun.javafx.geom.RectBounds.setMaxX:(F)V
4: aload 0
invokevirtual javafx.scene.media.NGMediaView.geometryChanged:()V
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavafx/scene/media/NGMediaView;
0 6 1 x F
2 5 2 width F
MethodParameters:
Name Flags
x
public void setY(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: fload 1
aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getMinY:()F
fcmpl
ifeq 5
1: aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getHeight:()F
fstore 2
start local 2 2: aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
fload 1
invokevirtual com.sun.javafx.geom.RectBounds.setMinY:(F)V
3: aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
fload 1
fload 2
fadd
invokevirtual com.sun.javafx.geom.RectBounds.setMaxY:(F)V
4: aload 0
invokevirtual javafx.scene.media.NGMediaView.geometryChanged:()V
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavafx/scene/media/NGMediaView;
0 6 1 y F
2 5 2 height F
MethodParameters:
Name Flags
y
public void setMediaProvider(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 5
1: aload 0
aconst_null
putfield javafx.scene.media.NGMediaView.player:Ljavafx/scene/media/MediaPlayer;
2: aload 0
aconst_null
putfield javafx.scene.media.NGMediaView.handler:Lcom/sun/javafx/media/PrismMediaFrameHandler;
3: aload 0
invokevirtual javafx.scene.media.NGMediaView.geometryChanged:()V
4: goto 9
StackMap locals:
StackMap stack:
5: aload 1
instanceof javafx.scene.media.MediaPlayer
ifeq 9
6: aload 0
aload 1
checkcast javafx.scene.media.MediaPlayer
putfield javafx.scene.media.NGMediaView.player:Ljavafx/scene/media/MediaPlayer;
7: aload 0
aload 0
getfield javafx.scene.media.NGMediaView.player:Ljavafx/scene/media/MediaPlayer;
invokestatic com.sun.javafx.media.PrismMediaFrameHandler.getHandler:(Ljava/lang/Object;)Lcom/sun/javafx/media/PrismMediaFrameHandler;
putfield javafx.scene.media.NGMediaView.handler:Lcom/sun/javafx/media/PrismMediaFrameHandler;
8: aload 0
invokevirtual javafx.scene.media.NGMediaView.geometryChanged:()V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavafx/scene/media/NGMediaView;
0 10 1 provider Ljava/lang/Object;
MethodParameters:
Name Flags
provider
public void setViewport(float, float, float, float, float, float, boolean);
descriptor: (FFFFFFZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=13, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: fconst_0
fstore 8
start local 8 1: fconst_0
fstore 9
start local 9 2: fload 1
fstore 10
start local 10 3: fload 2
fstore 11
start local 11 4: aload 0
getfield javafx.scene.media.NGMediaView.player:Ljavafx/scene/media/MediaPlayer;
ifnull 8
5: aload 0
getfield javafx.scene.media.NGMediaView.player:Ljavafx/scene/media/MediaPlayer;
invokevirtual javafx.scene.media.MediaPlayer.getMedia:()Ljavafx/scene/media/Media;
astore 12
start local 12 6: aload 12
invokevirtual javafx.scene.media.Media.getWidth:()I
i2f
fstore 8
7: aload 12
invokevirtual javafx.scene.media.Media.getHeight:()I
i2f
fstore 9
end local 12 8: StackMap locals: javafx.scene.media.NGMediaView float float float float float float int float float float float
StackMap stack:
fload 5
fconst_0
fcmpl
ifle 13
fload 6
fconst_0
fcmpl
ifle 13
9: aload 0
getfield javafx.scene.media.NGMediaView.viewport:Lcom/sun/javafx/geom/RectBounds;
fload 3
fload 4
fload 3
fload 5
fadd
fload 4
fload 6
fadd
invokevirtual com.sun.javafx.geom.RectBounds.setBounds:(FFFF)V
10: fload 5
fstore 8
11: fload 6
fstore 9
12: goto 14
13: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.media.NGMediaView.viewport:Lcom/sun/javafx/geom/RectBounds;
fconst_0
fconst_0
fload 8
fload 9
invokevirtual com.sun.javafx.geom.RectBounds.setBounds:(FFFF)V
14: StackMap locals:
StackMap stack:
fload 1
fconst_0
fcmpg
ifgt 18
fload 2
fconst_0
fcmpg
ifgt 18
15: fload 8
fstore 10
16: fload 9
fstore 11
17: goto 42
StackMap locals:
StackMap stack:
18: iload 7
ifeq 37
19: fload 1
f2d
dconst_0
dcmpg
ifgt 25
20: fload 9
fconst_0
fcmpl
ifle 21
fload 8
fload 2
fload 9
fdiv
fmul
goto 22
StackMap locals:
StackMap stack:
21: fconst_0
StackMap locals:
StackMap stack: float
22: fstore 10
23: fload 2
fstore 11
24: goto 42
StackMap locals:
StackMap stack:
25: fload 2
f2d
dconst_0
dcmpg
ifgt 31
26: fload 1
fstore 10
27: fload 8
fconst_0
fcmpl
ifle 28
fload 9
fload 1
fload 8
fdiv
fmul
goto 29
StackMap locals:
StackMap stack:
28: fconst_0
StackMap locals:
StackMap stack: float
29: fstore 11
30: goto 42
31: StackMap locals:
StackMap stack:
fload 8
fconst_0
fcmpl
ifne 32
fload 1
fstore 8
32: StackMap locals:
StackMap stack:
fload 9
fconst_0
fcmpl
ifne 33
fload 2
fstore 9
33: StackMap locals:
StackMap stack:
fload 1
fload 8
fdiv
fload 2
fload 9
fdiv
invokestatic java.lang.Math.min:(FF)F
fstore 12
start local 12 34: fload 8
fload 12
fmul
fstore 10
35: fload 9
fload 12
fmul
fstore 11
end local 12 36: goto 42
StackMap locals:
StackMap stack:
37: fload 2
f2d
dconst_0
dcmpg
ifgt 40
38: fload 9
fstore 11
39: goto 42
StackMap locals:
StackMap stack:
40: fload 1
f2d
dconst_0
dcmpg
ifgt 42
41: fload 8
fstore 10
42: StackMap locals:
StackMap stack:
fload 11
fconst_1
fcmpg
ifge 44
43: fconst_1
fstore 11
44: StackMap locals:
StackMap stack:
fload 10
fconst_1
fcmpg
ifge 46
45: fconst_1
fstore 10
46: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getMinX:()F
fload 10
fadd
invokevirtual com.sun.javafx.geom.RectBounds.setMaxX:(F)V
47: aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getMinY:()F
fload 11
fadd
invokevirtual com.sun.javafx.geom.RectBounds.setMaxY:(F)V
48: aload 0
invokevirtual javafx.scene.media.NGMediaView.geometryChanged:()V
49: return
end local 11 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 50 0 this Ljavafx/scene/media/NGMediaView;
0 50 1 fitWidth F
0 50 2 fitHeight F
0 50 3 vx F
0 50 4 vy F
0 50 5 vw F
0 50 6 vh F
0 50 7 preserveRatio Z
1 50 8 w F
2 50 9 h F
3 50 10 newW F
4 50 11 newH F
6 8 12 m Ljavafx/scene/media/Media;
34 36 12 scale F
MethodParameters:
Name Flags
fitWidth
fitHeight
vx
vy
vw
vh
preserveRatio
protected void renderContent(com.sun.prism.Graphics);
descriptor: (Lcom/sun/prism/Graphics;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=10, locals=12, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.media.NGMediaView.handler:Lcom/sun/javafx/media/PrismMediaFrameHandler;
ifnull 1
aload 0
getfield javafx.scene.media.NGMediaView.player:Ljavafx/scene/media/MediaPlayer;
ifnonnull 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.media.NGMediaView.player:Ljavafx/scene/media/MediaPlayer;
invokevirtual javafx.scene.media.MediaPlayer.getLatestFrame:()Lcom/sun/media/jfxmedia/control/VideoDataBuffer;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: return
5: StackMap locals: com.sun.media.jfxmedia.control.VideoDataBuffer
StackMap stack:
aload 0
getfield javafx.scene.media.NGMediaView.handler:Lcom/sun/javafx/media/PrismMediaFrameHandler;
aload 1
aload 2
invokevirtual com.sun.javafx.media.PrismMediaFrameHandler.getTexture:(Lcom/sun/prism/Graphics;Lcom/sun/media/jfxmedia/control/VideoDataBuffer;)Lcom/sun/prism/Texture;
astore 3
start local 3 6: aload 3
ifnull 33
7: aload 0
getfield javafx.scene.media.NGMediaView.viewport:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getWidth:()F
fstore 4
start local 4 8: aload 0
getfield javafx.scene.media.NGMediaView.viewport:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getHeight:()F
fstore 5
start local 5 9: aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.isEmpty:()Z
ifeq 10
iconst_0
goto 11
StackMap locals: com.sun.prism.Texture float float
StackMap stack:
10: iconst_1
StackMap locals:
StackMap stack: int
11: istore 6
start local 6 12: iload 6
ifeq 15
13: fload 4
aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getWidth:()F
fcmpl
ifne 14
fload 5
aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getHeight:()F
fcmpl
ifeq 15
14: StackMap locals: int
StackMap stack:
iconst_1
goto 16
StackMap locals:
StackMap stack:
15: iconst_0
StackMap locals:
StackMap stack: int
16: istore 7
start local 7 17: aload 1
aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getMinX:()F
aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getMinY:()F
invokeinterface com.sun.prism.Graphics.translate:(FF)V
18: iload 7
ifeq 22
fload 4
fconst_0
fcmpl
ifeq 22
fload 5
fconst_0
fcmpl
ifeq 22
19: aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getWidth:()F
fload 4
fdiv
fstore 8
start local 8 20: aload 0
getfield javafx.scene.media.NGMediaView.dimension:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getHeight:()F
fload 5
fdiv
fstore 9
start local 9 21: aload 1
fload 8
fload 9
invokeinterface com.sun.prism.Graphics.scale:(FF)V
end local 9 end local 8 22: StackMap locals: int
StackMap stack:
aload 0
getfield javafx.scene.media.NGMediaView.viewport:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getMinX:()F
fstore 8
start local 8 23: aload 0
getfield javafx.scene.media.NGMediaView.viewport:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getMinY:()F
fstore 9
start local 9 24: fload 8
fload 4
fadd
fstore 10
start local 10 25: fload 9
fload 5
fadd
fstore 11
start local 11 26: aload 1
aload 3
27: fconst_0
fconst_0
fload 4
fload 5
28: fload 8
fload 9
fload 10
fload 11
29: invokeinterface com.sun.prism.Graphics.drawTexture:(Lcom/sun/prism/Texture;FFFFFFFF)V
30: aload 3
invokeinterface com.sun.prism.Texture.unlock:()V
31: aload 0
getfield javafx.scene.media.NGMediaView.frameTracker:Lcom/sun/javafx/sg/prism/MediaFrameTracker;
ifnull 33
32: aload 0
getfield javafx.scene.media.NGMediaView.frameTracker:Lcom/sun/javafx/sg/prism/MediaFrameTracker;
iconst_1
invokeinterface com.sun.javafx.sg.prism.MediaFrameTracker.incrementRenderedFrameCount:(I)V
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 33: StackMap locals: javafx.scene.media.NGMediaView com.sun.prism.Graphics com.sun.media.jfxmedia.control.VideoDataBuffer com.sun.prism.Texture
StackMap stack:
aload 2
invokeinterface com.sun.media.jfxmedia.control.VideoDataBuffer.releaseFrame:()V
34: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Ljavafx/scene/media/NGMediaView;
0 35 1 g Lcom/sun/prism/Graphics;
3 35 2 frame Lcom/sun/media/jfxmedia/control/VideoDataBuffer;
6 35 3 texture Lcom/sun/prism/Texture;
8 33 4 iw F
9 33 5 ih F
12 33 6 dimensionsSet Z
17 33 7 doScale Z
20 22 8 scaleW F
21 22 9 scaleH F
23 33 8 sx1 F
24 33 9 sy1 F
25 33 10 sx2 F
26 33 11 sy2 F
MethodParameters:
Name Flags
g
protected boolean hasOverlappingContents();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/media/NGMediaView;
public void setFrameTracker(com.sun.javafx.sg.prism.MediaFrameTracker);
descriptor: (Lcom/sun/javafx/sg/prism/MediaFrameTracker;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javafx.scene.media.NGMediaView.frameTracker:Lcom/sun/javafx/sg/prism/MediaFrameTracker;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/media/NGMediaView;
0 2 1 t Lcom/sun/javafx/sg/prism/MediaFrameTracker;
MethodParameters:
Name Flags
t
}
SourceFile: "NGMediaView.java"