Changeset 1171 in 3DVCSoftware
- Timestamp:
- 5 Apr 2015, 22:52:36 (10 years ago)
- Location:
- branches/HTM-13.1-dev0
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-13.1-dev0/source/Lib/TLibCommon/TComSlice.cpp
r1170 r1171 598 598 Int i; 599 599 600 #if HHI_RES_PRED_K0052 601 m_pocsInCurrRPSs.clear(); 602 #endif 603 600 604 for(i=0; i < m_pcRPS->getNumberOfNegativePictures(); i++) 601 605 { … … 608 612 NumPocStCurr0++; 609 613 pcRefPic->setCheckLTMSBPresent(false); 614 #if HHI_RES_PRED_K0052 615 m_pocsInCurrRPSs.push_back( pcRefPic->getPOC() ); 616 #endif 610 617 } 611 618 } … … 621 628 NumPocStCurr1++; 622 629 pcRefPic->setCheckLTMSBPresent(false); 630 #if HHI_RES_PRED_K0052 631 m_pocsInCurrRPSs.push_back( pcRefPic->getPOC() ); 632 #endif 623 633 } 624 634 } … … 633 643 RefPicSetLtCurr[NumPocLtCurr] = pcRefPic; 634 644 NumPocLtCurr++; 645 #if HHI_RES_PRED_K0052 646 m_pocsInCurrRPSs.push_back( pcRefPic->getPOC() ); 647 #endif 635 648 } 636 649 if(pcRefPic==NULL) … … 642 655 643 656 Int numPocInterCurr = NumPocStCurr0 + NumPocStCurr1 + NumPocLtCurr; 657 #if HHI_RES_PRED_K0052 658 assert( numPocInterCurr == (Int) m_pocsInCurrRPSs.size() ); 659 #endif 644 660 numPocTotalCurr = numPocInterCurr + getNumActiveRefLayerPics( ); 645 661 assert( numPocTotalCurr == getNumRpsCurrTempList() ); … … 3782 3798 { 3783 3799 Int layerIdInNuh = getRefPicLayerId( i ); 3800 #if HHI_RES_PRED_K0052 3801 TComPic* picV = getIvPic( getIsDepth(), getVPS()->getViewIndex( layerIdInNuh ) ); 3802 assert( picV != NULL ); 3803 std::vector<Int> pocsInCurrRPSsPicV = picV->getSlice(0)->getPocsInCurrRPSs(); 3804 Bool refRpRefAvailFlag = false; 3805 for (Int idx = 0; idx < pocsInCurrRPSsPicV.size(); idx++) 3806 { 3807 if ( pocsInCurrRPSsPicV[idx] == prevPOC ) 3808 { 3809 refRpRefAvailFlag = true; 3810 break; 3811 } 3812 } 3813 3814 if (getFirstTRefIdx(eRefPicList) >= 0 && refRpRefAvailFlag ) 3815 #else 3784 3816 Int viewIdx = getVPS()->getViewId( layerIdInNuh ); 3785 3817 TComPic*pcPicPrev = ivPicLists->getPic(viewIdx, 0, prevPOC); 3786 3818 if (getFirstTRefIdx(eRefPicList) >= 0 && pcPicPrev && pcPicPrev->getSlice( 0 )->isReferenced()) 3819 #endif 3787 3820 { 3788 3821 m_arpRefPicAvailable[eRefPicList][layerIdInNuh] = true; -
branches/HTM-13.1-dev0/source/Lib/TLibCommon/TComSlice.h
r1170 r1171 2433 2433 UInt m_nARPStepNum; 2434 2434 Int m_aiFirstTRefIdx [2]; 2435 #if HHI_RES_PRED_K0052 2436 std::vector<Int> m_pocsInCurrRPSs; 2437 #endif 2435 2438 #endif 2436 2439 #if H_3D_IC … … 2781 2784 Void setFirstTRefIdx ( RefPicList e, Int i ) { m_aiFirstTRefIdx[e] = i; } 2782 2785 Bool getArpRefPicAvailable( RefPicList e, Int viewIdx) {return m_arpRefPicAvailable[e][getVPS()->getLayerIdInNuh(viewIdx, 0)]; } 2786 #if HHI_RES_PRED_K0052 2787 std::vector<Int> getPocsInCurrRPSs() { return m_pocsInCurrRPSs; }; 2788 #endif 2783 2789 #endif 2784 2790 Void setIsDepth ( Bool isDepth ) { m_isDepth = isDepth; } -
branches/HTM-13.1-dev0/source/Lib/TLibCommon/TypeDef.h
r1170 r1171 333 333 #define HHI_VIEW_ID_LIST_I5_J0107 0 334 334 #define HHI_INTER_COMP_PRED_K0052 1 335 #define HHI_RES_PRED_K0052 1 335 336 #define H_3D_ANNEX_SELECTION_FIX 1 336 337 -
branches/HTM-13.1-dev0/source/Lib/TLibDecoder/TDecTop.cpp
r1170 r1171 1094 1094 #endif 1095 1095 #endif 1096 #if HHI_RES_PRED_K0052 1097 pcSlice->setIvPicLists( m_ivPicLists ); 1098 #endif 1099 1096 1100 if (bNextSlice) 1097 1101 { … … 1129 1133 1130 1134 #if H_3D 1135 #if !HHI_RES_PRED_K0052 1131 1136 pcSlice->setIvPicLists( m_ivPicLists ); 1137 #endif 1132 1138 1133 1139 #if HHI_INTER_COMP_PRED_K0052
Note: See TracChangeset for help on using the changeset viewer.