Changeset 622 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecCu.cpp
- Timestamp:
- 11 Sep 2013, 14:40:25 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecCu.cpp
r608 r622 315 315 #if H_3D_NBDV_REF 316 316 if(pcCU->getSlice()->getVPS()->getDepthRefinementFlag( pcCU->getSlice()->getLayerIdInVps() )) //Notes from QC: please check the condition for DoNBDV. Remove this comment once it is done. 317 { 317 318 DvInfo.bDV = m_ppcCU[uiDepth]->getDisMvpCandNBDV(&DvInfo, true); 319 } 318 320 else 319 321 #endif 322 { 320 323 DvInfo.bDV = m_ppcCU[uiDepth]->getDisMvpCandNBDV(&DvInfo); 324 } 325 326 #if ENC_DEC_TRACE && H_MV_ENC_DEC_TRAC 327 if ( g_decTraceDispDer ) 328 { 329 DTRACE_CU( "RefViewIdx", DvInfo.m_aVIdxCan ); 330 DTRACE_CU( "MvDisp[x]", DvInfo.m_acNBDV.getHor() ); 331 DTRACE_CU( "MvDisp[y]", DvInfo.m_acNBDV.getVer() ); 332 DTRACE_CU( "MvRefinedDisp[x]", DvInfo.m_acDoNBDV.getHor() ); 333 DTRACE_CU( "MvRefinedDisp[y]", DvInfo.m_acDoNBDV.getVer() ); 334 } 335 #endif 321 336 322 337 pcCU->setDvInfoSubParts(DvInfo, uiAbsPartIdx, uiDepth); … … 366 381 Int vspFlag[MRG_MAX_NUM_CANDS_MEM]; 367 382 memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM); 368 #if MTK_VSP_FIX_ALIGN_WD_E0172369 383 InheritedVSPDisInfo inheritedVSPDisInfo[MRG_MAX_NUM_CANDS_MEM]; 370 384 m_ppcCU[uiDepth]->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, inheritedVSPDisInfo, numValidMergeCand, uiMergeIndex ); 371 #else372 #if MTK_VSP_FIX_E0172373 Int vspDir[MRG_MAX_NUM_CANDS_MEM];374 memset(vspDir, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM);375 m_ppcCU[uiDepth]->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag,vspDir, numValidMergeCand, uiMergeIndex );376 pcCU->setVSPDirSubParts( vspDir[uiMergeIndex], uiAbsPartIdx, 0, uiDepth );377 #else378 m_ppcCU[uiDepth]->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, numValidMergeCand, uiMergeIndex );379 #endif380 #endif// end of MTK_VSP_FIX_ALIGN_WD_E0172381 385 pcCU->setVSPFlagSubParts( vspFlag[uiMergeIndex], uiAbsPartIdx, 0, uiDepth ); 382 386 #else 383 387 m_ppcCU[uiDepth]->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex ); 384 388 #endif 385 #if MTK_VSP_FIX_ALIGN_WD_E0172389 #if H_3D_VSP 386 390 if(vspFlag[uiMergeIndex]) 387 391 { … … 400 404 pcCU->getCUMvField( RefPicList( uiRefListIdx ) )->setAllMvd( cTmpMv, SIZE_2Nx2N, uiAbsPartIdx, uiDepth ); 401 405 pcCU->getCUMvField( RefPicList( uiRefListIdx ) )->setAllMvField( cMvFieldNeighbours[ 2*uiMergeIndex + uiRefListIdx ], SIZE_2Nx2N, uiAbsPartIdx, uiDepth ); 406 #if ENC_DEC_TRACE && H_MV_ENC_DEC_TRAC 407 if ( g_decTraceMvFromMerge ) 408 { 409 if ( uiRefListIdx == 0 ) 410 { 411 DTRACE_PU( "mvL0[0]", cMvFieldNeighbours[ 2*uiMergeIndex + uiRefListIdx ].getHor()); 412 DTRACE_PU( "mvL0[1]", cMvFieldNeighbours[ 2*uiMergeIndex + uiRefListIdx ].getVer()); 413 DTRACE_PU( "refIdxL0 ", cMvFieldNeighbours[ 2*uiMergeIndex + uiRefListIdx ].getRefIdx()); 414 } 415 else 416 { 417 DTRACE_PU( "mvL1[0]", cMvFieldNeighbours[ 2*uiMergeIndex + uiRefListIdx ].getHor()); 418 DTRACE_PU( "mvL1[1]", cMvFieldNeighbours[ 2*uiMergeIndex + uiRefListIdx ].getVer()); 419 DTRACE_PU( "refIdxL1", cMvFieldNeighbours[ 2*uiMergeIndex + uiRefListIdx ].getRefIdx()); 420 } 421 } 422 #endif 402 423 } 403 424 }
Note: See TracChangeset for help on using the changeset viewer.