Changeset 1208 in SHVCSoftware for branches/SHM-dev
- Timestamp:
- 8 Jul 2015, 21:20:10 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComPic.cpp
r1117 r1208 353 353 #endif 354 354 355 #if MFM_ENCCONSTRAINT356 355 Bool TComPic::checkSameRefInfo() 357 356 { … … 393 392 return( bSameRefInfo ); 394 393 } 395 #endif396 394 #endif //SVC_EXTENSION 397 395 -
branches/SHM-dev/source/Lib/TLibCommon/TComPic.h
r1057 r1208 214 214 Void initUpsampledMvField (); 215 215 #endif 216 #if MFM_ENCCONSTRAINT217 216 Bool checkSameRefInfo(); 218 #endif219 217 Void copyUpsampledPictureYuv(TComPicYuv* pcPicYuvIn, TComPicYuv* pcPicYuvOut); 220 218 #if Q0048_CGS_3D_ASYMLUT -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1207 r1208 3709 3709 } 3710 3710 3711 #if MFM_ENCCONSTRAINT3712 3711 TComPic* TComSlice::getBaseColPic( TComList<TComPic*>& rcListPic ) 3713 3712 { 3714 3713 return xGetRefPic( rcListPic, m_iPOC ); 3715 3714 } 3716 #endif3717 3715 3718 3716 Void TComSlice::setILRPic(TComPic **pcIlpPic) -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1207 r1208 2276 2276 TComPic* getBaseColPic (UInt refLayerIdc) { return m_pcBaseColPic[refLayerIdc]; } 2277 2277 TComPic** getBaseColPic () { return &m_pcBaseColPic[0]; } 2278 #if MFM_ENCCONSTRAINT2279 2278 TComPic* getBaseColPic( TComList<TComPic*>& rcListPic ); 2280 #endif2281 2279 2282 2280 Void setLayerId (UInt layerId) { m_layerId = layerId; } -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1207 r1208 101 101 102 102 /// normative encoder constraints -------- 103 #define MFM_ENCCONSTRAINT 1 ///< JCTVC-O0216: Encoder constraint for motion field mapping104 103 #define REF_IDX_ME_ZEROMV 1 ///< JCTVC-L0051: use zero motion for inter-layer reference picture (without fractional ME) 105 104 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1205 r1208 1759 1759 pcSlice->setRefPicList( m_cListPic, false, NULL); 1760 1760 } 1761 #if MFM_ENCCONSTRAINT 1761 1762 // motion field mapping constraint 1762 1763 if( pcSlice->getMFMEnabledFlag() ) 1763 1764 { … … 1774 1775 } 1775 1776 } 1776 #endif1777 1777 #endif 1778 1778 -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1207 r1208 1936 1936 // It is a requirement of bitstream conformance when the collocated picture, used for temporal motion vector prediction, is an inter-layer reference picture, 1937 1937 // VpsInterLayerMotionPredictionEnabled[ LayerIdxInVps[ currLayerId ] ][ LayerIdxInVps[ rLId ] ] shall be equal to 1, where rLId is set equal to nuh_layer_id of the inter-layer picture. 1938 if( refPic->isILR(m_layerId) && pcSlice->getVPS()->isMotionPredictionType( pcSlice->getVPS()->getLayerIdxInVps(m_layerId), refPic->getLayerIdx() ) 1939 #if MFM_ENCCONSTRAINT 1940 && pcSlice->getBaseColPic( *m_ppcTEncTop[refPic->getLayerIdx()]->getListPic() )->checkSameRefInfo() == true 1941 #endif 1942 ) 1938 if( refPic->isILR(m_layerId) && pcSlice->getVPS()->isMotionPredictionType( pcSlice->getVPS()->getLayerIdxInVps(m_layerId), refPic->getLayerIdx() ) 1939 && pcSlice->getBaseColPic( *m_ppcTEncTop[refPic->getLayerIdx()]->getListPic() )->checkSameRefInfo() == true ) 1943 1940 { 1944 1941 ColRefIdx = colIdx; … … 1959 1956 // VpsInterLayerMotionPredictionEnabled[ LayerIdxInVps[ currLayerId ] ][ LayerIdxInVps[ rLId ] ] shall be equal to 1, where rLId is set equal to nuh_layer_id of the inter-layer picture. 1960 1957 if( refPic->isILR(m_layerId) && pcSlice->getVPS()->isMotionPredictionType( pcSlice->getVPS()->getLayerIdxInVps(m_layerId), refPic->getLayerIdx() ) 1961 #if MFM_ENCCONSTRAINT 1962 && pcSlice->getBaseColPic( *m_ppcTEncTop[refPic->getLayerIdx()]->getListPic() )->checkSameRefInfo() == true 1963 #endif 1964 ) 1958 && pcSlice->getBaseColPic( *m_ppcTEncTop[refPic->getLayerIdx()]->getListPic() )->checkSameRefInfo() == true ) 1965 1959 { 1966 1960 ColRefIdx = colIdx;
Note: See TracChangeset for help on using the changeset viewer.