Ignore:
Timestamp:
18 Feb 2015, 17:39:40 (10 years ago)
Author:
tech
Message:

Cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-13.0-dev0/source/Lib/TLibEncoder/TEncCu.cpp

    r1124 r1131  
    409409
    410410#if H_3D_QTLPC
    411 #if HHI_TOOL_PARAMETERS_I2_J0107
    412411  Bool  bLimQtPredFalg    = pcPic->getSlice(0)->getQtPredFlag();
    413 #else
    414     TComVPS *vps            = pcPic->getSlice(0)->getVPS();
    415   Bool  bLimQtPredFalg    = vps->getLimQtPredFlag(pcPic->getSlice(0)->getLayerId());
    416 #endif
    417412  TComPic *pcTexture      = rpcBestCU->getSlice()->getTexturePic();
    418413
     
    570565      {
    571566#if H_3D_ARP && H_3D_IV_MERGE
    572 #if HHI_TOOL_PARAMETERS_I2_J0107
    573567        if( rpcTempCU->getSlice()->getIvResPredFlag() || rpcTempCU->getSlice()->getIvMvPredFlag() )
    574 #else
    575         if( rpcTempCU->getSlice()->getVPS()->getUseAdvRP(rpcTempCU->getSlice()->getLayerId()) || rpcTempCU->getSlice()->getVPS()->getIvMvPredFlag(rpcTempCU->getSlice()->getLayerId()) )
    576 #endif
    577568#else
    578569#if H_3D_ARP
     
    598589#endif
    599590#if H_3D_NBDV_REF
    600 #if HHI_TOOL_PARAMETERS_I2_J0107
    601591          if( rpcTempCU->getSlice()->getDepthRefinementFlag() )
    602 #else
    603           if(rpcTempCU->getSlice()->getVPS()->getDepthRefinementFlag( rpcTempCU->getSlice()->getLayerIdInVps()))
    604 #endif
    605592            DvInfo.bDV = rpcTempCU->getDisMvpCandNBDV(&DvInfo, true);
    606593          else
     
    617604      }
    618605#if  H_3D_FAST_TEXTURE_ENCODING
    619 #if SEC_ARP_VIEW_REF_CHECK_J0037 || SEC_DBBP_VIEW_REF_CHECK_J0037
    620606      if(rpcTempCU->getSlice()->getViewIndex() && !rpcTempCU->getSlice()->getIsDepth() && rpcTempCU->getSlice()->getDefaultRefViewIdxAvailableFlag() )
    621 #else
    622       if(rpcTempCU->getSlice()->getViewIndex() && !rpcTempCU->getSlice()->getIsDepth())
    623 #endif
    624607      {
    625608        PartSize ePartTemp = rpcTempCU->getPartitionSize(0);
     
    684667         
    685668#if H_3D_DBBP
    686 #if SEC_DBBP_VIEW_REF_CHECK_J0037
    687 #if HHI_TOOL_PARAMETERS_I2_J0107
    688669          if( rpcTempCU->getSlice()->getDepthBasedBlkPartFlag() && rpcTempCU->getSlice()->getDefaultRefViewIdxAvailableFlag() )
    689 #else
    690           if( m_pcEncCfg->getUseDBBP() && rpcTempCU->getSlice()->getDefaultRefViewIdxAvailableFlag() )
    691 #endif
    692 #else
    693           if( m_pcEncCfg->getUseDBBP() )
    694 #endif
    695670          {
    696671            xCheckRDCostInterDBBP( rpcBestCU, rpcTempCU, false );
     
    739714#if H_3D_SINGLE_DEPTH
    740715    rpcTempCU->initEstData( uiDepth, iMinQP, isAddLowestQP  );
    741 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060
    742 #if ALIGN_J0060_J0107
    743716    if( rpcBestCU->getSlice()->getIntraSingleFlag() )
    744 #else
    745     if(rpcBestCU->getSlice()->getVPS()->getSingleDepthModeFlag(rpcBestCU->getSlice()->getLayerIdInVps()))
    746 #endif
    747 #else
    748     if(rpcBestCU->getSlice()->getApplySingleDepthMode())
    749 #endif
    750717    {
    751718      xCheckRDCostSingleDepth( rpcBestCU, rpcTempCU, SIZE_2Nx2N );
     
    19011868
    19021869#endif
    1903 #if !LGE_DDD_REMOVAL_J0042_J0030
    1904 #if H_3D_DDD
    1905     Int iDDDCand = rpcTempCU->getUseDDDCandIdx();
    1906     UChar ucDDDepth = rpcTempCU->getDDTmpDepth();
    1907     rpcTempCU->setUseDDD( false, 0, uhDepth );
    1908 #endif
    1909 #endif
    19101870
    19111871  for( UInt uiNoResidual = 0; uiNoResidual < iteration; ++uiNoResidual )
     
    19401900#if H_3D_VSP
    19411901          rpcTempCU->setVSPFlagSubParts( vspFlag[uiMergeCand], 0, 0, uhDepth );
    1942 #endif
    1943 #if !LGE_DDD_REMOVAL_J0042_J0030
    1944 #if H_3D_DDD
    1945           if( rpcTempCU->getSlice()->getIsDepth() && rpcTempCU->getSlice()->getViewIndex() != 0 && iDDDCand == uiMergeCand )
    1946           {
    1947               rpcTempCU->setUseDDD( true, 0, 0, uhDepth );
    1948               rpcTempCU->setDDDepthSubParts( ucDDDepth, 0, 0, uhDepth );
    1949           }
    1950           else
    1951           {
    1952               rpcTempCU->setUseDDD( false, 0, 0, uhDepth );
    1953           }
    1954 #endif
    19551902#endif
    19561903#if H_3D_SPIVMP
     
    20562003          xCheckBestMode(rpcBestCU, rpcTempCU, uhDepth);
    20572004#if H_3D_INTER_SDC
    2058 #if HHI_TOOL_PARAMETERS_I2_J0107
    20592005          if( rpcTempCU->getSlice()->getInterSdcFlag() && !uiNoResidual )
    2060 #else
    2061           if( rpcTempCU->getSlice()->getVPS()->getInterSDCFlag( rpcTempCU->getSlice()->getLayerIdInVps() ) && rpcTempCU->getSlice()->getIsDepth() && !uiNoResidual )
    2062 #endif
    20632006          {
    20642007            Double dOffsetCost[3] = {MAX_DOUBLE,MAX_DOUBLE,MAX_DOUBLE};
     
    21322075      {
    21332076#if H_3D_INTER_SDC
    2134 #if HHI_TOOL_PARAMETERS_I2_J0107
    21352077        if( rpcTempCU->getSlice()->getInterSdcFlag() )
    2136 #else
    2137         if( rpcTempCU->getSlice()->getVPS()->getInterSDCFlag( rpcTempCU->getSlice()->getLayerIdInVps() ) )
    2138 #endif
    21392078        {
    21402079          bestIsSkip = !rpcBestCU->getSDCFlag( 0 ) && ( rpcBestCU->getQtRootCbf(0) == 0 );
     
    22122151  UChar uhDepth = rpcTempCU->getDepth( 0 );
    22132152#if H_3D_ARP
    2214 #if !HHI_TOOL_PARAMETERS_I2_J0107
    2215   Int iLayerId    = rpcTempCU->getSlice()->getLayerId();
    2216 #endif
    22172153  Bool bFirstTime = true;
    22182154  Int nARPWMax    = rpcTempCU->getSlice()->getARPStepNum() - 1;
     
    22252161  for( Int nARPW = 0; nARPW <= nARPWMax; nARPW++ )
    22262162  {
    2227 #if HHI_TOOL_PARAMETERS_I2_J0107
    22282163    if( !bFirstTime && rpcTempCU->getSlice()->getIvResPredFlag() )
    2229 #else
    2230     if( bFirstTime == false && rpcTempCU->getSlice()->getVPS()->getUseAdvRP( iLayerId ) )
    2231 #endif
    22322164    {
    22332165      rpcTempCU->initEstData( rpcTempCU->getDepth(0), rpcTempCU->getQP(0),bTransquantBypassFlag );     
     
    22532185  rpcTempCU->setPartSizeSubParts  ( ePartSize,  0, uhDepth );
    22542186  rpcTempCU->setPredModeSubParts  ( MODE_INTER, 0, uhDepth );
    2255 #if !LGE_DDD_REMOVAL_J0042_J0030
    2256 #if H_3D_DDD
    2257   rpcTempCU->setUseDDD( false, 0, uhDepth );
    2258 #endif
    2259 #endif
    22602187
    22612188#if H_3D_ARP
     
    23352262  xCheckBestMode(rpcBestCU, rpcTempCU, uhDepth);
    23362263#if H_3D_INTER_SDC
    2337 #if HHI_TOOL_PARAMETERS_I2_J0107
    23382264  if( rpcTempCU->getSlice()->getInterSdcFlag() && ePartSize == SIZE_2Nx2N)
    2339 #else
    2340   if( rpcTempCU->getSlice()->getVPS()->getInterSDCFlag( rpcTempCU->getSlice()->getLayerIdInVps() ) && rpcTempCU->getSlice()->getIsDepth() && ePartSize == SIZE_2Nx2N)
    2341 #endif
    23422265  {
    23432266    Double dOffsetCost[3] = {MAX_DOUBLE,MAX_DOUBLE,MAX_DOUBLE};
Note: See TracChangeset for help on using the changeset viewer.