[x265] [PATCH 2 of 2] remove reduce SAO context initialize

Min Chen chenm003 at 163.com
Mon Nov 23 23:48:39 CET 2015


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1448318036 21600
# Node ID 5929430631acc14c2f7c0f3a8a2c5a1c5f32ee8b
# Parent  ef7e244c3e996c356e97c038c77b87aa7e7ab621
remove reduce SAO context initialize
---
 source/encoder/framefilter.cpp |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff -r ef7e244c3e99 -r 5929430631ac source/encoder/framefilter.cpp
--- a/source/encoder/framefilter.cpp	Mon Nov 23 16:33:51 2015 -0600
+++ b/source/encoder/framefilter.cpp	Mon Nov 23 16:33:56 2015 -0600
@@ -160,10 +160,6 @@
     SAOParam* saoParam = encData.m_saoParam;
     if (m_param->bEnableSAO)
     {
-        m_sao.m_entropyCoder[row].load(m_frameEncoder->m_initSliceContext);
-        m_sao.m_rdContexts[row].next.load(m_frameEncoder->m_initSliceContext);
-        m_sao.m_rdContexts[row].cur.load(m_frameEncoder->m_initSliceContext);
-
         m_sao.rdoSaoUnitRow(saoParam, row);
 
         // NOTE: Delay a row because SAO decide need top row pixels at next row, is it HM's bug?



More information about the x265-devel mailing list