- Timestamp:
- 16 Nov 2013, 01:12:02 (11 years ago)
- Location:
- branches/SHM-4.0-dev/source/Lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibCommon/TypeDef.h
r484 r485 138 138 139 139 #define N0147_IRAP_ALIGN_FLAG 1 ///< a flag to indicatate whether IRAPs are aligned across layers 140 #if N0147_IRAP_ALIGN_FLAG 141 #define O0223_O0139_IRAP_ALIGN_NO_CONTRAINTS 1 ///< Remove IRAP align depedency constraints on poc_Reset_flag. 142 #define IRAP_ALIGN_FLAG_IN_VPS_VUI 1 ///< Move IRAP align flag to VPS VUI 143 #endif 140 144 #if !N0147_IRAP_ALIGN_FLAG 141 145 #define IDR_ALIGNMENT 1 ///< align IDR picures across layers : As per JCTVC-N0373, IDR are not required to be aligned. -
branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r484 r485 1300 1300 #endif 1301 1301 1302 #if N0147_IRAP_ALIGN_FLAG 1302 #if N0147_IRAP_ALIGN_FLAG && !IRAP_ALIGN_FLAG_IN_VPS_VUI 1303 1303 READ_FLAG(uiCode, "cross_layer_irap_aligned_flag" ); 1304 1304 vps->setCrossLayerIrapAlignFlag(uiCode); … … 1375 1375 UInt i,j; 1376 1376 UInt uiCode; 1377 #if IRAP_ALIGN_FLAG_IN_VPS_VUI 1378 READ_FLAG(uiCode, "cross_layer_irap_aligned_flag" ); 1379 vps->setCrossLayerIrapAlignFlag(uiCode); 1380 #endif 1377 1381 #if VPS_VUI_BITRATE_PICRATE 1378 1382 READ_FLAG( uiCode, "bit_rate_present_vps_flag" ); vps->setBitRatePresentVpsFlag( uiCode ? true : false ); -
branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecTop.cpp
r484 r485 788 788 // actual decoding starts here 789 789 xActivateParameterSets(); 790 #if 0 // N0147_IRAP_ALIGN_FLAG Disabled for now! 790 #if !O0223_O0139_IRAP_ALIGN_NO_CONTRAINTS 791 //Note setting O0223_O0139_IRAP_ALIGN_NO_CONTRAINTS to 0 may cause decoder to crash. 791 792 //When cross_layer_irap_aligned_flag is equal to 0, num_extra_slice_header_bits >=1 792 793 if(!m_apcSlicePilot->getVPS()->getCrossLayerIrapAlignFlag() ) -
branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r484 r485 1022 1022 WRITE_FLAG(vps->getPhaseAlignFlag(), "cross_layer_phase_alignment_flag" ); 1023 1023 #endif 1024 #if N0147_IRAP_ALIGN_FLAG 1024 #if N0147_IRAP_ALIGN_FLAG && !IRAP_ALIGN_FLAG_IN_VPS_VUI 1025 1025 WRITE_FLAG(vps->getCrossLayerIrapAlignFlag(), "cross_layer_irap_aligned_flag"); 1026 1026 #endif … … 1092 1092 { 1093 1093 Int i,j; 1094 #if IRAP_ALIGN_FLAG_IN_VPS_VUI 1095 WRITE_FLAG(vps->getCrossLayerIrapAlignFlag(), "cross_layer_irap_aligned_flag"); 1096 #endif 1094 1097 #if VPS_VUI_BITRATE_PICRATE 1095 1098 WRITE_FLAG( vps->getBitRatePresentVpsFlag(), "bit_rate_present_vps_flag" );
Note: See TracChangeset for help on using the changeset viewer.