Changeset 443 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComSlice.cpp


Ignore:
Timestamp:
26 May 2013, 15:41:34 (11 years ago)
Author:
tech
Message:
  • Reintegrated branch 6.2-dev0 rev. 442.
  • Changed version number.
  • Added coding results.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibCommon/TComSlice.cpp

    r332 r443  
    113113#if LGE_ILLUCOMP_B0045
    114114, m_bApplyIC                      ( false )
     115#if SHARP_ILLUCOMP_PARSE_D0060
     116, m_icSkipParseFlag               ( false )
     117#endif
    115118#endif
    116119#if INTER_VIEW_VECTOR_SCALING_C0115
     
    119122#endif
    120123{
     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
    121128  m_aiNumRefIdx[0] = m_aiNumRefIdx[1] = m_aiNumRefIdx[2] = 0;
    122129
     
    818825
    819826  m_saoEnabledFlag = pSrc->m_saoEnabledFlag;
     827#if LGE_SAO_MIGRATION_D0091
     828  m_saoEnabledFlagChroma = pSrc->m_saoEnabledFlagChroma;
     829#else
    820830  m_saoInterleavingFlag = pSrc->m_saoInterleavingFlag;
    821831  m_saoEnabledFlagCb = pSrc->m_saoEnabledFlagCb;
    822832  m_saoEnabledFlagCr = pSrc->m_saoEnabledFlagCr;
     833#endif
    823834#if CABAC_INIT_FLAG
    824835  m_cabacInitFlag                = pSrc->m_cabacInitFlag;
     
    827838
    828839  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
    829844}
    830845
     
    13871402#endif
    13881403
     1404#if MERL_VSP_NBDV_RefVId_Fix_D0166
     1405TComPic* 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
     1431Void 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
    13891462// ------------------------------------------------------------------------------------------------
    13901463// Video parameter set (VPS)
     
    15761649  m_uiMultiviewMvPredMode    = 0;
    15771650#endif
    1578 
     1651#if QC_ARP_D0177
     1652  m_nUseAdvResPred           = 0;
     1653  m_nARPStepNum              = 1;
     1654#endif
    15791655  ::memset( m_aiUsableInterViewRefs, 0, sizeof( m_aiUsableInterViewRefs ) );
    15801656 
     
    20442120  m_scalingList = src.m_scalingList;
    20452121  m_scalingListEnabled = src.m_scalingListEnabled;
     2122#if !LGE_SAO_MIGRATION_D0091
    20462123  m_saoInterleavingFlag = src.m_saoInterleavingFlag;
     2124#endif
    20472125
    20482126  return *this;
Note: See TracChangeset for help on using the changeset viewer.