javax.media.control
Interface FrameProcessingControl

All Superinterfaces:
Control

public interface FrameProcessingControl
extends Control

This interface is a Control for specifying the parameters for frame processing.

Since:
JMF 2.0

Method Summary
 int getFramesDropped()
          Returns the number of output frames that were dropped during encoding since the last call to this method.
 void setFramesBehind(float numFrames)
          Sets the number of output frames the codec is lagging behind.
 boolean setMinimalProcessing(boolean newMinimalProcessing)
          Sets the minimal processing mode.
 
Methods inherited from interface javax.media.Control
getControlComponent
 

Method Detail

setFramesBehind

public void setFramesBehind(float numFrames)
Sets the number of output frames the codec is lagging behind. This is a hint to do minimal processing for the next numFrames frames in order to catch up.

Parameters:
numFrames - the number of frames the codec is lagging behind

setMinimalProcessing

public boolean setMinimalProcessing(boolean newMinimalProcessing)
Sets the minimal processing mode. Minimal processing is doing only the needed calculations in order to keep the codec state, without outputting anything. Returns false if miminal processing is not set.

Parameters:
newMinimalProcessing - new minimal processign mode.
Returns:
the actual mode set.

getFramesDropped

public int getFramesDropped()
Returns the number of output frames that were dropped during encoding since the last call to this method.

Returns:
the number of output frames that were dropped during encoding since the last call to this method.