Changeset 1005 in SHVCSoftware for branches/SHM-dev/source/App/TAppDecoder
- Timestamp:
- 26 Jan 2015, 17:11:15 (10 years ago)
- Location:
- branches/SHM-dev/source/App/TAppDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppDecoder/TAppDecCfg.cpp
r953 r1005 249 249 } 250 250 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) 252 253 { 253 254 fprintf(stderr, "TargetDecLayerIdSet must contain LayerId=0, aborting" ); 254 255 return false; 255 256 } 257 #endif 256 258 } 257 259 else -
branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp
r953 r1005 1113 1113 return true; 1114 1114 } 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 1115 1121 for (std::vector<Int>::iterator it = m_targetDecLayerIdSet.begin(); it != m_targetDecLayerIdSet.end(); it++) 1116 1122 {
Note: See TracChangeset for help on using the changeset viewer.