Changeset 1267 in 3DVCSoftware for branches/HTM-14.1-update-dev3-MediaTek2
- Timestamp:
- 13 Jul 2015, 04:10:34 (9 years ago)
- Location:
- branches/HTM-14.1-update-dev3-MediaTek2
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev3-MediaTek2/source/Lib/TLibCommon/TComDataCU.cpp
r1261 r1267 4489 4489 const TComSPS &sps=*(m_pcSlice->getSPS()); 4490 4490 Int iMvShift = 2; 4491 #if H_3D_IC4491 #if NH_3D_INTEGER_MV_DEPTH 4492 4492 if( getSlice()->getIsDepth() ) 4493 4493 iMvShift = 0; -
branches/HTM-14.1-update-dev3-MediaTek2/source/Lib/TLibCommon/TComPrediction.cpp
r1259 r1267 1920 1920 Int yFrac = mv->getVer() & ((1<<shiftVer)-1); 1921 1921 1922 #if H_3D_IC1922 #if NH_3D_INTEGER_MV_DEPTH 1923 1923 if( cu->getSlice()->getIsDepth() ) 1924 1924 { 1925 1925 refOffset = mv->getHor() + mv->getVer() * refStride; 1926 ref = refPic->get LumaAddr( cu->getAddr(), cu->getZorderIdxInCU() + partAddr ) + refOffset;1926 ref = refPic->getAddr(compID, cu->getCtuRsAddr(), cu->getZorderIdxInCtu() + partAddr ) + refOffset; 1927 1927 xFrac = 0; 1928 1928 yFrac = 0; -
branches/HTM-14.1-update-dev3-MediaTek2/source/Lib/TLibCommon/TypeDef.h
r1259 r1267 75 75 #define NH_3D_IV_MERGE 1 76 76 #define NH_3D_SPIVMP 1 77 #define NH_3D_INTEGER_MV_DEPTH 1 77 78 #endif 78 79 -
branches/HTM-14.1-update-dev3-MediaTek2/source/Lib/TLibEncoder/TEncSearch.cpp
r1259 r1267 5109 5109 5110 5110 m_pcRdCost->setPredictor ( *pcMvPred ); 5111 #if H_3D_IC5111 #if NH_3D_INTEGER_MV_DEPTH 5112 5112 if( pcCU->getSlice()->getIsDepth() ) 5113 5113 { … … 5118 5118 #endif 5119 5119 m_pcRdCost->setCostScale ( 2 ); 5120 #if H_3D_IC5120 #if NH_3D_INTEGER_MV_DEPTH 5121 5121 } 5122 5122 #endif … … 5145 5145 5146 5146 m_pcRdCost->getMotionCost( true, 0, pcCU->getCUTransquantBypass(uiPartAddr) ); 5147 #if H_3D_IC5147 #if NH_3D_INTEGER_MV_DEPTH 5148 5148 if( ! pcCU->getSlice()->getIsDepth() ) 5149 5149 { … … 5158 5158 rcMv += (cMvHalf <<= 1); 5159 5159 rcMv += cMvQter; 5160 #if H_3D_IC5160 #if NH_3D_INTEGER_MV_DEPTH 5161 5161 } 5162 5162 #endif 5163 5163 5164 5164 UInt uiMvBits = m_pcRdCost->getBits( rcMv.getHor(), rcMv.getVer() ); 5165 #if H_3D_IC5165 #if NH_3D_INTEGER_MV_DEPTH 5166 5166 if( pcCU->getSlice()->getIsDepth() ) 5167 5167 { … … 5177 5177 { 5178 5178 Int iMvShift = 2; 5179 #if H_3D_IC5179 #if NH_3D_INTEGER_MV_DEPTH 5180 5180 if( pcCU->getSlice()->getIsDepth() ) 5181 5181 { … … 5335 5335 UInt uiSearchRange = m_iSearchRange; 5336 5336 pcCU->clipMv( rcMv ); 5337 #if H_3D_IC5337 #if NH_3D_INTEGER_MV_DEPTH 5338 5338 if( ! pcCU->getSlice()->getIsDepth() ) 5339 5339 #endif … … 5355 5355 TComMv cMv = m_acMvPredictors[index]; 5356 5356 pcCU->clipMv( cMv ); 5357 #if H_3D_IC5357 #if NH_3D_INTEGER_MV_DEPTH 5358 5358 if( ! pcCU->getSlice()->getIsDepth() ) 5359 5359 { 5360 5360 #endif 5361 5361 cMv >>= 2; 5362 #if H_3D_IC5362 #if NH_3D_INTEGER_MV_DEPTH 5363 5363 } 5364 5364 #endif
Note: See TracChangeset for help on using the changeset viewer.