<div dir="ltr">Pushed to default.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 1, 2019 at 5:45 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"># HG changeset patch<br># User Akil Ayyappan<<a href="mailto:akil@multicorewareinc.com" target="_blank">akil@multicorewareinc.com</a>><br># Date 1563881631 -19800<br>#      Tue Jul 23 17:03:51 2019 +0530<br># Node ID 747a67aa9aa551d611e78e3362bffaf749d2778a<br># Parent  459d3822c608948d9c15322b770f7f9b7e2a233e<br>Fix Win VC-11 build errors<br><br>diff -r 459d3822c608 -r 747a67aa9aa5 source/encoder/slicetype.cpp<br>--- a/source/encoder/slicetype.cpp       Fri Jul 26 10:53:09 2019 +0530<br>+++ b/source/encoder/slicetype.cpp      Tue Jul 23 17:03:51 2019 +0530<br>@@ -137,16 +137,16 @@<br>     }<br> <br> #if HIGH_BIT_DEPTH //10-bit build<br>-    float_t threshold = 1023;<br>+    float threshold = 1023;<br>     pixel whitePixel = 1023;<br> #else<br>-    float_t threshold = 255;<br>+    float threshold = 255;<br>     pixel whitePixel = 255;<br> #endif<br> #define PI 3.14159265 <br> <br>-    float_t gradientH = 0, gradientV = 0, radians = 0, theta = 0;<br>-    float_t gradientMagnitude = 0;<br>+    float gradientH = 0, gradientV = 0, radians = 0, theta = 0;<br>+    float gradientMagnitude = 0;<br>     pixel blackPixel = 0;<br>     edgePic = pic1 + curFrame->m_fencPic->m_lumaMarginY * stride + curFrame->m_fencPic->m_lumaMarginX;<br>     //Applying Sobel filter on the gaussian filtered picture<br>@@ -167,12 +167,12 @@<br>                 const intptr_t rowThree = (rowNum + 1)*stride, colThree = colNum + 1;<br>                 const intptr_t index = (rowNum*stride) + colNum;<br> <br>-                gradientH = (float_t)(-3 * refPic[rowOne + colOne] + 3 * refPic[rowOne + colThree] - 10 * refPic[rowTwo + colOne] + 10 * refPic[rowTwo + colThree] - 3 * refPic[rowThree + colOne] + 3 * refPic[rowThree + colThree]);<br>-                gradientV = (float_t)(-3 * refPic[rowOne + colOne] - 10 * refPic[rowOne + colTwo] - 3 * refPic[rowOne + colThree] + 3 * refPic[rowThree + colOne] + 10 * refPic[rowThree + colTwo] + 3 * refPic[rowThree + colThree]);<br>+                gradientH = (float)(-3 * refPic[rowOne + colOne] + 3 * refPic[rowOne + colThree] - 10 * refPic[rowTwo + colOne] + 10 * refPic[rowTwo + colThree] - 3 * refPic[rowThree + colOne] + 3 * refPic[rowThree + colThree]);<br>+                gradientV = (float)(-3 * refPic[rowOne + colOne] - 10 * refPic[rowOne + colTwo] - 3 * refPic[rowOne + colThree] + 3 * refPic[rowThree + colOne] + 10 * refPic[rowThree + colTwo] + 3 * refPic[rowThree + colThree]);<br> <br>                 gradientMagnitude = sqrtf(gradientH * gradientH + gradientV * gradientV);<br>                 radians = atan2(gradientV, gradientH);<br>-                theta = (float_t)((radians * 180) / PI);<br>+                theta = (float)((radians * 180) / PI);<br>                 if (theta < 0)<br>                     theta = 180 + theta;<br>                 edgeTheta[(rowNum*stride) + colNum] = (pixel)theta;<br></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><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font face="georgia, serif">Regards,</font><div><font face="georgia, serif">Aruna</font></div></div></div>