Changeset 1179 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecTop.h
- Timestamp:
- 7 Apr 2015, 17:05:30 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecTop.h
r1133 r1179 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 4, ITU/ISO/IEC6 * Copyright (c) 2010-2015, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 97 97 TComVPS* m_vps; 98 98 Int** m_receivedIdc; 99 #if!HHI_CAM_PARA_K0052 99 100 Int m_uiMaxViewIndex; 101 #endif 100 102 Int m_lastPoc; 101 103 Int m_firstReceivedPoc; … … 243 245 CamParsCollector* m_pcCamParsCollector; 244 246 #endif 247 #if H_3D_ANNEX_SELECTION_FIX 248 Int m_profileIdc; 249 #endif 245 250 #endif 246 251 … … 301 306 Void setCamParsCollector( CamParsCollector* pcCamParsCollector ) { m_pcCamParsCollector = pcCamParsCollector; } 302 307 #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 303 334 #endif 304 335 protected:
Note: See TracChangeset for help on using the changeset viewer.