Changeset 1084 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecCu.cpp
- Timestamp:
- 24 Oct 2014, 11:44:58 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecCu.cpp
r1066 r1084 420 420 Int vspFlag[MRG_MAX_NUM_CANDS_MEM]; 421 421 memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM); 422 #if !FIX_TICKET_79423 InheritedVSPDisInfo inheritedVSPDisInfo[MRG_MAX_NUM_CANDS_MEM];424 #endif425 422 #if H_3D_SPIVMP 426 423 Bool bSPIVMPFlag[MRG_MAX_NUM_CANDS_MEM]; … … 434 431 m_ppcCU[uiDepth]->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex ); 435 432 m_ppcCU[uiDepth]->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours 436 #if !FIX_TICKET_79437 , inheritedVSPDisInfo438 #endif439 433 #if H_3D_SPIVMP 440 434 , pcMvFieldSP, puhInterDirSP … … 456 450 m_ppcCU[uiDepth]->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex ); 457 451 #endif 458 #endif459 #if H_3D_VSP && !FIX_TICKET_79460 if(vspFlag[uiMergeIndex])461 {462 pcCU->setDvInfoSubParts(inheritedVSPDisInfo[uiMergeIndex].m_acDvInfo, uiAbsPartIdx, 0, uiDepth);463 }464 452 #endif 465 453 pcCU->setInterDirSubParts( uhInterDirNeighbours[uiMergeIndex], uiAbsPartIdx, 0, uiDepth ); … … 546 534 return; 547 535 } 548 #if MTK_SINGLE_DEPTH_MODE_I0095536 #if H_3D_SINGLE_DEPTH 549 537 m_pcEntropyDecoder->decodeSingleDepthMode( pcCU, uiAbsPartIdx, uiDepth ); 550 538 if(!pcCU->getSingleDepthFlag(uiAbsPartIdx)) … … 580 568 m_pcEntropyDecoder->decodeCoeff( pcCU, uiAbsPartIdx, uiDepth, uiCurrWidth, uiCurrHeight, bCodeDQP ); 581 569 setdQPFlag( bCodeDQP ); 582 #if MTK_SINGLE_DEPTH_MODE_I0095570 #if H_3D_SINGLE_DEPTH 583 571 } 584 572 #endif … … 682 670 break; 683 671 case MODE_INTRA: 684 #if MTK_SINGLE_DEPTH_MODE_I0095672 #if H_3D_SINGLE_DEPTH 685 673 if( m_ppcCU[uiDepth]->getSingleDepthFlag(0) ) 686 674 xReconIntraSingleDepth( m_ppcCU[uiDepth], 0, uiDepth ); … … 730 718 } 731 719 } 732 #if MTK_SINGLE_DEPTH_MODE_I0095720 #if H_3D_SINGLE_DEPTH 733 721 Void TDecCu::xReconIntraSingleDepth( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 734 722 { … … 749 737 Pel DepthNeighbours[5]; 750 738 Int index =0; 751 for( Int i = 0; (i < 5) && (index< MTK_SINGLE_DEPTH_MODE_CANDIDATE_LIST_SIZE) ; i++ )739 for( Int i = 0; (i < 5) && (index<SINGLE_DEPTH_MODE_CAND_LIST_SIZE) ; i++ ) 752 740 { 753 741 if(!pcCU->getNeighDepth (0, uiAbsPartIdx, &testDepth, i)) … … 859 847 // get collocated depth block 860 848 UInt uiDepthStride = 0; 861 #if LGE_FCO_I0116849 #if H_3D_FCO 862 850 Pel* pDepthPels = pcCU->getVirtualDepthBlock(pcCU->getZorderIdxInCU(), pcCU->getWidth(0), pcCU->getHeight(0), uiDepthStride); 863 851 #else … … 932 920 933 921 // reconstruct final prediction signal by combining both segments 934 #if SHARP_DBBP_SIMPLE_FLTER_I0109935 922 m_pcPrediction->combineSegmentsWithMask(apSegPredYuv, m_ppcYuvReco[uiDepth], pMask, pcCU->getWidth(0), pcCU->getHeight(0), 0, ePartSize); 936 #else 937 m_pcPrediction->combineSegmentsWithMask(apSegPredYuv, m_ppcYuvReco[uiDepth], pMask, pcCU->getWidth(0), pcCU->getHeight(0)); 938 #endif 939 923 940 924 // inter recon 941 925 xDecodeInterTexture( pcCU, 0, uiDepth ); … … 1311 1295 Int uiTabIdx = pcCU->getDmmWedgeTabIdx(DMM1_IDX, uiAbsPartIdx); 1312 1296 1313 #if SHARP_DMM1_I01101314 1297 WedgeList* pacWedgeList = pcCU->isDMM1UpscaleMode(uiWidth) ? &g_dmmWedgeLists[(g_aucConvertToBit[pcCU->getDMM1BasePatternWidth(uiWidth)])] : &g_dmmWedgeLists[(g_aucConvertToBit[uiWidth])]; 1315 #else1316 WedgeList* pacWedgeList = &g_dmmWedgeLists[(g_aucConvertToBit[uiWidth])];1317 #endif1318 1298 TComWedgelet* pcWedgelet = &(pacWedgeList->at( uiTabIdx )); 1319 1299 1320 1300 uiNumSegments = 2; 1321 1301 1322 #if SHARP_DMM1_I01101323 1302 pbMask = pcCU->isDMM1UpscaleMode( uiWidth ) ? pcWedgelet->getScaledPattern(uiWidth) : pcWedgelet->getPattern(); 1324 1303 uiMaskStride = pcCU->isDMM1UpscaleMode( uiWidth ) ? uiWidth : pcWedgelet->getStride(); 1325 #else1326 pbMask = pcWedgelet->getPattern();1327 uiMaskStride = pcWedgelet->getStride();1328 #endif1329 1304 } 1330 1305 if( getDimType( uiLumaPredMode ) == DMM4_IDX )
Note: See TracChangeset for help on using the changeset viewer.