Changeset 23 in SHVCSoftware for branches/SHM-1.0-dev/source/Lib/TLibEncoder
- Timestamp:
- 30 Jan 2013, 21:09:30 (12 years ago)
- 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 1351 1351 for( UInt uiMergeCand = 0; uiMergeCand < numValidMergeCand; ++uiMergeCand ) 1352 1352 { 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 1353 1358 if(!(uiNoResidual==1 && mergeCandBuffer[uiMergeCand]==1)) 1354 1359 { … … 1402 1407 } 1403 1408 } 1409 #if REF_IDX_ME_ZEROMV 1410 } 1411 #endif 1404 1412 } 1405 1413 -
branches/SHM-1.0-dev/source/Lib/TLibEncoder/TEncSearch.cpp
r21 r23 3211 3211 for( UInt uiMergeCand = 0; uiMergeCand < numValidMergeCand; ++uiMergeCand ) 3212 3212 { 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 3213 3218 UInt uiCostCand = MAX_UINT; 3214 3219 UInt uiBitsCand = 0; … … 3234 3239 uiMergeIndex = uiMergeCand; 3235 3240 } 3241 #if REF_IDX_ME_ZEROMV 3242 } 3243 #endif 3236 3244 } 3237 3245 } … … 3420 3428 if(pcCU->getSlice()->getMvdL1ZeroFlag() && iRefList==1 && biPDistTemp < bestBiPDist) 3421 3429 { 3430 #if REF_IDX_ME_ZEROMV 3431 Bool bZeroMVILR = pcCU->xCheckZeroMVILRMvdL1Zero(iRefList, iRefIdxTemp, aaiMvpIdx[iRefList][iRefIdxTemp]); 3432 if(bZeroMVILR) 3433 { 3434 #endif 3422 3435 bestBiPDist = biPDistTemp; 3423 3436 bestBiPMvpL1 = aaiMvpIdx[iRefList][iRefIdxTemp]; 3424 3437 bestBiPRefIdxL1 = iRefIdxTemp; 3438 #if REF_IDX_ME_ZEROMV 3439 } 3440 #endif 3425 3441 } 3426 3442
Note: See TracChangeset for help on using the changeset viewer.