Ignore:
Timestamp:
16 Mar 2015, 12:52:20 (9 years ago)
Author:
tech
Message:

Merged 13.1-dev2-Sony

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-13.1-dev0/source/Lib/TLibCommon/TComDataCU.cpp

    r1163 r1164  
    23882388    Int iPictureHeight = depthPicYuv->getHeight();
    23892389   
     2390#if !HS_DBBP_CLEAN_K0048
    23902391    Int iWidth  = uiWidth;
    23912392    Int iHeight = uiHeight;
     2393#endif
    23922394   
    23932395    Bool depthRefineFlag = false;
     
    24022404    }
    24032405   
     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
    24042410    Int depthPosX = Clip3(0,   iPictureWidth - iWidth,  iBlkX + ((cDv.getHor()+2)>>2));
    24052411    Int depthPosY = Clip3(0,   iPictureHeight- iHeight, iBlkY + ((cDv.getVer()+2)>>2));
     2412#endif
    24062413   
    24072414    pDepthPels = depthPicYuv->getLumaAddr() + depthPosX + depthPosY * uiDepthStride;
     
    41894196              }
    41904197            }
     4198#if !SHARP_SUBBLOCK_CLEAN_K0044
    41914199            if (iPUHeight + iPUWidth == 12)
    41924200            {
     
    41974205              }
    41984206            }
     4207#endif
    41994208
    42004209            iPartition ++;
     
    54115420  rcMv.setVer( min (iVerMax, max (iVerMin, rcMv.getVer())) );
    54125421}
     5422
     5423#if SONY_MV_V_CONST_C0078
     5424Void 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
    54135438
    54145439UInt TComDataCU::getIntraSizeIdx(UInt uiAbsPartIdx)
     
    69186943
    69196944              }
     6945#if !SHARP_SUBBLOCK_CLEAN_K0044
    69206946              if (iSPHeight + iSPWidth == 12)
    69216947              {
     
    69266952                }
    69276953              }
     6954#endif
    69286955              iPartition ++;
    69296956            }
Note: See TracChangeset for help on using the changeset viewer.