Changeset 228 in SHVCSoftware
- Timestamp:
- 23 May 2013, 00:07:32 (11 years ago)
- Location:
- branches/SHM-2.1-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-dev/source/Lib/TLibCommon/TypeDef.h
r226 r228 45 45 #if SVC_EXTENSION 46 46 #define SPS_EXTENSION 1 ///< Define sps_extension() syntax structure 47 #define SCALED_REF_LAYER_OFFSET_FLAG 1 ///< M0309: Signal scaled reference layer offsets in SPS 47 48 #define SCALED_REF_LAYER_OFFSETS 1 ///< M0309: Signal scaled reference layer offsets in SPS 48 49 #define MAX_LAYERS 2 ///< max number of layers the codec is supposed to handle -
branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r227 r228 754 754 Void TDecCavlc::parseSPSExtension( TComSPS* pcSPS ) 755 755 { 756 UInt uiCode; 756 757 // more syntax elements to be parsed here 757 758 #if SCALED_REF_LAYER_OFFSETS 759 #if SCALED_REF_LAYER_OFFSET_FLAG 760 READ_FLAG( uiCode, "scaled_ref_layer_offset_present_flag" ); 761 if( uiCode ) 762 #else 758 763 if( pcSPS->getLayerId() > 0 ) 764 #endif 759 765 { 760 766 Int iCode; -
branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r227 r228 577 577 // more syntax elements to be written here 578 578 #if SCALED_REF_LAYER_OFFSETS 579 #if SCALED_REF_LAYER_OFFSET_FLAG 580 WRITE_FLAG( pcSPS->getLayerId() > 0, "scaled_ref_layer_offset_present_flag" ); 579 581 if( pcSPS->getLayerId() > 0 ) 582 #else 583 if( pcSPS->getLayerId() > 0 ) 584 #endif 580 585 { 581 586 Window scaledWindow = pcSPS->getScaledRefLayerWindow();
Note: See TracChangeset for help on using the changeset viewer.