Changeset 437 in SHVCSoftware
- Timestamp:
- 15 Oct 2013, 15:17:33 (11 years ago)
- Location:
- branches/SHM-3.1-dev/source/Lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/Lib/TLibDecoder/SEIread.cpp
r435 r437 804 804 sei.m_skippedTileSetPresentFlag = false; 805 805 } 806 UInt numSignificantSets = sei.m_ilNumSetsInMessageMinus1 +(sei.m_skippedTileSetPresentFlag ? 1 : 0) + 1;807 for( UInt i = 0; i < =numSignificantSets; i++ )806 UInt numSignificantSets = sei.m_ilNumSetsInMessageMinus1 - (sei.m_skippedTileSetPresentFlag ? 1 : 0) + 1; 807 for( UInt i = 0; i < numSignificantSets; i++ ) 808 808 { 809 809 READ_UVLC( uiCode, "ilcts_id" ); sei.m_ilctsId[i] = uiCode; -
branches/SHM-3.1-dev/source/Lib/TLibEncoder/SEIwrite.cpp
r435 r437 581 581 WRITE_FLAG( sei.m_skippedTileSetPresentFlag, "skipped_tile_set_present_flag" ); 582 582 } 583 UInt numSignificantSets = sei.m_ilNumSetsInMessageMinus1 +(sei.m_skippedTileSetPresentFlag ? 1 : 0) + 1;584 for( UInt i = 0; i < =numSignificantSets; i++ )583 UInt numSignificantSets = sei.m_ilNumSetsInMessageMinus1 - (sei.m_skippedTileSetPresentFlag ? 1 : 0) + 1; 584 for( UInt i = 0; i < numSignificantSets; i++ ) 585 585 { 586 586 WRITE_UVLC( sei.m_ilctsId[i], "ilcts_id" ); -
branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r435 r437 324 324 seiInterLayerConstrainedTileSets->m_skippedTileSetPresentFlag = false; 325 325 } 326 UInt numSignificantSets = seiInterLayerConstrainedTileSets->m_ilNumSetsInMessageMinus1 - (seiInterLayerConstrainedTileSets->m_skippedTileSetPresentFlag ? 1 : 0) + 1;327 for (UInt i = 0; i < numSignificantSets; i++)326 seiInterLayerConstrainedTileSets->m_ilNumSetsInMessageMinus1 += seiInterLayerConstrainedTileSets->m_skippedTileSetPresentFlag ? 1 : 0; 327 for (UInt i = 0; i < m_pcCfg->getIlNumSetsInMessage(); i++) 328 328 { 329 329 seiInterLayerConstrainedTileSets->m_ilctsId[i] = i; -
branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncSearch.cpp
r436 r437 3223 3223 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 3224 3224 Bool disableILP = false; 3225 if (pcCU->getPic()->getLayerId() > 0 && m_pcEncCfg->getInterLayerConstrainedTileSetsSEIEnabled() /*&& pcCU->getPic()->getPicSym()->getTileIdxMap(pcCU->getAddr()) >= 0*/) //always true condition is commented out3225 if (pcCU->getPic()->getLayerId() == (m_pcEncCfg->getNumLayer() - 1) && m_pcEncCfg->getInterLayerConstrainedTileSetsSEIEnabled() && pcCU->getPic()->getPicSym()->getTileSetIdxMap(pcCU->getAddr()) >= 0) 3226 3226 { 3227 3227 if (pcCU->getPic()->getPicSym()->getTileSetType(pcCU->getAddr()) == 2)
Note: See TracChangeset for help on using the changeset viewer.