File: _simple_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 (82 lines) | stat: -rw-r--r-- 5,606 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
79
80
81
82
<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>Simple.h</h1><a href="_simple_8h.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 <span class="preprocessor">#ifndef SIMPLECODE_HPP</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define SIMPLECODE_HPP</span>
00003 <span class="preprocessor"></span>
00004 <span class="preprocessor">#include &lt;qobject.h&gt;</span>
00005 
00006 <span class="preprocessor">#include "<a class="code" href="_adaptive_huffman_8h.html">AdaptiveHuffman.h</a>"</span>
00007 <span class="preprocessor">#include "<a class="code" href="_basic_panel_8h.html">BasicPanel.h</a>"</span>
00008 <span class="preprocessor">#include "<a class="code" href="_cam_panel_8h.html">CamPanel.h</a>"</span>
00009 <span class="preprocessor">#include "<a class="code" href="_cam_tile_8h.html">CamTile.h</a>"</span>
00010 <span class="preprocessor">#include "<a class="code" href="_codec_frame_8h.html">CodecFrame.h</a>"</span>
00011 <span class="preprocessor">#include "<a class="code" href="_diff_panel_8h.html">DiffPanel.h</a>"</span>
00012 <span class="preprocessor">#include "<a class="code" href="_d_c_t_panel_8h.html">DCTPanel.h</a>"</span>
00013 <span class="preprocessor">#include "<a class="code" href="_video_device_8h.html">VideoDevice.h</a>"</span>
00014 
00015 
00016 <span class="keyword">class </span>CCamWidget;
00017 
<a name="l00018"></a><a class="code" href="class_c_simple_codec.html">00018</a> <span class="keyword">class </span><a class="code" href="class_c_simple_codec.html">CSimpleCodec</a>: <span class="keyword">public</span> <a class="code" href="class_c_codec_frame.html">CCodecFrame</a>
00019 {
00020    Q_OBJECT
00021 <span class="keyword">private</span>:
00022    <a class="code" href="class_c_video_device.html">CVideoDevice</a> *pVideo;
00023 
00024    <span class="keywordtype">int</span> zigzag[64][2];
00025    <span class="keywordtype">int</span> image_w, image_h;
00026    <span class="keywordtype">int</span> half_w, half_h;
00027    <span class="keywordtype">int</span> tiles_y, tiles_uv;
00028    <a class="code" href="struct_c_cam_tile.html">CCamTile</a> *pTilesY, *pTilesUV;
00029    <a class="code" href="struct_c_cam_tile.html">CCamTile</a> **pSorted, *pUsed;
00030    <a class="code" href="struct_c_cam_tile.html">CCamTile</a> **pSendAbs, **pSendDiff;
00031    <span class="keywordtype">int</span> *UsedForDiff, *UsedForAbs;
00032    <span class="keywordtype">int</span> GraphPos;
00033 
00034    <a class="code" href="class_c_cam_panel.html">CCamPanel</a> *pRGB, *pYUV;
00035    <a class="code" href="class_c_d_c_t_panel.html">CDCTPanel</a> *pFDCTImage, *pIDCTImage;
00036    <a class="code" href="class_c_d_c_t_panel.html">CDCTPanel</a> *pFDCTDiff, *pIDCTDiff;
00037    <a class="code" href="class_c_basic_panel.html">CBasicPanel</a> *pRecImage, *pRecDiff;
00038    <a class="code" href="class_c_diff_panel.html">CDiffPanel</a> *pRec_YUV;
00039    <a class="code" href="class_c_basic_panel.html">CBasicPanel</a> *pReconstruction;
00040    <a class="code" href="class_c_basic_panel.html">CBasicPanel</a> *pSelection;
00041    <span class="keywordtype">int</span> Count, Refresh;
00042    
00043 <span class="comment">//   CAdaptiveHuffman Compressor(256), Decompressor(256);</span>
00044 
00045    <span class="comment">/* Various compression parameters */</span>
00046    <span class="keywordtype">int</span> ParamSmear;
00047    <span class="keywordtype">int</span> ParamThreshold;
00048    <span class="keywordtype">int</span> ParamMaxPFrames;
00049    <span class="keywordtype">bool</span> ParamClearDiff;
00050    <span class="keywordtype">int</span> ParamBytesPerPacket;
00051 
00052    <span class="keywordtype">void</span> CreateTiles();
00053    <span class="keywordtype">void</span> Send(<a class="code" href="class_c_cam_panel.html">CCamPanel</a> *p, <span class="keywordtype">bool</span> update);
00054    <span class="keywordtype">void</span> MoveTileToEnd(<a class="code" href="struct_c_cam_tile.html">CCamTile</a> *tile);
00055 
00056 <span class="keyword">private</span> slots:
00057    <span class="keywordtype">void</span> Resize(<span class="keyword">const</span> QSize &amp;ns);
00058 
00059 <span class="keyword">public</span>:
00060    <a class="code" href="class_c_simple_codec.html">CSimpleCodec</a>(<a class="code" href="class_c_video_device.html">CVideoDevice</a> *video);
00061    <a class="code" href="class_c_simple_codec.html#a1">~CSimpleCodec</a>();
00062 
00063 <span class="keyword">public</span> slots:
00064    <span class="keywordtype">void</span> <a class="code" href="class_c_simple_codec.html#i0">UpdatePanel</a>();
00065 };
00066 
00067 
00068 <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>