- Timestamp:
- 9 Oct 2013, 22:57:05 (11 years ago)
- Location:
- branches/SHM-3.1-dev/source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/App/TAppEncoder/TAppEncTop.cpp
r414 r425 1074 1074 vps->setSingleLayerForNonIrapFlag(m_adaptiveResolutionChange > 0 ? true : false); 1075 1075 #endif 1076 #if VPS_EXTN_OFFSET 1077 // to be updated according to the current semantics 1078 vps->setExtensionOffset( 0xffff ); 1079 #endif 1076 1080 #else 1077 1081 m_cTEncTop.init(); -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComSlice.h
r415 r425 508 508 Bool m_scalingListLayerDependency[MAX_LAYERS][MAX_LAYERS]; // layer dependency for scaling list 509 509 #endif 510 #if VPS_EXTN_OFFSET 511 UInt m_extensionOffset; 512 #endif 510 513 TComPTL m_pcPTL; 511 514 TimingInfo m_timingInfo; … … 848 851 Int getNumViews(); 849 852 Int scalTypeToScalIdx( ScalabilityType scalType ); 853 #endif 854 #if VPS_EXTN_OFFSET 855 Int getExtensionOffset() { return m_extensionOffset; } 856 Void setExtensionOffset( UInt offset ) { m_extensionOffset = offset; } 850 857 #endif 851 858 }; -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TypeDef.h
r420 r425 96 96 #endif 97 97 98 #define VPS_EXTN_OFFSET 1 ///< implementation of vps_extension_offset syntax element 98 99 #define SPS_PTL_FIX 1 ///< remove profile_tier_level from enhancement layer SPS 99 100 #define SH_DISCARDABLE_FLAG 1 ///< JCTVC-M0152: Use one reserved flag in the slice header for discardable flag -
branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r414 r425 893 893 READ_FLAG( uiCode, "vps_temporal_id_nesting_flag" ); pcVPS->setTemporalNestingFlag( uiCode ? true:false ); 894 894 assert (pcVPS->getMaxTLayers()>1||pcVPS->getTemporalNestingFlag()); 895 #if VPS_EXTN_OFFSET 896 READ_CODE( 16, uiCode, "vps_extension_offset" ); pcVPS->setExtensionOffset( uiCode ); 897 #else 895 898 READ_CODE( 16, uiCode, "vps_reserved_ffff_16bits" ); assert(uiCode == 0xffff); 899 #endif 896 900 parsePTL ( pcVPS->getPTL(), true, pcVPS->getMaxTLayers()-1); 897 901 UInt subLayerOrderingInfoPresentFlag; -
branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r414 r425 718 718 WRITE_FLAG( pcVPS->getTemporalNestingFlag(), "vps_temporal_id_nesting_flag" ); 719 719 assert (pcVPS->getMaxTLayers()>1||pcVPS->getTemporalNestingFlag()); 720 #if VPS_EXTN_OFFSET 721 WRITE_CODE( pcVPS->getExtensionOffset(), 16, "vps_extension_offset" ); 722 #else 720 723 WRITE_CODE( 0xffff, 16, "vps_reserved_ffff_16bits" ); 724 #endif 721 725 codePTL( pcVPS->getPTL(), true, pcVPS->getMaxTLayers() - 1 ); 722 726 const Bool subLayerOrderingInfoPresentFlag = 1;
Note: See TracChangeset for help on using the changeset viewer.