Changeset 1485 in SHVCSoftware


Ignore:
Timestamp:
4 Nov 2015, 03:25:23 (9 years ago)
Author:
seregin
Message:

ignore NAL unit with layerId equal to 63

Location:
branches/SHM-dev/source
Files:
5 edited

Legend:

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

    r1479 r1485  
    234234    {
    235235      read(nalu);
     236
     237#if SVC_EXTENSION
     238      // ignore any NAL units with nuh_layer_id == 63
     239      if( nalu.m_nuhLayerId == 63 )
     240      {
     241        printf("Ignore NAL unit with m_nuhLayerId equal to 63\n");
     242        continue;
     243      }
     244#endif
     245
    236246      if( (m_iMaxTemporalLayer >= 0 && nalu.m_temporalId > m_iMaxTemporalLayer) || !isNaluWithinTargetDecLayerIdSet(&nalu)  ||
    237247#if CONFORMANCE_BITSTREAM_MODE
  • branches/SHM-dev/source/Lib/TLibCommon/TComPic.cpp

    r1442 r1485  
    8888  const Window& conformanceWindow = vps.getConformanceWindow( &sps, layerId );
    8989
     90  m_layerId = layerId;
     91
    9092  m_picSym.create( vps, sps, pps, uiMaxDepth, layerId );
    9193
  • branches/SHM-dev/source/Lib/TLibCommon/TComPicSym.cpp

    r1443 r1485  
    121121  allocateNewSlice();
    122122
     123#if SVC_EXTENSION
     124   m_apSlices.back()->setLayerId( layerId );
     125#endif
     126
    123127#if ADAPTIVE_QP_SELECTION
    124128  if (m_pParentARLBuffer == NULL)
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp

    r1483 r1485  
    35943594
    35953595      pcIlpPic[refLayerIdc]->getPicYuvRec()->setBorderExtension( false );
    3596       pcIlpPic[refLayerIdc]->getPicYuvRec()->extendPicBorder();     
     3596      pcIlpPic[refLayerIdc]->getPicYuvRec()->extendPicBorder();
    35973597      pcIlpPic[refLayerIdc]->setIsLongTerm(true);
    35983598
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1484 r1485  
    170170  m_cGopDecoder.create();
    171171  m_apcSlicePilot = new TComSlice;
    172 #if SVC_EXTENSION
    173   m_apcSlicePilot->setLayerId(m_layerId);
    174 #endif
    175172  m_uiSliceIdx = 0;
    176173}
     
    19691966  // ignore any NAL units with nuh_layer_id == 63
    19701967  if( nalu.m_nuhLayerId == 63 )
    1971   { 
     1968  {
    19721969    return false;
    19731970  }
Note: See TracChangeset for help on using the changeset viewer.