Changeset 291 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibCommon
- Timestamp:
- 18 Jun 2013, 14:06:13 (12 years ago)
- Location:
- branches/SHM-2.1-dev/source/Lib/TLibCommon
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-dev/source/Lib/TLibCommon/TComDataCU.cpp
r288 r291 3583 3583 3584 3584 // use coldir. 3585 #if M0457_COL_PICTURE_SIGNALING 3586 TComPic *pColPic; 3587 if (m_layerId > 0 && getSlice()->getAltColIndicationFlag()) 3588 { 3589 pColPic = getSlice()->getMotionPredIlp(); 3590 } 3591 else 3592 { 3593 pColPic = getSlice()->getRefPic( RefPicList(getSlice()->isInterB() ? 1-getSlice()->getColFromL0Flag() : 0), getSlice()->getColRefIdx()); 3594 } 3595 #else 3585 3596 TComPic *pColPic = getSlice()->getRefPic( RefPicList(getSlice()->isInterB() ? 1-getSlice()->getColFromL0Flag() : 0), getSlice()->getColRefIdx()); 3597 #endif 3586 3598 TComDataCU *pColCU = pColPic->getCU( uiCUAddr ); 3587 3599 if(pColCU->getPic()==0||pColCU->getPartitionSize(uiPartUnitIdx)==SIZE_NONE) -
branches/SHM-2.1-dev/source/Lib/TLibCommon/TComSlice.cpp
r290 r291 135 135 m_numILRRefIdx = 0; 136 136 #endif 137 #if M0457_COL_PICTURE_SIGNALING 138 m_altColIndicationFlag = false; 139 m_colRefLayerIdx = 0; 140 #endif 137 141 #endif 138 142 #endif … … 545 549 #endif 546 550 { 551 #if M0457_COL_PICTURE_SIGNALING 552 if(!(m_eNalUnitType >= NAL_UNIT_CODED_SLICE_BLA_W_LP && m_eNalUnitType <= NAL_UNIT_CODED_SLICE_CRA) && getMFMEnabledFlag()) 553 #else 547 554 if(!(m_eNalUnitType >= NAL_UNIT_CODED_SLICE_BLA_W_LP && m_eNalUnitType <= NAL_UNIT_CODED_SLICE_CRA) && m_pcSPS->getMFMEnabledFlag()) 555 #endif 548 556 { 549 557 ilpPic[refLayerIdc]->copyUpsampledMvField( refLayerIdc, m_pcBaseColPic[refLayerIdc] ); -
branches/SHM-2.1-dev/source/Lib/TLibCommon/TComSlice.h
r290 r291 1038 1038 #endif 1039 1039 #if REF_IDX_MFM 1040 #if !M0457_COL_PICTURE_SIGNALING 1040 1041 Bool m_bMFMEnabledFlag; 1042 #endif 1041 1043 #endif 1042 1044 #if SCALED_REF_LAYER_OFFSETS … … 1180 1182 #endif 1181 1183 #if REF_IDX_MFM 1184 #if !M0457_COL_PICTURE_SIGNALING 1182 1185 Void setMFMEnabledFlag(Bool flag) {m_bMFMEnabledFlag = flag;} 1183 1186 Bool getMFMEnabledFlag() {return m_bMFMEnabledFlag;} 1187 #endif 1184 1188 #endif 1185 1189 #if SCALED_REF_LAYER_OFFSETS … … 1515 1519 TComPic* m_pcBaseColPic[MAX_LAYERS]; 1516 1520 TComPicYuv* m_pcFullPelBaseRec[MAX_LAYERS]; 1521 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING 1522 Int m_numMotionPredRefLayers; 1523 #if REF_IDX_MFM 1524 Bool m_bMFMEnabledFlag; 1525 Int m_colRefLayerIdx; 1526 Bool m_altColIndicationFlag; 1527 TComPic* m_pcIlpPic; 1528 #endif 1529 #endif 1517 1530 #endif 1518 1531 Bool m_bTLayerSwitchingFlag; … … 1834 1847 Void setNumILRRefIdx ( Int i ) { m_numILRRefIdx = i; } 1835 1848 #endif 1849 1850 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING 1851 Void setNumMotionPredRefLayers(int i) { m_numMotionPredRefLayers = i; } 1852 Int getNumMotionPredRefLayers() { return m_numMotionPredRefLayers; } 1853 #if REF_IDX_MFM 1854 Void setMFMEnabledFlag(Bool flag) { m_bMFMEnabledFlag = flag; } 1855 Bool getMFMEnabledFlag() { return m_bMFMEnabledFlag; } 1856 Void setColRefLayerIdx(Int i) { m_colRefLayerIdx = i; } 1857 Int getColRefLayerIdx() { return m_colRefLayerIdx; } 1858 Void setAltColIndicationFlag(Bool i) { m_altColIndicationFlag = i; } 1859 Bool getAltColIndicationFlag() { return m_altColIndicationFlag; } 1860 Void setMotionPredIlp(TComPic *ilpPic) { m_pcIlpPic = ilpPic; } 1861 TComPic* getMotionPredIlp() { return m_pcIlpPic; } 1862 #endif 1863 #endif 1864 1836 1865 #endif 1837 1866 -
branches/SHM-2.1-dev/source/Lib/TLibCommon/TypeDef.h
r290 r291 101 101 #define ILR_RESTR 1 ///< JCTVC-M0209 Inter-layer RPS and RPL 102 102 #endif 103 #define M0457_COL_PICTURE_SIGNALING 1 103 104 104 105 #else
Note: See TracChangeset for help on using the changeset viewer.