|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcom.epiphan.vga2usb.Grabber
Java interface to Epiphan frame grabbers.
| Constructor Summary | |
Grabber()
Opens any available VGA2USB device. |
|
Grabber(java.net.InetAddress address)
Open network frame grabber at the specified address. |
|
Grabber(int id)
Opens a VGA2USB device. |
|
Grabber(String sn)
Open VGA2USB device with the specified serial number. |
|
| Method Summary | |
void |
close()
Closes the device. |
VideoMode |
detectVideoMode()
Detects video mode. |
protected void |
finalize()
Invoked when this object is being garbage collected |
boolean |
getBooleanProperty(PropertyKey key)
Gets the value of a boolean property. |
DeviceType |
getDeviceType()
Get the type of this frame grabber. |
int |
getEnumProperty(PropertyKey key)
Gets the value of the specified enum property. |
GrabParameters |
getGrabParameters()
Gets VGA capture parameters. |
int |
getIntProperty(PropertyKey key)
Gets the value of the specified integer property. |
Size |
getSizeProperty(PropertyKey key)
Gets the value of the specified enum property. |
String |
getSN()
Gets serial number string for this device. |
String |
getStringProperty(PropertyKey key)
Gets the value of a string property. |
Frame |
grabFrame()
Grabs a single frame. |
RawFrame |
grabRawFrame(PixelFormat format,
boolean bottomUp)
Grabs a single frame. |
boolean |
isKVMCapable()
Tests whether this grabber is some kind of KVM2USB. |
void |
setEnumProperty(PropertyKey key,
com.epiphan.vga2usb.Enum.Int value)
Sets the value of the specified enum property. |
void |
setGrabParameters(GrabParameters gp)
Sets VGA capture parameters. |
void |
setIntProperty(PropertyKey key,
int value)
Sets the value of the specified integer property. |
void |
setSizeProperty(PropertyKey key,
Size value)
Sets the value of the specified enum property. |
void |
setStringProperty(PropertyKey key,
String value)
Sets the value of the specified string property. |
void |
start()
Prepares frame grabber for capture with maximum possible frame rate. |
void |
stop()
Signals the driver that maximum possible frame rate is no longer required. |
String |
toString()
Returns a string representation of this object. |
| Methods inherited from class Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Grabber()
throws IOException
IOException - if the device can't be opened
public Grabber(java.net.InetAddress address)
throws IOException
address - IP address of the device to open.
IOException - if the device can't be opened
public Grabber(int id)
throws IOException
id - which device to open.
IOException - if the device can't be opened
public Grabber(String sn)
throws IOException
sn - serial number of the device to open.
IOException - if the device can't be opened| Method Detail |
public void close()
public VideoMode detectVideoMode()
throws IOException
null if no signal
was detected.
IOException - if an I/O error occurs.
protected void finalize()
throws Throwable
Throwable - any exception that occurs during finalization
public boolean getBooleanProperty(PropertyKey key)
throws IOException
key - The property key.
IOException - if an I/O error occurs.public DeviceType getDeviceType()
public int getEnumProperty(PropertyKey key)
throws IOException
key - The property key
IOException - if an I/O error occurs.
public GrabParameters getGrabParameters()
throws IOException
IOException - if an I/O error occurs
public int getIntProperty(PropertyKey key)
throws IOException
key - The property key
IOException - if an I/O error occurs.
public Size getSizeProperty(PropertyKey key)
throws IOException
key - The property key
IOException - if an I/O error occurs.
public String getSN()
throws IOException
IOException - if an I/O error occurs.
public String getStringProperty(PropertyKey key)
throws IOException
key - The property key.
IOException - if an I/O error occurs.
public Frame grabFrame()
throws IOException
null if there's no signal.
IOException - if an I/O error occurs.grabRawFrame(PixelFormat,boolean)
public RawFrame grabRawFrame(PixelFormat format,
boolean bottomUp)
throws IOException
format - the desired pixel format.bottomUp - if true, then image lines will be in
bottom-up order (default is up-down).
null if there's no signal.
IOException - if an I/O error occurs.grabFrame()public boolean isKVMCapable()
true if this grabber supports KVM functionality,
false otherwise.
public void setEnumProperty(PropertyKey key,
com.epiphan.vga2usb.Enum.Int value)
throws IOException
key - The property keyvalue - The desired property value
IOException - if an I/O error occurs.
public void setGrabParameters(GrabParameters gp)
throws IOException
gp - grab parameters
IOException - if an I/O error occurs
public void setIntProperty(PropertyKey key,
int value)
throws IOException
key - The property keyvalue - The desired property value
IOException - if an I/O error occurs.
public void setSizeProperty(PropertyKey key,
Size value)
throws IOException
key - The property keyvalue - The desired property value
IOException - if an I/O error occurs.
public void setStringProperty(PropertyKey key,
String value)
throws IOException
key - The property keyvalue - The property value
IOException - if an I/O error occurs
public void start()
throws IOException
IOException - if an I/O error occurs
public void stop()
throws IOException
IOException - if an I/O error occurspublic String toString()
null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||