Changeset 1248 in 3DVCSoftware
- Timestamp:
- 2 Jun 2015, 19:15:33 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncSearch.cpp
r1247 r1248 2993 2993 #endif 2994 2994 2995 #if NH_3D_DMM || NH_3D_ENC_DEPTH2996 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 #endif3002 2995 #if NH_3D_DMM 3003 Pel* piPred = pcPredYuv->getAddr( COMPONENT_Y, uiAbsPartIdx );3004 2996 if( m_pcEncCfg->getIsDepth() ) 3005 2997 { 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 3006 3005 if( puRect.width >= DMM_MIN_SIZE && puRect.width <= DMM_MAX_SIZE && puRect.width == puRect.height && 3007 3006 ((m_pcEncCfg->getUseDMM() && pcCU->getSlice()->getIntraSdcWedgeFlag()) || pcCU->getSlice()->getIntraContourFlag()) ) … … 3096 3095 #if NH_3D_ENC_DEPTH 3097 3096 Double dBestPUCostConv = MAX_DOUBLE; 3098 UInt varCU = m_pcRdCost->calcVAR(piOrg, uiStride, puRect.width, puRect.height, pcCU->getDepth(0), pcCU->getSlice()->getSPS()->getMaxCUWidth());3099 3097 UInt rdSDC = m_pcEncCfg->getIsDepth() ? numModesForFullRD : 0; 3100 3098 #endif … … 3133 3131 else 3134 3132 { 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 3135 3141 uiOrgMode = uiRdModeList[uiMode - numModesForFullRD]; 3136 3142
Note: See TracChangeset for help on using the changeset viewer.