Changeset 437 in SHVCSoftware


Ignore:
Timestamp:
15 Oct 2013, 15:17:33 (11 years ago)
Author:
nokia
Message:

fix spec inconsistencies and a typo (tileIdx -> tileSetIdx) in tile sets implementation

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  
    804804      sei.m_skippedTileSetPresentFlag = false;
    805805    }
    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++ )
    808808    {
    809809      READ_UVLC( uiCode, "ilcts_id"                                     ); sei.m_ilctsId[i] = uiCode;
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/SEIwrite.cpp

    r435 r437  
    581581      WRITE_FLAG( sei.m_skippedTileSetPresentFlag,            "skipped_tile_set_present_flag"                );
    582582    }
    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++ )
    585585    {
    586586      WRITE_UVLC( sei.m_ilctsId[i],                           "ilcts_id"                                     );
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r435 r437  
    324324      seiInterLayerConstrainedTileSets->m_skippedTileSetPresentFlag = false;
    325325    }
    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++)
    328328    {
    329329      seiInterLayerConstrainedTileSets->m_ilctsId[i] = i;
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncSearch.cpp

    r436 r437  
    32233223#if N0383_IL_CONSTRAINED_TILE_SETS_SEI
    32243224  Bool disableILP = false;
    3225   if (pcCU->getPic()->getLayerId() > 0 && m_pcEncCfg->getInterLayerConstrainedTileSetsSEIEnabled() /*&& pcCU->getPic()->getPicSym()->getTileIdxMap(pcCU->getAddr()) >= 0*/) //always true condition is commented out
     3225  if (pcCU->getPic()->getLayerId() == (m_pcEncCfg->getNumLayer() - 1)  && m_pcEncCfg->getInterLayerConstrainedTileSetsSEIEnabled() && pcCU->getPic()->getPicSym()->getTileSetIdxMap(pcCU->getAddr()) >= 0)
    32263226  {
    32273227    if (pcCU->getPic()->getPicSym()->getTileSetType(pcCU->getAddr()) == 2)
Note: See TracChangeset for help on using the changeset viewer.