Changeset 1248 in 3DVCSoftware


Ignore:
Timestamp:
2 Jun 2015, 19:15:33 (9 years ago)
Author:
rwth
Message:
  • bugfix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncSearch.cpp

    r1247 r1248  
    29932993#endif
    29942994
    2995 #if NH_3D_DMM || NH_3D_ENC_DEPTH
    2996     const TComRectangle &puRect=tuRecurseWithPU.getRect(COMPONENT_Y);
    2997     const UInt uiAbsPartIdx=tuRecurseWithPU.GetAbsPartIdxTU();
    2998    
    2999     Pel* piOrg         = pcOrgYuv ->getAddr( COMPONENT_Y, uiAbsPartIdx );
    3000     UInt uiStride      = pcPredYuv->getStride( COMPONENT_Y );
    3001 #endif
    30022995#if NH_3D_DMM
    3003     Pel* piPred        = pcPredYuv->getAddr( COMPONENT_Y, uiAbsPartIdx );
    30042996    if( m_pcEncCfg->getIsDepth() )
    30052997    {
     2998      const TComRectangle &puRect=tuRecurseWithPU.getRect(COMPONENT_Y);
     2999      const UInt uiAbsPartIdx=tuRecurseWithPU.GetAbsPartIdxTU();
     3000
     3001      Pel* piOrg         = pcOrgYuv ->getAddr( COMPONENT_Y, uiAbsPartIdx );
     3002      Pel* piPred        = pcPredYuv->getAddr( COMPONENT_Y, uiAbsPartIdx );
     3003      UInt uiStride      = pcPredYuv->getStride( COMPONENT_Y );
     3004
    30063005      if( puRect.width >= DMM_MIN_SIZE && puRect.width <= DMM_MAX_SIZE &&  puRect.width == puRect.height &&
    30073006          ((m_pcEncCfg->getUseDMM() &&  pcCU->getSlice()->getIntraSdcWedgeFlag()) || pcCU->getSlice()->getIntraContourFlag()) )
     
    30963095#if NH_3D_ENC_DEPTH
    30973096    Double  dBestPUCostConv   = MAX_DOUBLE;
    3098     UInt varCU      = m_pcRdCost->calcVAR(piOrg, uiStride, puRect.width, puRect.height, pcCU->getDepth(0), pcCU->getSlice()->getSPS()->getMaxCUWidth());
    30993097    UInt rdSDC = m_pcEncCfg->getIsDepth() ? numModesForFullRD : 0;
    31003098#endif
     
    31333131      else
    31343132      {
     3133        const TComRectangle &puRect=tuRecurseWithPU.getRect(COMPONENT_Y);
     3134        const UInt uiAbsPartIdx=tuRecurseWithPU.GetAbsPartIdxTU();
     3135       
     3136        Pel* piOrg         = pcOrgYuv ->getAddr( COMPONENT_Y, uiAbsPartIdx );
     3137        UInt uiStride      = pcPredYuv->getStride( COMPONENT_Y );
     3138       
     3139        UInt varCU      = m_pcRdCost->calcVAR(piOrg, uiStride, puRect.width, puRect.height, pcCU->getDepth(0), pcCU->getSlice()->getSPS()->getMaxCUWidth());
     3140       
    31353141        uiOrgMode = uiRdModeList[uiMode - numModesForFullRD];
    31363142
Note: See TracChangeset for help on using the changeset viewer.