net.jinx.video.processor
Class MotionBlurProcessor

java.lang.Object
  extended by net.jinx.video.processor.MotionBlurProcessor
All Implemented Interfaces:
FrameProcessor

public class MotionBlurProcessor
extends java.lang.Object
implements FrameProcessor

Stability: Alpha; this class does not work.


Constructor Summary
MotionBlurProcessor(float decayFactor)
           
 
Method Summary
 void deinit(Context opt)
          Deinitializes this FrameProcessor.
 void init(Context opt)
          Initializes this FrameProcessor.
 void process(Context context, java.awt.Rectangle vp)
          Processes the current image in the frame buffer.
protected  void updateTexture(Context context, java.awt.Rectangle vp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MotionBlurProcessor

public MotionBlurProcessor(float decayFactor)
Method Detail

init

public void init(Context opt)
Description copied from interface: FrameProcessor
Initializes this FrameProcessor.

Specified by:
init in interface FrameProcessor
Parameters:
opt - the Context object providing data on how rendering should proceed.

updateTexture

protected void updateTexture(Context context,
                             java.awt.Rectangle vp)

process

public void process(Context context,
                    java.awt.Rectangle vp)
Description copied from interface: FrameProcessor
Processes the current image in the frame buffer.

Specified by:
process in interface FrameProcessor
Parameters:
context - the Context object to use for rendering.
vp - a Rectangle describing the current bounds for rendering. If this FrameProcessor is attached to a View, this will be the view's viewport. If this FrameProcessor is attached to a SplitScreenRenderer, then viewport will represent the entire drawing area for the renderer.

deinit

public void deinit(Context opt)
Description copied from interface: FrameProcessor
Deinitializes this FrameProcessor.

Specified by:
deinit in interface FrameProcessor
Parameters:
opt - the Context object providing data on how rendering should proceed.