Changeset 408 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib
- Timestamp:
- 4 Oct 2013, 02:16:14 (11 years ago)
- Location:
- branches/SHM-3.1-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/Lib/TLibCommon/TypeDef.h
r407 r408 47 47 #define HM12_RANDOM_ACCESS 1 48 48 #define RANDOM_ACCESS_SEI_FIX 1 49 49 #define VPS_NUH_LAYER_ID 1 ///< N0085: Assert that the nuh_layer_id of VPS NAL unit should be 0 50 50 #if SVC_EXTENSION 51 51 #define MAX_LAYERS 2 ///< max number of layers the codec is supposed to handle -
branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r405 r408 1315 1315 { 1316 1316 case NAL_UNIT_VPS: 1317 #if VPS_NUH_LAYER_ID 1318 assert( nalu.m_layerId == 0 ); // Non-conforming bitstream. The value of nuh_layer_id of VPS NAL unit shall be equal to 0. 1319 #endif 1317 1320 xDecodeVPS(); 1318 1321 #if AVC_BASE -
branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r399 r408 1343 1343 { 1344 1344 #if SVC_EXTENSION 1345 #if VPS_NUH_LAYER_ID 1346 OutputNALUnit nalu(NAL_UNIT_VPS, 0, 0 ); // The value of nuh_layer_id of VPS NAL unit shall be equal to 0. 1347 #else 1345 1348 OutputNALUnit nalu(NAL_UNIT_VPS, 0, m_layerId); 1349 #endif 1346 1350 #if AVC_BASE 1347 1351 if( ( m_layerId == 1 && m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) )
Note: See TracChangeset for help on using the changeset viewer.