[x265] [PATCH] removed extra condition check in topSkipMinDepth()

ashok at multicorewareinc.com ashok at multicorewareinc.com
Fri Mar 20 14:07:22 CET 2015


# HG changeset patch
# User Ashok Kumar Mishra<ashok at multicorewareinc.com>
# Date 1426838358 -19800
#      Fri Mar 20 13:29:18 2015 +0530
# Node ID 7ba8ab020484302d95af3967c44cda2515d40c77
# Parent  ee667a53aeb475c5d14a75f1d537111e5654ff79
removed extra condition check in topSkipMinDepth()

diff -r ee667a53aeb4 -r 7ba8ab020484 source/encoder/analysis.cpp
--- a/source/encoder/analysis.cpp	Thu Mar 19 20:56:29 2015 -0500
+++ b/source/encoder/analysis.cpp	Fri Mar 20 13:29:18 2015 +0530
@@ -1805,7 +1805,7 @@
         previousQP = cu.m_qp[0];
         if (!cu.m_cuDepth[cuGeom.absPartIdx])
             return 0;
-        for (uint32_t i = 0; i < cuGeom.numPartitions && minDepth0; i += 4)
+        for (uint32_t i = 0; i < cuGeom.numPartitions; i += 4)
         {
             uint32_t d = cu.m_cuDepth[cuGeom.absPartIdx + i];
             minDepth0 = X265_MIN(d, minDepth0);


More information about the x265-devel mailing list