|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.luniks.linux.jv4linfo.V4L2Capability
Class to hold information about the capabilities of a v4l2 device.
Almost all fields and comments are taken from videodev2.h
or the Video for Linux Two API Specification
Field Summary | |
private java.lang.String |
busInfo
|
private int |
capabilities
|
private java.lang.String |
card
|
private java.lang.String |
driver
|
static int |
V4L2_CAP_ASYNCIO
async I/O |
static int |
V4L2_CAP_AUDIO
has audio support |
static int |
V4L2_CAP_RADIO
is a radio device |
static int |
V4L2_CAP_RDS_CAPTURE
RDS data capture |
static int |
V4L2_CAP_READWRITE
read/write systemcalls |
static int |
V4L2_CAP_STREAMING
streaming I/O ioctls |
static int |
V4L2_CAP_TUNER
has a tuner |
static int |
V4L2_CAP_VBI_CAPTURE
Is a VBI capture device |
static int |
V4L2_CAP_VBI_OUTPUT
Is a VBI output device |
static int |
V4L2_CAP_VIDEO_CAPTURE
Is a video capture device |
static int |
V4L2_CAP_VIDEO_OUTPUT
Is a video output device |
static int |
V4L2_CAP_VIDEO_OVERLAY
Can do video overlay |
private int |
version
|
Constructor Summary | |
V4L2Capability()
|
Method Summary | |
boolean |
canAsyncio()
async I/O |
boolean |
canDoVideoOverlay()
Can do video overlay |
boolean |
canReadwrite()
read/write systemcalls |
boolean |
canStream()
streaming I/O ioctls |
java.lang.String |
getBusInfo()
"PCI:" + pci_name(pci_dev) |
int |
getCapabilities()
Device capabilities |
java.lang.String |
getCard()
For example "Hauppauge WinTV" |
java.lang.String |
getDriver()
For example "bttv" |
int |
getVersion()
should use KERNEL_VERSION() |
boolean |
hasAudio()
has audio support |
boolean |
hasTuner()
has a tuner |
boolean |
isRadio()
is a radio device |
boolean |
isRDSCaptureDevice()
RDS data capture |
boolean |
isVBICaptureDevice()
Is a VBI capture device |
boolean |
isVBIOutputDevice()
Is a VBI output device |
boolean |
isVideoCaptureDevice()
Is a video capture device |
boolean |
isVideoOutputDevice()
Is a video output device |
java.lang.String |
toString()
String representation of the capability info |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int V4L2_CAP_VIDEO_CAPTURE
public static final int V4L2_CAP_VIDEO_OUTPUT
public static final int V4L2_CAP_VIDEO_OVERLAY
public static final int V4L2_CAP_VBI_CAPTURE
public static final int V4L2_CAP_VBI_OUTPUT
public static final int V4L2_CAP_RDS_CAPTURE
public static final int V4L2_CAP_TUNER
public static final int V4L2_CAP_AUDIO
public static final int V4L2_CAP_RADIO
public static final int V4L2_CAP_READWRITE
public static final int V4L2_CAP_ASYNCIO
public static final int V4L2_CAP_STREAMING
private java.lang.String driver
private java.lang.String card
private java.lang.String busInfo
private int version
private int capabilities
Constructor Detail |
public V4L2Capability()
Method Detail |
public java.lang.String getDriver()
public java.lang.String getCard()
public java.lang.String getBusInfo()
public int getVersion()
public int getCapabilities()
public boolean isVideoCaptureDevice()
public boolean isVideoOutputDevice()
public boolean canDoVideoOverlay()
public boolean isVBICaptureDevice()
public boolean isVBIOutputDevice()
public boolean isRDSCaptureDevice()
public boolean hasTuner()
public boolean hasAudio()
public boolean isRadio()
public boolean canReadwrite()
public boolean canAsyncio()
public boolean canStream()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |