Changeset 721 in 3DVCSoftware for branches/HTM-8.2-dev0-MediaTek
- Timestamp:
- 28 Nov 2013, 11:36:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-8.2-dev0-MediaTek/source/Lib/TLibCommon/TComDataCU.cpp
r716 r721 8435 8435 // iLoopCan == 1 --> IvMCShift 8436 8436 8437 #if !MTK_SPIVMP_F0110 8437 8438 Int iBaseCUAddr; 8438 8439 Int iBaseAbsPartIdx; 8440 #endif 8439 8441 8440 8442 Int offsetW = (iLoopCan == 0) ? 0 : ( ((iWidth /2)*4) + 4 ); 8441 8443 Int offsetH = (iLoopCan == 0) ? 0 : ( ((iHeight/2)*4) + 4 ); 8442 8444 8445 #if MTK_SPIVMP_F0110 8446 iBasePosX = Clip3( 0, pcBaseRec->getWidth () - 1, iCurrPosX + ( (cDv.getHor() + offsetW + 2 ) >> 2 ) ); 8447 iBasePosY = Clip3( 0, pcBaseRec->getHeight() - 1, iCurrPosY + ( (cDv.getVer() + offsetH + 2 ) >> 2 ) ); 8448 #else 8443 8449 Int iBasePosX = Clip3( 0, pcBaseRec->getWidth () - 1, iCurrPosX + ( (cDv.getHor() + offsetW + 2 ) >> 2 ) ); 8444 8450 Int iBasePosY = Clip3( 0, pcBaseRec->getHeight() - 1, iCurrPosY + ( (cDv.getVer() + offsetH + 2 ) >> 2 ) ); 8451 #endif 8445 8452 pcBaseRec->getCUAddrAndPartIdx( iBasePosX , iBasePosY , iBaseCUAddr, iBaseAbsPartIdx ); 8446 8453 8454 #if MTK_SPIVMP_F0110 8455 pcBaseCU = pcBasePic->getCU( iBaseCUAddr ); 8456 #else 8447 8457 TComDataCU* pcBaseCU = pcBasePic->getCU( iBaseCUAddr ); 8458 #endif 8448 8459 if(!( pcBaseCU->getPredictionMode( iBaseAbsPartIdx ) == MODE_INTRA )) 8449 8460 {
Note: See TracChangeset for help on using the changeset viewer.