Changeset 75 in 3DVCSoftware
- Timestamp:
- 8 Jun 2012, 19:27:26 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-3.0-Samsung/source/Lib/TLibCommon/TComDepthMapGenerator.cpp
r73 r75 1479 1479 pcPredDepthMap->getTopLeftSamplePos( pcCU->getAddr(), pcCU->getZorderIdxInCU() + uiPartAddr, iCurrPosX, iCurrPosY ); 1480 1480 #if SAIT_IMPROV_MOTION_PRED_M24829 // max disparity within PU 1481 int DiWidth=iCurrPosX+(iWidth >> m_uiSubSampExpX); 1482 int DiHeight=iCurrPosY+(iHeight >> m_uiSubSampExpY); 1483 int maxDepth=INT_MIN; 1484 for(int y=iCurrPosY; y<DiHeight ;y++) { 1485 for(int x=iCurrPosX; x<DiWidth; x++) { 1486 if(piPredDepthMap[ x + y * iCurrStride ] > maxDepth) { 1487 maxDepth = piPredDepthMap[ x + y * iCurrStride ]; 1488 } 1489 } 1481 Int DiWidth = iCurrPosX+(iWidth >> m_uiSubSampExpX); 1482 Int DiHeight = iCurrPosY+(iHeight >> m_uiSubSampExpY); 1483 Int maxDepth = MIN_INT; 1484 1485 for(Int y=iCurrPosY; y<DiHeight ;y++) 1486 { 1487 for(Int x=iCurrPosX; x<DiWidth; x++) 1488 { 1489 if(piPredDepthMap[ x + y * iCurrStride ] > maxDepth) 1490 { 1491 maxDepth = piPredDepthMap[ x + y * iCurrStride ]; 1492 } 1493 } 1490 1494 } 1491 1495 iCurrPosX += ( ( iWidth >> m_uiSubSampExpX ) - 1 ) >> 1;
Note: See TracChangeset for help on using the changeset viewer.