|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjosx.vision.VisionEffect
Abstract Effect that specific Vision Effects inherit from
Field Summary | |
protected Format |
inputFormat
|
protected Format[] |
inputFormats
|
protected Format |
outputFormat
|
protected Format[] |
outputFormats
|
Constructor Summary | |
VisionEffect()
Create the Effect. |
Method Summary | |
void |
close()
Does nothing |
Object |
getControl(String controlType)
Returns null |
Object[] |
getControls()
Returns null |
Format[] |
getSupportedInputFormats()
Get the supported input formats |
Format[] |
getSupportedOutputFormats(Format input)
Get the supported output formats that matches the input format |
protected Format |
matches(Format in,
Format[] outs)
Select the first output format that matches the input format. |
void |
open()
Does nothing |
void |
reset()
Does nothing |
Format |
setInputFormat(Format input)
Set the input format. |
Format |
setOutputFormat(Format output)
Set the output format. |
protected byte[] |
validateByteArraySize(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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait |
Field Detail |
protected Format inputFormat
protected Format outputFormat
protected Format[] inputFormats
protected Format[] outputFormats
Constructor Detail |
public VisionEffect()
Method Detail |
public Format[] getSupportedInputFormats()
public Format[] getSupportedOutputFormats(Format input)
public Format setInputFormat(Format input)
input
- the required input format
public Format setOutputFormat(Format output)
output
- the output format
public void open()
public void close()
public void reset()
public Object getControl(String controlType)
public Object[] getControls()
protected Format matches(Format in, Format[] outs)
protected byte[] validateByteArraySize(Buffer buffer, int newSize)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |