Changeset 1373 in 3DVCSoftware for branches/HTM-15.2-dev/source/Lib/TLibEncoder/TEncSlice.cpp
- Timestamp:
- 6 Nov 2015, 16:18:36 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-15.2-dev/source/Lib/TLibEncoder/TEncSlice.cpp
r1368 r1373 461 461 462 462 #if NH_3D_VSO 463 m_pcRdCost->setUseLambdaScaleVSO ( (m_pcCfg->getUseVSO() || m_pcCfg->getForceLambdaScaleVSO()) && m_pcCfg->getIsDepth() );463 m_pcRdCost->setUseLambdaScaleVSO ( (m_pcCfg->getUseVSO() || m_pcCfg->getForceLambdaScaleVSO()) && ( m_pcCfg->getIsDepth() | m_pcCfg->getIsAuxDepth() ) ); 464 464 m_pcRdCost->setLambdaVSO ( dLambda * m_pcCfg->getLambdaScaleVSO() ); 465 465 … … 470 470 471 471 // LGE_WVSO_A0119 472 if( m_pcCfg->getUseWVSO() && m_pcCfg->getIsDepth() )472 if( m_pcCfg->getUseWVSO() && ( m_pcCfg->getIsDepth() || m_pcCfg->getIsAuxDepth() ) ) 473 473 { 474 474 m_pcRdCost->setDWeight ( m_pcCfg->getDWeight() ); … … 713 713 714 714 // compute RD cost and choose the best 715 #if NH_3D 715 #if NH_3D_VSO 716 716 Double dPicRdCost = m_pcRdCost->calcRdCost( (Double)m_uiPicTotalBits, uiPicDist, DF_SSE_FRAME); 717 717 #else … … 899 899 iLastPosY = iCurPosY; 900 900 TEncTop* pcEncTop = (TEncTop*) m_pcCfg; // Fix this later. 901 pcEncTop->setupRenModel( pcSlice->getPOC() , pcSlice->getViewIndex(), pcSlice->getIsDepth() ? 1 : 0, iCurPosY, pcSlice->getSPS()->getMaxCUHeight() );901 pcEncTop->setupRenModel( pcSlice->getPOC() , pcSlice->getViewIndex(), pcSlice->getIsDepth() || pcSlice->getVPS()->getAuxId( pcSlice->getLayerId() ) ? 1 : 0, iCurPosY, pcSlice->getSPS()->getMaxCUHeight() ); 902 902 } 903 903 }
Note: See TracChangeset for help on using the changeset viewer.