|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.luniks.linux.jv4linfo.VideoTuner
Class to hold information about a tuner of a v4l device.
Almost all fields and comments are taken from videodev.h
Field Summary | |
private int |
flags
|
private int |
mode
|
private java.lang.String |
name
|
private long |
rangehigh
|
private long |
rangelow
|
private int |
signal
|
private int |
tuner
|
static int |
VIDEO_MODE_AUTO
|
static int |
VIDEO_MODE_NTSC
|
static int |
VIDEO_MODE_PAL
|
static int |
VIDEO_MODE_SECAM
|
static int |
VIDEO_TUNER_LOW
|
static int |
VIDEO_TUNER_MBS_ON
|
static int |
VIDEO_TUNER_NORM
|
static int |
VIDEO_TUNER_NTSC
|
static int |
VIDEO_TUNER_PAL
|
static int |
VIDEO_TUNER_RDS_ON
|
static int |
VIDEO_TUNER_SECAM
|
static int |
VIDEO_TUNER_STEREO_ON
|
Constructor Summary | |
VideoTuner()
|
Method Summary | |
boolean |
canSetNorm()
Tuner can set norm |
int |
getFlags()
Returns the flags describing the tuner |
int |
getMode()
Returns the video signal mode if relevant |
java.lang.String |
getModeName()
Returns the video signal mode if relevant as name |
java.lang.String |
getName()
Returns the name of the tuner |
long |
getRangehigh()
Returns the highest tunable frequency |
long |
getRangelow()
Returns the lowest tunable frequency |
int |
getSignal()
Returns the Signal strength if known - between 0-65535 |
int |
getTuner()
Returns the index of the tuner |
boolean |
isLow()
Returns true, if the frequency is in units of 62.5 Hz, and false, if it is in units of 62.5 kHz. |
boolean |
isSeeingMBS()
Tuner is seeing an MBS datastream |
boolean |
isSeeingRDS()
Tuner is seeing an RDS datastream |
boolean |
isSeeingStereo()
Tuner is seeing stereo |
void |
setTuner(int tuner)
Sets the index of the tuner |
boolean |
supportsNTSC()
Tuner supports NTSC |
boolean |
supportsPAL()
Tuner supports PAL |
boolean |
supportsSECAM()
Tuner supports SECAM |
java.lang.String |
toString()
String representation of the channel info |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int VIDEO_TUNER_PAL
public static final int VIDEO_TUNER_NTSC
public static final int VIDEO_TUNER_SECAM
public static final int VIDEO_TUNER_LOW
public static final int VIDEO_TUNER_NORM
public static final int VIDEO_TUNER_STEREO_ON
public static final int VIDEO_TUNER_RDS_ON
public static final int VIDEO_TUNER_MBS_ON
public static final int VIDEO_MODE_PAL
public static final int VIDEO_MODE_NTSC
public static final int VIDEO_MODE_SECAM
public static final int VIDEO_MODE_AUTO
private int tuner
private java.lang.String name
private long rangelow
private long rangehigh
private int flags
private int mode
private int signal
Constructor Detail |
public VideoTuner()
Method Detail |
public int getTuner()
public java.lang.String getName()
public long getRangelow()
public long getRangehigh()
public int getFlags()
public int getMode()
public int getSignal()
public boolean supportsPAL()
public boolean supportsNTSC()
public boolean supportsSECAM()
public boolean isLow()
public boolean canSetNorm()
public boolean isSeeingStereo()
public boolean isSeeingRDS()
public boolean isSeeingMBS()
public java.lang.String getModeName()
public void setTuner(int tuner)
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |