Changeset 712 in 3DVCSoftware for branches/HTM-8.2-dev0/source/Lib/TLibEncoder/TEncSearch.cpp
- Timestamp:
- 21 Nov 2013, 13:28:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-8.2-dev0/source/Lib/TLibEncoder/TEncSearch.cpp
r708 r712 1126 1126 for( UInt uiX = 0; uiX < uiWidth; uiX++ ) 1127 1127 { 1128 #if LGE_PRED_RES_CODING_DLT_DOMAIN_F0159 1129 if( (isDimMode( uiLumaPredMode ) || uiLumaPredMode == HOR_IDX || uiLumaPredMode == VER_IDX || uiLumaPredMode == DC_IDX) && pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->getVPS()->getUseDLTFlag(pcCU->getSlice()->getLayerIdInVps()) ) 1130 { 1131 pResi[ uiX ] = pcCU->getSlice()->getVPS()->depthValue2idx( pcCU->getSlice()->getLayerIdInVps(), pOrg[ uiX ] ) - pcCU->getSlice()->getVPS()->depthValue2idx( pcCU->getSlice()->getLayerIdInVps(), pPred[ uiX ] ); 1132 } 1133 else 1134 { 1135 pResi[ uiX ] = pOrg[ uiX ] - pPred[ uiX ]; 1136 } 1137 #else 1128 1138 pResi[ uiX ] = pOrg[ uiX ] - pPred[ uiX ]; 1139 #endif 1129 1140 } 1130 1141 pOrg += uiStride; … … 1190 1201 for( UInt uiX = 0; uiX < uiWidth; uiX++ ) 1191 1202 { 1203 #if LGE_PRED_RES_CODING_DLT_DOMAIN_F0159 1204 if( (isDimMode( uiLumaPredMode ) || uiLumaPredMode == HOR_IDX || uiLumaPredMode == VER_IDX || uiLumaPredMode == DC_IDX) && pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->getVPS()->getUseDLTFlag(pcCU->getSlice()->getLayerIdInVps()) ) 1205 { 1206 pReco [ uiX ] = pcCU->getSlice()->getVPS()->idx2DepthValue( pcCU->getSlice()->getLayerIdInVps(), Clip3( 0, pcCU->getSlice()->getVPS()->getNumDepthValues( pcCU->getSlice()->getLayerIdInVps() ) - 1, pcCU->getSlice()->getVPS()->depthValue2idx( pcCU->getSlice()->getLayerIdInVps(), pPred[ uiX ] ) + pResi[ uiX ] ) ); 1207 } 1208 else 1209 { 1210 pReco [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] ); 1211 } 1212 #else 1192 1213 pReco [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] ); 1214 #endif 1193 1215 pRecQt [ uiX ] = pReco[ uiX ]; 1194 1216 pRecIPred[ uiX ] = pReco[ uiX ]; … … 2876 2898 biSegmentation = &(g_dmmWedgeLists[(g_aucConvertToBit[uiWidth])][uiTabIdx]); 2877 2899 } break; 2900 #if !SEC_DMM3_RBC_F0147 2878 2901 case( DMM3_IDX ): 2879 2902 { … … 2893 2916 } 2894 2917 } break; 2918 #endif 2895 2919 case( DMM4_IDX ): 2896 2920 { … … 2928 2952 { 2929 2953 Pel deltaDC1 = 0; Pel deltaDC2 = 0; 2954 #if QC_DIM_DELTADC_UNIFY_F0132 2955 xSearchDmmDeltaDCs( pcCU, uiPartOffset, piOrg, piPred, uiStride, pcCU->getEdgePartition( uiPartOffset ), uiWidth, uiWidth, uiHeight, deltaDC1, deltaDC2 ); 2956 #else 2930 2957 xSearchRbcDeltaDCs( pcCU, uiPartOffset, piOrg, piPred, uiStride, pcCU->getEdgePartition( uiPartOffset ), uiWidth, uiWidth, uiHeight, deltaDC1, deltaDC2 ); 2958 #endif 2931 2959 pcCU->setDimDeltaDC( RBC_IDX, 0, uiPartOffset, deltaDC1 ); 2932 2960 pcCU->setDimDeltaDC( RBC_IDX, 1, uiPartOffset, deltaDC2 ); … … 2975 3003 Bool bTestZeroResi = false; 2976 3004 #if H_3D_DIM_ENC 3005 #if LGE_BUGFIX_F0158 3006 bTestZeroResi |= pcCU->getSlice()->getIsDepth() && !pcCU->getSlice()->isIRAP(); 3007 #else 2977 3008 bTestZeroResi |= pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->isIRAP(); 3009 #endif 2978 3010 #endif 2979 3011 #if H_3D_DIM_SDC … … 7324 7356 } 7325 7357 7358 #if !SEC_DMM3_RBC_F0147 7326 7359 Void TEncSearch::xSearchDmm3Wedge( TComDataCU* pcCU, UInt uiAbsPtIdx, Pel* piRef, UInt uiRefStride, UInt uiWidth, UInt uiHeight, UInt& ruiTabIdx, UInt& ruiIntraTabIdx, UInt colTexIntraDir ) 7327 7360 { … … 7360 7393 cPredYuv.destroy(); 7361 7394 } 7362 7395 #endif 7363 7396 #endif 7364 7397 #if H_3D_DIM_RBC
Note: See TracChangeset for help on using the changeset viewer.