- Timestamp:
- 30 Apr 2014, 01:22:55 (11 years ago)
- Location:
- branches/SHM-6-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r763 r764 105 105 #endif 106 106 #define MFM_ENCCONSTRAINT 1 ///< JCTVC-O0216: Encoder constraint for motion field mapping 107 #define VPS_NUH_LAYER_ID 1 ///< JCTVC-N0085: Assert that the nuh_layer_id of VPS NAL unit should be 0108 107 #define POC_RESET_FLAG 1 ///< JCTVC-N0244: POC reset flag for layer pictures. 109 108 #define POC_RESET_IDC 1 ///< JCTVC-P0041: Include poc_reset_idc and related derivation - eventually will replace POC_RESET_FLAG -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecTop.cpp
r759 r764 2020 2020 { 2021 2021 case NAL_UNIT_VPS: 2022 #if VPS_NUH_LAYER_ID2022 #if SVC_EXTENSION 2023 2023 assert( nalu.m_layerId == 0 ); // Non-conforming bitstream. The value of nuh_layer_id of VPS NAL unit shall be equal to 0. 2024 2024 #endif -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r758 r764 2084 2084 { 2085 2085 #if SVC_EXTENSION 2086 #if VPS_NUH_LAYER_ID 2087 OutputNALUnit nalu(NAL_UNIT_VPS, 0, 0 ); // The value of nuh_layer_id of VPS NAL unit shall be equal to 0. 2088 #else 2089 OutputNALUnit nalu(NAL_UNIT_VPS, 0, m_layerId); 2090 #endif 2086 OutputNALUnit nalu( NAL_UNIT_VPS, 0, 0 ); // The value of nuh_layer_id of VPS NAL unit shall be equal to 0. 2091 2087 #if AVC_BASE 2092 2088 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.