Changeset 409 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib/TLibDecoder
- Timestamp:
- 4 Oct 2013, 09:33:05 (11 years ago)
- 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 1205 1205 #endif 1206 1206 1207 #if N0147_IRAP_ALIGN_FLAG 1208 READ_FLAG(uiCode, "cross_layer_irap_aligned_flag" ); 1209 vps->setCrossLayerIrapAlignFlag(uiCode); 1210 #endif 1211 1207 1212 #if !VPS_MOVE_DIR_DEPENDENCY_FLAG 1208 1213 #if VPS_EXTN_DIRECT_REF_LAYERS -
branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r408 r409 757 757 // actual decoding starts here 758 758 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 759 767 #if REPN_FORMAT_IN_VPS 760 768 // Initialize ILRP if needed, only for the current layer … … 1099 1107 #endif //SVC_EXTENSION 1100 1108 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 1101 1119 // For generalized B 1102 1120 // 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.