Changeset 75 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib
- Timestamp:
- 11 Mar 2013, 23:06:21 (12 years ago)
- Location:
- branches/HM-10.0-dev-SHM/source/Lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComPic.cpp
r74 r75 70 70 , m_bSpatialEnhLayer( false ) 71 71 , m_pcFullPelBaseRec( NULL ) 72 #if REF_IDX_ME_ZEROMV || ENCODER_FAST_MODE || REF_IDX_MFM73 , m_bIsILR (false)74 #endif75 72 #endif 76 73 { -
branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComPic.h
r74 r75 94 94 Bool m_bSpatialEnhLayer; // whether current layer is a spatial enhancement layer, 95 95 TComPicYuv* m_pcFullPelBaseRec; // upsampled base layer recontruction for difference domain inter prediction 96 #if REF_IDX_ME_ZEROMV || ENCODER_FAST_MODE || REF_IDX_MFM97 Bool m_bIsILR; // Is ILR picture98 #endif99 96 #endif 100 97 … … 127 124 #endif 128 125 #if REF_IDX_ME_ZEROMV || ENCODER_FAST_MODE || REF_IDX_MFM 129 Void setIsILR( Bool bIsILR) {m_bIsILR = bIsILR;} 130 Bool getIsILR() {return m_bIsILR;} 126 Bool getIsILR( UInt refLayer = 0 ) {return (getIsLongTerm() && m_layerId == refLayer);} 131 127 #endif 132 128 -
branches/HM-10.0-dev-SHM/source/Lib/TLibDecoder/TDecTop.cpp
r74 r75 159 159 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, true); 160 160 #endif 161 #if REF_IDX_ME_ZEROMV || REF_IDX_MFM162 m_cIlpPic[j]->setIsILR(true);163 #endif164 161 for (Int i=0; i<m_cIlpPic[j]->getPicSym()->getNumberOfCUsInFrame(); i++) 165 162 { … … 178 175 m_cIlpPic[0]->copyUpsampledPictureYuv(pcPic->getFullPelBaseRec(), m_cIlpPic[0]->getPicYuvRec()); 179 176 m_cIlpPic[0]->getSlice(0)->setPOC(pcPic->getPOC()); 177 m_cIlpPic[0]->setLayerId(0); //set reference layerId 180 178 m_cIlpPic[0]->getPicYuvRec()->setBorderExtension(false); 181 179 m_cIlpPic[0]->getPicYuvRec()->extendPicBorder(); -
branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncTop.cpp
r74 r75 1127 1127 m_cIlpPic[j]->create(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, true); 1128 1128 #endif 1129 #if REF_IDX_ME_ZEROMV || ENCODER_FAST_MODE || REF_IDX_MFM1130 m_cIlpPic[j]->setIsILR(true);1131 #endif1132 1129 for (Int i=0; i<m_cIlpPic[j]->getPicSym()->getNumberOfCUsInFrame(); i++) 1133 1130 { … … 1146 1143 m_cIlpPic[0]->copyUpsampledPictureYuv(pcPic->getFullPelBaseRec(), m_cIlpPic[0]->getPicYuvRec()); 1147 1144 m_cIlpPic[0]->getSlice(0)->setPOC(pcPic->getPOC()); 1145 m_cIlpPic[0]->setLayerId(0); //set reference layerId 1148 1146 m_cIlpPic[0]->getPicYuvRec()->setBorderExtension(false); 1149 1147 m_cIlpPic[0]->getPicYuvRec()->extendPicBorder();
Note: See TracChangeset for help on using the changeset viewer.