Changeset 698 in 3DVCSoftware for branches/HTM-8.2-dev3-Samsung/source
- Timestamp:
- 15 Nov 2013, 03:59:16 (11 years ago)
- Location:
- branches/HTM-8.2-dev3-Samsung/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-8.2-dev3-Samsung/source/Lib/TLibDecoder/TDecCu.cpp
r697 r698 695 695 #if LGE_PRED_RES_CODING_DLT_DOMAIN_F0159 696 696 if( (isDimMode( uiLumaPredMode ) || uiLumaPredMode == HOR_IDX || uiLumaPredMode == VER_IDX || uiLumaPredMode == DC_IDX) && pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->getVPS()->getUseDLTFlag(pcCU->getSlice()->getLayerIdInVps()) ) 697 { 697 698 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 ] ) ); 699 } 698 700 else 701 { 699 702 pReco [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] ); 703 } 700 704 #else 701 705 pReco [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] ); -
branches/HTM-8.2-dev3-Samsung/source/Lib/TLibEncoder/TEncSearch.cpp
r697 r698 1128 1128 #if LGE_PRED_RES_CODING_DLT_DOMAIN_F0159 1129 1129 if( (isDimMode( uiLumaPredMode ) || uiLumaPredMode == HOR_IDX || uiLumaPredMode == VER_IDX || uiLumaPredMode == DC_IDX) && pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->getVPS()->getUseDLTFlag(pcCU->getSlice()->getLayerIdInVps()) ) 1130 { 1130 1131 pResi[ uiX ] = pcCU->getSlice()->getVPS()->depthValue2idx( pcCU->getSlice()->getLayerIdInVps(), pOrg[ uiX ] ) - pcCU->getSlice()->getVPS()->depthValue2idx( pcCU->getSlice()->getLayerIdInVps(), pPred[ uiX ] ); 1132 } 1131 1133 else 1134 { 1132 1135 pResi[ uiX ] = pOrg[ uiX ] - pPred[ uiX ]; 1136 } 1133 1137 #else 1134 1138 pResi[ uiX ] = pOrg[ uiX ] - pPred[ uiX ]; … … 1199 1203 #if LGE_PRED_RES_CODING_DLT_DOMAIN_F0159 1200 1204 if( (isDimMode( uiLumaPredMode ) || uiLumaPredMode == HOR_IDX || uiLumaPredMode == VER_IDX || uiLumaPredMode == DC_IDX) && pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->getVPS()->getUseDLTFlag(pcCU->getSlice()->getLayerIdInVps()) ) 1205 { 1201 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 } 1202 1208 else 1209 { 1203 1210 pReco [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] ); 1211 } 1204 1212 #else 1205 1213 pReco [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] );
Note: See TracChangeset for help on using the changeset viewer.