Ignore:
Timestamp:
6 Nov 2015, 16:18:36 (8 years ago)
Author:
tech
Message:

Macro fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-15.2-dev/source/Lib/TLibEncoder/TEncSlice.cpp

    r1368 r1373  
    461461
    462462#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() ) );
    464464  m_pcRdCost->setLambdaVSO          ( dLambda * m_pcCfg->getLambdaScaleVSO() );
    465465
     
    470470
    471471  // LGE_WVSO_A0119
    472   if( m_pcCfg->getUseWVSO() && m_pcCfg->getIsDepth() )
     472  if( m_pcCfg->getUseWVSO() && ( m_pcCfg->getIsDepth() || m_pcCfg->getIsAuxDepth() ) )
    473473  {
    474474    m_pcRdCost->setDWeight  ( m_pcCfg->getDWeight()   );
     
    713713
    714714    // compute RD cost and choose the best
    715 #if NH_3D
     715#if NH_3D_VSO
    716716    Double dPicRdCost = m_pcRdCost->calcRdCost( (Double)m_uiPicTotalBits, uiPicDist, DF_SSE_FRAME);
    717717#else
     
    899899        iLastPosY = iCurPosY;         
    900900        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() );
    902902      }
    903903    }
Note: See TracChangeset for help on using the changeset viewer.