|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.luniks.linux.jv4linfo.V4L2Input
Class to hold information about an input 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 int |
audioset
|
private int |
index
|
private java.lang.String |
name
|
private int |
status
|
private long |
std
|
private V4L2Standard[] |
supportedStds
|
private int |
tuner
|
private int |
type
|
static int |
V4L2_IN_ST_COLOR_KILL
Color killer is active |
static int |
V4L2_IN_ST_MACROVISION
Macrovision detected |
static int |
V4L2_IN_ST_NO_ACCESS
Conditional access denied |
static int |
V4L2_IN_ST_NO_CARRIER
Carrier recovery failed |
static int |
V4L2_IN_ST_NO_COLOR
Attached device has no color |
static int |
V4L2_IN_ST_NO_EQU
No equalizer lock |
static int |
V4L2_IN_ST_NO_H_LOCK
No horizontal sync lock |
static int |
V4L2_IN_ST_NO_POWER
Attached device is off |
static int |
V4L2_IN_ST_NO_SIGNAL
Attached device has no signal |
static int |
V4L2_IN_ST_NO_SYNC
No synchronization lock |
static int |
V4L2_IN_ST_VTR
VTR time constant |
static int |
V4L2_INPUT_TYPE_CAMERA
Input type is camera |
static int |
V4L2_INPUT_TYPE_TUNER
Input type is tuner |
Constructor Summary | |
V4L2Input()
|
Method Summary | |
boolean |
colorKill()
Color killer is active |
int |
getAudioset()
Associated audios (bitfield) |
int |
getIndex()
Which input |
java.lang.String |
getName()
Name |
int |
getStatus()
Status |
long |
getStd()
TV standard (norm) |
V4L2Standard[] |
getSupportedStds()
Returns a list of standards supported by this input |
int |
getTuner()
Associated tuner |
int |
getType()
Type of input |
boolean |
isCamera()
Input type is camera |
boolean |
isTuner()
Input type is tuner |
boolean |
macrovision()
Macrovision detected |
boolean |
noAccess()
Conditional access denied |
boolean |
noCarrier()
Carrier recovery failed |
boolean |
noColor()
Attached device has no color |
boolean |
noEqu()
No equalizer lock |
boolean |
noHLock()
No horizontal sync lock |
boolean |
noPower()
Attached device is off |
boolean |
noSignal()
Attached device has no signal |
boolean |
noSync()
No synchronization lock |
void |
setIndex(int index)
Sets the index of the input that should be queried/set |
void |
setSupportedStds(V4L2Standard[] supportedStds)
Sets the list of standards supported by this input |
java.lang.String |
toString()
String representation of the input info |
boolean |
vtr()
VTR time constant |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int V4L2_INPUT_TYPE_TUNER
public static final int V4L2_INPUT_TYPE_CAMERA
public static final int V4L2_IN_ST_NO_POWER
public static final int V4L2_IN_ST_NO_SIGNAL
public static final int V4L2_IN_ST_NO_COLOR
public static final int V4L2_IN_ST_NO_H_LOCK
public static final int V4L2_IN_ST_COLOR_KILL
public static final int V4L2_IN_ST_NO_SYNC
public static final int V4L2_IN_ST_NO_EQU
public static final int V4L2_IN_ST_NO_CARRIER
public static final int V4L2_IN_ST_MACROVISION
public static final int V4L2_IN_ST_NO_ACCESS
public static final int V4L2_IN_ST_VTR
private int index
private java.lang.String name
private int type
private int audioset
private int tuner
private long std
private int status
private V4L2Standard[] supportedStds
Constructor Detail |
public V4L2Input()
Method Detail |
public int getIndex()
public java.lang.String getName()
public int getType()
public int getAudioset()
public int getTuner()
public long getStd()
public int getStatus()
public V4L2Standard[] getSupportedStds()
public boolean isTuner()
public boolean isCamera()
public boolean noPower()
public boolean noSignal()
public boolean noColor()
public boolean noHLock()
public boolean colorKill()
public boolean noSync()
public boolean noEqu()
public boolean noCarrier()
public boolean macrovision()
public boolean noAccess()
public boolean vtr()
public void setIndex(int index)
public void setSupportedStds(V4L2Standard[] supportedStds)
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |