<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 25, 2013 at 7:08 AM, <span dir="ltr"><<a href="mailto:praveen@multicorewareinc.com" target="_blank">praveen@multicorewareinc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User praveentiwari<br>
# Date 1372162110 -19800<br>
# Node ID 4e7a3fc1c49854ab89de035b6bc9690627463d69<br>
# Parent 2d4eb5e859db3ef478ac6483128a8445c5498283<br>
Fixed size issue in xDeQuant test code<br></blockquote><div><br></div><div style>Queued. Does this fix the test failures with 16bpp builds?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
diff -r 2d4eb5e859db -r 4e7a3fc1c498 source/test/mbdstharness.cpp<br>
--- a/source/test/mbdstharness.cpp Tue Jun 25 17:24:38 2013 +0530<br>
+++ b/source/test/mbdstharness.cpp Tue Jun 25 17:38:30 2013 +0530<br>
@@ -203,10 +203,12 @@<br>
<br>
unsigned int uiLog2TrSize = (rand() % 4) + 2;<br>
<br>
+ int cmp_size = sizeof(int) * iWidth * iWidth;<br>
+<br>
opt(8, mintbuf1 + j, mintbuf3, iWidth, iHeight, iPer, iRem, useScalingList, uiLog2TrSize, mintbuf2 + j); // g_bitDepthY = 8, g_bitDepthC = 8<br>
ref(8, mintbuf1 + j, mintbuf4, iWidth, iHeight, iPer, iRem, useScalingList, uiLog2TrSize, mintbuf2 + j);<br>
<br>
- if (memcmp(mintbuf3, mintbuf4, mem_cmp_size))<br>
+ if (memcmp(mintbuf3, mintbuf4, cmp_size))<br>
return false;<br>
<br>
j += 16;<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="http://mailman.videolan.org/listinfo/x265-devel" target="_blank">http://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Steve Borho
</div></div>