org.hfbk.vid.VideoTexture Class Reference

Inheritance diagram for org.hfbk.vid.VideoTexture:

Inheritance graph
Collaboration diagram for org.hfbk.vid.VideoTexture:

Collaboration graph
List of all members.

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

Detailed Description

a movie texture. the underlying streamer advances one frame every time enough time has passed.

Definition at line 13 of file

Constructor & Destructor Documentation

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.


Definition at line 30 of file

References org.hfbk.vid.AVVideoThread.height, org.hfbk.vid.VideoTexture.streamer, org.hfbk.vid.AVStreamingThread.videoThread, and org.hfbk.vid.AVVideoThread.width.

Member Function Documentation

void org.hfbk.vid.VideoTexture.render ( float  dt  ) 

render this texture

dt time since last frame
TODO shoud return if there are more frames. render exceed the last one repeats the sequence if possible.

Definition at line 44 of file

References org.hfbk.vid.AVStreamingThread.getFrame(),,, org.hfbk.vid.VideoTexture.streamer, and

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

Definition at line 57 of file

void org.hfbk.vid.VideoTexture.close (  ) 

closes any streaming for this VideoTexture.

Definition at line 62 of file

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

Definition at line 66 of file

References org.hfbk.vid.VideoTexture.close().

Here is the call graph for this function:

Member Data Documentation

AVStreamingThread org.hfbk.vid.VideoTexture.streamer

Definition at line 16 of file

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

long org.hfbk.vid.VideoTexture.currenttime = -1

Definition at line 20 of file

The documentation for this class was generated from the following file:
Generated on Tue Apr 7 17:58:04 2009 for visclient by  doxygen 1.5.1