<!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 --> <div class="navpath"><a class="el" href="a00234.html">dirac</a>::<a class="el" href="a00006.html">BiBlockHalfPel</a> </div> <div class="contents"> <h1>dirac::BiBlockHalfPel Class Reference</h1><!-- doxytag: class="dirac::BiBlockHalfPel" --><!-- doxytag: inherits="dirac::BiBlockDiff" -->A class for computing a bidirection difference for half-pel vectors. <p> <code>#include <<a class="el" href="a00196_source.html">me_utils.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for dirac::BiBlockHalfPel:</div> <div class="dynsection"> <p><center><img src="a00006.png" usemap="#dirac::BiBlockHalfPel_map" border="0" alt=""></center> <map name="dirac::BiBlockHalfPel_map"> <area href="a00004.html" alt="dirac::BiBlockDiff" shape="rect" coords="0,0,130,24"> </map> </div> <p> <a href="a00379.html">List of all members.</a><h2>Public Member Functions</h2> <ul> <li><a class="el" href="a00006.html#df32c238ffa25f29635f090bd215398a">BiBlockHalfPel</a> (const <a class="el" href="a00107.html">PicArray</a> &ref1, const <a class="el" href="a00107.html">PicArray</a> &ref2, const <a class="el" href="a00107.html">PicArray</a> &pic) <dl class="el"><dd class="mdescRight">Constructor, initialising the references and picture data. <a href="#df32c238ffa25f29635f090bd215398a"></a><br></dl><li>float <a class="el" href="a00006.html#7a59ed7ae4420793683720437932b046">Diff</a> (const <a class="el" href="a00012.html">BlockDiffParams</a> &dparams, const <a class="el" href="a00091.html">MVector</a> &mv1, const <a class="el" href="a00091.html">MVector</a> &mv2) <dl class="el"><dd class="mdescRight">Do the difference, returning SAD. <a href="#7a59ed7ae4420793683720437932b046"></a><br></dl></ul> <h2>Private Member Functions</h2> <ul> <li><a class="el" href="a00006.html#5c9961a3b151b310c181302158428e36">BiBlockHalfPel</a> (const <a class="el" href="a00006.html">BiBlockHalfPel</a> &cpy) <dl class="el"><dd class="mdescRight">Private, bodyless copy-constructor: class should not be copied. <a href="#5c9961a3b151b310c181302158428e36"></a><br></dl><li><a class="el" href="a00006.html">BiBlockHalfPel</a> & <a class="el" href="a00006.html#d3b8de263b0a4d5c657485d0fac2dc98">operator=</a> (const <a class="el" href="a00006.html">BiBlockHalfPel</a> &rhs) <dl class="el"><dd class="mdescRight">Private, bodyless assignment=: class should not be assigned. <a href="#d3b8de263b0a4d5c657485d0fac2dc98"></a><br></dl></ul> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="df32c238ffa25f29635f090bd215398a"></a><!-- doxytag: member="dirac::BiBlockHalfPel::BiBlockHalfPel" ref="df32c238ffa25f29635f090bd215398a" args="(const PicArray &ref1, const PicArray &ref2, const PicArray &pic)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">dirac::BiBlockHalfPel::BiBlockHalfPel </td> <td>(</td> <td class="paramtype">const <a class="el" href="a00107.html">PicArray</a> & </td> <td class="paramname"> <em>ref1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="a00107.html">PicArray</a> & </td> <td class="paramname"> <em>ref2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="a00107.html">PicArray</a> & </td> <td class="paramname"> <em>pic</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="5c9961a3b151b310c181302158428e36"></a><!-- doxytag: member="dirac::BiBlockHalfPel::BiBlockHalfPel" ref="5c9961a3b151b310c181302158428e36" args="(const BiBlockHalfPel &cpy)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">dirac::BiBlockHalfPel::BiBlockHalfPel </td> <td>(</td> <td class="paramtype">const <a class="el" href="a00006.html">BiBlockHalfPel</a> & </td> <td class="paramname"> <em>cpy</em> </td> <td> ) </td> <td><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="7a59ed7ae4420793683720437932b046"></a><!-- doxytag: member="dirac::BiBlockHalfPel::Diff" ref="7a59ed7ae4420793683720437932b046" args="(const BlockDiffParams &dparams, const MVector &mv1, const MVector &mv2)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">float dirac::BiBlockHalfPel::Diff </td> <td>(</td> <td class="paramtype">const <a class="el" href="a00012.html">BlockDiffParams</a> & </td> <td class="paramname"> <em>dparams</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="a00091.html">MVector</a> & </td> <td class="paramname"> <em>mv1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="a00091.html">MVector</a> & </td> <td class="paramname"> <em>mv2</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Do the difference, returning SAD <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>dparams</em> </td><td>block parameters </td></tr> <tr><td valign="top"></td><td valign="top"><em>mv1</em> </td><td>the motion vector being used for reference 1 </td></tr> <tr><td valign="top"></td><td valign="top"><em>mv2</em> </td><td>the motion vector being used for reference 2 </td></tr> </table> </dl> <p>Implements <a class="el" href="a00004.html#94e67a39388379a5e7714d393b6ec5a8">dirac::BiBlockDiff</a>.</p> </div> </div><p> <a class="anchor" name="d3b8de263b0a4d5c657485d0fac2dc98"></a><!-- doxytag: member="dirac::BiBlockHalfPel::operator=" ref="d3b8de263b0a4d5c657485d0fac2dc98" args="(const BiBlockHalfPel &rhs)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00006.html">BiBlockHalfPel</a>& dirac::BiBlockHalfPel::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="a00006.html">BiBlockHalfPel</a> & </td> <td class="paramname"> <em>rhs</em> </td> <td> ) </td> <td><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="a00196_source.html">me_utils.h</a></ul> </div> <hr> <p align="center"><small> © 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>