Changeset 1005 in SHVCSoftware for branches/SHM-dev/source/App/TAppDecoder


Ignore:
Timestamp:
26 Jan 2015, 17:11:15 (10 years ago)
Author:
nokia
Message:

Implementation of JCTVC-R0235 - Processing of bitstreams without an available base layer

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

Legend:

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

    r953 r1005  
    249249      }
    250250      fclose (targetDecLayerIdSetFile);
    251       if ( m_targetDecLayerIdSet.size() > 0 && !isLayerIdZeroIncluded )
     251#if !R0235_SMALLEST_LAYER_ID  // LayerId=0 is not required anymore in some cases
     252      if (m_targetDecLayerIdSet.size() > 0 && !isLayerIdZeroIncluded)
    252253      {
    253254        fprintf(stderr, "TargetDecLayerIdSet must contain LayerId=0, aborting" );
    254255        return false;
    255256      }
     257#endif
    256258    }
    257259    else
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r953 r1005  
    11131113    return true;
    11141114  }
     1115#if R0235_SMALLEST_LAYER_ID
     1116  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))
     1117  {
     1118    return true;
     1119  }
     1120#endif
    11151121  for (std::vector<Int>::iterator it = m_targetDecLayerIdSet.begin(); it != m_targetDecLayerIdSet.end(); it++)
    11161122  {
Note: See TracChangeset for help on using the changeset viewer.