Changeset 351 in 3DVCSoftware for branches/HTM-6.2-dev2-Qualcomm/source/Lib/TLibDecoder
- Timestamp:
- 2 May 2013, 05:22:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-6.2-dev2-Qualcomm/source/Lib/TLibDecoder/TDecCu.cpp
r332 r351 312 312 pcCU->setQPSubParts( pcCU->getRefQP(uiAbsPartIdx), uiAbsPartIdx, uiDepth ); // set QP to default QP 313 313 } 314 314 #if QC_CU_NBDV_D0181 315 DisInfo DvInfo; 316 DvInfo.bDV = false; 317 if(!pcCU->getSlice()->isIntra()) 318 { 319 if(( pcCU->getSlice()->getSPS()->getMultiviewMvPredMode() || pcCU->getSlice()->getSPS()->getMultiviewResPredMode()) && pcCU->getSlice()->getViewId()) 320 { 321 m_ppcCU[uiDepth]->copyInterPredInfoFrom( pcCU, uiAbsPartIdx, REF_PIC_LIST_0, true ); 322 m_ppcCU[uiDepth]->copyDVInfoFrom( pcCU, uiAbsPartIdx); 323 PartSize ePartTemp = m_ppcCU[uiDepth]->getPartitionSize(0); 324 UChar cWidTemp = m_ppcCU[uiDepth]->getWidth(0); 325 UChar cHeightTemp = m_ppcCU[uiDepth]->getHeight(0); 326 m_ppcCU[uiDepth]->setWidth ( 0, pcCU->getSlice()->getSPS()->getMaxCUWidth ()/(1<<uiDepth) ); 327 m_ppcCU[uiDepth]->setHeight ( 0, pcCU->getSlice()->getSPS()->getMaxCUHeight()/(1<<uiDepth) ); 328 m_ppcCU[uiDepth]->setPartSizeSubParts( SIZE_2Nx2N, 0, uiDepth ); 329 #if MERL_VSP_C0152 330 DvInfo.bDV = m_ppcCU[uiDepth]->getDisMvpCandNBDV(0, 0, &DvInfo, false, true); 331 #else 332 DvInfo.bDV = m_ppcCU[uiDepth]->getDisMvpCandNBDV(0, 0, &DvInfo, false); 333 #endif 334 pcCU->setDvInfoSubParts(DvInfo, uiAbsPartIdx, uiDepth); 335 m_ppcCU[uiDepth]->setPartSizeSubParts( ePartTemp, 0, uiDepth ); 336 m_ppcCU[uiDepth]->setWidth ( 0, cWidTemp ); 337 m_ppcCU[uiDepth]->setHeight ( 0, cHeightTemp ); 338 } 339 if(DvInfo.bDV==false) 340 { 341 DvInfo.iN=1; 342 DvInfo.m_acMvCand[0].setHor(0); 343 DvInfo.m_acMvCand[0].setVer(0); 344 DvInfo.m_aVIdxCan[0] = 0; 345 pcCU->setDvInfoSubParts(DvInfo, uiAbsPartIdx, uiDepth); 346 } 347 } 348 #endif 315 349 // decode CU mode and the partition size 316 350 if( !pcCU->getSlice()->isIntra() && pcCU->getNumSucIPCM() == 0 )
Note: See TracChangeset for help on using the changeset viewer.