[x265] [PATCH] wrap getICRateNegDiff inside CHECKED_BUILD condition
santhoshini at multicorewareinc.com
santhoshini at multicorewareinc.com
Thu Feb 5 10:32:12 CET 2015
# HG changeset patch
# User Santhoshini Sekar<santhoshini at multicorewareinc.com>
# Date 1423128708 -19800
# Thu Feb 05 15:01:48 2015 +0530
# Node ID d7a8363cf1ba5187061b37ee25c89410aec2ba94
# Parent cd4117a34a19a76d0462c9a644ecc728d8e1c0ee
wrap getICRateNegDiff inside CHECKED_BUILD condition
diff -r cd4117a34a19 -r d7a8363cf1ba source/common/quant.cpp
--- a/source/common/quant.cpp Thu Feb 05 12:27:23 2015 +0530
+++ b/source/common/quant.cpp Thu Feb 05 15:01:48 2015 +0530
@@ -104,6 +104,7 @@
return rate;
}
+#if CHECKED_BUILD || _DEBUG
inline int getICRateNegDiff(uint32_t absLevel, const int* greaterOneBits, const int* levelAbsBits)
{
X265_CHECK(absLevel <= 2, "absLevel check failure\n");
@@ -117,6 +118,7 @@
rate = greaterOneBits[0];
return rate;
}
+#endif
inline int getICRateLessVlc(uint32_t absLevel, int32_t diffLevel, const uint32_t absGoRice)
{
More information about the x265-devel
mailing list