[x265] [PATCH] tcomslice:remove unused set methods

Gopu Govindaswamy gopu at multicorewareinc.com
Thu Oct 10 08:36:49 CEST 2013


# HG changeset patch
# User Gopu Govindaswamy <gopu at multicorewareinc.com>
# Date 1381386998 -19800
# Node ID 75a05ed704816fe1a0f45dbbe2723d438043a836
# Parent  8ae52f2b159c8378e981e369aa15c4c36db48f7c
tcomslice:remove unused set methods

diff -r 8ae52f2b159c -r 75a05ed70481 source/Lib/TLibCommon/TComSlice.cpp
--- a/source/Lib/TLibCommon/TComSlice.cpp	Thu Oct 10 01:15:11 2013 -0500
+++ b/source/Lib/TLibCommon/TComSlice.cpp	Thu Oct 10 12:06:38 2013 +0530
@@ -1074,11 +1074,6 @@
     return m_numberOfReferencePictureSets;
 }
 
-void TComRPSList::setNumberOfReferencePictureSets(int numberOfReferencePictureSets)
-{
-    m_numberOfReferencePictureSets = numberOfReferencePictureSets;
-}
-
 TComRefPicListModification::TComRefPicListModification()
     : m_bRefPicListModificationFlagL0(false)
     , m_bRefPicListModificationFlagL1(false)
diff -r 8ae52f2b159c -r 75a05ed70481 source/Lib/TLibCommon/TComSlice.h
--- a/source/Lib/TLibCommon/TComSlice.h	Thu Oct 10 01:15:11 2013 -0500
+++ b/source/Lib/TLibCommon/TComSlice.h	Thu Oct 10 12:06:38 2013 +0530
@@ -172,7 +172,6 @@
 
     TComReferencePictureSet* getReferencePictureSet(int referencePictureSetNum);
     int getNumberOfReferencePictureSets() const;
-    void setNumberOfReferencePictureSets(int numberOfReferencePictureSets);
 };
 
 /// SCALING_LIST class
@@ -238,8 +237,6 @@
 
     int getProfileSpace() const { return m_profileSpace; }
 
-    void setProfileSpace(int x) { m_profileSpace = x; }
-
     bool getTierFlag() const    { return m_tierFlag; }
 
     void setTierFlag(bool x)    { m_tierFlag = x; }
@@ -289,8 +286,6 @@
 
     bool getSubLayerLevelPresentFlag(int i) const { return m_subLayerLevelPresentFlag[i]; }
 
-    void setSubLayerLevelPresentFlag(int i, bool x) { m_subLayerLevelPresentFlag[i] = x; }
-
     ProfileTierLevel* getGeneralPTL() { return &m_generalPTL; }
 
     ProfileTierLevel* getSubLayerPTL(int i) { return &m_subLayerPTL[i]; }
@@ -443,10 +438,6 @@
 
     bool getCbrFlag(int layer, int cpbcnt, int nalOrVcl) { return m_HRD[layer].cbrFlag[cpbcnt][nalOrVcl]; }
 
-    void setNumDU(UInt value) { m_numDU = value; }
-
-    UInt getNumDU()           { return m_numDU; }
-
     bool getCpbDpbDelaysPresentFlag() { return getNalHrdParametersPresentFlag() || getVclHrdParametersPresentFlag(); }
 };
 
diff -r 8ae52f2b159c -r 75a05ed70481 source/encoder/frameencoder.cpp
--- a/source/encoder/frameencoder.cpp	Thu Oct 10 01:15:11 2013 -0500
+++ b/source/encoder/frameencoder.cpp	Thu Oct 10 12:06:38 2013 +0530
@@ -135,7 +135,6 @@
     m_sps.setNumLongTermRefPicSPS(0);
     if (m_cfg->getPictureTimingSEIEnabled() || m_cfg->getDecodingUnitInfoSEIEnabled())
     {
-        m_sps.getVuiParameters()->getHrdParameters()->setNumDU(0);
         m_sps.setHrdParameters(m_cfg->param.frameRate, 0, m_cfg->param.rc.bitrate, m_cfg->param.bframes > 0);
     }
     if (m_cfg->getBufferingPeriodSEIEnabled() || m_cfg->getPictureTimingSEIEnabled() || m_cfg->getDecodingUnitInfoSEIEnabled())


More information about the x265-devel mailing list