Ignore:
Timestamp:
6 Nov 2015, 16:18:36 (8 years ago)
Author:
tech
Message:

Macro fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-15.2-dev/source/Lib/TLibCommon/TComSlice.cpp

    r1360 r1373  
    118118, m_viewId                        (0)
    119119, m_viewIndex                     (0)
    120 #if NH_3D
     120#if NH_3D_VSO
    121121, m_isDepth                       (false)
    122122#endif
     
    21822182}
    21832183
    2184 #if NH_3D
    2185 Int TComVPS::getLayerIdInNuh( Int viewIndex, Bool depthFlag ) const
     2184#if NH_3D_VSO
     2185Int TComVPS::getLayerIdInNuh( Int viewIndex, Bool depthFlag, Int auxId ) const
    21862186{
    21872187  Int foundLayerIdinNuh = -1;
     
    21902190  {
    21912191    Int layerIdInNuh = getLayerIdInNuh( layerIdInVps );
     2192#if !NH_3D
     2193    if( ( getViewIndex( layerIdInNuh ) == viewIndex ) && ( getAuxId( layerIdInNuh ) == ( depthFlag ? 2 : 0 ) )  )
     2194#else
    21922195    if( ( getViewIndex( layerIdInNuh ) == viewIndex ) && ( getDepthId( layerIdInNuh ) == ( depthFlag ? 1 : 0 ) )  )
     2196#endif
    21932197    {
    21942198      foundLayerIdinNuh = layerIdInNuh;
     
    21982202  return foundLayerIdinNuh;
    21992203}
    2200 
     2204#endif
     2205#if NH_3D
    22012206Void TComVPS::createCamPars(Int iNumViews)
    22022207{
     
    38573862}
    38583863#endif
    3859 #if NH_3D
     3864#if NH_3D_QTL
    38603865Void TComSlice::setIvPicLists( TComPicLists* m_ivPicLists )
    38613866
     
    38643869    for ( Int depthId = 0; depthId < 2; depthId++ )
    38653870    {
    3866       m_ivPicsCurrPoc[ depthId ][ i ] = ( i <= m_viewIndex ) ? m_ivPicLists->getPic( i, ( depthId == 1) , getPOC() ) : NULL;
     3871      m_ivPicsCurrPoc[ depthId ][ i ] = ( i <= m_viewIndex ) ? m_ivPicLists->getPic( i, ( depthId == 1) , 0, getPOC() ) : NULL;
    38673872    }       
    38683873  } 
    38693874}
     3875#endif
     3876#if NH_3D
    38703877Void TComSlice::setDepthToDisparityLUTs()
    38713878{
Note: See TracChangeset for help on using the changeset viewer.