Changeset 259 in SHVCSoftware for branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon
- Timestamp:
- 5 Jun 2013, 03:48:35 (12 years ago)
- Location:
- branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon/TComPic.cpp
r254 r259 568 568 569 569 #if REF_IDX_MFM 570 Void TComPic::copyUpsampledMvField(TComPic* pcPicBase) 571 { 572 UInt refLayerIdc = pcPicBase->getLayerId(); 570 Void TComPic::copyUpsampledMvField(UInt refLayerIdc, TComPic* pcPicBase) 571 { 573 572 #if AVC_SYNTAX && !ILP_DECODED_PICTURE 574 573 const Window &confBL = pcPicBase->getConformanceWindow(); -
branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon/TComPic.h
r253 r259 124 124 125 125 #if REF_IDX_MFM 126 Void copyUpsampledMvField ( TComPic* pcPicBase );126 Void copyUpsampledMvField ( UInt refLayerIdc, TComPic* pcPicBase ); 127 127 Void initUpsampledMvField (); 128 128 #endif -
branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon/TComSlice.cpp
r256 r259 544 544 if(!(m_eNalUnitType >= NAL_UNIT_CODED_SLICE_BLA_W_LP && m_eNalUnitType <= NAL_UNIT_CODED_SLICE_CRA) && m_pcSPS->getMFMEnabledFlag()) 545 545 { 546 ilpPic[refLayerIdc]->copyUpsampledMvField( m_pcBaseColPic[refLayerIdc] );546 ilpPic[refLayerIdc]->copyUpsampledMvField( refLayerIdc, m_pcBaseColPic[refLayerIdc] ); 547 547 } 548 548 else … … 1094 1094 m_activeNumILRRefIdx = pSrc->m_activeNumILRRefIdx; 1095 1095 m_interLayerPredEnabledFlag = pSrc->m_interLayerPredEnabledFlag; 1096 m_numInterLayerRefPics = pSrc->m_numInterLayerRefPics;1097 1096 memcpy( m_interLayerPredLayerIdc, pSrc->m_interLayerPredLayerIdc, sizeof( m_interLayerPredLayerIdc ) ); 1098 1097 #elif REF_IDX_FRAMEWORK -
branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon/TComSlice.h
r253 r259 1532 1532 #if JCTVC_M0458_INTERLAYER_RPS_SIG 1533 1533 Bool m_interLayerPredEnabledFlag; 1534 Int m_numInterLayerRefPics;1535 1534 #endif 1536 1535 public: … … 1803 1802 Void setActiveNumILRRefIdx ( Int i ) { m_activeNumILRRefIdx = i; } 1804 1803 1805 Int getInterLayerPredLayerIdc (UInt Idx ) { return m_interLayerPredLayerIdc[Idx];}1806 Void setInterLayerPredLayerIdc (UInt val, UInt Idx) { m_interLayerPredLayerIdc[Idx] = val; }1804 Int getInterLayerPredLayerIdc (UInt layerIdx) { return m_interLayerPredLayerIdc[layerIdx];} 1805 Void setInterLayerPredLayerIdc (UInt refLayerIdc, UInt layerIdx) { m_interLayerPredLayerIdc[layerIdx] = refLayerIdc; } 1807 1806 1808 1807 Void setInterLayerPredEnabledFlag ( Bool val ) { m_interLayerPredEnabledFlag = val; } 1809 Bool getInterLayerPredEnabledFlag () { return m_interLayerPredEnabledFlag;} 1810 1811 Void setNumInterLayerRefPics ( UInt val ) { m_numInterLayerRefPics = val; } 1812 UInt getNumInterLayerRefPics () { return m_numInterLayerRefPics;} 1808 Bool getInterLayerPredEnabledFlag () { return m_interLayerPredEnabledFlag;} 1813 1809 #else 1814 1810 Void setNumILRRefIdx ( Int i ) { m_numILRRefIdx = i; }
Note: See TracChangeset for help on using the changeset viewer.