Changeset 1164 in 3DVCSoftware for branches/HTM-13.1-dev0/source/Lib/TLibCommon/TComDataCU.cpp
- Timestamp:
- 16 Mar 2015, 12:52:20 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-13.1-dev0/source/Lib/TLibCommon/TComDataCU.cpp
r1163 r1164 2388 2388 Int iPictureHeight = depthPicYuv->getHeight(); 2389 2389 2390 #if !HS_DBBP_CLEAN_K0048 2390 2391 Int iWidth = uiWidth; 2391 2392 Int iHeight = uiHeight; 2393 #endif 2392 2394 2393 2395 Bool depthRefineFlag = false; … … 2402 2404 } 2403 2405 2406 #if HS_DBBP_CLEAN_K0048 2407 Int depthPosX = Clip3(0, iPictureWidth - 1, iBlkX + ((cDv.getHor()+2)>>2)); 2408 Int depthPosY = Clip3(0, iPictureHeight - 1, iBlkY + ((cDv.getVer()+2)>>2)); 2409 #else 2404 2410 Int depthPosX = Clip3(0, iPictureWidth - iWidth, iBlkX + ((cDv.getHor()+2)>>2)); 2405 2411 Int depthPosY = Clip3(0, iPictureHeight- iHeight, iBlkY + ((cDv.getVer()+2)>>2)); 2412 #endif 2406 2413 2407 2414 pDepthPels = depthPicYuv->getLumaAddr() + depthPosX + depthPosY * uiDepthStride; … … 4189 4196 } 4190 4197 } 4198 #if !SHARP_SUBBLOCK_CLEAN_K0044 4191 4199 if (iPUHeight + iPUWidth == 12) 4192 4200 { … … 4197 4205 } 4198 4206 } 4207 #endif 4199 4208 4200 4209 iPartition ++; … … 5411 5420 rcMv.setVer( min (iVerMax, max (iVerMin, rcMv.getVer())) ); 5412 5421 } 5422 5423 #if SONY_MV_V_CONST_C0078 5424 Void TComDataCU::checkMV_V (TComMv& rcMv, RefPicList eRefPicList, int iRefIdx ) 5425 { 5426 if ( getSlice()->getSPS()->getInterViewMvVertConstraintFlag() ) 5427 { 5428 if ( getSlice()->getRefPic( eRefPicList, iRefIdx )->getPOC() == getSlice()->getPOC() ) 5429 { 5430 //When inter_view_mv_vert_constraint_flag is equal to 1, 5431 //the vertical component of the motion vectors used for inter-layer prediction 5432 //shall be equal to or less than 56 in units of luma samples 5433 assert ( rcMv.getVer() <= (56<<2) ); 5434 } 5435 } 5436 } 5437 #endif 5413 5438 5414 5439 UInt TComDataCU::getIntraSizeIdx(UInt uiAbsPartIdx) … … 6918 6943 6919 6944 } 6945 #if !SHARP_SUBBLOCK_CLEAN_K0044 6920 6946 if (iSPHeight + iSPWidth == 12) 6921 6947 { … … 6926 6952 } 6927 6953 } 6954 #endif 6928 6955 iPartition ++; 6929 6956 }
Note: See TracChangeset for help on using the changeset viewer.