|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.fmj.media.renderer.video.DiagnosticVideoRenderer
public class DiagnosticVideoRenderer
This Renderer is used to log process() calls. Useful for diagnosing whether the Renderer is actually being told to process buffers.
| Field Summary |
|---|
| Fields inherited from interface javax.media.PlugIn |
|---|
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED |
| Constructor Summary | |
|---|---|
DiagnosticVideoRenderer()
|
|
| Method Summary | |
|---|---|
void |
close()
|
java.lang.Object |
getControl(java.lang.String controlType)
Return the control based on a control type for the PlugIn. |
java.lang.Object[] |
getControls()
Returns an array of supported controls |
java.lang.String |
getName()
|
Format[] |
getSupportedInputFormats()
Lists the possible input formats supported by this plug-in. |
void |
open()
Opens the plugin |
int |
process(Buffer buffer)
Processes the data and renders it to a component |
void |
reset()
Resets the state of the plug-in. |
Format |
setInputFormat(Format format)
Set the data input format. |
void |
start()
Renderer implementation |
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiagnosticVideoRenderer()
| Method Detail |
|---|
public void start()
start in interface Rendererpublic void stop()
stop in interface Rendererpublic Format[] getSupportedInputFormats()
getSupportedInputFormats in interface Rendererpublic Format setInputFormat(Format format)
setInputFormat in interface Rendererpublic int process(Buffer buffer)
process in interface Rendererpublic java.lang.String getName()
getName in interface PlugIn
public void open()
throws ResourceUnavailableException
open in interface PlugInResourceUnavailableExceptionpublic void reset()
reset in interface PlugInpublic void close()
close in interface PlugInpublic java.lang.Object[] getControls()
getControls in interface Controlspublic java.lang.Object getControl(java.lang.String controlType)
getControl in interface Controls
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||