Changeset 1094 in 3DVCSoftware for branches/HTM-12.2-dev2-LGE/source/Lib/TLibDecoder
- Timestamp:
- 3 Nov 2014, 01:32:52 (10 years ago)
- Location:
- branches/HTM-12.2-dev2-LGE/source/Lib/TLibDecoder
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-12.2-dev2-LGE/source/Lib/TLibDecoder/TDecCu.cpp
r1084 r1094 291 291 DTRACE_CU_S("=========== coding_unit ===========\n") 292 292 #endif 293 294 293 #if !LGE_DDD_REMOVAL_J0042_J0030 295 294 #if H_3D_DDD 296 295 pcCU->setUseDDD( false, uiAbsPartIdx, uiDepth ); 296 #endif 297 297 #endif 298 298 … … 452 452 #endif 453 453 pcCU->setInterDirSubParts( uhInterDirNeighbours[uiMergeIndex], uiAbsPartIdx, 0, uiDepth ); 454 454 #if !LGE_DDD_REMOVAL_J0042_J0030 455 455 #if H_3D_DDD 456 456 if( uiMergeIndex == m_ppcCU[uiDepth]->getUseDDDCandIdx() ) … … 460 460 pcCU->setDDDepthSubParts( m_ppcCU[uiDepth]->getDDTmpDepth(),uiAbsPartIdx, 0, uiDepth ); 461 461 } 462 #endif 462 463 #endif 463 464 -
branches/HTM-12.2-dev2-LGE/source/Lib/TLibDecoder/TDecEntropy.cpp
r1084 r1094 337 337 } 338 338 pcCU->setInterDirSubParts( uhInterDirNeighbours[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth ); 339 339 #if !LGE_DDD_REMOVAL_J0042_J0030 340 340 #if H_3D_DDD 341 341 if( uiMergeIndex == pcSubCU->getUseDDDCandIdx() ) … … 349 349 pcCU->setUseDDD( false, uiSubPartIdx, uiPartIdx, uiDepth ); 350 350 } 351 #endif 351 352 #endif 352 353 -
branches/HTM-12.2-dev2-LGE/source/Lib/TLibDecoder/TDecSlice.cpp
r976 r1094 280 280 iNumSubstreamsPerTile = 1; 281 281 } 282 #if LGE_DEFAULT_DV_J0046 283 pcSlice->setDefaultRefViewIdx( -1 ); 284 pcSlice->setDefaultRefViewIdxAvailableFlag( false ); 285 286 Int valid = 0; 287 Int viewIndex = 0; 288 for( UInt uiBId = 0; uiBId < pcSlice->getViewIndex() && valid==0; uiBId++ ) 289 { 290 UInt uiBaseId = uiBId; 291 TComPic* pcBasePic = pcSlice->getIvPic( false, uiBaseId ); 292 for( Int iRefListId = 0; ( iRefListId < (pcSlice->isInterB()? 2:1) ) && !pcSlice->isIntra() && valid==0; iRefListId++ ) 293 { 294 RefPicList eRefPicListTest = RefPicList( iRefListId ); 295 Int iNumRefPics = pcSlice->getNumRefIdx( eRefPicListTest ) ; 296 for( Int iRefIndex = 0; iRefIndex < iNumRefPics; iRefIndex++ ) 297 { 298 if(pcBasePic->getPOC() == pcSlice->getRefPic( eRefPicListTest, iRefIndex )->getPOC() 299 && pcBasePic->getViewIndex() == pcSlice->getRefPic( eRefPicListTest, iRefIndex )->getViewIndex()) 300 { 301 valid=1; 302 viewIndex = uiBaseId; 303 break; 304 } 305 } 306 } 307 } 308 if( valid ) 309 { 310 pcSlice->setDefaultRefViewIdx( viewIndex ); 311 pcSlice->setDefaultRefViewIdxAvailableFlag( true ); 312 } 313 #endif 282 314 283 315 if ( (iCUAddr == rpcPic->getPicSym()->getTComTile(rpcPic->getPicSym()->getTileIdxMap(iCUAddr))->getFirstCUAddr()) && // 1st in tile. -
branches/HTM-12.2-dev2-LGE/source/Lib/TLibDecoder/TDecTop.h
r976 r1094 83 83 #endif 84 84 85 #if !LGE_DDD_REMOVAL_J0042_J0030 85 86 #if H_3D_DDD 86 87 Int getCodedScale( Int iBaseView, Int iCureView){ return m_aaiCodedScale[ iBaseView ][ iCureView ];} 87 88 Int getCodedOffset( Int iBaseView, Int iCureView){ return m_aaiCodedOffset[ iBaseView ][ iCureView ];} 88 89 UInt getCamParsCodedPrecision(){ return m_vps->getCamParPrecision(); } 90 #endif 89 91 #endif 90 92
Note: See TracChangeset for help on using the changeset viewer.