- Timestamp:
- 21 Oct 2013, 18:20:56 (11 years ago)
- Location:
- branches/HTM-8.2-dev0-Cleanup/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon/TComSlice.cpp
r651 r652 832 832 { 833 833 pocCRA = getPOC(); 834 associatedIRAPType = getNalUnitType(); 834 835 } 835 836 else if ( getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA ) // CRA picture found … … 1315 1316 else 1316 1317 { 1318 Int pocCycle = 1<<rpcPic->getPicSym()->getSlice(0)->getSPS()->getBitsForPOC(); 1319 Int curPoc = rpcPic->getPicSym()->getSlice(0)->getPOC() & (pocCycle-1); 1320 Int refPoc = pReferencePictureSet->getPOC(i) & (pocCycle-1); 1321 if(rpcPic->getIsLongTerm() && curPoc == refPoc) 1317 1322 { 1318 1323 isReference = 1; … … 1374 1379 else 1375 1380 { 1381 Int pocCycle = 1<<rpcPic->getPicSym()->getSlice(0)->getSPS()->getBitsForPOC(); 1382 Int curPoc = rpcPic->getPicSym()->getSlice(0)->getPOC() & (pocCycle-1); 1383 Int refPoc = pReferencePictureSet->getPOC(i) & (pocCycle-1); 1384 if(rpcPic->getIsLongTerm() && curPoc == refPoc && rpcPic->getSlice(0)->isReferenced()) 1376 1385 { 1377 1386 isAvailable = 1; -
branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibDecoder/TDecCAVLC.cpp
r651 r652 960 960 #endif 961 961 } 962 return; 962 963 } 963 964 -
branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibEncoder/TEncCu.cpp
r651 r652 1006 1006 #if H_3D_DIM_ENC 1007 1007 if (( rpcBestCU->getSlice()->getIsDepth() && rpcBestCU->getSlice()->isIRAP() ) ) 1008 #endif 1009 { 1008 { 1009 #endif 1010 1010 1011 // speedup for inter frames 1011 1012 if( rpcBestCU->getSlice()->getSliceType() == I_SLICE || … … 1059 1060 } 1060 1061 } 1062 #if H_3D_DIM_ENC 1061 1063 } 1062 1064 #endif 1063 1065 // test PCM 1064 1066 if(pcPic->getSlice(0)->getSPS()->getUsePCM()
Note: See TracChangeset for help on using the changeset viewer.