net.luniks.linux.jv4linfo
Class V4L2Frequency

java.lang.Object
  extended bynet.luniks.linux.jv4linfo.V4L2Frequency

public class V4L2Frequency
extends java.lang.Object

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

Author:
Torsten Römer, www.luniks.net

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

V4L2_FREQ_UNIT

public static final float V4L2_FREQ_UNIT
See Also:
Constant Field Values

V4L2_TUNER_RADIO

public static final int V4L2_TUNER_RADIO
See Also:
Constant Field Values

V4L2_TUNER_ANALOG_TV

public static final int V4L2_TUNER_ANALOG_TV
See Also:
Constant Field Values

tuner

private int tuner

type

private int type

frequency

private int frequency

reserved

private int[] reserved
Constructor Detail

V4L2Frequency

public V4L2Frequency()
Method Detail

getTuner

public int getTuner()
The index of the tuner


getType

public int getType()
The type of the tuner


getFrequency

public int getFrequency()
The frequency in units


getReserved

public int[] getReserved()
Currently not used, returns null


setTuner

public void setTuner(int tuner)
Sets the index of the tuner


setFrequency

public void setFrequency(int frequency)
Sets the frequency in units


setReserved

public void setReserved(int[] reserved)
Currently not used, will be set to zero



Copyright © 2004 Torsten Römer, dode@luniks.net