<div dir="ltr"><div dir="ltr"># HG changeset patch</div><div dir="ltr"># User Akil Ayyappan<<a href="mailto:akil@multicorewareinc.com" target="_blank">akil@multicorewareinc.com</a>></div><div dir="ltr"># Date 1551966566 -19800</div><div dir="ltr"># Thu Mar 07 19:19:26 2019 +0530</div><div dir="ltr"># Node ID bf2f1880f5ba6f264cdff9711f548801edd1960b</div><div dir="ltr"># Parent 0eccd62725b6a24ae27d52189c4a624dffdd7a07</div><div dir="ltr">Fix warnings and Win32 build errors for ssimDistortion primitive</div><div dir="ltr"><br></div><div>Patch has been pushed to default repo.</div><div><br></div><div>Thanks & Regards,</div><div>Dinesh</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 8, 2019 at 1:11 PM Akil <<a href="mailto:akil@multicorewareinc.com">akil@multicorewareinc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"># HG changeset patch</div><div dir="ltr"># User Akil Ayyappan<<a href="mailto:akil@multicorewareinc.com" target="_blank">akil@multicorewareinc.com</a>></div><div dir="ltr"># Date 1551966566 -19800</div><div dir="ltr"># Thu Mar 07 19:19:26 2019 +0530</div><div dir="ltr"># Node ID bf2f1880f5ba6f264cdff9711f548801edd1960b</div><div dir="ltr"># Parent 0eccd62725b6a24ae27d52189c4a624dffdd7a07</div><div dir="ltr">Fix warnings and Win32 build errors for ssimDistortion primitive</div><div dir="ltr"><br></div><div dir="ltr">diff -r 0eccd62725b6 -r bf2f1880f5ba source/common/pixel.cpp</div><div dir="ltr">--- a/source/common/pixel.cpp<span style="white-space:pre-wrap"> </span>Mon Mar 04 15:36:38 2019 +0530</div><div dir="ltr">+++ b/source/common/pixel.cpp<span style="white-space:pre-wrap"> </span>Thu Mar 07 19:19:26 2019 +0530</div><div dir="ltr">@@ -938,7 +938,7 @@</div><div dir="ltr"> static void ssimDist_c(const pixel* fenc, uint32_t fStride, const pixel* recon, intptr_t rstride, uint64_t *ssBlock, int shift, uint64_t *ac_k)</div><div dir="ltr"> {</div><div dir="ltr"> *ssBlock = 0;</div><div dir="ltr">- const uint32_t trSize = 1 << log2TrSize;</div><div dir="ltr">+ int trSize = 1 << log2TrSize;</div><div dir="ltr"> for (int y = 0; y < trSize; y++)</div><div dir="ltr"> {</div><div dir="ltr"> for (int x = 0; x < trSize; x++)</div><div dir="ltr">diff -r 0eccd62725b6 -r bf2f1880f5ba source/common/x86/pixel-a.asm</div><div dir="ltr">--- a/source/common/x86/pixel-a.asm<span style="white-space:pre-wrap"> </span>Mon Mar 04 15:36:38 2019 +0530</div><div dir="ltr">+++ b/source/common/x86/pixel-a.asm<span style="white-space:pre-wrap"> </span>Thu Mar 07 19:19:26 2019 +0530</div><div dir="ltr">@@ -15952,7 +15952,7 @@</div><div dir="ltr"> </div><div dir="ltr"> INIT_YMM avx2</div><div dir="ltr"> cglobal ssimDist4, 7, 8, 8</div><div dir="ltr">- mov r7d, 4</div><div dir="ltr">+ mov r5d, 4</div><div dir="ltr"> vpxor m4, m4 ;ssBlock</div><div dir="ltr"> vpxor m3, m3</div><div dir="ltr"> vpxor m7, m7 ;ac_k</div><div dir="ltr">@@ -15980,7 +15980,7 @@</div><div dir="ltr"> lea r0, [r0 + r1]</div><div dir="ltr"> lea r2, [r2 + r3]</div><div dir="ltr"> %endif</div><div dir="ltr">- dec r7d</div><div dir="ltr">+ dec r5d</div><div dir="ltr"> jnz .row</div><div dir="ltr"> vextracti128 xm5, m4, 1</div><div dir="ltr"> vpaddq xm4, xm5</div><div dir="ltr">@@ -15999,7 +15999,7 @@</div><div dir="ltr"> </div><div dir="ltr"> INIT_YMM avx2</div><div dir="ltr"> cglobal ssimDist8, 7, 8, 8</div><div dir="ltr">- mov r7d, 8</div><div dir="ltr">+ mov r5d, 8</div><div dir="ltr"> vpxor m4, m4 ;ssBlock</div><div dir="ltr"> vpxor m3, m3</div><div dir="ltr"> vpxor m7, m7 ;ac_k</div><div dir="ltr">@@ -16023,7 +16023,7 @@</div><div dir="ltr"> lea r0, [r0 + r1]</div><div dir="ltr"> lea r2, [r2 + r3]</div><div dir="ltr"> %endif</div><div dir="ltr">- dec r7d</div><div dir="ltr">+ dec r5d</div><div dir="ltr"> jnz .row</div><div dir="ltr"> vextracti128 xm5, m4, 1</div><div dir="ltr"> vpaddq xm4, xm5</div><div dir="ltr">@@ -16042,7 +16042,7 @@</div><div dir="ltr"> </div><div dir="ltr"> INIT_YMM avx2</div><div dir="ltr"> cglobal ssimDist16, 7, 8, 8</div><div dir="ltr">- mov r7d, 16</div><div dir="ltr">+ mov r5d, 16</div><div dir="ltr"> vpxor m4, m4 ;ssBlock</div><div dir="ltr"> vpxor m3, m3</div><div dir="ltr"> vpxor m7, m7 ;ac_k</div><div dir="ltr">@@ -16080,7 +16080,7 @@</div><div dir="ltr"> lea r0, [r0 + r1]</div><div dir="ltr"> lea r2, [r2 + r3]</div><div dir="ltr"> %endif</div><div dir="ltr">- dec r7d</div><div dir="ltr">+ dec r5d</div><div dir="ltr"> jnz .row</div><div dir="ltr"> vextracti128 xm5, m4, 1</div><div dir="ltr"> vpaddq xm4, xm5</div><div dir="ltr">@@ -16099,7 +16099,7 @@</div><div dir="ltr"> </div><div dir="ltr"> INIT_YMM avx2</div><div dir="ltr"> cglobal ssimDist32, 7, 8, 8 </div><div dir="ltr">- mov r7d, 32</div><div dir="ltr">+ mov r5d, 32</div><div dir="ltr"> vpxor m4, m4 ;ssBlock</div><div dir="ltr"> vpxor m3, m3</div><div dir="ltr"> vpxor m7, m7 ;ac_k</div><div dir="ltr">@@ -16163,7 +16163,7 @@</div><div dir="ltr"> lea r0, [r0 + r1]</div><div dir="ltr"> lea r2, [r2 + r3]</div><div dir="ltr"> %endif</div><div dir="ltr">- dec r7d</div><div dir="ltr">+ dec r5d</div><div dir="ltr"> jnz .row</div><div dir="ltr"> vextracti128 xm5, m4, 1</div><div dir="ltr"> vpaddq xm4, xm5</div><div dir="ltr">@@ -16182,7 +16182,7 @@</div><div dir="ltr"> </div><div dir="ltr"> INIT_YMM avx2</div><div dir="ltr"> cglobal ssimDist64, 7, 8, 8 </div><div dir="ltr">- mov r7d, 64</div><div dir="ltr">+ mov r5d, 64</div><div dir="ltr"> vpxor m4, m4 ;ssBlock</div><div dir="ltr"> vpxor m3, m3</div><div dir="ltr"> vpxor m7, m7 ;ac_k</div><div dir="ltr">@@ -16298,7 +16298,7 @@</div><div dir="ltr"> lea r0, [r0 + r1]</div><div dir="ltr"> lea r2, [r2 + r3]</div><div dir="ltr"> %endif</div><div dir="ltr">- dec r7d</div><div dir="ltr">+ dec r5d</div><div dir="ltr"> jnz .row</div><div dir="ltr"> vextracti128 xm5, m4, 1</div><div dir="ltr"> vpaddq xm4, xm5</div><div><br></div></div></div></div>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div>