|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.directshow.DSCaptureDevice
public class DSCaptureDevice
DirectShow capture device.
| Nested Class Summary | |
|---|---|
static class |
DSCaptureDevice.GrabberDelegate
Delegate class to handle grabbing frames. |
| Constructor Summary | |
|---|---|
DSCaptureDevice(long ptr)
Constructor. |
|
| Method Summary | |
|---|---|
void |
close()
Stop and close the capture device. |
static int |
getBytes(long ptr,
long buf,
int length)
Get bytes from buf native pointer and copy them to ptr byte native pointer. |
DSFormat |
getFormat()
Get current format. |
String |
getName()
Get name of the capture device. |
DSFormat[] |
getSupportedFormats()
Get the supported video format this capture device supports. |
void |
open()
Open and initialize the capture device. |
void |
setDelegate(DSCaptureDevice.GrabberDelegate delegate)
Set a delegate to use when a frame is received. |
void |
setDelegate(long ptr,
DSCaptureDevice.GrabberDelegate delegate)
Native method to set a delegate to use when a frame is received. |
void |
setFormat(DSFormat format)
Set format to use with this capture device. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DSCaptureDevice(long ptr)
ptr - native pointer| Method Detail |
|---|
public void open()
public void close()
public String getName()
public void setFormat(DSFormat format)
format - format to setpublic DSFormat getFormat()
public DSFormat[] getSupportedFormats()
public void setDelegate(DSCaptureDevice.GrabberDelegate delegate)
delegate - delegate
public void setDelegate(long ptr,
DSCaptureDevice.GrabberDelegate delegate)
ptr - native pointerdelegate - delegate
public static int getBytes(long ptr,
long buf,
int length)
ptr - pointer to native databuf - byte native pointer (see ByteBufferPool)length - length of buf pointed by ptr
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||