javax.media.control
Interface FrameProcessingControl
- 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. |
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.
Submit a bug or feature
Copyright 1994-2004 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.