Changeset 443 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComSlice.cpp
- Timestamp:
- 26 May 2013, 15:41:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/TComSlice.cpp
r332 r443 113 113 #if LGE_ILLUCOMP_B0045 114 114 , m_bApplyIC ( false ) 115 #if SHARP_ILLUCOMP_PARSE_D0060 116 , m_icSkipParseFlag ( false ) 117 #endif 115 118 #endif 116 119 #if INTER_VIEW_VECTOR_SCALING_C0115 … … 119 122 #endif 120 123 { 124 #if MERL_VSP_NBDV_RefVId_Fix_D0166 125 for(Int iNumCount = 0; iNumCount < MAX_VIEW_NUM; iNumCount++) 126 m_pcListDepthPic[iNumCount] =NULL; 127 #endif 121 128 m_aiNumRefIdx[0] = m_aiNumRefIdx[1] = m_aiNumRefIdx[2] = 0; 122 129 … … 818 825 819 826 m_saoEnabledFlag = pSrc->m_saoEnabledFlag; 827 #if LGE_SAO_MIGRATION_D0091 828 m_saoEnabledFlagChroma = pSrc->m_saoEnabledFlagChroma; 829 #else 820 830 m_saoInterleavingFlag = pSrc->m_saoInterleavingFlag; 821 831 m_saoEnabledFlagCb = pSrc->m_saoEnabledFlagCb; 822 832 m_saoEnabledFlagCr = pSrc->m_saoEnabledFlagCr; 833 #endif 823 834 #if CABAC_INIT_FLAG 824 835 m_cabacInitFlag = pSrc->m_cabacInitFlag; … … 827 838 828 839 m_bLMvdL1Zero = pSrc->m_bLMvdL1Zero; 840 #if SHARP_ILLUCOMP_PARSE_D0060 841 m_bApplyIC = pSrc->m_bApplyIC; 842 m_icSkipParseFlag = pSrc->m_icSkipParseFlag; 843 #endif 829 844 } 830 845 … … 1387 1402 #endif 1388 1403 1404 #if MERL_VSP_NBDV_RefVId_Fix_D0166 1405 TComPic* TComSlice::getDepthRefPic(Int viewId, Int poc) 1406 { 1407 TComPic* pPic = NULL; 1408 1409 if (m_pcListDepthPic[viewId] == NULL) 1410 return NULL; 1411 1412 for( TComList<TComPic*>::iterator it = m_pcListDepthPic[viewId]->begin(); it != m_pcListDepthPic[viewId]->end(); it++ ) 1413 { 1414 TComPic* currPic = *it; 1415 TComSlice* currSlice = currPic->getCurrSlice(); 1416 Bool isDepth = currSlice->getIsDepth(); 1417 //assert(isDepth); 1418 if( isDepth && currPic->getPOC() == poc && currPic->getViewId() == viewId ) // (*it)->getSPS()->isDepth() 1419 { 1420 pPic = *it; 1421 break; 1422 } 1423 } 1424 1425 return pPic; 1426 } 1427 #endif 1428 1429 1430 #if QC_ARP_D0177 1431 Void TComSlice::setARPStepNum() 1432 { 1433 Bool bAllIvRef = false; 1434 if(!getSPS()->getUseAdvRP()) 1435 m_nARPStepNum = 0; 1436 else 1437 { 1438 for( Int iRefListId = 0; iRefListId < 2; iRefListId++ ) 1439 { 1440 RefPicList eRefPicList = RefPicList( iRefListId ); 1441 Int iNumRefIdx = getNumRefIdx(eRefPicList); 1442 if( iNumRefIdx <= 0 ) 1443 continue; 1444 for (Int i = 0; i < iNumRefIdx; i++) 1445 { 1446 if(getRefPic( REF_PIC_LIST_0, i)->getPOC() != getPOC()) 1447 { 1448 bAllIvRef = true; 1449 break; 1450 } 1451 } 1452 if( bAllIvRef == true ) 1453 break; 1454 } 1455 if(bAllIvRef== true) 1456 m_nARPStepNum = getSPS()->getARPStepNum(); 1457 else 1458 m_nARPStepNum = 0; 1459 } 1460 } 1461 #endif 1389 1462 // ------------------------------------------------------------------------------------------------ 1390 1463 // Video parameter set (VPS) … … 1576 1649 m_uiMultiviewMvPredMode = 0; 1577 1650 #endif 1578 1651 #if QC_ARP_D0177 1652 m_nUseAdvResPred = 0; 1653 m_nARPStepNum = 1; 1654 #endif 1579 1655 ::memset( m_aiUsableInterViewRefs, 0, sizeof( m_aiUsableInterViewRefs ) ); 1580 1656 … … 2044 2120 m_scalingList = src.m_scalingList; 2045 2121 m_scalingListEnabled = src.m_scalingListEnabled; 2122 #if !LGE_SAO_MIGRATION_D0091 2046 2123 m_saoInterleavingFlag = src.m_saoInterleavingFlag; 2124 #endif 2047 2125 2048 2126 return *this;
Note: See TracChangeset for help on using the changeset viewer.