FileDocCategorySizeDatePackage
VCapability.javaAPI DocJMF 2.1.1e1259Mon May 12 12:21:30 BST 2003com.sun.media.protocol.v4l

VCapability

public class VCapability extends Object
Class that mirrors the video_capability structure of Video4Linux

Fields Summary
public String
name
Name of the device
public int
type
Type of the device. Values are VID_TYPE_*
public int
channels
Number of channels (ports).
public int
audios
Number of audio devices.
public int
maxwidth
Max video width that can be captured.
public int
maxheight
Max video height that can be captured.
public int
minwidth
Min video width that can be captured.
public int
minheight
Min video height that can be captured.
public static final int
VID_TYPE_CAPTURE
public static final int
VID_TYPE_TUNER
Constructors Summary
public VCapability()

    
      
    
Methods Summary
public booleanhasCapture()
Returns true if the driver can capture to memory.

	return (type & VID_TYPE_CAPTURE) > 0;
    
public booleanhasTuner()
Returns true if the driver has a TV Tuner.

	return (type & VID_TYPE_TUNER) > 0;