Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

CVideoDeviceTuner Class Reference

Tuner on V4L device. More...

#include <VideoDeviceTuner.h>

List of all members.

Public Slots

Signals

Public Member Functions


Detailed Description

Tuner on V4L device.

This class sets the frequency and norm on the TV or radio tuner on a TV/radio card. The frequency is represented as a float number in Hz.

There are three basic TV systems on this planet: PAL, NTSC and SECAM. There are also small variations in these systems, called norms. There are norms like PAL-B, -D, -G, -H, -I, M, -N, -MC; NTSC has two versions, `plain' NTSC (as used in the USA) and NTSC-Japan. SECAM seems to have only one norm. In practice, these norms are all the same when viewing a broadcast; as far as I know the main differences lie in the assignment of the hidden line numbers to services like TeleText, Closed Captioning, etc.


Constructor & Destructor Documentation

CVideoDeviceTuner::CVideoDeviceTuner CVideoDeviceLinux _video,
int  _tuner
 

Constructor.

Parameters:
_video Master VideoDevice object
_tuner Tuner number (should rarely be > 0)


Member Function Documentation

float CVideoDeviceTuner::GetFrequency  )  const
 

Return frequency of tuner, in Hz.

Returns:
-1.0 in case of failure

float CVideoDeviceTuner::GetHighestFrequency  )  const
 

float CVideoDeviceTuner::GetLowestFrequency  )  const
 

const QString CVideoDeviceTuner::GetName  ) 
 

int CVideoDeviceTuner::GetNorm  )  const
 

bool CVideoDeviceTuner::HasNorm  )  const
 

Returns whether this input can have its norm set.

bool CVideoDeviceTuner::Select  ) 
 

Will trigger this Tuner.

void CVideoDeviceTuner::Selected int   )  [signal]
 

bool CVideoDeviceTuner::SetFrequency float  freq  )  [slot]
 

Set frequency.

Parameters:
freq Desired frequency, in Hz
Returns:
FALSE if device refused the frequency or was not able to, TRUE with success

void CVideoDeviceTuner::SetNorm TVChannel::TunerNorms  norm  )  [slot]
 

Set television norm for this tuner.

A 'norm' is a combination of horizontal and vertical resolution, and color coding information; the most common are PAL (with small variations), NTSC and SECAM. Strictly speaking, the resolution and color coding mechanics are separated; but often they are not. As a counter-example, in Brazil they use NTSC resolution and PAL color coding.


The documentation for this class was generated from the following files:
Generated on Wed Dec 13 23:38:47 2006 for CamStream by doxygen 1.3.7