[x265] [PATCH] tcomslice: removed unused set methods in TComReferencePictureSet class
Gopu Govindaswamy
gopu at multicorewareinc.com
Thu Oct 10 07:21:52 CEST 2013
# HG changeset patch
# User Gopu Govindaswamy <gopu at multicorewareinc.com>
# Date 1381382503 -19800
# Node ID d9acf0b699e0a4d621304606038aa2792b27593c
# Parent edcc92f2b2abb88c03a9751334fc9a427b8d52f0
tcomslice: removed unused set methods in TComReferencePictureSet class
diff -r edcc92f2b2ab -r d9acf0b699e0 source/Lib/TLibCommon/TComSlice.cpp
--- a/source/Lib/TLibCommon/TComSlice.cpp Wed Oct 09 20:14:29 2013 -0500
+++ b/source/Lib/TLibCommon/TComSlice.cpp Thu Oct 10 10:51:43 2013 +0530
@@ -923,11 +923,6 @@
m_deltaPOC[bufferNum] = deltaPOC;
}
-void TComReferencePictureSet::setNumberOfPictures(int numberOfPictures)
-{
- m_numberOfPictures = numberOfPictures;
-}
-
int TComReferencePictureSet::getUsed(int bufferNum) const
{
return m_used[bufferNum];
@@ -963,16 +958,6 @@
m_bCheckLTMSB[bufferNum] = b;
}
-/** set the reference idc value at uiBufferNum entry to the value of iRefIdc
- * \param uiBufferNum
- * \param iRefIdc
- * \returns void
- */
-void TComReferencePictureSet::setRefIdc(int bufferNum, int refIdc)
-{
- m_refIdc[bufferNum] = refIdc;
-}
-
/** get the reference idc value at uiBufferNum
* \param uiBufferNum
* \returns int
diff -r edcc92f2b2ab -r d9acf0b699e0 source/Lib/TLibCommon/TComSlice.h
--- a/source/Lib/TLibCommon/TComSlice.h Wed Oct 09 20:14:29 2013 -0500
+++ b/source/Lib/TLibCommon/TComSlice.h Thu Oct 10 10:51:43 2013 +0530
@@ -45,7 +45,6 @@
#include "piclist.h"
#include <assert.h>
-#include <cstring>
//! \ingroup TLibCommon
//! \{
@@ -110,7 +109,6 @@
void setUsed(int bufferNum, bool used);
void setDeltaPOC(int bufferNum, int deltaPOC);
void setPOC(int bufferNum, int deltaPOC);
- void setNumberOfPictures(int numberOfPictures);
void setCheckLTMSBPresent(int bufferNum, bool b);
bool getCheckLTMSBPresent(int bufferNum);
@@ -119,35 +117,20 @@
int getPOC(int bufferNum) const;
int getNumberOfPictures() const;
- void setNumberOfNegativePictures(int number) { m_numberOfNegativePictures = number; }
-
int getNumberOfNegativePictures() const { return m_numberOfNegativePictures; }
- void setNumberOfPositivePictures(int number) { m_numberOfPositivePictures = number; }
-
int getNumberOfPositivePictures() const { return m_numberOfPositivePictures; }
- void setNumberOfLongtermPictures(int number) { m_numberOfLongtermPictures = number; }
-
int getNumberOfLongtermPictures() const { return m_numberOfLongtermPictures; }
- void setInterRPSPrediction(bool flag) { m_interRPSPrediction = flag; }
-
bool getInterRPSPrediction() const { return m_interRPSPrediction; }
- void setDeltaRIdxMinus1(int x) { m_deltaRIdxMinus1 = x; }
-
int getDeltaRIdxMinus1() const { return m_deltaRIdxMinus1; }
- void setDeltaRPS(int x) { m_deltaRPS = x; }
-
int getDeltaRPS() const { return m_deltaRPS; }
- void setNumRefIdc(int x) { m_numRefIdc = x; }
-
int getNumRefIdc() const { return m_numRefIdc; }
- void setRefIdc(int bufferNum, int refIdc);
int getRefIdc(int bufferNum) const;
void sortDeltaPOC();
More information about the x265-devel
mailing list