Sophie

Sophie

distrib > Mandriva > 2010.0 > x86_64 > media > main-release > by-pkgid > f250c16c2b84c9364a2f35a71121aaa2 > files > 348

lib64dirac-devel-1.0.2-2mdv2010.0.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Dirac Video Codec</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<h1 align="center" color="#606080">
Dirac - A Video Codec
</h1>
<p align="center">
Created by the <a href="http://www.bbc.co.uk">British Broadcasting Corporation</a>.
</p>
<hr>
<!-- Generated by Doxygen 1.5.9 -->
<h1>overlay.h</h1><a href="a00207.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* ***** BEGIN LICENSE BLOCK *****</span>
<a name="l00002"></a>00002 <span class="comment">*</span>
<a name="l00003"></a>00003 <span class="comment">* $Id: overlay.h,v 1.7 2008/03/14 08:17:37 asuraparaju Exp $ $Name: Dirac_1_0_2 $</span>
<a name="l00004"></a>00004 <span class="comment">*</span>
<a name="l00005"></a>00005 <span class="comment">* Version: MPL 1.1/GPL 2.0/LGPL 2.1</span>
<a name="l00006"></a>00006 <span class="comment">*</span>
<a name="l00007"></a>00007 <span class="comment">* The contents of this file are subject to the Mozilla Public License</span>
<a name="l00008"></a>00008 <span class="comment">* Version 1.1 (the "License"); you may not use this file except in compliance</span>
<a name="l00009"></a>00009 <span class="comment">* with the License. You may obtain a copy of the License at</span>
<a name="l00010"></a>00010 <span class="comment">* http://www.mozilla.org/MPL/</span>
<a name="l00011"></a>00011 <span class="comment">*</span>
<a name="l00012"></a>00012 <span class="comment">* Software distributed under the License is distributed on an "AS IS" basis,</span>
<a name="l00013"></a>00013 <span class="comment">* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for</span>
<a name="l00014"></a>00014 <span class="comment">* the specific language governing rights and limitations under the License.</span>
<a name="l00015"></a>00015 <span class="comment">*</span>
<a name="l00016"></a>00016 <span class="comment">* The Original Code is BBC Research and Development code.</span>
<a name="l00017"></a>00017 <span class="comment">*</span>
<a name="l00018"></a>00018 <span class="comment">* The Initial Developer of the Original Code is the British Broadcasting</span>
<a name="l00019"></a>00019 <span class="comment">* Corporation.</span>
<a name="l00020"></a>00020 <span class="comment">* Portions created by the Initial Developer are Copyright (C) 2004.</span>
<a name="l00021"></a>00021 <span class="comment">* All Rights Reserved.</span>
<a name="l00022"></a>00022 <span class="comment">*</span>
<a name="l00023"></a>00023 <span class="comment">* Contributor(s): Chris Bowley (Original Author)</span>
<a name="l00024"></a>00024 <span class="comment">*</span>
<a name="l00025"></a>00025 <span class="comment">* Alternatively, the contents of this file may be used under the terms of</span>
<a name="l00026"></a>00026 <span class="comment">* the GNU General Public License Version 2 (the "GPL"), or the GNU Lesser</span>
<a name="l00027"></a>00027 <span class="comment">* Public License Version 2.1 (the "LGPL"), in which case the provisions of</span>
<a name="l00028"></a>00028 <span class="comment">* the GPL or the LGPL are applicable instead of those above. If you wish to</span>
<a name="l00029"></a>00029 <span class="comment">* allow use of your version of this file only under the terms of the either</span>
<a name="l00030"></a>00030 <span class="comment">* the GPL or LGPL and not to allow others to use your version of this file</span>
<a name="l00031"></a>00031 <span class="comment">* under the MPL, indicate your decision by deleting the provisions above</span>
<a name="l00032"></a>00032 <span class="comment">* and replace them with the notice and other provisions required by the GPL</span>
<a name="l00033"></a>00033 <span class="comment">* or LGPL. If you do not delete the provisions above, a recipient may use</span>
<a name="l00034"></a>00034 <span class="comment">* your version of this file under the terms of any one of the MPL, the GPL</span>
<a name="l00035"></a>00035 <span class="comment">* or the LGPL.</span>
<a name="l00036"></a>00036 <span class="comment">* ***** END LICENSE BLOCK ***** */</span>
<a name="l00037"></a>00037 
<a name="l00038"></a>00038 <span class="preprocessor">#ifndef __OVERLAY_H__</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#define __OVERLAY_H__</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span>
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 <span class="preprocessor">#include &lt;<a class="code" href="a00171.html">libdirac_common/common.h</a>&gt;</span>
<a name="l00043"></a>00043 <span class="preprocessor">#include &lt;<a class="code" href="a00200.html">libdirac_common/motion.h</a>&gt;</span>
<a name="l00044"></a>00044 <span class="preprocessor">#include &lt;<a class="code" href="a00212.html">libdirac_common/picture.h</a>&gt;</span>
<a name="l00045"></a>00045 <span class="preprocessor">#include &lt;<a class="code" href="a00202.html">util/instrumentation/libdirac_instrument/motion_colour.h</a>&gt;</span>
<a name="l00046"></a>00046 <span class="preprocessor">#include &lt;<a class="code" href="a00203.html">util/instrumentation/libdirac_instrument/motion_colour_arrows.h</a>&gt;</span>
<a name="l00047"></a>00047 <span class="preprocessor">#include &lt;<a class="code" href="a00224.html">util/instrumentation/libdirac_instrument/sad.h</a>&gt;</span>
<a name="l00048"></a>00048 <span class="preprocessor">#include &lt;<a class="code" href="a00228.html">util/instrumentation/libdirac_instrument/split_mode.h</a>&gt;</span>
<a name="l00049"></a>00049 <span class="preprocessor">#include &lt;<a class="code" href="a00218.html">util/instrumentation/libdirac_instrument/pred_mode.h</a>&gt;</span>
<a name="l00050"></a>00050 <span class="preprocessor">#include &lt;<a class="code" href="a00208.html">util/instrumentation/libdirac_instrument/overlay_symbols.h</a>&gt;</span>
<a name="l00051"></a>00051 <span class="preprocessor">#include &lt;<a class="code" href="a00193.html">util/instrumentation/libdirac_instrument/gm_inliers.h</a>&gt;</span>
<a name="l00052"></a>00052 
<a name="l00053"></a>00053 <span class="keyword">using</span> <a class="code" href="a00082.html" title="Class for all the motion estimation data.">dirac::MEData</a>;
<a name="l00054"></a>00054 <span class="keyword">using</span> <a class="code" href="a00096.html" title="Parameters for overlapped block motion compensation.">dirac::OLBParams</a>;
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 <span class="keyword">namespace </span>dirac_instr
<a name="l00057"></a>00057 {
<a name="l00058"></a><a class="code" href="a00207.html#411f70f5054d5ce859c7498cb17af976">00058</a> <span class="preprocessor">#define NO_REF -1</span>
<a name="l00059"></a>00059 <span class="preprocessor"></span>
<a name="l00061"></a><a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e">00061</a>     <span class="keyword">enum</span> <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e" title="Enumeration of options for instrumentation overlay.">OverlayOption</a>
<a name="l00062"></a>00062     {
<a name="l00063"></a><a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e4c5aa598cfe2dab22f9b14985dac5ad6">00063</a>         <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1eb3cdc28677712cd4b17fd9691d6dbcb1">motion_arrows</a>, <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e03197314d80d550d0e1209aea397bf37">motion_colour</a>, <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e4c5aa598cfe2dab22f9b14985dac5ad6">motion_colour_arrows</a>,
<a name="l00064"></a><a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e3a39fd6ee3723c0b3bb5496adf4d835c">00064</a>         <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e5ee08e576ecfaea13d9d3861faa44f86">gm_arrows</a>, <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1ee586d4f8e1a2e096ef0419947687836b">gm_colour</a>, <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e3a39fd6ee3723c0b3bb5496adf4d835c">gm_colour_arrows</a>,
<a name="l00065"></a><a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1eaf65c7bbc3fe09d253e082fd3f52e9f1">00065</a>         <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1ef62eda21fcb9f2a2a836726afe658c2f">gm_diff_arrows</a>, <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e09b11131765b7194062d5252c05b6b1e">gm_diff_colour</a>, <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1eaf65c7bbc3fe09d253e082fd3f52e9f1">gm_diff_colour_arrows</a>,
<a name="l00066"></a><a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e6e3668cb3606e1a19143cc092c476ef3">00066</a>         <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e74acb0fa60f87e4d766d554956444b47">gm_inliers</a>, <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e6e3668cb3606e1a19143cc092c476ef3">split_mode</a>, <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1ef8a78bba4fa93b25e2d33f655bffe4ca">SAD</a>, <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e9e896898c1c015a91230b0a0a760c598">pred_mode</a>
<a name="l00067"></a>00067     };
<a name="l00068"></a>00068 
<a name="l00070"></a><a class="code" href="a00101.html">00070</a>     <span class="keyword">class </span><a class="code" href="a00101.html" title="Class holding instrumentation overlay information.">OverlayParams</a>
<a name="l00071"></a>00071     {
<a name="l00072"></a>00072     <span class="keyword">public</span>:
<a name="l00073"></a>00073 
<a name="l00075"></a>00075         <span class="comment">//                                                        //</span>
<a name="l00076"></a>00076         <span class="comment">//    Assumes default constructor, copy constructor       //</span>
<a name="l00077"></a>00077         <span class="comment">//    and assignment =                                    //</span>
<a name="l00078"></a>00078         <span class="comment">//                                                        //</span>
<a name="l00080"></a>00080 <span class="comment"></span>        
<a name="l00083"></a><a class="code" href="a00101.html#df1914b342104341cec04c32bc4cc59d">00083</a>         <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e" title="Enumeration of options for instrumentation overlay.">OverlayOption</a> <a class="code" href="a00101.html#df1914b342104341cec04c32bc4cc59d" title="Get functions.">Option</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="a00101.html#6c95e9d4732fe1ddd26be9e6a47eb0bb" title="Instrumentation command line option.">m_option</a>;}
<a name="l00084"></a>00084 
<a name="l00086"></a><a class="code" href="a00101.html#f4dec313cb4996a367a377f7451306e7">00086</a>         <span class="keywordtype">int</span> <a class="code" href="a00101.html#f4dec313cb4996a367a377f7451306e7" title="Returns which reference is to be used.">Reference</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="a00101.html#4f7fa0de32daf112742df9f8bfb98f44" title="Reference picture.">m_ref</a>;}
<a name="l00087"></a>00087 
<a name="l00089"></a><a class="code" href="a00101.html#6b5994e118d93c4af488df8b69a39760">00089</a>         <span class="keywordtype">int</span> <a class="code" href="a00101.html#6b5994e118d93c4af488df8b69a39760" title="Returns true if input picture background is used, false if grey.">Background</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="a00101.html#3d95804b313b00d924666dbfdc0cc5da" title="Background - original luma or mid-grey.">m_bg</a>;}
<a name="l00090"></a>00090 
<a name="l00092"></a><a class="code" href="a00101.html#f703b817f84dd70f5ccfc6ba69f6e2c7">00092</a>         <span class="keywordtype">int</span> <a class="code" href="a00101.html#f703b817f84dd70f5ccfc6ba69f6e2c7" title="Returns true if colour legend is displayed.">Legend</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="a00101.html#b3001d15bfbb47d7771ea961830083fd" title="Instrumentation legend off.">m_legend</a>;}
<a name="l00093"></a>00093 
<a name="l00095"></a><a class="code" href="a00101.html#84d580207f6f5a169504e608ac58bf43">00095</a>         <span class="keywordtype">int</span> <a class="code" href="a00101.html#84d580207f6f5a169504e608ac58bf43" title="Returns clip value for motion vectors.">MvClip</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="a00101.html#60d4b819a7b9631ac8c648f614fb3846" title="Motion vector clip value.">m_mv_clip</a>;}
<a name="l00096"></a>00096 
<a name="l00098"></a><a class="code" href="a00101.html#1841347a546e26043996c0ac0495f9de">00098</a>         <span class="keywordtype">int</span> <a class="code" href="a00101.html#1841347a546e26043996c0ac0495f9de" title="Returns clip value for sad.">SADClip</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="a00101.html#0952b0dca95a612d37b414c0af148561" title="SAD clip value.">m_sad_clip</a>;}
<a name="l00099"></a>00099         
<a name="l00102"></a><a class="code" href="a00101.html#e7143cc9bc59d59b7d26c0b087a3462e">00102</a>         <span class="keywordtype">void</span> <a class="code" href="a00101.html#e7143cc9bc59d59b7d26c0b087a3462e" title="Set functions.">SetOption</a>(<a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e" title="Enumeration of options for instrumentation overlay.">OverlayOption</a> o) {<a class="code" href="a00101.html#6c95e9d4732fe1ddd26be9e6a47eb0bb" title="Instrumentation command line option.">m_option</a>=o;}
<a name="l00103"></a>00103 
<a name="l00105"></a><a class="code" href="a00101.html#d4232d038298ddefb0e1bec6dd572125">00105</a>         <span class="keywordtype">void</span> <a class="code" href="a00101.html#d4232d038298ddefb0e1bec6dd572125" title="Set which reference picture is to be used.">SetReference</a>(<span class="keywordtype">int</span> r) {<a class="code" href="a00101.html#4f7fa0de32daf112742df9f8bfb98f44" title="Reference picture.">m_ref</a>=r;}
<a name="l00106"></a>00106 
<a name="l00108"></a><a class="code" href="a00101.html#fa115846e3389b6974e658bf40d017c6">00108</a>         <span class="keywordtype">void</span> <a class="code" href="a00101.html#fa115846e3389b6974e658bf40d017c6" title="Set whether input picture or grey is used as background.">SetBackground</a>(<span class="keywordtype">bool</span> b) {<a class="code" href="a00101.html#3d95804b313b00d924666dbfdc0cc5da" title="Background - original luma or mid-grey.">m_bg</a>=b;}
<a name="l00109"></a>00109 
<a name="l00111"></a><a class="code" href="a00101.html#9d1d67417d1e5a1b9eb9df2d34c7d17e">00111</a>         <span class="keywordtype">void</span> <a class="code" href="a00101.html#9d1d67417d1e5a1b9eb9df2d34c7d17e" title="Set display of colour legend.">SetLegend</a>(<span class="keywordtype">bool</span> l) {<a class="code" href="a00101.html#b3001d15bfbb47d7771ea961830083fd" title="Instrumentation legend off.">m_legend</a>=l;}
<a name="l00112"></a>00112 
<a name="l00114"></a><a class="code" href="a00101.html#fecf15b85b95e91e50d5a873a593a3be">00114</a>         <span class="keywordtype">void</span> <a class="code" href="a00101.html#fecf15b85b95e91e50d5a873a593a3be" title="Set clip for motion vectors.">SetMvClip</a>(<span class="keywordtype">int</span> c) {<a class="code" href="a00101.html#60d4b819a7b9631ac8c648f614fb3846" title="Motion vector clip value.">m_mv_clip</a>=c;}
<a name="l00115"></a>00115 
<a name="l00117"></a><a class="code" href="a00101.html#3626ca88b1563662b4032db2b5bb6ee9">00117</a>         <span class="keywordtype">void</span> <a class="code" href="a00101.html#3626ca88b1563662b4032db2b5bb6ee9" title="Set clip for sad.">SetSADClip</a>(<span class="keywordtype">int</span> c) {<a class="code" href="a00101.html#0952b0dca95a612d37b414c0af148561" title="SAD clip value.">m_sad_clip</a>=c;}
<a name="l00118"></a>00118         
<a name="l00119"></a>00119     <span class="keyword">private</span>:
<a name="l00121"></a><a class="code" href="a00101.html#6c95e9d4732fe1ddd26be9e6a47eb0bb">00121</a>         <a class="code" href="a00235.html#e4384603fcfba735dd9d69fab4fe1c1e" title="Enumeration of options for instrumentation overlay.">OverlayOption</a> <a class="code" href="a00101.html#6c95e9d4732fe1ddd26be9e6a47eb0bb" title="Instrumentation command line option.">m_option</a>;
<a name="l00122"></a>00122 
<a name="l00124"></a><a class="code" href="a00101.html#4f7fa0de32daf112742df9f8bfb98f44">00124</a>         <span class="keywordtype">int</span> <a class="code" href="a00101.html#4f7fa0de32daf112742df9f8bfb98f44" title="Reference picture.">m_ref</a>;
<a name="l00125"></a>00125 
<a name="l00127"></a><a class="code" href="a00101.html#3d95804b313b00d924666dbfdc0cc5da">00127</a>         <span class="keywordtype">bool</span> <a class="code" href="a00101.html#3d95804b313b00d924666dbfdc0cc5da" title="Background - original luma or mid-grey.">m_bg</a>;
<a name="l00128"></a>00128 
<a name="l00130"></a><a class="code" href="a00101.html#b3001d15bfbb47d7771ea961830083fd">00130</a>         <span class="keywordtype">bool</span> <a class="code" href="a00101.html#b3001d15bfbb47d7771ea961830083fd" title="Instrumentation legend off.">m_legend</a>;
<a name="l00131"></a>00131 
<a name="l00133"></a><a class="code" href="a00101.html#60d4b819a7b9631ac8c648f614fb3846">00133</a>         <span class="keywordtype">int</span> <a class="code" href="a00101.html#60d4b819a7b9631ac8c648f614fb3846" title="Motion vector clip value.">m_mv_clip</a>;
<a name="l00134"></a>00134 
<a name="l00136"></a><a class="code" href="a00101.html#0952b0dca95a612d37b414c0af148561">00136</a>         <span class="keywordtype">int</span> <a class="code" href="a00101.html#0952b0dca95a612d37b414c0af148561" title="SAD clip value.">m_sad_clip</a>;
<a name="l00137"></a>00137     };
<a name="l00138"></a>00138 
<a name="l00140"></a><a class="code" href="a00100.html">00140</a>     <span class="keyword">class </span><a class="code" href="a00100.html" title="Class managing instrumentation overlay.">Overlay</a>
<a name="l00141"></a>00141     {
<a name="l00142"></a>00142     <span class="keyword">public</span>:
<a name="l00144"></a>00144         <a class="code" href="a00100.html#446026a39afeff274bbd7531ff52f5b7" title="constructor">Overlay</a>(<span class="keyword">const</span> <a class="code" href="a00101.html" title="Class holding instrumentation overlay information.">OverlayParams</a> &amp;, <a class="code" href="a00108.html" title="A class for encapsulating all the data relating to a picture.">Picture</a> &amp;);
<a name="l00145"></a>00145 
<a name="l00147"></a>00147         <a class="code" href="a00100.html#33e51b5eed1d14fcf0906eba5a3f46a7" title="Destructor.">~Overlay</a>();
<a name="l00148"></a>00148 
<a name="l00150"></a>00150         <span class="comment">//                                                        //</span>
<a name="l00151"></a>00151         <span class="comment">//    Assumes default copy constructor and assignment =   //</span>
<a name="l00152"></a>00152         <span class="comment">//                                                        //</span>
<a name="l00154"></a>00154 <span class="comment"></span>
<a name="l00155"></a>00155         <span class="keywordtype">void</span> <a class="code" href="a00100.html#c96f8c08f293e1e9428678f4670431c5">ProcessPicture</a>(<span class="keyword">const</span> <a class="code" href="a00082.html" title="Class for all the motion estimation data.">MEData</a> &amp;, <span class="keyword">const</span> <a class="code" href="a00096.html" title="Parameters for overlapped block motion compensation.">OLBParams</a> &amp;);
<a name="l00156"></a>00156 
<a name="l00157"></a>00157         <span class="keywordtype">void</span> <a class="code" href="a00100.html#c96f8c08f293e1e9428678f4670431c5">ProcessPicture</a>();
<a name="l00158"></a>00158         
<a name="l00159"></a>00159     <span class="keyword">private</span>:
<a name="l00160"></a>00160 
<a name="l00162"></a>00162         <span class="comment">/*</span>
<a name="l00163"></a>00163 <span class="comment">            Main overlay is carried out on a motion vector block by block basis</span>
<a name="l00164"></a>00164 <span class="comment">        */</span>
<a name="l00165"></a>00165         <span class="keywordtype">void</span> <a class="code" href="a00100.html#79bb09549db33db08485920068ee058f" title="Manages overlay based on command-line option.">DoOverlay</a>(<span class="keyword">const</span> <a class="code" href="a00082.html" title="Class for all the motion estimation data.">MEData</a> &amp;);
<a name="l00166"></a>00166 
<a name="l00168"></a>00168         <span class="comment">/*</span>
<a name="l00169"></a>00169 <span class="comment">            Difference picture formats use different chroma resolutions with</span>
<a name="l00170"></a>00170 <span class="comment">            respect to luma</span>
<a name="l00171"></a>00171 <span class="comment">        */</span>
<a name="l00172"></a>00172         <span class="keywordtype">void</span> <a class="code" href="a00100.html#308fcd6d6486a89fca86eb9d6bc77632" title="Calculates chroma sample factors.">CalculateFactors</a>(<span class="keyword">const</span> <a class="code" href="a00172.html#4a6c51c10f2eb04abc7209db7caff39f">ChromaFormat</a> &amp;);
<a name="l00173"></a>00173 
<a name="l00175"></a>00175         <span class="comment">/*</span>
<a name="l00176"></a>00176 <span class="comment">            Pictures must have an integer number of macroblocks, more</span>
<a name="l00177"></a>00177 <span class="comment">            macroblocks may have been used during encoding and hence the picture</span>
<a name="l00178"></a>00178 <span class="comment">            must be padded now in order for the correct macroblock (and motion</span>
<a name="l00179"></a>00179 <span class="comment">            vector block) size to be calculated</span>
<a name="l00180"></a>00180 <span class="comment">        */</span>
<a name="l00181"></a>00181         <span class="keywordtype">void</span> <a class="code" href="a00100.html#161b8fcbce374994bd8911af40259103" title="Calculates if picture requires padding.">PadPicture</a>(<span class="keyword">const</span> <a class="code" href="a00082.html" title="Class for all the motion estimation data.">MEData</a> &amp;);
<a name="l00182"></a>00182 
<a name="l00184"></a>00184         <span class="keywordtype">void</span> <a class="code" href="a00100.html#91266bd9d0aa36d3375a20c93482f6e0" title="Remove global motion from block motion.">GlobalMotionDifference</a>(<span class="keyword">const</span> <a class="code" href="a00082.html" title="Class for all the motion estimation data.">MEData</a> &amp;, <a class="code" href="a00234.html#f7bfef46e009be4bb8670d497278e957" title="MvArray is a two-D array of MVectors.">MvArray</a> &amp;);
<a name="l00185"></a>00185 
<a name="l00187"></a><a class="code" href="a00100.html#2148db72dd8e6bae50376ba053f019b7">00187</a>         <span class="keywordtype">int</span> <a class="code" href="a00100.html#2148db72dd8e6bae50376ba053f019b7" title="Temporal scaling factor for motion vectors.">m_mv_scale</a>;
<a name="l00188"></a>00188 
<a name="l00190"></a><a class="code" href="a00100.html#ad96b1515eef1cc09c694f451c5607a8">00190</a>         <span class="keywordtype">int</span> <a class="code" href="a00100.html#ad96b1515eef1cc09c694f451c5607a8" title="Local copy of reference offset.">m_ref</a>;
<a name="l00191"></a>00191 
<a name="l00193"></a><a class="code" href="a00100.html#cb6894279f30adc427a97398661a5079">00193</a>         <span class="keyword">const</span> <a class="code" href="a00101.html" title="Class holding instrumentation overlay information.">OverlayParams</a> <a class="code" href="a00100.html#cb6894279f30adc427a97398661a5079" title="Overlay parameters.">m_oparams</a>;
<a name="l00194"></a>00194 
<a name="l00196"></a><a class="code" href="a00100.html#4af0844a60c8b15c0a4006b2732cd17c">00196</a>         <a class="code" href="a00108.html" title="A class for encapsulating all the data relating to a picture.">Picture</a> &amp; <a class="code" href="a00100.html#4af0844a60c8b15c0a4006b2732cd17c" title="Local reference to picture.">m_picture</a>;
<a name="l00197"></a>00197 
<a name="l00199"></a><a class="code" href="a00100.html#5259c08692dc555a56d8eb6374c5a8ca">00199</a>         <a class="code" href="a00059.html" title="Class encapsulating parameters for drawing the picture.">DrawPictureMotionParams</a> <a class="code" href="a00100.html#5259c08692dc555a56d8eb6374c5a8ca" title="Parameters for drawing picture overlays.">m_draw_params</a>;
<a name="l00200"></a>00200     };
<a name="l00201"></a>00201 
<a name="l00202"></a>00202 } <span class="comment">// namespace dirac_instr</span>
<a name="l00203"></a>00203 
<a name="l00204"></a>00204 <span class="preprocessor">#endif</span>
<a name="l00205"></a>00205 <span class="preprocessor"></span>
</pre></div></div>
<hr>
<p align="center"><small>
&copy; 2004 British Broadcasting Corporation.
Dirac code licensed under the <a href="http://www.mozilla.org/MPL/">Mozilla Public License (MPL) Version 1.1</a>.<br>
HTML documentation generated by Dimitri van Heesch's
excellent <a href="http://www.doxygen.org">Doxygen</a> tool.
</small></p>
</body>
</html>