- Timestamp:
- 28 Aug 2013, 19:22:45 (11 years ago)
- Location:
- branches/SHM-3.1-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComDataCU.cpp
r372 r375 1705 1705 UInt uiCUAddrBase, uiAbsPartAddrBase; 1706 1706 // the right reference layerIdc should be specified, currently it is set to m_layerId-1 1707 TComDataCU* pcTempCU = getBaseColCU(m_layerId - 1, uiAbsPartIdx, uiCUAddrBase, uiAbsPartAddrBase );1707 TComDataCU* pcTempCU = getBaseColCU(m_layerId - 1, uiAbsPartIdx, uiCUAddrBase, uiAbsPartAddrBase, 0 ); 1708 1708 1709 1709 if( pcTempCU->getPredictionMode( uiAbsPartAddrBase ) != MODE_INTRA ) … … 3947 3947 3948 3948 #if SVC_COL_BLK 3949 TComDataCU* TComDataCU::getBaseColCU( UInt refLayerIdc, UInt uiCuAbsPartIdx, UInt &uiCUAddrBase, UInt &uiAbsPartIdxBase )3949 TComDataCU* TComDataCU::getBaseColCU( UInt refLayerIdc, UInt uiCuAbsPartIdx, UInt &uiCUAddrBase, UInt &uiAbsPartIdxBase, Int iMotionMapping ) 3950 3950 { 3951 3951 UInt uiPelX = getCUPelX() + g_auiRasterToPelX[ g_auiZscanToRaster[uiCuAbsPartIdx] ]; 3952 3952 UInt uiPelY = getCUPelY() + g_auiRasterToPelY[ g_auiZscanToRaster[uiCuAbsPartIdx] ]; 3953 3953 3954 return getBaseColCU( refLayerIdc, uiPelX, uiPelY, uiCUAddrBase, uiAbsPartIdxBase );3955 } 3956 3957 TComDataCU* TComDataCU::getBaseColCU( UInt refLayerIdc, UInt uiPelX, UInt uiPelY, UInt &uiCUAddrBase, UInt &uiAbsPartIdxBase )3954 return getBaseColCU( refLayerIdc, uiPelX, uiPelY, uiCUAddrBase, uiAbsPartIdxBase, iMotionMapping ); 3955 } 3956 3957 TComDataCU* TComDataCU::getBaseColCU( UInt refLayerIdc, UInt uiPelX, UInt uiPelY, UInt &uiCUAddrBase, UInt &uiAbsPartIdxBase, Int iMotionMapping ) 3958 3958 { 3959 3959 TComPic* cBaseColPic = m_pcSlice->getBaseColPic(refLayerIdc); … … 3975 3975 3976 3976 #if N0139_POSITION_ROUNDING_OFFSET 3977 iBX += 4; 3978 iBY += 4; 3977 if( iMotionMapping == 1 ) 3978 { 3979 iBX += 4; 3980 iBY += 4; 3981 } 3979 3982 #endif 3980 3983 -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComDataCU.h
r345 r375 540 540 #if REF_IDX_FRAMEWORK 541 541 #if SVC_COL_BLK 542 TComDataCU* getBaseColCU( UInt refLayerIdc, UInt uiCuAbsPartIdx, UInt &uiCUAddrBase, UInt &uiAbsPartIdxBase );543 TComDataCU* getBaseColCU( UInt refLayerIdc, UInt uiPelX, UInt uiPelY, UInt &uiCUAddrBase, UInt &uiAbsPartIdxBase );542 TComDataCU* getBaseColCU( UInt refLayerIdc, UInt uiCuAbsPartIdx, UInt &uiCUAddrBase, UInt &uiAbsPartIdxBase, Int iMotionMapping = 0 ); 543 TComDataCU* getBaseColCU( UInt refLayerIdc, UInt uiPelX, UInt uiPelY, UInt &uiCUAddrBase, UInt &uiAbsPartIdxBase, Int iMotionMapping = 0 ); 544 544 Void scaleBaseMV( UInt refLayerIdc, TComMvField& rcMvFieldEnhance, TComMvField& rcMvFieldBase ); 545 545 #endif -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComPic.cpp
r372 r375 587 587 588 588 TComDataCU *pcColCU = 0; 589 pcColCU = pcCUDes->getBaseColCU(refLayerIdc, pelX + 8, pelY + 8, baseCUAddr, baseAbsPartIdx );589 pcColCU = pcCUDes->getBaseColCU(refLayerIdc, pelX + 8, pelY + 8, baseCUAddr, baseAbsPartIdx, 1); 590 590 591 591 if( pcColCU && (pcColCU->getPredictionMode(baseAbsPartIdx) != MODE_NONE) && (pcColCU->getPredictionMode(baseAbsPartIdx) != MODE_INTRA) ) //base layer unit not skip and invalid mode
Note: See TracChangeset for help on using the changeset viewer.