Changeset 673 in 3DVCSoftware for branches/HTM-8.2-dev3-LG/source/Lib/TLibEncoder
- Timestamp:
- 7 Nov 2013, 08:47:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/HTM-8.2-dev3-LG/source/Lib/TLibEncoder/TEncSearch.cpp ¶
r667 r673 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 pResi[ uiX ] = pcCU->getSlice()->getVPS()->depthValue2idx( pcCU->getSlice()->getLayerIdInVps(), pOrg[ uiX ] ) - pcCU->getSlice()->getVPS()->depthValue2idx( pcCU->getSlice()->getLayerIdInVps(), pPred[ uiX ] ); 1131 else 1132 pResi[ uiX ] = pOrg[ uiX ] - pPred[ uiX ]; 1133 #else 1128 1134 pResi[ uiX ] = pOrg[ uiX ] - pPred[ uiX ]; 1135 #endif 1129 1136 } 1130 1137 pOrg += uiStride; … … 1190 1197 for( UInt uiX = 0; uiX < uiWidth; uiX++ ) 1191 1198 { 1199 #if LGE_PRED_RES_CODING_DLT_DOMAIN_F0159 1200 if( (isDimMode( uiLumaPredMode ) || uiLumaPredMode == HOR_IDX || uiLumaPredMode == VER_IDX || uiLumaPredMode == DC_IDX) && pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->getVPS()->getUseDLTFlag(pcCU->getSlice()->getLayerIdInVps()) ) 1201 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 ] ) ); 1202 else 1203 pReco [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] ); 1204 #else 1192 1205 pReco [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] ); 1206 #endif 1193 1207 pRecQt [ uiX ] = pReco[ uiX ]; 1194 1208 pRecIPred[ uiX ] = pReco[ uiX ]; … … 2979 2993 Bool bTestZeroResi = false; 2980 2994 #if H_3D_DIM_ENC 2995 #if LGE_BUGFIX_F0158 2996 bTestZeroResi |= pcCU->getSlice()->getIsDepth() && !pcCU->getSlice()->isIRAP(); 2997 #else 2981 2998 bTestZeroResi |= pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->isIRAP(); 2999 #endif 2982 3000 #endif 2983 3001 #if H_3D_DIM_SDC
Note: See TracChangeset for help on using the changeset viewer.