[x265] [PATCH] tcomsaq: remove unused get and set saolcuboundary methods

gopu at multicorewareinc.com gopu at multicorewareinc.com
Mon Mar 3 10:13:31 CET 2014


# HG changeset patch
# User Gopu Govindaswamy
# Date 1393838001 -19800
#      Mon Mar 03 14:43:21 2014 +0530
# Node ID 14bd4caff7bf936814396cb1bcd275a689b01036
# Parent  41b9b94c92f1bf9fb7460caaa6e419b85bf7dc21
tcomsaq: remove unused get and set saolcuboundary methods

diff -r 41b9b94c92f1 -r 14bd4caff7bf source/Lib/TLibCommon/TComSampleAdaptiveOffset.cpp
--- a/source/Lib/TLibCommon/TComSampleAdaptiveOffset.cpp	Mon Mar 03 14:27:21 2014 +0530
+++ b/source/Lib/TLibCommon/TComSampleAdaptiveOffset.cpp	Mon Mar 03 14:43:21 2014 +0530
@@ -515,10 +515,6 @@
     m_pic = pic;
 }
 
-void TComSampleAdaptiveOffset::destroyPicSaoInfo()
-{
-}
-
 /** sample adaptive offset process for one LCU crossing LCU boundary
  * \param   addr, iSaoType, yCbCr
  */
diff -r 41b9b94c92f1 -r 14bd4caff7bf source/Lib/TLibCommon/TComSampleAdaptiveOffset.h
--- a/source/Lib/TLibCommon/TComSampleAdaptiveOffset.h	Mon Mar 03 14:27:21 2014 +0530
+++ b/source/Lib/TLibCommon/TComSampleAdaptiveOffset.h	Mon Mar 03 14:43:21 2014 +0530
@@ -199,17 +199,12 @@
 
     void processSaoCu(int addr, int partIdx, int yCbCr); //!< LCU-basd SAO process without slice granularity
     void createPicSaoInfo(TComPic* pic);
-    void destroyPicSaoInfo();
 
     void resetLcuPart(SaoLcuParam* saoLcuParam);
     void convertQT2SaoUnit(SAOParam* saoParam, uint32_t partIdx, int yCbCr);
     void convertOnePart2SaoUnit(SAOParam *saoParam, uint32_t partIdx, int yCbCr);
     void processSaoUnitAll(SaoLcuParam* saoLcuParam, bool oneUnitFlag, int yCbCr);
     void processSaoUnitRow(SaoLcuParam* saoLcuParam, int idxY, int yCbCr);
-    void setSaoLcuBoundary(int bVal)  { m_saoLcuBoundary = bVal != 0; }
-
-    bool getSaoLcuBoundary()           { return m_saoLcuBoundary; }
-
     void setSaoLcuBasedOptimization(int bVal)  { m_saoLcuBasedOptimization = bVal != 0; }
 
     bool getSaoLcuBasedOptimization()           { return m_saoLcuBasedOptimization; }
diff -r 41b9b94c92f1 -r 14bd4caff7bf source/encoder/framefilter.cpp
--- a/source/encoder/framefilter.cpp	Mon Mar 03 14:27:21 2014 +0530
+++ b/source/encoder/framefilter.cpp	Mon Mar 03 14:43:21 2014 +0530
@@ -77,7 +77,6 @@
 
     if (top->param.bEnableSAO)
     {
-        m_sao.setSaoLcuBoundary(top->param.saoLcuBoundary);
         m_sao.setSaoLcuBasedOptimization(top->param.saoLcuBasedOptimization);
         m_sao.setMaxNumOffsetsPerPic(top->getMaxNumOffsetsPerPic());
         m_sao.create(top->param.sourceWidth, top->param.sourceHeight, g_maxCUWidth, g_maxCUHeight, m_cfg->getColorFormat());
@@ -120,10 +119,6 @@
 
 void FrameFilter::end()
 {
-    if (m_cfg->param.bEnableSAO)
-    {
-        m_sao.destroyPicSaoInfo();
-    }
 }
 
 void FrameFilter::processRow(int row)


More information about the x265-devel mailing list