Changeset 1006 in SHVCSoftware for branches/SHM-upgrade/source/App/TAppDecoder


Ignore:
Timestamp:
27 Jan 2015, 19:44:15 (10 years ago)
Author:
seregin
Message:

port implementation of JCTVC-R0235 - Processing of bitstreams without an available base layer (rev 1005)

Location:
branches/SHM-upgrade/source/App/TAppDecoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-upgrade/source/App/TAppDecoder/TAppDecCfg.cpp

    r962 r1006  
    265265      }
    266266      fclose (targetDecLayerIdSetFile);
     267#if !R0235_SMALLEST_LAYER_ID  // LayerId=0 is not required anymore in some cases
    267268      if ( m_targetDecLayerIdSet.size() > 0 && !isLayerIdZeroIncluded )
    268269      {
     
    270271        return false;
    271272      }
     273#endif
    272274    }
    273275    else
  • branches/SHM-upgrade/source/App/TAppDecoder/TAppDecTop.cpp

    r962 r1006  
    12121212    return true;
    12131213  }
     1214#if R0235_SMALLEST_LAYER_ID
     1215  if (nalu->m_layerId == 0 && (nalu->m_nalUnitType == NAL_UNIT_VPS || nalu->m_nalUnitType == NAL_UNIT_SPS || nalu->m_nalUnitType == NAL_UNIT_PPS || nalu->m_nalUnitType == NAL_UNIT_EOS))
     1216  {
     1217    return true;
     1218  }
     1219#endif
    12141220  for (std::vector<Int>::iterator it = m_targetDecLayerIdSet.begin(); it != m_targetDecLayerIdSet.end(); it++)
    12151221  {
Note: See TracChangeset for help on using the changeset viewer.