Hi,<br>I tried the two patches posted by Gabriel and now x264 r999 works fine but in slow_mod for my <font size="2">Intel Core 2 Extreme X9770 supporting the following instructions: MMX SSE SSE2 SSE3 SSSE3 SSE4.1 EM64T</font> .<br>
So subme crash came from that.<br><br>The problem was something I can&#39;t explain:<br>i had to add brackets to the ifs of the patch <b>hadamar_slowmod4.patch</b><br><br>+ &nbsp; &nbsp; &nbsp; &nbsp;if (!(cpu&amp;X264_CPU_STACK_MOD4))<br>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>

+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;INIT4( hadamard_ac, _ssse3 );<br>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>and this<br><br>+ &nbsp; &nbsp; &nbsp; &nbsp;if (!(cpu&amp;X264_CPU_STACK_MOD4))<br>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;INIT4( hadamard_ac, _sse2 );<br>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>Don&#39;t ask me why... I know it sound crazy.<br>David<br><br><div class="gmail_quote">2008/10/24 Gabriel Bouvigne <span dir="ltr">&lt;<a href="mailto:gabriel.bouvigne@joost.com">gabriel.bouvigne@joost.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">David Sullivan a écrit :<br>
<div class="Ih2E3d"><br>
&gt; It seems that the patch is useful only if the call to ssd_plane comes from<br>
&gt; the function ssd_mb.<br>
&gt; In this case the variable named &quot;size&quot; ( static inline int ssd_plane( x264_t<br>
&gt; *h, int size, int p, int x, int y ) &nbsp;)<br>
&gt; has always (in my case) the value 0 that is h-&gt;pixf.hadamard_ac[size] =<br>
&gt; 0x0045db60 _x264_pixel_hadamard_ac_16x16_mmxext<br>
&gt; and no crash appens.<br>
&gt;<br>
&gt; If the call comes from x264_rd_cost_part function, the variable named &quot;size&quot;<br>
&gt; is set to 3 and the corresponding value of<br>
&gt; h-&gt;pixf.hadamard_ac[size] = 0x0045db60 _x264_pixel_hadamard_ac_16x16_ssse3<br>
&gt; and so it crashes.<br>
<br>
</div>Which imply that there is likely a compilation issue on your side, as<br>
the patch is disabling SSE2/3 versions of hadamard_ac.<br>
<br>
I tested on my side, and to me hadamard_slowmod4 patch and updated msvc<br>
workspace are all that are necessary to have trunk version working on an<br>
SSE2 processor when compiling with msvc.<br>
<br>
<br>
--<br>
<font color="#888888">Gabriel<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
x264-devel mailing list<br>
<a href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br>
<a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank">http://mailman.videolan.org/listinfo/x264-devel</a><br>
</div></div></blockquote></div><br>