Public Member Functions | |
VideoTexture (AVStreamingThread streamer) | |
void | render (float dt) |
void | render () |
void | close () |
Public Attributes | |
AVStreamingThread | streamer |
long | currenttime = -1 |
Protected Member Functions | |
void | finalize () throws Throwable |
Package Attributes | |
long | time |
Definition at line 13 of file VideoTexture.java.
org.hfbk.vid.VideoTexture.VideoTexture | ( | AVStreamingThread | streamer | ) |
create texture from a movie.
this ensures the movie is ready to play, and costly opening is done.
streamer |
Definition at line 30 of file VideoTexture.java.
References org.hfbk.vid.AVVideoThread.height, org.hfbk.vid.VideoTexture.streamer, org.hfbk.vid.AVStreamingThread.videoThread, and org.hfbk.vid.AVVideoThread.width.
void org.hfbk.vid.VideoTexture.render | ( | float | dt | ) |
render this texture
dt | time since last frame |
Definition at line 44 of file VideoTexture.java.
References org.hfbk.vid.AVStreamingThread.getFrame(), org.dronus.gl.Texture.height, org.dronus.gl.Texture.setPixels(), org.hfbk.vid.VideoTexture.streamer, and org.dronus.gl.Texture.width.
Referenced by org.hfbk.vis.visnode.VisVideo.renderSelf().
Here is the call graph for this function:
Here is the caller graph for this function:
void org.hfbk.vid.VideoTexture.render | ( | ) |
default rendering, advances 1/25 second if movie is not synced to audio.
Reimplemented from org.dronus.gl.Texture.
Definition at line 57 of file VideoTexture.java.
void org.hfbk.vid.VideoTexture.close | ( | ) |
closes any streaming for this VideoTexture.
Definition at line 62 of file VideoTexture.java.
References org.hfbk.vid.AVStreamingThread.running, and org.hfbk.vid.VideoTexture.streamer.
Referenced by org.hfbk.vis.visnode.VisVideo.closeSelf(), and org.hfbk.vid.VideoTexture.finalize().
Here is the caller graph for this function:
void org.hfbk.vid.VideoTexture.finalize | ( | ) | throws Throwable [protected] |
remove hardware pixel buffers.
Reimplemented from org.dronus.gl.Texture.
Definition at line 66 of file VideoTexture.java.
References org.hfbk.vid.VideoTexture.close().
Here is the call graph for this function:
Definition at line 16 of file VideoTexture.java.
Referenced by org.hfbk.vid.VideoTexture.close(), org.hfbk.vis.visnode.VisVideo.handleEvent(), org.hfbk.vid.VideoTexture.render(), org.hfbk.vis.visnode.VisVideo.renderSelf(), and org.hfbk.vid.VideoTexture.VideoTexture().
long org.hfbk.vid.VideoTexture.time [package] |
Definition at line 19 of file VideoTexture.java.
long org.hfbk.vid.VideoTexture.currenttime = -1 |
Definition at line 20 of file VideoTexture.java.