[x265] [PATCH] improve extendCURowColBorder function for 16bpp
dnyaneshwar at multicorewareinc.com
dnyaneshwar at multicorewareinc.com
Wed Dec 11 11:27:10 CET 2013
# HG changeset patch
# User Dnyaneshwar G <dnyaneshwar at multicorewareinc.com>
# Date 1386754139 -19800
# Wed Dec 11 14:58:59 2013 +0530
# Node ID 2c7f1457619550e56a7c4a87e53fdd786c745880
# Parent baabed8d77f1468d51ad7ab5af036d70d024824c
improve extendCURowColBorder function for 16bpp
diff -r baabed8d77f1 -r 2c7f14576195 source/common/ipfilter.cpp
--- a/source/common/ipfilter.cpp Wed Dec 11 12:49:20 2013 +0530
+++ b/source/common/ipfilter.cpp Wed Dec 11 14:58:59 2013 +0530
@@ -212,17 +212,8 @@
{
for (int y = 0; y < height; y++)
{
-#if HIGH_BIT_DEPTH
- for (int x = 0; x < marginX; x++)
- {
- txt[-marginX + x] = txt[0];
- txt[width + x] = txt[width - 1];
- }
-
-#else
::memset(txt - marginX, txt[0], marginX);
::memset(txt + width, txt[width - 1], marginX);
-#endif
txt += stride;
}
More information about the x265-devel
mailing list