- Timestamp:
- 9 Dec 2015, 18:45:39 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComTU.cpp
r1316 r1499 47 47 48 48 TComTU::TComTU(TComDataCU *pcCU, const UInt absPartIdxCU, const UInt cuDepth, const UInt initTrDepthRelCU) 49 #if SCALABLE_REXT 50 : mChromaFormat(pcCU->getSlice()->getChromaFormatIdc()), 51 #else 49 52 : mChromaFormat(pcCU->getSlice()->getSPS()->getChromaFormatIdc()), 53 #endif 50 54 mbProcessLastOfLevel(true), // does not matter. the top level is not 4 quadrants. 51 55 mCuDepth(cuDepth), -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1498 r1499 1225 1225 #endif 1226 1226 1227 #if SCALABLE_REXT 1228 const ChromaFormat chFmt = pcSlice->getChromaFormatIdc(); 1229 #else 1227 1230 const ChromaFormat chFmt = sps->getChromaFormatIdc(); 1231 #endif 1228 1232 const UInt numValidComp=getNumberValidComponents(chFmt); 1229 1233 const Bool bChroma=(chFmt!=CHROMA_400); … … 2425 2429 { 2426 2430 WPScalingParam *wp; 2431 #if SCALABLE_REXT 2432 const ChromaFormat chFmt = pcSlice->getChromaFormatIdc(); 2433 #else 2427 2434 const ChromaFormat chFmt = sps->getChromaFormatIdc(); 2435 #endif 2428 2436 const Int numValidComp = Int(getNumberValidComponents(chFmt)); 2429 2437 const Bool bChroma = (chFmt!=CHROMA_400); -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1495 r1499 633 633 #endif 634 634 m_cLoopFilter.create( sps->getMaxTotalCUDepth() ); 635 #if SCALABLE_REXT 636 m_cPrediction.initTempBuff(pSlice->getChromaFormatIdc()); 637 #else 635 638 m_cPrediction.initTempBuff(sps->getChromaFormatIdc()); 639 #endif 636 640 637 641
Note: See TracChangeset for help on using the changeset viewer.