Changeset 795 in SHVCSoftware
- Timestamp:
- 6 Jun 2014, 20:36:57 (11 years ago)
- Location:
- branches/SHM-6-dev/source/Lib
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.cpp
r791 r795 2913 2913 #if SVC_EXTENSION 2914 2914 , m_layerId ( 0 ) 2915 , m_extensionFlag ( false ) 2915 2916 , m_numScaledRefLayerOffsets ( 0 ) 2916 2917 #if REPN_FORMAT_IN_VPS -
branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.h
r791 r795 1493 1493 #if SVC_EXTENSION 1494 1494 UInt m_layerId; 1495 Bool m_extensionFlag; 1495 1496 UInt m_numScaledRefLayerOffsets; 1496 1497 #if P0312_VERT_PHASE_ADJ … … 1651 1652 Void setLayerId(UInt layerId) { m_layerId = layerId; } 1652 1653 UInt getLayerId() { return m_layerId; } 1654 Int getExtensionFlag() { return m_extensionFlag; } 1655 Void setExtensionFlag(Int n) { m_extensionFlag = n; } 1653 1656 UInt getNumScaledRefLayerOffsets() { return m_numScaledRefLayerOffsets; } 1654 1657 Void setNumScaledRefLayerOffsets(Int x) { m_numScaledRefLayerOffsets = x; } -
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r794 r795 112 112 113 113 #define SCALINGLIST_INFERRING 1 ///< JCTVC-N0371: inter-layer scaling list 114 #define SPS_EXTENSION 1 ///< Define sps_extension() syntax structure115 #if SPS_EXTENSION116 114 #define O0142_CONDITIONAL_SPS_EXTENSION 1 ///< JCTVC-O0142: Conditional SPS extension 117 #endif118 115 #define SCALABILITY_MASK_E0104 1 ///< JCT3V-E0104: scalability mask for depth 119 116 #if POC_RESET_FLAG -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r793 r795 848 848 849 849 READ_FLAG( uiCode, "sps_extension_flag"); 850 if (uiCode) 851 { 852 #if SPS_EXTENSION 853 850 851 #if SVC_EXTENSION 852 pcSPS->setExtensionFlag( uiCode ? true : false ); 853 854 if( pcSPS->getExtensionFlag() ) 855 { 854 856 #if O0142_CONDITIONAL_SPS_EXTENSION 855 857 UInt spsExtensionTypeFlag[8]; … … 870 872 { 871 873 #endif 872 873 #endif874 874 while ( xMoreRbspData() ) 875 875 { 876 876 READ_FLAG( uiCode, "sps_extension_data_flag"); 877 877 } 878 #if SPS_EXTENSION 879 } 880 #endif 881 } 882 } 883 884 #if SPS_EXTENSION 878 } 879 } 880 #else 881 if (uiCode) 882 { 883 while ( xMoreRbspData() ) 884 { 885 READ_FLAG( uiCode, "sps_extension_data_flag"); 886 } 887 } 888 #endif 889 } 890 891 #if SVC_EXTENSION 885 892 Void TDecCavlc::parseSPSExtension( TComSPS* pcSPS ) 886 893 { -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.h
r793 r795 75 75 Void parseQtRootCbf ( UInt uiAbsPartIdx, UInt& uiQtRootCbf ); 76 76 Void parseVPS ( TComVPS* pcVPS ); 77 #if S PS_EXTENSION77 #if SVC_EXTENSION 78 78 Void parseVPSExtension ( TComVPS* pcVPS ); 79 79 Void defaultVPSExtension ( TComVPS* pcVPS ); -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r793 r795 639 639 } 640 640 641 #if SPS_EXTENSION 642 WRITE_FLAG( 1, "sps_extension_flag" ); 643 if( 1 ) // if( sps_extension_flag ) 641 #if SVC_EXTENSION 642 WRITE_FLAG( pcSPS->getExtensionFlag() ? 1 : 0, "sps_extension_flag" ); 643 644 if( pcSPS->getExtensionFlag() ) 644 645 { 645 646 #if O0142_CONDITIONAL_SPS_EXTENSION … … 662 663 #endif 663 664 } 664 #if SPS_EXTENSION 665 666 #if SVC_EXTENSION 665 667 Void TEncCavlc::codeSPSExtension( TComSPS* pcSPS ) 666 668 { … … 689 691 } 690 692 } 691 #endif 693 #endif //SVC_EXTENSION 694 692 695 Void TEncCavlc::codeVPS( TComVPS* pcVPS ) 693 696 { -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.h
r793 r795 159 159 Void codeDFSvlc ( Int iCode, const Char *pSymbolName ); 160 160 161 #if S PS_EXTENSION161 #if SVC_EXTENSION 162 162 Void codeSPSExtension ( TComSPS* pcSPS ); 163 163 Void codeVPSExtension ( TComVPS* pcVPS ); -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncTop.cpp
r778 r795 912 912 { 913 913 #if SVC_EXTENSION 914 m_cSPS.setExtensionFlag( m_layerId > 0 ? true : false ); 915 914 916 #if Q0078_ADD_LAYER_SETS 915 917 if (getNumDirectRefLayers() == 0 && getNumAddLayerSets() > 0)
Note: See TracChangeset for help on using the changeset viewer.