I went through the JM reference code but I was not able to understand it. Recently i implemented quarter pixel motion estimation. First I interpolated the whole reference frame upto quarter pixel level and stored this in a buffer. Then  I found the integer pixel motion vector using the previos frame as reference frame (non interpolated reference frame) and the search criterion i used was SAD. Then I performed the sub pixel refinement using the best integer pixel motion vector coordinates as center using the quarterly interpolated frame as reference. 
<br><br>U plz tell me whether this was correct or not.<br><br>Regards,<br>Mahesh.<br><br><div><span class="gmail_quote">On 3/28/07, <b class="gmail_sendername">Tomas Carnecky</b> &lt;<a href="mailto:tom@dbservice.com">tom@dbservice.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">mahesh k wrote:<br>&gt; I didnot get u exactly..Can u tell me in detail...
<br>&gt;<br><br>RTFM means &#39;Read The Fucking Manual&#39;, see[1]. He replaced the &#39;M&#39; with a<br>&#39;S&#39; which he afterwards explained to be, quote, &#39;sourcecode or<br>standard&#39;. That means, he was trying to tell you &#39;Read The F***
<br>sourcecode&#39; or Read The F*** standard&#39;.<br>IOW (you can use wikipedia, too,&nbsp;&nbsp;to look up what that means), he told<br>you to read the sourcecode (which is freely available) or the H.264<br>standard. The information you&#39;re looking for is in both locations,
<br>hence, quote, &#39;your choice&#39;.<br><br>&gt;<br>&gt; On 3/27/07, *Loren Merritt* &lt;<a href="mailto:lorenm@u.washington.edu">lorenm@u.washington.edu</a><br>&gt; &lt;mailto:<a href="mailto:lorenm@u.washington.edu">
lorenm@u.washington.edu</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; On Tue, 27 Mar 2007, mahesh k wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Can any one plz tell me how to choose the refernece frame for<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; integer level and quarter pixel motion estimation.
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; RTFS. (sourcecode or standard, your choice)<br>&gt;<br><br>tom<br><br>[1] <a href="http://en.wikipedia.org/wiki/RTFM">http://en.wikipedia.org/wiki/RTFM</a><br><br>--<br>This is the x264-devel mailing-list
<br>To unsubscribe, go to: <a href="http://developers.videolan.org/lists.html">http://developers.videolan.org/lists.html</a><br><br></blockquote></div><br>