Changeset 409 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
4 Oct 2013, 09:33:05 (11 years ago)
Author:
qualcomm
Message:

software integration of N0147 changes

Location:
branches/SHM-3.1-dev/source/Lib/TLibDecoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r407 r409  
    12051205#endif
    12061206
     1207#if N0147_IRAP_ALIGN_FLAG
     1208  READ_FLAG(uiCode, "cross_layer_irap_aligned_flag" );
     1209  vps->setCrossLayerIrapAlignFlag(uiCode);
     1210#endif
     1211
    12071212#if !VPS_MOVE_DIR_DEPENDENCY_FLAG
    12081213#if VPS_EXTN_DIRECT_REF_LAYERS
  • branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r408 r409  
    757757  // actual decoding starts here
    758758  xActivateParameterSets();
     759#if 0 // N0147_IRAP_ALIGN_FLAG Disabled for now!
     760  //When cross_layer_irap_aligned_flag is equal to 0, num_extra_slice_header_bits >=1
     761  if( m_layerId > 0 && m_apcSlicePilot->getVPS()->getCrossLayerIrapAlignFlag())
     762    assert( m_apcSlicePilot->getPPS()->getNumExtraSliceHeaderBits() > 0);
     763  //When cross_layer_irap_aligned_flag is equal to 1, the value of poc_reset_flag shall be equal to 0 
     764  // to be added after poc_reset_flag is integrated.
     765#endif
     766
    759767#if REPN_FORMAT_IN_VPS
    760768  // Initialize ILRP if needed, only for the current layer 
     
    10991107#endif //SVC_EXTENSION
    11001108
     1109#if N0147_IRAP_ALIGN_FLAG
     1110    if(  m_layerId > 0 && pcSlice->getVPS()->getCrossLayerIrapAlignFlag())
     1111    {
     1112      if(pcSlice->isIRAP())
     1113      {
     1114        for(Int depedentLayerId = 0; depedentLayerId < pcSlice->getVPS()->getNumDirectRefLayers(m_layerId); depedentLayerId++)
     1115          assert(pcSlice->getNalUnitType() == pcSlice->getBaseColPic(depedentLayerId)->getSlice(0)->getNalUnitType());
     1116      }
     1117    }
     1118#endif
    11011119    // For generalized B
    11021120    // note: maybe not existed case (always L0 is copied to L1 if L1 is empty)
Note: See TracChangeset for help on using the changeset viewer.