Changeset 1131 in 3DVCSoftware for branches/HTM-13.0-dev0/source/Lib/TLibEncoder/TEncCu.cpp
- Timestamp:
- 18 Feb 2015, 17:39:40 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-13.0-dev0/source/Lib/TLibEncoder/TEncCu.cpp
r1124 r1131 409 409 410 410 #if H_3D_QTLPC 411 #if HHI_TOOL_PARAMETERS_I2_J0107412 411 Bool bLimQtPredFalg = pcPic->getSlice(0)->getQtPredFlag(); 413 #else414 TComVPS *vps = pcPic->getSlice(0)->getVPS();415 Bool bLimQtPredFalg = vps->getLimQtPredFlag(pcPic->getSlice(0)->getLayerId());416 #endif417 412 TComPic *pcTexture = rpcBestCU->getSlice()->getTexturePic(); 418 413 … … 570 565 { 571 566 #if H_3D_ARP && H_3D_IV_MERGE 572 #if HHI_TOOL_PARAMETERS_I2_J0107573 567 if( rpcTempCU->getSlice()->getIvResPredFlag() || rpcTempCU->getSlice()->getIvMvPredFlag() ) 574 #else575 if( rpcTempCU->getSlice()->getVPS()->getUseAdvRP(rpcTempCU->getSlice()->getLayerId()) || rpcTempCU->getSlice()->getVPS()->getIvMvPredFlag(rpcTempCU->getSlice()->getLayerId()) )576 #endif577 568 #else 578 569 #if H_3D_ARP … … 598 589 #endif 599 590 #if H_3D_NBDV_REF 600 #if HHI_TOOL_PARAMETERS_I2_J0107601 591 if( rpcTempCU->getSlice()->getDepthRefinementFlag() ) 602 #else603 if(rpcTempCU->getSlice()->getVPS()->getDepthRefinementFlag( rpcTempCU->getSlice()->getLayerIdInVps()))604 #endif605 592 DvInfo.bDV = rpcTempCU->getDisMvpCandNBDV(&DvInfo, true); 606 593 else … … 617 604 } 618 605 #if H_3D_FAST_TEXTURE_ENCODING 619 #if SEC_ARP_VIEW_REF_CHECK_J0037 || SEC_DBBP_VIEW_REF_CHECK_J0037620 606 if(rpcTempCU->getSlice()->getViewIndex() && !rpcTempCU->getSlice()->getIsDepth() && rpcTempCU->getSlice()->getDefaultRefViewIdxAvailableFlag() ) 621 #else622 if(rpcTempCU->getSlice()->getViewIndex() && !rpcTempCU->getSlice()->getIsDepth())623 #endif624 607 { 625 608 PartSize ePartTemp = rpcTempCU->getPartitionSize(0); … … 684 667 685 668 #if H_3D_DBBP 686 #if SEC_DBBP_VIEW_REF_CHECK_J0037687 #if HHI_TOOL_PARAMETERS_I2_J0107688 669 if( rpcTempCU->getSlice()->getDepthBasedBlkPartFlag() && rpcTempCU->getSlice()->getDefaultRefViewIdxAvailableFlag() ) 689 #else690 if( m_pcEncCfg->getUseDBBP() && rpcTempCU->getSlice()->getDefaultRefViewIdxAvailableFlag() )691 #endif692 #else693 if( m_pcEncCfg->getUseDBBP() )694 #endif695 670 { 696 671 xCheckRDCostInterDBBP( rpcBestCU, rpcTempCU, false ); … … 739 714 #if H_3D_SINGLE_DEPTH 740 715 rpcTempCU->initEstData( uiDepth, iMinQP, isAddLowestQP ); 741 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060742 #if ALIGN_J0060_J0107743 716 if( rpcBestCU->getSlice()->getIntraSingleFlag() ) 744 #else745 if(rpcBestCU->getSlice()->getVPS()->getSingleDepthModeFlag(rpcBestCU->getSlice()->getLayerIdInVps()))746 #endif747 #else748 if(rpcBestCU->getSlice()->getApplySingleDepthMode())749 #endif750 717 { 751 718 xCheckRDCostSingleDepth( rpcBestCU, rpcTempCU, SIZE_2Nx2N ); … … 1901 1868 1902 1869 #endif 1903 #if !LGE_DDD_REMOVAL_J0042_J00301904 #if H_3D_DDD1905 Int iDDDCand = rpcTempCU->getUseDDDCandIdx();1906 UChar ucDDDepth = rpcTempCU->getDDTmpDepth();1907 rpcTempCU->setUseDDD( false, 0, uhDepth );1908 #endif1909 #endif1910 1870 1911 1871 for( UInt uiNoResidual = 0; uiNoResidual < iteration; ++uiNoResidual ) … … 1940 1900 #if H_3D_VSP 1941 1901 rpcTempCU->setVSPFlagSubParts( vspFlag[uiMergeCand], 0, 0, uhDepth ); 1942 #endif1943 #if !LGE_DDD_REMOVAL_J0042_J00301944 #if H_3D_DDD1945 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 else1951 {1952 rpcTempCU->setUseDDD( false, 0, 0, uhDepth );1953 }1954 #endif1955 1902 #endif 1956 1903 #if H_3D_SPIVMP … … 2056 2003 xCheckBestMode(rpcBestCU, rpcTempCU, uhDepth); 2057 2004 #if H_3D_INTER_SDC 2058 #if HHI_TOOL_PARAMETERS_I2_J01072059 2005 if( rpcTempCU->getSlice()->getInterSdcFlag() && !uiNoResidual ) 2060 #else2061 if( rpcTempCU->getSlice()->getVPS()->getInterSDCFlag( rpcTempCU->getSlice()->getLayerIdInVps() ) && rpcTempCU->getSlice()->getIsDepth() && !uiNoResidual )2062 #endif2063 2006 { 2064 2007 Double dOffsetCost[3] = {MAX_DOUBLE,MAX_DOUBLE,MAX_DOUBLE}; … … 2132 2075 { 2133 2076 #if H_3D_INTER_SDC 2134 #if HHI_TOOL_PARAMETERS_I2_J01072135 2077 if( rpcTempCU->getSlice()->getInterSdcFlag() ) 2136 #else2137 if( rpcTempCU->getSlice()->getVPS()->getInterSDCFlag( rpcTempCU->getSlice()->getLayerIdInVps() ) )2138 #endif2139 2078 { 2140 2079 bestIsSkip = !rpcBestCU->getSDCFlag( 0 ) && ( rpcBestCU->getQtRootCbf(0) == 0 ); … … 2212 2151 UChar uhDepth = rpcTempCU->getDepth( 0 ); 2213 2152 #if H_3D_ARP 2214 #if !HHI_TOOL_PARAMETERS_I2_J01072215 Int iLayerId = rpcTempCU->getSlice()->getLayerId();2216 #endif2217 2153 Bool bFirstTime = true; 2218 2154 Int nARPWMax = rpcTempCU->getSlice()->getARPStepNum() - 1; … … 2225 2161 for( Int nARPW = 0; nARPW <= nARPWMax; nARPW++ ) 2226 2162 { 2227 #if HHI_TOOL_PARAMETERS_I2_J01072228 2163 if( !bFirstTime && rpcTempCU->getSlice()->getIvResPredFlag() ) 2229 #else2230 if( bFirstTime == false && rpcTempCU->getSlice()->getVPS()->getUseAdvRP( iLayerId ) )2231 #endif2232 2164 { 2233 2165 rpcTempCU->initEstData( rpcTempCU->getDepth(0), rpcTempCU->getQP(0),bTransquantBypassFlag ); … … 2253 2185 rpcTempCU->setPartSizeSubParts ( ePartSize, 0, uhDepth ); 2254 2186 rpcTempCU->setPredModeSubParts ( MODE_INTER, 0, uhDepth ); 2255 #if !LGE_DDD_REMOVAL_J0042_J00302256 #if H_3D_DDD2257 rpcTempCU->setUseDDD( false, 0, uhDepth );2258 #endif2259 #endif2260 2187 2261 2188 #if H_3D_ARP … … 2335 2262 xCheckBestMode(rpcBestCU, rpcTempCU, uhDepth); 2336 2263 #if H_3D_INTER_SDC 2337 #if HHI_TOOL_PARAMETERS_I2_J01072338 2264 if( rpcTempCU->getSlice()->getInterSdcFlag() && ePartSize == SIZE_2Nx2N) 2339 #else2340 if( rpcTempCU->getSlice()->getVPS()->getInterSDCFlag( rpcTempCU->getSlice()->getLayerIdInVps() ) && rpcTempCU->getSlice()->getIsDepth() && ePartSize == SIZE_2Nx2N)2341 #endif2342 2265 { 2343 2266 Double dOffsetCost[3] = {MAX_DOUBLE,MAX_DOUBLE,MAX_DOUBLE};
Note: See TracChangeset for help on using the changeset viewer.