Changeset 460 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncTop.cpp
- Timestamp:
- 12 Nov 2013, 03:47:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncTop.cpp
r448 r460 1539 1539 #endif 1540 1540 1541 #if SVC_EXTENSION1542 1541 #if !REPN_FORMAT_IN_VPS 1543 1542 Void TEncTop::xInitILRP() … … 1627 1626 } 1628 1627 #endif 1629 Void TEncTop::setILRPic(TComPic *pcPic) 1630 { 1631 for( Int i = 0; i < pcPic->getSlice(0)->getActiveNumILRRefIdx(); i++ ) 1632 { 1633 Int refLayerIdc = pcPic->getSlice(0)->getInterLayerPredLayerIdc(i); 1634 1635 if(m_cIlpPic[refLayerIdc]) 1636 { 1637 m_cIlpPic[refLayerIdc]->copyUpsampledPictureYuv(pcPic->getFullPelBaseRec(refLayerIdc), m_cIlpPic[refLayerIdc]->getPicYuvRec()); 1638 m_cIlpPic[refLayerIdc]->getSlice(0)->setPOC(pcPic->getPOC()); 1639 m_cIlpPic[refLayerIdc]->setLayerId(pcPic->getSlice(0)->getBaseColPic(refLayerIdc)->getLayerId()); //set reference layerId 1640 m_cIlpPic[refLayerIdc]->getPicYuvRec()->setBorderExtension(false); 1641 m_cIlpPic[refLayerIdc]->getPicYuvRec()->extendPicBorder(); 1642 for (Int j=0; j<m_cIlpPic[refLayerIdc]->getPicSym()->getNumberOfCUsInFrame(); j++) // set reference CU layerId 1643 { 1644 m_cIlpPic[refLayerIdc]->getPicSym()->getCU(j)->setLayerId(m_cIlpPic[refLayerIdc]->getLayerId()); 1645 } 1646 } 1647 } 1648 } 1649 #endif 1650 #endif 1628 #endif //SVC_EXTENSION 1651 1629 //! \}
Note: See TracChangeset for help on using the changeset viewer.