diff options
Diffstat (limited to 'NET/worlds/scape/DirectShow.java')
| -rw-r--r-- | NET/worlds/scape/DirectShow.java | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/NET/worlds/scape/DirectShow.java b/NET/worlds/scape/DirectShow.java new file mode 100644 index 0000000..ad6f0e8 --- /dev/null +++ b/NET/worlds/scape/DirectShow.java @@ -0,0 +1,59 @@ +/* */ package NET.worlds.scape; +/* */ +/* */ public class DirectShow implements TextureSurfaceRenderer +/* */ { +/* */ static final int nUnitialized = 0; +/* */ static final int nStopped = 1; +/* */ static final int nPaused = 2; +/* */ static final int nPlaying = 3; +/* */ private int mediaRendererInstancePtr; +/* */ private int m_hwnd; +/* */ +/* */ public DirectShow() { +/* 13 */ nativeInit(); +/* 14 */ nInit(0); +/* */ } +/* */ +/* */ public DirectShow(int hwnd) +/* */ { +/* 19 */ this.m_hwnd = hwnd; +/* 20 */ nativeInit(); +/* 21 */ nInit(hwnd); +/* */ } +/* */ +/* */ public void finalize() +/* */ { +/* 26 */ nTick(); +/* 27 */ nStop(); +/* 28 */ nShutdown(); +/* */ } +/* */ +/* */ public void renderTo(int dc) +/* */ { +/* 33 */ nRenderTo(this.m_hwnd, dc); +/* */ } +/* */ +/* */ public static native void nativeInit(); +/* */ +/* */ protected native void nInit(int paramInt); +/* */ +/* */ protected native void nShutdown(); +/* */ +/* */ public native void nOpen(String paramString); +/* */ +/* */ public native void nPlay(int paramInt); +/* */ +/* */ public native void nStop(); +/* */ +/* */ public native void nPause(); +/* */ +/* */ public native void nRenderTo(int paramInt1, int paramInt2); +/* */ +/* */ public native int nTick(); +/* */ } + + +/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\scape\DirectShow.class + * Java compiler version: 6 (50.0) + * JD-Core Version: 0.7.1 + */
\ No newline at end of file |