|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object icommand.vision.VisionEffect
public abstract class VisionEffect
Abstract Effect that specific Vision Effects inherit from
Field Summary | |
---|---|
protected javax.media.Format |
inputFormat
|
protected javax.media.Format[] |
inputFormats
|
protected javax.media.Format |
outputFormat
|
protected javax.media.Format[] |
outputFormats
|
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 | |
---|---|
VisionEffect()
Create the Effect. |
Method Summary | |
---|---|
void |
close()
Does nothing |
java.lang.Object |
getControl(java.lang.String controlType)
Returns null |
java.lang.Object[] |
getControls()
Returns null |
javax.media.Format[] |
getSupportedInputFormats()
Get the supported input formats |
javax.media.Format[] |
getSupportedOutputFormats(javax.media.Format input)
Get the supported output formats that matches the input format |
protected javax.media.Format |
matches(javax.media.Format in,
javax.media.Format[] outs)
Select the first output format that matches the input format. |
void |
open()
Does nothing |
void |
reset()
Does nothing |
javax.media.Format |
setInputFormat(javax.media.Format input)
Set the input format. |
javax.media.Format |
setOutputFormat(javax.media.Format output)
Set the output format. |
protected byte[] |
validateByteArraySize(javax.media.Buffer buffer,
int newSize)
Validate that the Buffer conforms to the expected format, and create a new byte array if not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.media.Codec |
---|
process |
Methods inherited from interface javax.media.PlugIn |
---|
getName |
Field Detail |
---|
protected javax.media.Format inputFormat
protected javax.media.Format outputFormat
protected javax.media.Format[] inputFormats
protected javax.media.Format[] outputFormats
Constructor Detail |
---|
public VisionEffect()
Method Detail |
---|
public javax.media.Format[] getSupportedInputFormats()
getSupportedInputFormats
in interface javax.media.Codec
public javax.media.Format[] getSupportedOutputFormats(javax.media.Format input)
getSupportedOutputFormats
in interface javax.media.Codec
public javax.media.Format setInputFormat(javax.media.Format input)
setInputFormat
in interface javax.media.Codec
input
- the required input format
public javax.media.Format setOutputFormat(javax.media.Format output)
setOutputFormat
in interface javax.media.Codec
output
- the output format
public void open()
open
in interface javax.media.PlugIn
public void close()
close
in interface javax.media.PlugIn
public void reset()
reset
in interface javax.media.PlugIn
public java.lang.Object getControl(java.lang.String controlType)
getControl
in interface javax.media.Controls
public java.lang.Object[] getControls()
getControls
in interface javax.media.Controls
protected javax.media.Format matches(javax.media.Format in, javax.media.Format[] outs)
protected byte[] validateByteArraySize(javax.media.Buffer buffer, int newSize)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |