net.luniks.linux.jv4linfo
Class V4L2Standard

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

public class V4L2Standard
extends java.lang.Object

Class to hold information about a standard of a v4l2 device. 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 framelines
           
private  V4L2Fract frameperiod
           
private  long id
           
private  int index
           
private  java.lang.String name
           
static long V4L2_STD_525_60
           
static long V4L2_STD_625_50
           
static long V4L2_STD_ALL
           
static long V4L2_STD_ATSC_16_VSB
           
static long V4L2_STD_ATSC_8_VSB
           
static long V4L2_STD_NTSC
           
static long V4L2_STD_NTSC_M
           
static long V4L2_STD_NTSC_M_JP
           
static long V4L2_STD_PAL
           
static long V4L2_STD_PAL_60
           
static long V4L2_STD_PAL_B
           
static long V4L2_STD_PAL_B1
           
static long V4L2_STD_PAL_BG
           
static long V4L2_STD_PAL_D
           
static long V4L2_STD_PAL_D1
           
static long V4L2_STD_PAL_DK
           
static long V4L2_STD_PAL_G
           
static long V4L2_STD_PAL_H
           
static long V4L2_STD_PAL_I
           
static long V4L2_STD_PAL_K
           
static long V4L2_STD_PAL_M
           
static long V4L2_STD_PAL_N
           
static long V4L2_STD_PAL_Nc
           
static long V4L2_STD_SECAM
           
static long V4L2_STD_SECAM_B
           
static long V4L2_STD_SECAM_D
           
static long V4L2_STD_SECAM_G
           
static long V4L2_STD_SECAM_H
           
static long V4L2_STD_SECAM_K
           
static long V4L2_STD_SECAM_K1
           
static long V4L2_STD_SECAM_L
           
static long V4L2_STD_UNKNOWN
           
 
Constructor Summary
V4L2Standard()
           
 
Method Summary
 float getFps()
          Convenience method to get the FPS
 int getFramelines()
          Framelines
 V4L2Fract getFrameperiod()
          Frameperiod
 long getId()
          The id of the standard
 int getIndex()
          The index of the standard
 java.lang.String getName()
          The name of the standard
 void setIndex(int index)
          Sets the index of the standard that should be queried/set
 java.lang.String toString()
          String representation of the input info
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

V4L2_STD_PAL_B

public static final long V4L2_STD_PAL_B
See Also:
Constant Field Values

V4L2_STD_PAL_B1

public static final long V4L2_STD_PAL_B1
See Also:
Constant Field Values

V4L2_STD_PAL_G

public static final long V4L2_STD_PAL_G
See Also:
Constant Field Values

V4L2_STD_PAL_H

public static final long V4L2_STD_PAL_H
See Also:
Constant Field Values

V4L2_STD_PAL_I

public static final long V4L2_STD_PAL_I
See Also:
Constant Field Values

V4L2_STD_PAL_D

public static final long V4L2_STD_PAL_D
See Also:
Constant Field Values

V4L2_STD_PAL_D1

public static final long V4L2_STD_PAL_D1
See Also:
Constant Field Values

V4L2_STD_PAL_K

public static final long V4L2_STD_PAL_K
See Also:
Constant Field Values

V4L2_STD_PAL_M

public static final long V4L2_STD_PAL_M
See Also:
Constant Field Values

V4L2_STD_PAL_N

public static final long V4L2_STD_PAL_N
See Also:
Constant Field Values

V4L2_STD_PAL_Nc

public static final long V4L2_STD_PAL_Nc
See Also:
Constant Field Values

V4L2_STD_PAL_60

public static final long V4L2_STD_PAL_60
See Also:
Constant Field Values

V4L2_STD_NTSC_M

public static final long V4L2_STD_NTSC_M
See Also:
Constant Field Values

V4L2_STD_NTSC_M_JP

public static final long V4L2_STD_NTSC_M_JP
See Also:
Constant Field Values

V4L2_STD_SECAM_B

public static final long V4L2_STD_SECAM_B
See Also:
Constant Field Values

V4L2_STD_SECAM_D

public static final long V4L2_STD_SECAM_D
See Also:
Constant Field Values

V4L2_STD_SECAM_G

public static final long V4L2_STD_SECAM_G
See Also:
Constant Field Values

V4L2_STD_SECAM_H

public static final long V4L2_STD_SECAM_H
See Also:
Constant Field Values

V4L2_STD_SECAM_K

public static final long V4L2_STD_SECAM_K
See Also:
Constant Field Values

V4L2_STD_SECAM_K1

public static final long V4L2_STD_SECAM_K1
See Also:
Constant Field Values

V4L2_STD_SECAM_L

public static final long V4L2_STD_SECAM_L
See Also:
Constant Field Values

V4L2_STD_ATSC_8_VSB

public static final long V4L2_STD_ATSC_8_VSB
See Also:
Constant Field Values

V4L2_STD_ATSC_16_VSB

public static final long V4L2_STD_ATSC_16_VSB
See Also:
Constant Field Values

V4L2_STD_PAL_BG

public static final long V4L2_STD_PAL_BG
See Also:
Constant Field Values

V4L2_STD_PAL_DK

public static final long V4L2_STD_PAL_DK
See Also:
Constant Field Values

V4L2_STD_PAL

public static final long V4L2_STD_PAL
See Also:
Constant Field Values

V4L2_STD_NTSC

public static final long V4L2_STD_NTSC
See Also:
Constant Field Values

V4L2_STD_SECAM

public static final long V4L2_STD_SECAM
See Also:
Constant Field Values

V4L2_STD_525_60

public static final long V4L2_STD_525_60
See Also:
Constant Field Values

V4L2_STD_625_50

public static final long V4L2_STD_625_50
See Also:
Constant Field Values

V4L2_STD_UNKNOWN

public static final long V4L2_STD_UNKNOWN
See Also:
Constant Field Values

V4L2_STD_ALL

public static final long V4L2_STD_ALL
See Also:
Constant Field Values

index

private int index

id

private long id

name

private java.lang.String name

frameperiod

private V4L2Fract frameperiod

framelines

private int framelines
Constructor Detail

V4L2Standard

public V4L2Standard()
Method Detail

getIndex

public int getIndex()
The index of the standard


getId

public long getId()
The id of the standard


getName

public java.lang.String getName()
The name of the standard


getFrameperiod

public V4L2Fract getFrameperiod()
Frameperiod


getFramelines

public int getFramelines()
Framelines


getFps

public float getFps()
Convenience method to get the FPS


setIndex

public void setIndex(int index)
Sets the index of the standard that should be queried/set


toString

public java.lang.String toString()
String representation of the input info



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