Changeset 23 in SHVCSoftware for branches/SHM-1.0-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
30 Jan 2013, 21:09:30 (12 years ago)
Author:
interdigital
Message:
 
Location:
branches/SHM-1.0-dev/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-1.0-dev/source/Lib/TLibEncoder/TEncCu.cpp

    r20 r23  
    13511351    for( UInt uiMergeCand = 0; uiMergeCand < numValidMergeCand; ++uiMergeCand )
    13521352    {
     1353#if REF_IDX_ME_ZEROMV
     1354                Bool bZeroMVILR = rpcTempCU->xCheckZeroMVILRMerge(uhInterDirNeighbours[uiMergeCand], cMvFieldNeighbours[0 + 2*uiMergeCand], cMvFieldNeighbours[1 + 2*uiMergeCand]);
     1355                if(bZeroMVILR)
     1356                {
     1357#endif
    13531358        if(!(uiNoResidual==1 && mergeCandBuffer[uiMergeCand]==1))
    13541359        {
     
    14021407    }
    14031408    }
     1409#if REF_IDX_ME_ZEROMV
     1410        }
     1411#endif
    14041412   }
    14051413
  • branches/SHM-1.0-dev/source/Lib/TLibEncoder/TEncSearch.cpp

    r21 r23  
    32113211  for( UInt uiMergeCand = 0; uiMergeCand < numValidMergeCand; ++uiMergeCand )
    32123212  {
     3213#if REF_IDX_ME_ZEROMV
     3214          Bool bZeroMVILR = pcCU->xCheckZeroMVILRMerge(uhInterDirNeighbours[uiMergeCand], cMvFieldNeighbours[0 + 2*uiMergeCand], cMvFieldNeighbours[1 + 2*uiMergeCand]);
     3215          if(bZeroMVILR)
     3216          {
     3217#endif
    32133218      UInt uiCostCand = MAX_UINT;
    32143219      UInt uiBitsCand = 0;
     
    32343239        uiMergeIndex = uiMergeCand;
    32353240      }
     3241#if REF_IDX_ME_ZEROMV
     3242          }
     3243#endif
    32363244    }
    32373245}
     
    34203428        if(pcCU->getSlice()->getMvdL1ZeroFlag() && iRefList==1 && biPDistTemp < bestBiPDist)
    34213429        {
     3430#if REF_IDX_ME_ZEROMV
     3431                  Bool bZeroMVILR = pcCU->xCheckZeroMVILRMvdL1Zero(iRefList, iRefIdxTemp, aaiMvpIdx[iRefList][iRefIdxTemp]);
     3432                  if(bZeroMVILR)
     3433                  {
     3434#endif
    34223435          bestBiPDist = biPDistTemp;
    34233436          bestBiPMvpL1 = aaiMvpIdx[iRefList][iRefIdxTemp];
    34243437          bestBiPRefIdxL1 = iRefIdxTemp;
     3438#if REF_IDX_ME_ZEROMV
     3439                  }
     3440#endif
    34253441        }
    34263442
Note: See TracChangeset for help on using the changeset viewer.