1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
<html>
<head>
<title>Camstream: CamStream API documentation</title>
<link rel="stylesheet" href="../../tech.css" type="text/css">
</head>
<body>
<!-- Generated by Doxygen 1.2.6 -->
<center>
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
<hr><h1>VideoDeviceTuner.h</h1><a href="videodevicetuner_h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="preprocessor">#ifndef VIDEODEVICETUNER_HPP</font>
00002 <font class="preprocessor"></font><font class="preprocessor">#define VIDEODEVICETUNER_HPP</font>
00003 <font class="preprocessor"></font>
00004 <font class="preprocessor">#ifdef HAVE_CONFIG_H</font>
00005 <font class="preprocessor"></font><font class="preprocessor">#include <config.h></font>
00006 <font class="preprocessor">#endif</font>
00007 <font class="preprocessor"></font>
00008 <font class="preprocessor">#include <qobject.h></font>
00009
00010 <font class="keyword">class </font><a class="code" href="class_cvideodevice.html">CVideoDevice</a>;
00011
00012 <font class="keyword">class </font><a class="code" href="class_cvideodevicetuner.html">CVideoDeviceTuner</a>: <font class="keyword">public</font> <a class="code" href="class_qobject.html">QObject</a>
00013 {
00014 Q_OBJECT
00015 <font class="keyword">private</font>:
00016 <a class="code" href="class_cvideodevice.html">CVideoDevice</a> *pVideo;
00017 <font class="keywordtype">int</font> Tuner;
00018
00019 QString Name;
00020 <font class="keywordtype">int</font> Flags, Norm;
00021 <font class="keywordtype">float</font> FreqLow, FreqHigh;
00022 <font class="keywordtype">float</font> FreqStep;
00023 ulong ufreq;
00024
00025 <font class="keyword">public</font>:
00026 <font class="keyword">enum</font> {
00027 PAL,
00028 NTSC,
00029 SECAM,
00030 PAL_NC,
00031 PAL_M,
00032 PAL_N,
00033 NTSC_JAPAN,
00034 MAX,
00035 } TunerNorms;
00036
00037 <a class="code" href="class_cvideodevicetuner.html#a0">CVideoDeviceTuner</a>(<a class="code" href="class_cvideodevice.html">CVideoDevice</a> *_video, <font class="keywordtype">int</font> _tuner);
00038
00039 <font class="keyword">const</font> QString <a class="code" href="class_cvideodevicetuner.html#a1">GetName</a>();
00040
00041 <font class="keywordtype">float</font> <a class="code" href="class_cvideodevicetuner.html#a2">GetLowestFrequency</a>() <font class="keyword">const</font>;
00042 <font class="keywordtype">float</font> <a class="code" href="class_cvideodevicetuner.html#a3">GetHighestFrequency</a>() <font class="keyword">const</font>;
00043 <font class="keywordtype">float</font> <a class="code" href="class_cvideodevicetuner.html#a4">GetFrequency</a>() <font class="keyword">const</font>;
00044 <font class="keywordtype">bool</font> <a class="code" href="class_cvideodevicetuner.html#a5">SetFrequency</a>(<font class="keywordtype">float</font> freq);
00045
00046 <font class="keywordtype">bool</font> <a class="code" href="class_cvideodevicetuner.html#a6">HasNorm</a>() <font class="keyword">const</font>;
00047 <font class="keywordtype">void</font> <a class="code" href="class_cvideodevicetuner.html#a7">SetNorm</a>(<font class="keywordtype">int</font> norm);
00048 <font class="keywordtype">int</font> <a class="code" href="class_cvideodevicetuner.html#a8">GetNorm</a>() <font class="keyword">const</font>;
00049 };
00050
00051 <font class="preprocessor">#endif</font>
</font></pre></div><hr><address><small>Generated at Sat May 18 02:56:55 2002 for Camstream by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.2.6 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
© 1997-2001</small></address>
</body>
</html>
|