Changeset 652 in 3DVCSoftware for branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon
- Timestamp:
- 21 Oct 2013, 18:20:56 (11 years ago)
- File:
-
- 1 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;
Note: See TracChangeset for help on using the changeset viewer.