[x265] [PATCH 1 of 6] clean up debug code in codeCoeffNxN()
Min Chen
chenm003 at 163.com
Wed Jun 17 01:31:14 CEST 2015
# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1434473157 25200
# Node ID f8538b22787c8ab0d1cf65446b7e438cb02d544d
# Parent be0ed447922cc81e809d296e75424bb71822aea7
clean up debug code in codeCoeffNxN()
---
source/encoder/entropy.cpp | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff -r be0ed447922c -r f8538b22787c source/encoder/entropy.cpp
--- a/source/encoder/entropy.cpp Tue Jun 16 11:15:03 2015 +0530
+++ b/source/encoder/entropy.cpp Tue Jun 16 09:45:57 2015 -0700
@@ -1749,10 +1749,6 @@
uint32_t numC1Flag = X265_MIN(numNonZero, C1FLAG_NUMBER);
X265_CHECK(numC1Flag > 0, "numC1Flag check failure\n");
- uint8_t baseCtxModX0[160], baseCtxModX1[160];
- memcpy(baseCtxModX0, m_contextState, sizeof(m_contextState));
- memcpy(baseCtxModX1, m_contextState, sizeof(m_contextState));
-
if (!m_bitIf)
{
uint32_t sum = primitives.costC1C2Flag(absCoeff, numC1Flag, baseCtxMod, (bIsLuma ? 0 : NUM_ABS_FLAG_CTX_LUMA - NUM_ONE_FLAG_CTX_LUMA) + (OFF_ABS_FLAG_CTX - OFF_ONE_FLAG_CTX) - 3 * ctxSet);
More information about the x265-devel
mailing list