- Timestamp:
- 4 May 2013, 00:13:37 (12 years ago)
- Location:
- branches/SHM-2.0-dev/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibCommon/TComDataCU.cpp
r144 r150 4213 4213 4214 4214 #if AVC_SYNTAX && !ILP_DECODED_PICTURE 4215 #if !ILP_DECODED_PICTURE 4216 const Window &confBL = cBaseColPic->getPicYuvRec()->getConformanceWindow(); 4217 const Window &confEL = m_pcPic->getPicYuvRec()->getConformanceWindow(); 4218 4219 Int widthBL = m_pcSlice->getBaseColPic()->getPicYuvRec()->getWidth () - confBL.getWindowLeftOffset() - confBL.getWindowRightOffset(); 4220 Int heightBL = m_pcSlice->getBaseColPic()->getPicYuvRec()->getHeight() - confBL.getWindowTopOffset() - confBL.getWindowBottomOffset(); 4221 #endif 4215 4222 if( iBX >= widthBL || iBY >= heightBL ) //outside of the reference layer cropped picture 4216 4223 { -
branches/SHM-2.0-dev/source/Lib/TLibCommon/TComPic.cpp
r144 r150 116 116 return; 117 117 } 118 #if REF_IDX_FRAMEWORK 118 #if REF_IDX_FRAMEWORK && 0 119 119 Void TComPic::createWithOutYuv( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, TComSPS* pcSps, Bool bIsVirtual) 120 120 { -
branches/SHM-2.0-dev/source/Lib/TLibCommon/TComPic.h
r140 r150 103 103 Void create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, Window &conformanceWindow, Window &defaultDisplayWindow, 104 104 Int *numReorderPics, TComSPS* pcSps = NULL, Bool bIsVirtual = false ); 105 #if REF_IDX_FRAMEWORK 105 #if REF_IDX_FRAMEWORK && 0 106 106 Void createWithOutYuv( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, TComSPS* pcSps = NULL, Bool bIsVirtual = false ); 107 107 Void setPicYuvRec(TComPicYuv *pPicYuv) { m_apcPicYuv[1]=pPicYuv; } -
branches/SHM-2.0-dev/source/Lib/TLibDecoder/TDecTop.cpp
r137 r150 143 143 if(m_layerId>0) 144 144 { 145 g_bitDepthY = pcSPS->getBitDepthY(); 146 g_bitDepthC = pcSPS->getBitDepthC(); 147 g_uiMaxCUWidth = pcSPS->getMaxCUWidth(); 148 g_uiMaxCUHeight = pcSPS->getMaxCUHeight(); 149 g_uiMaxCUDepth = pcSPS->getMaxCUDepth(); 150 g_uiAddCUDepth = max (0, pcSPS->getLog2MinCodingBlockSize() - (Int)pcSPS->getQuadtreeTULog2MinSize() ); 151 145 152 Int numReorderPics[MAX_TLAYER]; 146 153 Window &conformanceWindow = pcSPS->getConformanceWindow(); … … 579 586 fstream* pFile = m_ppcTDecTop[0]->getBLReconFile(); 580 587 const Window &conf = pBLPic->getConformanceWindow(); 588 #if ILP_DECODED_PICTURE 589 UInt uiWidth = pBLPic->getPicYuvRec()->getWidth(); 590 UInt uiHeight = pBLPic->getPicYuvRec()->getHeight(); 591 #else 581 592 UInt uiWidth = pBLPic->getPicYuvRec()->getWidth() - conf.getWindowLeftOffset() - conf.getWindowRightOffset(); 582 593 UInt uiHeight = pBLPic->getPicYuvRec()->getHeight() - conf.getWindowTopOffset() - conf.getWindowBottomOffset(); 594 #endif 583 595 584 596 if( pFile->good() ) … … 1082 1094 #if AVC_SYNTAX 1083 1095 1084 pBLPic->create( m_ppcTDecTop[0]->getBLWidth(), m_ppcTDecTop[0]->getBLHeight(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, sps, true);1085 #else 1086 pBLPic->create( m_ppcTDecTop[0]->getBLWidth(), m_ppcTDecTop[0]->getBLHeight(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, NULL, true);1087 #endif 1088 #else 1089 pBLPic->create( m_ppcTDecTop[0]->getBLWidth(), m_ppcTDecTop[0]->getBLHeight(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, onformanceWindow, defaultDisplayWindow, numReorderPics, true);1096 pBLPic->create( m_ppcTDecTop[0]->getBLWidth(), m_ppcTDecTop[0]->getBLHeight(), sps->getMaxCUWidth(), sps->getMaxCUHeight(), sps->getMaxCUDepth(), conformanceWindow, defaultDisplayWindow, numReorderPics, sps, true); 1097 #else 1098 pBLPic->create( m_ppcTDecTop[0]->getBLWidth(), m_ppcTDecTop[0]->getBLHeight(), sps->getMaxCUWidth(), sps->getMaxCUHeight(), sps->getMaxCUDepth(), conformanceWindow, defaultDisplayWindow, numReorderPics, NULL, true); 1099 #endif 1100 #else 1101 pBLPic->create( m_ppcTDecTop[0]->getBLWidth(), m_ppcTDecTop[0]->getBLHeight(), sps->getMaxCUWidth(), sps->getMaxCUHeight(), sps->getMaxCUDepth(), onformanceWindow, defaultDisplayWindow, numReorderPics, true); 1090 1102 #endif 1091 1103 } -
branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncTop.cpp
r135 r150 1206 1206 if(m_layerId>0) 1207 1207 { 1208 g_bitDepthY = m_cSPS.getBitDepthY(); 1209 g_bitDepthC = m_cSPS.getBitDepthC(); 1210 g_uiMaxCUWidth = m_cSPS.getMaxCUWidth(); 1211 g_uiMaxCUHeight = m_cSPS.getMaxCUHeight(); 1212 g_uiMaxCUDepth = m_cSPS.getMaxCUDepth(); 1213 g_uiAddCUDepth = max (0, m_cSPS.getLog2MinCodingBlockSize() - (Int)m_cSPS.getQuadtreeTULog2MinSize() ); 1214 1208 1215 Int numReorderPics[MAX_TLAYER]; 1209 1216 Window &conformanceWindow = m_cSPS.getConformanceWindow();
Note: See TracChangeset for help on using the changeset viewer.