[x265] [PATCH] tcomdatacu:remove unused setOutsideCUPart() function

Gopu Govindaswamy gopu at multicorewareinc.com
Tue Nov 5 12:03:42 CET 2013


# HG changeset patch
# User Gopu Govindaswamy <gopu at multicorewareinc.com>
# Date 1383649411 -19800
# Node ID a3754f543f500138058209a4618c56bab2791ca9
# Parent  1316071b3c5b70af54bc414022fab57a60164b11
tcomdatacu:remove unused setOutsideCUPart() function

diff -r 1316071b3c5b -r a3754f543f50 source/Lib/TLibCommon/TComDataCU.cpp
--- a/source/Lib/TLibCommon/TComDataCU.cpp	Tue Nov 05 15:56:31 2013 +0530
+++ b/source/Lib/TLibCommon/TComDataCU.cpp	Tue Nov 05 16:33:31 2013 +0530
@@ -531,19 +531,6 @@
     m_cuColocated[1] = cu->getCUColocated(REF_PIC_LIST_1);
 }
 
-void TComDataCU::setOutsideCUPart(uint32_t absPartIdx, uint32_t depth)
-{
-    uint32_t numPartition = m_numPartitions >> (depth << 1);
-    uint32_t sizeInUChar = sizeof(UChar) * numPartition;
-
-    UChar width  = g_maxCUWidth  >> depth;
-    UChar height = g_maxCUHeight >> depth;
-
-    memset(m_depth  + absPartIdx, depth,  sizeInUChar);
-    memset(m_width  + absPartIdx, width,  sizeInUChar);
-    memset(m_height + absPartIdx, height, sizeInUChar);
-}
-
 // --------------------------------------------------------------------------------------------------------------------
 // Copy
 // --------------------------------------------------------------------------------------------------------------------
diff -r 1316071b3c5b -r a3754f543f50 source/Lib/TLibCommon/TComDataCU.h
--- a/source/Lib/TLibCommon/TComDataCU.h	Tue Nov 05 15:56:31 2013 +0530
+++ b/source/Lib/TLibCommon/TComDataCU.h	Tue Nov 05 16:33:31 2013 +0530
@@ -191,7 +191,6 @@
     void          initCU(TComPic* pic, uint32_t cuAddr);
     void          initEstData(uint32_t depth, int qp);
     void          initSubCU(TComDataCU* cu, uint32_t partUnitIdx, uint32_t depth, int qp);
-    void          setOutsideCUPart(uint32_t absPartIdx, uint32_t depth);
 
     void          copySubCU(TComDataCU* cu, uint32_t partUnitIdx, uint32_t depth);
     void          copyInterPredInfoFrom(TComDataCU* cu, uint32_t absPartIdx, int picList);


More information about the x265-devel mailing list