[x265] [PATCH] lowres : bug fix for extending the margin
Gopu Govindaswamy
gopu at multicorewareinc.com
Mon Oct 21 08:49:46 CEST 2013
# HG changeset patch
# User Gopu Govindaswamy <gopu at multicorewareinc.com>
# Date 1382338174 -19800
# Node ID c6ab2a90521c9fbadb10cfa766134fe7a2acf50b
# Parent fabb25ae4db4a06073decead3836521a14b5bde9
lowres : bug fix for extending the margin
before extending the margin initialize the src with getLumaAddr
diff -r fabb25ae4db4 -r c6ab2a90521c source/common/lowres.cpp
--- a/source/common/lowres.cpp Sat Oct 19 18:08:07 2013 +0800
+++ b/source/common/lowres.cpp Mon Oct 21 12:19:34 2013 +0530
@@ -160,6 +160,8 @@
}
/* extending right margin*/
+ src = orig->getLumaAddr();
+
if (2 * width > orig->getWidth())
{
for (y = 0; y < srcHeight; y++)
More information about the x265-devel
mailing list