<div dir="ltr">pushed to master branch</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 18, 2022 at 8:49 AM Somu Vineela <<a href="mailto:somu@multicorewareinc.com">somu@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">From 36b088057f731d9b1ac8ac52df03fd95d2692430 Mon Sep 17 00:00:00 2001<br>From: Somu Vineela <<a href="mailto:somu@multicorewareinc.com" target="_blank">somu@multicorewareinc.com</a>><br>Date: Mon, 7 Mar 2022 10:13:08 +0530<br>Subject: [PATCH] Fix boundary case for Gaussian filter<br><br>---<br> source/encoder/slicetype.cpp | 2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br>diff --git a/source/encoder/slicetype.cpp b/source/encoder/slicetype.cpp<br>index e77f0ac70..1222a8511 100644<br>--- a/source/encoder/slicetype.cpp<br>+++ b/source/encoder/slicetype.cpp<br>@@ -184,7 +184,7 @@ void edgeFilter(Frame *curFrame, x265_param* param)<br>     {<br>         for (int colNum = 0; colNum < width; colNum++)<br>         {<br>-            if ((rowNum >= 2) && (colNum >= 2) && (rowNum != height - 2) && (colNum != width - 2)) //Ignoring the border pixels of the picture<br>+            if ((rowNum >= 2) && (colNum >= 2) && (rowNum < height - 2) && (colNum < width - 2)) //Ignoring the border pixels of the picture<br>             {<br>                 /*  5x5 Gaussian filter<br>                     [2   4   5   4   2]<br>-- <br>2.30.0.windows.1<br><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>