changeset 4195:a201bc951e10

TEncSearch: remove unused code
author Deepthi Devaki <deepthidevaki@multicorewareinc.com>
date Fri, 04 Oct 2013 15:25:15 +0530
parents 5b987ed0a557
children 88378feb4794
files source/Lib/TLibEncoder/TEncSearch.cpp
diffstat 1 files changed, 0 insertions(+-), 6 deletions(-) [+]
line wrap: on
line diff
--- a/source/Lib/TLibEncoder/TEncSearch.cpp	Fri Oct 04 15:40:48 2013 +0530
+++ b/source/Lib/TLibEncoder/TEncSearch.cpp	Fri Oct 04 15:25:15 2013 +0530
@@ -2279,7 +2279,6 @@ void TEncSearch::predInterSearch(TComDat
         UInt costbi = MAX_UINT;
         UInt costTemp = 0;
         UInt bitsTemp;
-        UInt bestBiPDist = MAX_INT;
         MV   mvValidList1;
         int  refIdxValidList1 = 0;
         UInt bitsValidList1 = MAX_UINT;
@@ -2326,11 +2325,6 @@ void TEncSearch::predInterSearch(TComDat
                     mvpIdx[refList][refIdxTmp] = cu->getMVPIdx(picList, partAddr);
                     mvpNum[refList][refIdxTmp] = cu->getMVPNum(picList, partAddr);
 
-                    if (cu->getSlice()->getMvdL1ZeroFlag() && refList == 1 && biPDistTemp < bestBiPDist)
-                    {
-                        bestBiPDist = biPDistTemp;
-                    }
-
                     bitsTemp += m_mvpIdxCost[mvpIdx[refList][refIdxTmp]][AMVP_MAX_NUM_CANDS];
 
                     if (refList == 1) // list 1