[x265] [PATCH] tcomdatacu:remove unused copyInterPredInfoFrom() function
Gopu Govindaswamy
gopu at multicorewareinc.com
Tue Nov 5 12:07:00 CET 2013
# HG changeset patch
# User Gopu Govindaswamy <gopu at multicorewareinc.com>
# Date 1383649609 -19800
# Node ID 4f63624ce6b93f829960484746fbfab1b8d1dd85
# Parent a3754f543f500138058209a4618c56bab2791ca9
tcomdatacu:remove unused copyInterPredInfoFrom() function
diff -r a3754f543f50 -r 4f63624ce6b9 source/Lib/TLibCommon/TComDataCU.cpp
--- a/source/Lib/TLibCommon/TComDataCU.cpp Tue Nov 05 16:33:31 2013 +0530
+++ b/source/Lib/TLibCommon/TComDataCU.cpp Tue Nov 05 16:36:49 2013 +0530
@@ -610,46 +610,6 @@
m_cuMvField[1].linkToWithOffset(cu->getCUMvField(REF_PIC_LIST_1), part);
}
-// Copy inter prediction info from the biggest CU
-void TComDataCU::copyInterPredInfoFrom(TComDataCU* cu, uint32_t absPartIdx, int picList)
-{
- m_pic = cu->getPic();
- m_slice = cu->getSlice();
- m_cuAddr = cu->getAddr();
- m_absIdxInLCU = absPartIdx;
-
- int rastPartIdx = g_zscanToRaster[absPartIdx];
- m_cuPelX = cu->getCUPelX() + m_pic->getMinCUWidth() * (rastPartIdx % m_pic->getNumPartInWidth());
- m_cuPelY = cu->getCUPelY() + m_pic->getMinCUHeight() * (rastPartIdx / m_pic->getNumPartInWidth());
-
- m_cuAboveLeft = cu->getCUAboveLeft();
- m_cuAboveRight = cu->getCUAboveRight();
- m_cuAbove = cu->getCUAbove();
- m_cuLeft = cu->getCULeft();
-
- m_cuColocated[0] = cu->getCUColocated(REF_PIC_LIST_0);
- m_cuColocated[1] = cu->getCUColocated(REF_PIC_LIST_1);
-
- m_skipFlag = cu->getSkipFlag() + absPartIdx;
-
- m_partSizes = cu->getPartitionSize() + absPartIdx;
- m_predModes = cu->getPredictionMode() + absPartIdx;
- m_cuTransquantBypass = cu->getCUTransquantBypass() + absPartIdx;
- m_interDir = cu->getInterDir() + absPartIdx;
-
- m_depth = cu->getDepth() + absPartIdx;
- m_width = cu->getWidth() + absPartIdx;
- m_height = cu->getHeight() + absPartIdx;
-
- m_bMergeFlags = cu->getMergeFlag() + absPartIdx;
- m_mergeIndex = cu->getMergeIndex() + absPartIdx;
-
- m_mvpIdx[picList] = cu->getMVPIdx(picList) + absPartIdx;
- m_mvpNum[picList] = cu->getMVPNum(picList) + absPartIdx;
-
- m_cuMvField[picList].linkToWithOffset(cu->getCUMvField(picList), absPartIdx);
-}
-
// Copy small CU to bigger CU.
// One of quarter parts overwritten by predicted sub part.
void TComDataCU::copyPartFrom(TComDataCU* cu, uint32_t partUnitIdx, uint32_t depth, bool isRDObasedAnalysis)
diff -r a3754f543f50 -r 4f63624ce6b9 source/Lib/TLibCommon/TComDataCU.h
--- a/source/Lib/TLibCommon/TComDataCU.h Tue Nov 05 16:33:31 2013 +0530
+++ b/source/Lib/TLibCommon/TComDataCU.h Tue Nov 05 16:36:49 2013 +0530
@@ -193,7 +193,6 @@
void initSubCU(TComDataCU* cu, uint32_t partUnitIdx, uint32_t depth, int qp);
void copySubCU(TComDataCU* cu, uint32_t partUnitIdx, uint32_t depth);
- void copyInterPredInfoFrom(TComDataCU* cu, uint32_t absPartIdx, int picList);
void copyPartFrom(TComDataCU* cu, uint32_t partUnitIdx, uint32_t depth, bool isRDObasedAnalysis = true);
void copyToPic(UChar depth);
More information about the x265-devel
mailing list