File: _web_cam_codec_subband_8h-source.html

package info (click to toggle)
camstream 0.27%2Bdfsg-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 12,320 kB
  • ctags: 5,393
  • sloc: cpp: 17,031; sh: 8,154; asm: 455; ansic: 440; makefile: 343
file content (78 lines) | stat: -rw-r--r-- 5,977 bytes parent folder | download | duplicates (2)
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
69
70
71
72
73
74
75
76
77
78
<html>
<head>
<title>Camstream: CamStream API documentation</title>
<link rel="stylesheet" href="../../tech.css" type="text/css">
</head>
<body>

<!-- Generated by Doxygen 1.3.7 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>WebCamCodecSubband.h</h1><a href="_web_cam_codec_subband_8h.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 <span class="preprocessor">#ifndef WEBCAMCODEC_SUBBAND_HPP</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define WEBCAMCODEC_SUBBAND_HPP</span>
00003 <span class="preprocessor"></span>
00004 <span class="preprocessor">#ifdef HAVE_CONFIG_H</span>
00005 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="config_8h.html">config.h</a>"</span>
00006 <span class="preprocessor">#endif</span>
00007 <span class="preprocessor"></span>
00008 <span class="preprocessor">#include &lt;qtimer.h&gt;</span>
00009 
00010 <span class="preprocessor">#include "<a class="code" href="_video_device_8h.html">VideoDevice.h</a>"</span>
00011 
00012 <span class="preprocessor">#include "<a class="code" href="_cam_window_8h.html">CamWindow.h</a>"</span>
00013 <span class="preprocessor">#include "<a class="code" href="_codec_image_8h.html">CodecImage.h</a>"</span>
00014 <span class="preprocessor">#include "<a class="code" href="_codec_image_subband_8h.html">CodecImageSubband.h</a>"</span>
00015 <span class="preprocessor">#include "<a class="code" href="_codec_image_viewer_8h.html">CodecImageViewer.h</a>"</span>
00016 <span class="preprocessor">#include "<a class="code" href="_basic_panel_8h.html">BasicPanel.h</a>"</span>
00017 <span class="preprocessor">#include "<a class="code" href="_image_panel_r_g_b_8h.html">ImagePanelRGB.h</a>"</span>
00018 <span class="preprocessor">#include "<a class="code" href="_image_panel_y_u_v_8h.html">ImagePanelYUV.h</a>"</span>
00019 
<a name="l00020"></a><a class="code" href="class_c_web_cam_codec_subband.html">00020</a> <span class="keyword">class </span><a class="code" href="class_c_web_cam_codec_subband.html">CWebCamCodecSubband</a>: <span class="keyword">public</span> <a class="code" href="class_c_cam_window.html">CCamWindow</a>
00021 {
00022    Q_OBJECT
00023 <span class="keyword">private</span>:
00024    <a class="code" href="class_c_video_device.html">CVideoDevice</a> *m_pVideo;
00025 
00026    <a class="code" href="class_y_u_v_triplet.html">YUVTriplet&lt;CCodecImage&gt;</a> m_SourceFrame[2]; <span class="comment">// original images from webcam</span>
00027    <span class="keywordtype">int</span> m_PreviousFrame, m_CurrentFrame, m_MaxFrames;
00028    <a class="code" href="class_c_cam_panel.html">CCamPanel</a> *m_pSourceViewer;
00029 
00030    <a class="code" href="class_y_u_v_triplet.html">YUVTriplet&lt;CCodecImage&gt;</a> m_Diff;
00031    <a class="code" href="class_c_codec_image_viewer.html">CCodecImageViewer</a> *m_pDiffViewer;
00032 
00033    <a class="code" href="class_y_u_v_triplet.html">YUVTriplet&lt;CCodecImageSubband&gt;</a> m_CodecSubband;
00034    <a class="code" href="class_c_codec_image_viewer.html">CCodecImageViewer</a> *m_pSubbandViewer;
00035 
00036    <a class="code" href="class_y_u_v_triplet.html">YUVTriplet&lt;CCodecImageSubband&gt;</a> m_InverseSubband;
00037    <a class="code" href="class_c_codec_image_viewer.html">CCodecImageViewer</a> *m_pInverseViewer;
00038 
00039    YUVTriplet &lt;CCodecImage&gt; m_Reconstructed;
00040    <a class="code" href="class_c_codec_image_viewer.html">CCodecImageViewer</a> *m_pReconstructedViewer;
00041 
00042    QTimer *m_pSizeTimer;        
00043    <span class="keywordtype">int</span> m_Rows, m_Cols;
00044    <span class="keywordtype">int</span> m_CellWidth, m_CellHeight;
00045 
00046    <span class="keywordtype">void</span> PutAtGrid(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> column, QWidget *w);
00047 
00048 <span class="keyword">protected</span>:
00049    <span class="keywordtype">void</span> <a class="code" href="class_c_web_cam_codec_subband.html#b0">RecalcTotalViewSize</a>();
00050 
00051 <span class="keyword">protected</span> slots:
00052    <span class="keywordtype">void</span> <a class="code" href="class_c_web_cam_codec_subband.html#j0">DeviceChangedSize</a>(<span class="keyword">const</span> QSize &amp;size);
00053    <span class="keywordtype">void</span> <a class="code" href="class_c_web_cam_codec_subband.html#j1">DeviceError</a>(<span class="keywordtype">int</span> err_no);
00054 
00055    <span class="keywordtype">void</span> <a class="code" href="class_c_web_cam_codec_subband.html#j2">CallAdjustSize</a>();
00056    <span class="keywordtype">void</span> <a class="code" href="class_c_web_cam_codec_subband.html#j3">VideoFrameReady</a>();
00057 
00058 <span class="keyword">public</span>:
00059    <a class="code" href="class_c_web_cam_codec_subband.html">CWebCamCodecSubband</a>(<a class="code" href="class_c_video_device.html">CVideoDevice</a> *video, QWidget *parent = 0, <span class="keyword">const</span> <span class="keywordtype">char</span> *name = 0);
00060    <span class="keyword">virtual</span> <a class="code" href="class_c_web_cam_codec_subband.html#a1">~CWebCamCodecSubband</a>();
00061 };
00062 
00063 
00064 <span class="preprocessor">#endif</span>
</div></pre><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 13 23:38:46 2006 for CamStream by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
</body>
</html>