Changeset 1131 in 3DVCSoftware for branches/HTM-13.0-dev0/source/Lib/TLibDecoder/TDecCu.cpp
- Timestamp:
- 18 Feb 2015, 17:39:40 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-13.0-dev0/source/Lib/TLibDecoder/TDecCu.cpp
r1124 r1131 291 291 DTRACE_CU_S("=========== coding_unit ===========\n") 292 292 #endif 293 #if !LGE_DDD_REMOVAL_J0042_J0030294 #if H_3D_DDD295 pcCU->setUseDDD( false, uiAbsPartIdx, uiDepth );296 #endif297 #endif298 293 299 294 if( (g_uiMaxCUWidth>>uiDepth) >= pcCU->getSlice()->getPPS()->getMinCuDQPSize() && pcCU->getSlice()->getPPS()->getUseDQP()) … … 315 310 { 316 311 #if H_3D_ARP && H_3D_IV_MERGE 317 #if HHI_TOOL_PARAMETERS_I2_J0107318 312 if( pcCU->getSlice()->getIvResPredFlag() || pcCU->getSlice()->getIvMvPredFlag() ) 319 #else320 if( pcCU->getSlice()->getVPS()->getUseAdvRP( pcCU->getSlice()->getLayerId() ) || pcCU->getSlice()->getVPS()->getIvMvPredFlag( pcCU->getSlice()->getLayerId() ))321 #endif322 313 #else 323 314 #if H_3D_ARP … … 349 340 #endif 350 341 #if H_3D_NBDV_REF 351 #if HHI_TOOL_PARAMETERS_I2_J0107352 342 if( pcCU->getSlice()->getDepthBasedBlkPartFlag() ) //Notes from QC: please check the condition for DoNBDV. Remove this comment once it is done. 353 #else354 if(pcCU->getSlice()->getVPS()->getDepthRefinementFlag( pcCU->getSlice()->getLayerIdInVps() )) //Notes from QC: please check the condition for DoNBDV. Remove this comment once it is done.355 #endif356 343 { 357 344 DvInfo.bDV = m_ppcCU[uiDepth]->getDisMvpCandNBDV(&DvInfo, true); … … 460 447 #endif 461 448 pcCU->setInterDirSubParts( uhInterDirNeighbours[uiMergeIndex], uiAbsPartIdx, 0, uiDepth ); 462 #if !LGE_DDD_REMOVAL_J0042_J0030463 #if H_3D_DDD464 if( uiMergeIndex == m_ppcCU[uiDepth]->getUseDDDCandIdx() )465 {466 assert( pcCU->getSlice()->getViewIndex() != 0 );467 pcCU->setUseDDD( true, uiAbsPartIdx, 0, uiDepth );468 pcCU->setDDDepthSubParts( m_ppcCU[uiDepth]->getDDTmpDepth(),uiAbsPartIdx, 0, uiDepth );469 }470 #endif471 #endif472 449 473 450 TComMv cTmpMv( 0, 0 ); … … 744 721 //construction of depth candidates 745 722 Pel testDepth; 746 #if SINGLE_DEPTH_SIMP_J0115747 723 Pel DepthNeighbours[2]; 748 #else749 Pel DepthNeighbours[5];750 #endif751 724 Int index =0; 752 #if SINGLE_DEPTH_SIMP_J0115753 725 for( Int i = 0; (i < 2) && (index<SINGLE_DEPTH_MODE_CAND_LIST_SIZE) ; i++ ) 754 #else755 for( Int i = 0; (i < 5) && (index<SINGLE_DEPTH_MODE_CAND_LIST_SIZE) ; i++ )756 #endif757 726 { 758 727 if(!pcCU->getNeighDepth (0, uiAbsPartIdx, &testDepth, i)) … … 762 731 DepthNeighbours[index]=testDepth; 763 732 index++; 764 #if !SINGLE_DEPTH_SIMP_J0115765 for(Int j=0;j<index-1;j++)766 {767 if( (DepthNeighbours[index-1]==DepthNeighbours[j]) )768 {769 index--;770 break;771 }772 }773 #endif774 733 } 775 734
Note: See TracChangeset for help on using the changeset viewer.