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 83 84 85
|
<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>Simple.h</h1><a href="simple_h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="preprocessor">#ifndef SIMPLECODE_HPP</font>
00002 <font class="preprocessor"></font><font class="preprocessor">#define SIMPLECODE_HPP</font>
00003 <font class="preprocessor"></font>
00004 <font class="preprocessor">#include <qobject.h></font>
00005
00006 <font class="preprocessor">#include "<a class="code" href="adaptivehuffman_h.html">AdaptiveHuffman.h</a>"</font>
00007 <font class="preprocessor">#include "<a class="code" href="basicpanel_h.html">BasicPanel.h</a>"</font>
00008 <font class="preprocessor">#include "<a class="code" href="campanel_h.html">CamPanel.h</a>"</font>
00009 <font class="preprocessor">#include "<a class="code" href="camtile_h.html">CamTile.h</a>"</font>
00010 <font class="preprocessor">#include "<a class="code" href="codecframe_h.html">CodecFrame.h</a>"</font>
00011 <font class="preprocessor">#include "<a class="code" href="diffpanel_h.html">DiffPanel.h</a>"</font>
00012 <font class="preprocessor">#include "<a class="code" href="dctpanel_h.html">DCTPanel.h</a>"</font>
00013 <font class="preprocessor">#include "<a class="code" href="videodevice_h.html">VideoDevice.h</a>"</font>
00014
00015
00016 <font class="keyword">class </font>CCamWidget;
00017
00018 <font class="keyword">class </font><a class="code" href="class_csimplecodec.html">CSimpleCodec</a>: <font class="keyword">public</font> <a class="code" href="class_ccodecframe.html">CCodecFrame</a>
00019 {
00020 Q_OBJECT
00021 <font class="keyword">private</font>:
00022 <a class="code" href="class_cvideodevice.html">CVideoDevice</a> *pVideo;
00023
00024 <font class="keywordtype">int</font> zigzag[64][2];
00025 <font class="keywordtype">int</font> image_w, image_h;
00026 <font class="keywordtype">int</font> half_w, half_h;
00027 <font class="keywordtype">int</font> tiles_y, tiles_uv;
00028 <a class="code" href="struct_ccamtile.html">CCamTile</a> *pTilesY, *pTilesUV;
00029 <a class="code" href="struct_ccamtile.html">CCamTile</a> **pSorted, *pUsed;
00030 <a class="code" href="struct_ccamtile.html">CCamTile</a> **pSendAbs, **pSendDiff;
00031 <font class="keywordtype">int</font> *UsedForDiff, *UsedForAbs;
00032 <font class="keywordtype">int</font> GraphPos;
00033
00034 <a class="code" href="class_ccampanel.html">CCamPanel</a> *pRGB, *pYUV;
00035 <a class="code" href="class_cdctpanel.html">CDCTPanel</a> *pFDCTImage, *pIDCTImage;
00036 <a class="code" href="class_cdctpanel.html">CDCTPanel</a> *pFDCTDiff, *pIDCTDiff;
00037 <a class="code" href="class_cbasicpanel.html">CBasicPanel</a> *pRecImage, *pRecDiff;
00038 <a class="code" href="class_cdiffpanel.html">CDiffPanel</a> *pRec_YUV;
00039 <a class="code" href="class_cbasicpanel.html">CBasicPanel</a> *pReconstruction;
00040 <a class="code" href="class_cbasicpanel.html">CBasicPanel</a> *pSelection;
00041 <font class="keywordtype">int</font> Count, Refresh;
00042
00043 <font class="comment">// CAdaptiveHuffman Compressor(256), Decompressor(256);</font>
00044
00045 <font class="comment">/* Various compression parameters */</font>
00046 <font class="keywordtype">int</font> ParamSmear;
00047 <font class="keywordtype">int</font> ParamThreshold;
00048 <font class="keywordtype">int</font> ParamMaxPFrames;
00049 <font class="keywordtype">bool</font> ParamClearDiff;
00050 <font class="keywordtype">int</font> ParamBytesPerPacket;
00051
00052 <font class="keywordtype">void</font> CreateTiles();
00053 <font class="keywordtype">void</font> Send(<a class="code" href="class_ccampanel.html">CCamPanel</a> *p, <font class="keywordtype">bool</font> update);
00054 <font class="keywordtype">void</font> MoveTileToEnd(<a class="code" href="struct_ccamtile.html">CCamTile</a> *tile);
00055
00056 <font class="keyword">private</font> slots:
00057 <font class="keywordtype">void</font> Resize(<font class="keyword">const</font> QSize &ns);
00058
00059 <font class="keyword">public</font>:
00060 <a class="code" href="class_csimplecodec.html#a0">CSimpleCodec</a>(<a class="code" href="class_cvideodevice.html">CVideoDevice</a> *video);
00061 <a class="code" href="class_csimplecodec.html#a1">~CSimpleCodec</a>();
00062
00063 <font class="keyword">public</font> slots:
00064 <font class="keywordtype">void</font> <a class="code" href="class_csimplecodec.html#g0">UpdatePanel</a>();
00065 };
00066
00067
00068 <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>
|