Changeset 1179 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecTop.h


Ignore:
Timestamp:
7 Apr 2015, 17:05:30 (9 years ago)
Author:
tech
Message:

Merged branch 13.1-dev0@1178.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibDecoder/TDecTop.h

    r1133 r1179  
    44 * granted under this license. 
    55 *
    6 * Copyright (c) 2010-2014, ITU/ISO/IEC
     6* Copyright (c) 2010-2015, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    9797  TComVPS* m_vps;
    9898  Int**    m_receivedIdc;
     99#if!HHI_CAM_PARA_K0052
    99100  Int      m_uiMaxViewIndex;
     101#endif
    100102  Int      m_lastPoc;
    101103  Int      m_firstReceivedPoc;
     
    243245  CamParsCollector*       m_pcCamParsCollector;
    244246#endif
     247#if H_3D_ANNEX_SELECTION_FIX
     248  Int                     m_profileIdc;
     249#endif
    245250#endif
    246251
     
    301306  Void                    setCamParsCollector( CamParsCollector* pcCamParsCollector ) { m_pcCamParsCollector = pcCamParsCollector; }
    302307#endif
     308#if H_3D_ANNEX_SELECTION_FIX
     309  Void                    setProfileIdc()
     310  {       
     311    if (m_targetOptLayerSetIdx != -1 )
     312    {   
     313      TComVPS* vps = getPrefetchedVPS();
     314      Int lsIdx = vps->olsIdxToLsIdx( m_targetOptLayerSetIdx );
     315      Int lIdx = -1;
     316      for (Int j = 0; j < vps->getNumLayersInIdList( lsIdx ); j++ )
     317      {
     318        if ( vps->getLayerSetLayerIdList( lsIdx, j ) == getLayerId() )
     319        {
     320          lIdx = j;
     321          break;
     322        }       
     323      }
     324      assert( lIdx != -1 );
     325
     326      Int profileIdc = vps->getPTL( vps->getProfileTierLevelIdx( m_targetOptLayerSetIdx, lIdx ) )->getGeneralPTL()->getProfileIdc();
     327      assert( profileIdc == 1 || profileIdc == 6 || profileIdc == 8 );
     328      m_profileIdc = profileIdc;   
     329    };
     330  }
     331  Bool                    decProcAnnexI()           { assert( m_profileIdc != -1 ); return ( m_profileIdc == 8); }   
     332#endif
     333
    303334#endif
    304335protected:
Note: See TracChangeset for help on using the changeset viewer.