Changeset 462 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib
- Timestamp:
- 12 Nov 2013, 19:19:27 (11 years ago)
- Location:
- branches/SHM-4.0-dev/source/Lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r460 r462 3050 3050 } 3051 3051 3052 #if MFM_ENCCONSTRAINT 3053 TComPic* TComSlice::getBaseColPic( TComList<TComPic*>& rcListPic ) 3054 { 3055 #if POC_RESET_FLAG 3056 return xGetRefPic( rcListPic, m_bPocResetFlag ? 0 : m_iPOC ); 3057 #else 3058 return xGetRefPic( rcListPic, m_iPOC ); 3059 #endif 3060 } 3061 #endif 3062 3052 3063 #if REF_IDX_MFM 3053 3064 Void TComSlice::setRefPOCListILP( TComPic** ilpPic, TComPic** pcRefPicRL ) -
branches/SHM-4.0-dev/source/Lib/TLibCommon/TComSlice.h
r460 r462 1977 1977 TComPic* getBaseColPic (UInt refLayerIdc) { return m_pcBaseColPic[refLayerIdc]; } 1978 1978 TComPic** getBaseColPic () { return &m_pcBaseColPic[0]; } 1979 #if MFM_ENCCONSTRAINT 1980 TComPic* getBaseColPic( TComList<TComPic*>& rcListPic ); 1981 #endif 1979 1982 1980 1983 Void setLayerId (UInt layerId) { m_layerId = layerId; } -
branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecTop.cpp
r460 r462 1226 1226 Int refLayerId = pcSlice->getRefPic( pcSlice->getSliceType() == B_SLICE ? ( RefPicList )( 1 - pcSlice->getColFromL0Flag() ) : REF_PIC_LIST_0 , pcSlice->getColRefIdx() )->getLayerId(); 1227 1227 if( refLayerId != pcSlice->getLayerId() ) 1228 { 1229 TComPic * pColBasePic = pcSlice->getBaseColPic( refLayerId);1228 { 1229 TComPic* pColBasePic = pcSlice->getBaseColPic( *m_ppcTDecTop[refLayerId]->getListPic() ); 1230 1230 assert( pColBasePic->checkSameRefInfo() == true ); 1231 1231 } -
branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r461 r462 1182 1182 UInt ColFromL0Flag = pcSlice->getColFromL0Flag(); 1183 1183 UInt ColRefIdx = pcSlice->getColRefIdx(); 1184 1184 1185 for(Int colIdx = 0; colIdx < pcSlice->getNumRefIdx( RefPicList(1 - ColFromL0Flag) ); colIdx++) 1185 1186 { 1186 1187 if( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->isILR(m_layerId) 1187 1188 #if MFM_ENCCONSTRAINT 1188 && pcSlice->getBaseColPic( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->getLayerId() )->checkSameRefInfo() == true1189 && pcSlice->getBaseColPic( *m_ppcTEncTop[pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->getLayerId()]->getListPic() )->checkSameRefInfo() == true 1189 1190 #endif 1190 1191 ) … … 1203 1204 if( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->isILR(m_layerId) 1204 1205 #if MFM_ENCCONSTRAINT 1205 && pcSlice->getBaseColPic( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->getLayerId() )->checkSameRefInfo() == true1206 && pcSlice->getBaseColPic( *m_ppcTEncTop[pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->getLayerId()]->getListPic() )->checkSameRefInfo() == true 1206 1207 #endif 1207 1208 )
Note: See TracChangeset for help on using the changeset viewer.