<DIV>Thanks ..</DIV>
<DIV>&nbsp;</DIV>
<DIV>^_^</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><BR><B><I>"Sergey A. Sablin" &lt;sergey@elecard.net.ru&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=938272303-30062005><FONT face=Arial color=#0000ff size=2>I belive you are using simd optimized version, so before using floating point you should clear FPU state with x264_emms(). But this will slowdown the performance, cause emms take about 80 tacts of CPU (at least on Intel)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=938272303-30062005><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=938272303-30062005><FONT face=Arial color=#0000ff size=2>Sergey.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=ru dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> x264-devel-bounce@videolan.org [mailto:x264-devel-bounce@videolan.org] <B>On Behalf Of </B>Ikseong Bae<BR><B>Sent:</B> Thursday, June 30, 2005 9:17 AM<BR><B>To:</B> x264-devel@videolan.org<BR><B>Subject:</B> [x264-devel] question : x264 bug...<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>I found the x264's bug.</DIV>
<DIV>&nbsp;</DIV>
<DIV>encoder/anaysyse.c...</DIV>
<DIV>&nbsp;</DIV>
<DIV>static void x264_mb_analyse_inter_p16x16( x264_t *h, x264_mb_analysis_t *a )&nbsp; </DIV>
<DIV>{</DIV>
<P><FONT style="BACKGROUND-COLOR: #ffffff">&nbsp;double&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f64Data=0;</FONT></P>
<P><FONT style="BACKGROUND-COLOR: #ffffff">&nbsp;f64Data = f64Data + 2;</FONT></P>
<DIV>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>In X264, I declared double type variable.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Whe the&nbsp;function is called in first, f64Data's value is 2.</DIV>
<DIV>But the fucnion is called in second, f64Data value is crashed !</DIV>
<DIV>&nbsp;</DIV>
<DIV>And I decalred int type variable.</DIV>
<DIV>
<DIV>static void x264_mb_analyse_inter_p16x16( x264_t *h, x264_mb_analysis_t *a )&nbsp; </DIV>
<DIV>{</DIV>
<P><FONT style="BACKGROUND-COLOR: #ffffff">&nbsp;int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;n32Data=0;</FONT></P>
<P><FONT style="BACKGROUND-COLOR: #ffffff">n32Data = n32Data + 2;</FONT></P>
<DIV>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>Above the source code is good. First, second, third... good</DIV>
<DIV>&nbsp;</DIV>
<DIV>I don't know the above problem.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best regards.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Bae</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></DIV>
<P>
<HR SIZE=1>
Yahoo! Sports<BR><A href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=33539/*http://football.fantasysports.yahoo.com?ovchn=YAH&amp;ovcpn=Integration&amp;ovcrn=Mail+footer&amp;ovrfd=YAH&amp;ovtac=AD">Rekindle the Rivalries. Sign up for Fantasy Football</A> </BLOCKQUOTE></BLOCKQUOTE><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com