|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.luniks.linux.jv4linfo.V4L2Frequency
Class to represent the struct v4l2_frequency
.
Almost all fields and comments are taken from videodev2.h
or the Video for Linux Two API Specification
Field Summary | |
private int |
frequency
|
private int[] |
reserved
|
private int |
tuner
|
private int |
type
|
static float |
V4L2_FREQ_UNIT
|
static int |
V4L2_TUNER_ANALOG_TV
|
static int |
V4L2_TUNER_RADIO
|
Constructor Summary | |
V4L2Frequency()
|
Method Summary | |
int |
getFrequency()
The frequency in units |
int[] |
getReserved()
Currently not used, returns null |
int |
getTuner()
The index of the tuner |
int |
getType()
The type of the tuner |
void |
setFrequency(int frequency)
Sets the frequency in units |
void |
setReserved(int[] reserved)
Currently not used, will be set to zero |
void |
setTuner(int tuner)
Sets the index of the tuner |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final float V4L2_FREQ_UNIT
public static final int V4L2_TUNER_RADIO
public static final int V4L2_TUNER_ANALOG_TV
private int tuner
private int type
private int frequency
private int[] reserved
Constructor Detail |
public V4L2Frequency()
Method Detail |
public int getTuner()
public int getType()
public int getFrequency()
public int[] getReserved()
public void setTuner(int tuner)
public void setFrequency(int frequency)
public void setReserved(int[] reserved)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |