[x265] [PATCH 2 of 2] HM: Fix for #576: Context table for CBF
Min Chen
chenm003 at 163.com
Mon Jan 13 06:26:23 CET 2014
# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1389590771 -28800
# Node ID 465d12963efbf0368d9025b3d4f3d12d5bde7f3f
# Parent 3a393888cdec86e23a8b202bd3f96b95c3b6b429
HM: Fix for #576: Context table for CBF
diff -r 3a393888cdec -r 465d12963efb source/Lib/TLibCommon/ContextTables.h
--- a/source/Lib/TLibCommon/ContextTables.h Mon Jan 13 13:25:46 2014 +0800
+++ b/source/Lib/TLibCommon/ContextTables.h Mon Jan 13 13:26:11 2014 +0800
@@ -68,7 +68,7 @@
#define NUM_REF_NO_CTX 2 ///< number of context models for reference index
#define NUM_TRANS_SUBDIV_FLAG_CTX 3 ///< number of context models for transform subdivision flags
-#define NUM_QT_CBF_CTX 5 ///< number of context models for QT CBF
+#define NUM_QT_CBF_CTX 4 ///< number of context models for QT CBF
#define NUM_QT_ROOT_CBF_CTX 1 ///< number of context models for QT ROOT CBF
#define NUM_DELTA_QP_CTX 3 ///< number of context models for dQP
@@ -275,9 +275,9 @@
static const uint8_t
INIT_QT_CBF[3][2 * NUM_QT_CBF_CTX] =
{
- { 153, 111, CNU, CNU, CNU, 149, 92, 167, CNU, CNU, },
- { 153, 111, CNU, CNU, CNU, 149, 107, 167, CNU, CNU, },
- { 111, 141, CNU, CNU, CNU, 94, 138, 182, CNU, CNU, },
+ { 153, 111, CNU, CNU, 149, 92, 167, CNU, },
+ { 153, 111, CNU, CNU, 149, 107, 167, CNU, },
+ { 111, 141, CNU, CNU, 94, 138, 182, CNU, },
};
static const uint8_t
More information about the x265-devel
mailing list