|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.luniks.linux.jv4linfo.VideoChannel
Class to hold information about a channel of a v4l device.
Almost all fields and comments are taken from videodev.h
Nested Class Summary | |
static class |
VideoChannel.Norm
|
Field Summary | |
private int |
channel
|
private int |
flags
|
private java.lang.String |
name
|
private int |
norm
|
private int |
tuners
|
private int |
type
|
static int |
VIDEO_MODE_NTSC
|
static int |
VIDEO_MODE_PAL
|
static int |
VIDEO_MODE_SECAM
|
static int |
VIDEO_TYPE_CAMERA
Input type is camera |
static int |
VIDEO_TYPE_TV
Input type is television |
static int |
VIDEO_VC_AUDIO
Channel has audio |
static int |
VIDEO_VC_TUNER
Channel has a tuner |
Constructor Summary | |
VideoChannel()
|
Method Summary | |
int |
getChannel()
The index of the channel |
int |
getFlags()
Channel flags |
java.lang.String |
getName()
The name of the channel |
int |
getNorm()
Norm set by channel |
static VideoChannel.Norm[] |
getNorms()
Returns the video norms known by v4l |
int |
getTuners()
Number of tuners |
int |
getType()
Type of the channel |
boolean |
hasAudio()
Channel has audio |
boolean |
hasTuner()
Channel has a tuner |
boolean |
isCamera()
Input type is camera |
boolean |
isTV()
Input type is television |
void |
setChannel(int channel)
Sets the index of the channel |
void |
setNorm(int norm)
Sets the norm of the channel |
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_VC_TUNER
public static final int VIDEO_VC_AUDIO
public static final int VIDEO_TYPE_TV
public static final int VIDEO_TYPE_CAMERA
public static final int VIDEO_MODE_PAL
public static final int VIDEO_MODE_NTSC
public static final int VIDEO_MODE_SECAM
private int channel
private java.lang.String name
private int tuners
private int flags
private int type
private int norm
Constructor Detail |
public VideoChannel()
Method Detail |
public int getChannel()
public java.lang.String getName()
public int getTuners()
public int getFlags()
public int getType()
public int getNorm()
public boolean hasTuner()
public boolean hasAudio()
public boolean isTV()
public boolean isCamera()
public void setChannel(int channel)
public void setNorm(int norm)
public static VideoChannel.Norm[] getNorms()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |