Class AbstractRenderer<T extends javax.media.Format>
- java.lang.Object
-
- org.jitsi.impl.neomedia.control.AbstractControls
-
- org.jitsi.impl.neomedia.control.ControlsAdapter
-
- org.jitsi.impl.neomedia.jmfext.media.renderer.AbstractRenderer<T>
-
- Type Parameters:
T- the type of Format of the media data processed as input by AbstractRenderer
- All Implemented Interfaces:
javax.media.Controls,javax.media.PlugIn,javax.media.Renderer
- Direct Known Subclasses:
AbstractAudioRenderer,Java2DRenderer,JAWTRenderer
public abstract class AbstractRenderer<T extends javax.media.Format> extends ControlsAdapter implements javax.media.Renderer
Provides an abstract base implementation of Renderer in order to facilitate extenders.- Author:
- Lyubomir Marinov
-
-
Field Summary
Fields Modifier and Type Field Description protected TinputFormatThe Format of the media data processed as input by this Renderer.-
Fields inherited from class org.jitsi.impl.neomedia.control.ControlsAdapter
EMPTY_CONTROLS
-
-
Constructor Summary
Constructors Constructor Description AbstractRenderer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreset()Resets the state of this PlugIn.javax.media.FormatsetInputFormat(javax.media.Format format)Sets the Format of the media data to be rendered by this Renderer.static voiduseThreadPriority(int threadPriority)Changes the priority of the current thread to a specific value.-
Methods inherited from class org.jitsi.impl.neomedia.control.ControlsAdapter
getControls
-
Methods inherited from class org.jitsi.impl.neomedia.control.AbstractControls
getControl, getControl, queryInterface, queryInterface
-
-
-
-
Field Detail
-
inputFormat
protected T extends javax.media.Format inputFormat
The Format of the media data processed as input by this Renderer.
-
-
Method Detail
-
reset
public void reset()
Resets the state of this PlugIn.- Specified by:
resetin interfacejavax.media.PlugIn
-
setInputFormat
public javax.media.Format setInputFormat(javax.media.Format format)
Sets the Format of the media data to be rendered by this Renderer.- Specified by:
setInputFormatin interfacejavax.media.Renderer- Parameters:
format- the Format of the media data to be rendered by this Renderer- Returns:
- null if the specified format is not compatible with this Renderer; otherwise, the Format which has been successfully set
-
useThreadPriority
public static void useThreadPriority(int threadPriority)
Changes the priority of the current thread to a specific value.- Parameters:
threadPriority- the priority to set the current thread to
-
-