class V4LDev

Abstract interface to Video4Linux devices. More...

Definition#include <v4ldev.h>
Inherited byV4LCamera, V4LTuner
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Protected Methods

Protected Members


Detailed Description

Abstract interface to Video4Linux devices.

 ~V4LDev ()

~V4LDev

[virtual]

V4LDev*  getDevice (const QString &dev)

getDevice

[static]

bool  isCamera ()

isCamera

[const virtual]

bool  isTuner ()

isTuner

[const virtual]

int  startCapture (int x, int y, int w, int h = -1)

startCapture

[virtual]

int  grab (QPixmap& buffer, bool mirror = false, bool scale = true)

grab

[virtual]

int  setFreq (unsigned long)

setFreq

[virtual]

int  signal ()

signal

[const virtual]

int  setImageSize (int w, int h = -1)

setImageSize

[virtual]

QString  name ()

name

[const virtual]

int  setBrightness (int x)

setBrightness

[virtual]

int  brightness ()

brightness

[const virtual]

int  setColour (int x)

setColour

[virtual]

int  colour ()

colour

[const virtual]

int  setHue (int x)

setHue

[virtual]

int  hue ()

hue

[const virtual]

int  setContrast (int x)

setContrast

[virtual]

int  contrast ()

contrast

[const virtual]

int  setWhiteness (int x)

setWhiteness

[virtual]

int  whiteness ()

whiteness

[const virtual]

int  setSource (const QString &source)

setSource

[virtual]

const QString  source ()

source

[const virtual]

QStringList  sources ()

sources

[const virtual]

float  aspectRatio ()

aspectRatio

[const virtual]

bool  canOverlay ()

canOverlay

[const virtual]

bool  hasAudio ()

hasAudio

[const virtual]

int  enableAudio ()

enableAudio

[virtual]

int  disableAudio ()

disableAudio

[virtual]

unsigned long  minFreq ()

minFreq

[const virtual]

unsigned long  maxFreq ()

maxFreq

[const virtual]

int  setTunerMode (int)

setTunerMode

[virtual]

int  tunerMode ()

tunerMode

[const virtual]

 V4LDev (int fd, const QString &name, int channels, int type, int minw, int minh, int maxw, int maxh)

V4LDev

[protected]

int _fd

_fd

[protected]

bool _valid

_valid

[protected]

QString _name

_name

[protected]

struct video_channel * _channels

_channels

[protected]

int _minWidth

_minWidth

[protected]

int _minHeight

_minHeight

[protected]

int _maxWidth

_maxWidth

[protected]

int _maxHeight

_maxHeight

[protected]

int _type

_type

[protected]

float _aspectRatio

_aspectRatio

[protected]

int format

format

[protected]

QStringList _sources

_sources

[protected]

int _source

_source

[protected]

int _capW

_capW

[protected]

int _capH

_capH

[protected]

bool _hasAudio

_hasAudio

[protected]

bool _isTuner

_isTuner

[protected]

unsigned long _minFreq

_minFreq

[protected]

unsigned long _maxFreq

_maxFreq

[protected]