Changeset 95 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder
- Timestamp:
- 22 Mar 2013, 23:05:09 (12 years ago)
- Location:
- branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncGOP.cpp
r91 r95 571 571 for(Int colIdx = 0; colIdx < pcSlice->getNumRefIdx( RefPicList(1 - ColFromL0Flag) ); colIdx++) 572 572 { 573 if( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)-> getIsILR() )573 if( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->isILR() ) 574 574 { 575 575 ColRefIdx = colIdx; … … 584 584 for(Int colIdx = 0; colIdx < pcSlice->getNumRefIdx( RefPicList(1 - ColFromL0Flag) ); colIdx++) 585 585 { 586 if( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)-> getIsILR() )586 if( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->isILR() ) 587 587 { 588 588 ColRefIdx = colIdx; -
branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncSearch.cpp
r74 r95 3289 3289 #if (ENCODER_FAST_MODE) 3290 3290 TComPic* pcPic = pcCU->getSlice()->getRefPic( eRefPicList, iRefIdxTemp ); 3291 if( !testILR && pcPic-> getIsILR() && (ePartSize == SIZE_2Nx2N) )3291 if( !testILR && pcPic->isILR() && (ePartSize == SIZE_2Nx2N) ) 3292 3292 { 3293 3293 continue; … … 3533 3533 Bool testIter = true; 3534 3534 TComPic* pcPic = pcCU->getSlice()->getRefPic( RefPicList(1 - iRefList), iRefIdxBi[1 - iRefList] ); 3535 if(pcPic->getIsILR() && (ePartSize == SIZE_2Nx2N)) 3535 if(pcPic->isILR() && (ePartSize == SIZE_2Nx2N)) 3536 { 3536 3537 testIter = false; //the fixed part is ILR, skip this iteration 3538 } 3537 3539 if(testIter) 3538 3540 { … … 3544 3546 { 3545 3547 #if (ENCODER_FAST_MODE) 3546 Bool testRefIdx = true; 3547 pcPic = pcCU->getSlice()->getRefPic( RefPicList(iRefList) , iRefIdxTemp ); 3548 if(pcPic->getIsILR() && (ePartSize == SIZE_2Nx2N)) 3549 testRefIdx = false; //the refined part is ILR, skip this reference pic 3550 if(testRefIdx) 3551 { 3548 Bool testRefIdx = true; 3549 pcPic = pcCU->getSlice()->getRefPic( RefPicList(iRefList) , iRefIdxTemp ); 3550 if(pcPic->isILR() && (ePartSize == SIZE_2Nx2N)) 3551 { 3552 testRefIdx = false; //the refined part is ILR, skip this reference pic 3553 } 3554 if(testRefIdx) 3555 { 3552 3556 #endif 3553 3557 uiBitsTemp = uiMbBits[2] + uiMotBits[1-iRefList]; … … 3585 3589 } 3586 3590 #if (ENCODER_FAST_MODE) 3587 }3588 #endif3589 3591 } 3592 #endif 3593 } 3590 3594 #if (ENCODER_FAST_MODE) 3591 3595 } // for loop-iRefIdxTemp … … 4208 4212 // Do integer search 4209 4213 #if REF_IDX_ME_ZEROMV 4210 if( pcCU->getSlice()->getRefPic( eRefPicList, iRefIdxPred )-> getIsILR()) //ILR reference pic4214 if( pcCU->getSlice()->getRefPic( eRefPicList, iRefIdxPred )->isILR()) //ILR reference pic 4211 4215 { 4212 4216 rcMv.setZero(); //use Mv(0, 0) for integer ME … … 4241 4245 { 4242 4246 #if REF_IDX_ME_ZEROMV 4243 if( pcCU->getSlice()->getRefPic( eRefPicList, iRefIdxPred )-> getIsILR()) //ILR reference pic4247 if( pcCU->getSlice()->getRefPic( eRefPicList, iRefIdxPred )->isILR()) //ILR reference pic 4244 4248 { 4245 4249 xPatternSearchFracDIFMv0( pcCU, pcPatternKey, piRefY, iRefStride, &rcMv, cMvHalf, cMvQter, ruiCost, bBi ); … … 6214 6218 Bool foundILR = false; 6215 6219 for( Int refIdx = 0; refIdx < pcCU->getSlice()->getNumRefIdx(eRefPicList); refIdx++ ) 6216 if( pcCU->getSlice()->getRefPic(eRefPicList, refIdx)-> getIsILR() )6220 if( pcCU->getSlice()->getRefPic(eRefPicList, refIdx)->isILR() ) 6217 6221 { 6218 6222 iRefIdxTemp = refIdx;
Note: See TracChangeset for help on using the changeset viewer.