[x265] [PATCH] TComSlice : Removed Unused std::vector Variable
Gopu Govindaswamy
gopu at multicorewareinc.com
Wed Sep 4 13:36:09 CEST 2013
# HG changeset patch
# User Gopu Govindaswamy <gopu at multicorewareinc.com>
# Date 1378294554 -19800
# Node ID a42c1a758f1ffd183b4b7679d9ef0fb2049afc19
# Parent c35e5d8148f07bd13297cc7daa0c9b4f9e288f6a
TComSlice : Removed Unused std::vector Variable
diff -r c35e5d8148f0 -r a42c1a758f1f source/Lib/TLibCommon/TComSlice.h
--- a/source/Lib/TLibCommon/TComSlice.h Wed Sep 04 15:50:27 2013 +0530
+++ b/source/Lib/TLibCommon/TComSlice.h Wed Sep 04 17:05:54 2013 +0530
@@ -1425,7 +1425,6 @@
wpACDCParam m_weightACDCParam[3]; // [0:Y, 1:U, 2:V]
- std::vector<UInt> m_tileByteLocation;
UInt m_tileOffstForMultES;
UInt* m_substreamSizes;
@@ -1674,20 +1673,6 @@
void getWpAcDcParam(wpACDCParam *&wp);
void initWpAcDcParam();
- void setTileLocationCount(UInt cnt) { return m_tileByteLocation.resize(cnt); }
-
- UInt getTileLocationCount() { return (UInt)m_tileByteLocation.size(); }
-
- void setTileLocation(int idx, UInt location)
- {
- assert(idx < (int)m_tileByteLocation.size());
- m_tileByteLocation[idx] = location;
- }
-
- void addTileLocation(UInt location) { m_tileByteLocation.push_back(location); }
-
- UInt getTileLocation(int idx) { return m_tileByteLocation[idx]; }
-
void setTileOffstForMultES(UInt offset) { m_tileOffstForMultES = offset; }
UInt getTileOffstForMultES() { return m_tileOffstForMultES; }
diff -r c35e5d8148f0 -r a42c1a758f1f source/encoder/frameencoder.cpp
--- a/source/encoder/frameencoder.cpp Wed Sep 04 15:50:27 2013 +0530
+++ b/source/encoder/frameencoder.cpp Wed Sep 04 17:05:54 2013 +0530
@@ -608,7 +608,6 @@
m_sbacCoder.load(getSbacCoder(0));
slice->setTileOffstForMultES(0);
- slice->setTileLocationCount(0);
encodeSlice(pic, outStreams);
{
More information about the x265-devel
mailing list