Changeset 976 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecCu.cpp
- Timestamp:
- 7 Jul 2014, 17:27:51 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecCu.cpp
r964 r976 432 432 m_ppcCU[uiDepth]->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex ); 433 433 m_ppcCU[uiDepth]->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours 434 #if !ETRIKHU_CLEANUP_H0083435 ,vspFlag436 #endif437 434 , inheritedVSPDisInfo 438 435 #if H_3D_SPIVMP 439 #if !ETRIKHU_CLEANUP_H0083_MISSING440 , bSPIVMPFlag441 #endif442 436 , pcMvFieldSP, puhInterDirSP 443 437 #endif 444 438 , numValidMergeCand, uiMergeIndex ); 445 439 446 #if ETRIKHU_CLEANUP_H0083447 440 m_ppcCU[uiDepth]->buildMCL( cMvFieldNeighbours, uhInterDirNeighbours, vspFlag 448 441 #if H_3D_SPIVMP … … 450 443 #endif 451 444 , numValidMergeCand ); 452 #endif453 445 pcCU->setVSPFlagSubParts( vspFlag[uiMergeIndex], uiAbsPartIdx, 0, uiDepth ); 454 446 #else … … 797 789 } 798 790 799 #if RWTH_DBBP_NO_SPU_H0057800 791 AOF( pcCU->getARPW(uiPartAddr) == 0 ); 801 792 AOF( pcCU->getICFlag(uiPartAddr) == false ); 802 793 AOF( pcCU->getSPIVMPFlag(uiPartAddr) == false ); 803 794 AOF( pcCU->getVSPFlag(uiPartAddr) == 0 ); 804 #else805 pDBBPTmpData->ahVSPFlag[uiSegment] = pcCU->getVSPFlag( uiPartAddr );806 pDBBPTmpData->acDvInfo[uiSegment] = pcCU->getDvInfo( uiPartAddr );807 #endif808 795 } 809 796 … … 814 801 { 815 802 pcCU->setInterDirSubParts( pDBBPTmpData->auhInterDir[uiSegment], 0, 0, uiDepth ); 816 817 #if !RWTH_DBBP_NO_SPU_H0057 818 pcCU->setVSPFlagSubParts( pDBBPTmpData->ahVSPFlag[uiSegment], 0, 0, uiDepth ); 819 pcCU->setDvInfoSubParts( pDBBPTmpData->acDvInfo[uiSegment], 0, 0, uiDepth ); 820 #endif 821 803 822 804 for ( UInt uiRefListIdx = 0; uiRefListIdx < 2; uiRefListIdx++ ) 823 805 { … … 839 821 840 822 pcCU->setDBBPFlagSubParts(true, uiPartAddr, uiSegment, uiDepth); 841 842 #if !RWTH_DBBP_NO_SPU_H0057843 pcCU->setVSPFlagSubParts( pDBBPTmpData->ahVSPFlag[uiSegment], uiPartAddr, uiSegment, uiDepth );844 pcCU->setDvInfoSubParts( pDBBPTmpData->acDvInfo[uiSegment], uiPartAddr, uiSegment, uiDepth );845 #endif846 847 823 pcCU->setInterDirSubParts(pDBBPTmpData->auhInterDir[uiSegment], uiPartAddr, uiSegment, uiDepth); // interprets depth relative to LCU level 848 824 … … 946 922 for( UInt uiX = 0; uiX < uiWidth; uiX++ ) 947 923 { 948 #if H_3D && !SEC_NO_RESI_DLT_H0105949 if ( useDltFlag )950 {951 pReco [ uiX ] = pcCU->getSlice()->getPPS()->getDLT()->idx2DepthValue( pcCU->getSlice()->getLayerIdInVps(), Clip3( 0, pcCU->getSlice()->getPPS()->getDLT()->getNumDepthValues( pcCU->getSlice()->getLayerIdInVps() ) - 1, pcCU->getSlice()->getPPS()->getDLT()->depthValue2idx( pcCU->getSlice()->getLayerIdInVps(), pPred[ uiX ] ) + pResi[ uiX ] ) );952 }953 else954 {955 pReco [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] );956 }957 #else958 924 pReco [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] ); 959 #endif960 925 pRecIPred[ uiX ] = pReco[ uiX ]; 961 926 } … … 1257 1222 // get DC prediction for each segment 1258 1223 Pel apDCPredValues[2]; 1259 #if HS_DMM_SDC_PREDICTOR_UNIFY_H01081260 1224 if ( getDimType( uiLumaPredMode ) == DMM1_IDX || getDimType( uiLumaPredMode ) == DMM4_IDX ) 1261 1225 { … … 1264 1228 } 1265 1229 else 1266 #endif 1267 m_pcPrediction->analyzeSegmentsSDC(piPred, uiStride, uiWidth, apDCPredValues, uiNumSegments, pbMask, uiMaskStride, uiLumaPredMode); 1230 { 1231 m_pcPrediction->analyzeSegmentsSDC(piPred, uiStride, uiWidth, apDCPredValues, uiNumSegments, pbMask, uiMaskStride, uiLumaPredMode); 1232 } 1268 1233 1269 1234 // reconstruct residual based on mask + DC residuals
Note: See TracChangeset for help on using the changeset viewer.