Changeset 1039 in SHVCSoftware for branches/SHM-dev
- Timestamp:
- 2 Mar 2015, 19:26:17 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1037 r1039 960 960 961 961 #if M0040_ADAPTIVE_RESOLUTION_CHANGE 962 if (m_pcEncTop->getAdaptiveResolutionChange() > 0 && ((m_layerId == 1&& pocCurr < m_pcEncTop->getAdaptiveResolutionChange()) ||962 if (m_pcEncTop->getAdaptiveResolutionChange() > 0 && ((m_layerId > 0 && pocCurr < m_pcEncTop->getAdaptiveResolutionChange()) || 963 963 (m_layerId == 0 && pocCurr > m_pcEncTop->getAdaptiveResolutionChange())) ) 964 964 { … … 1182 1182 #endif 1183 1183 #if M0040_ADAPTIVE_RESOLUTION_CHANGE 1184 if (m_pcEncTop->getAdaptiveResolutionChange() > 0 && m_layerId == 1&& pocCurr > m_pcEncTop->getAdaptiveResolutionChange())1184 if (m_pcEncTop->getAdaptiveResolutionChange() > 0 && m_layerId > 0 && pocCurr > m_pcEncTop->getAdaptiveResolutionChange()) 1185 1185 { 1186 1186 pcSlice->setActiveNumILRRefIdx(0); … … 2371 2371 #if AVC_BASE 2372 2372 #if VPS_AVC_BL_FLAG_REMOVAL 2373 if( ( m_layerId == 1&& m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() ) )2374 #else 2375 if( ( m_layerId == 1&& m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) )2373 if( ( m_layerId > 0 && m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() ) ) 2374 #else 2375 if( ( m_layerId > 0 && m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) ) 2376 2376 #endif 2377 2377 #else … … 2459 2459 m_pcEntropyCoder->setBitstream(&nalu.m_Bitstream); 2460 2460 #if O0092_0094_DEPENDENCY_CONSTRAINT 2461 assert( pcSlice->getPPS()->get PPSId() == 0 || pcSlice->getPPS()->getPPSId() == m_layerId || m_pcEncTop->getVPS()->getRecursiveRefLayerFlag(m_layerId, pcSlice->getPPS()->getPPSId()) );2461 assert( pcSlice->getPPS()->getLayerId() == 0 || pcSlice->getPPS()->getLayerId() == m_layerId || m_pcEncTop->getVPS()->getRecursiveRefLayerFlag(m_layerId, pcSlice->getPPS()->getLayerId()) ); 2462 2462 #endif 2463 2463 #if Q0048_CGS_3D_ASYMLUT
Note: See TracChangeset for help on using the changeset viewer.