Changeset 226 in SHVCSoftware for branches/SHM-2.1-dev/source
- Timestamp:
- 22 May 2013, 22:24:23 (12 years ago)
- Location:
- branches/SHM-2.1-dev/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-dev/source/Lib/TLibCommon/TypeDef.h
r224 r226 44 44 45 45 #if SVC_EXTENSION 46 #define SPS_EXTENSION 1 ///< Define sps_extension() syntax structure 46 47 #define SCALED_REF_LAYER_OFFSETS 1 ///< M0309: Signal scaled reference layer offsets in SPS 47 48 #define MAX_LAYERS 2 ///< max number of layers the codec is supposed to handle -
branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r224 r226 747 747 if (uiCode) 748 748 { 749 while ( xMoreRbspData() ) 750 { 751 READ_FLAG( uiCode, "sps_extension_data_flag"); 752 } 753 } 754 } 755 749 #if SPS_EXTENSION 750 parseSPSExtension( pcSPS ); 751 READ_FLAG( uiCode, "sps_extension2_flag"); 752 if(uiCode) 753 { 754 #endif 755 while ( xMoreRbspData() ) 756 { 757 READ_FLAG( uiCode, "sps_extension_data_flag"); 758 } 759 #if SPS_EXTENSION 760 } 761 #endif 762 } 763 } 764 765 #if SPS_EXTENSION 766 Void TDecCavlc::parseSPSExtension( TComSPS* pcSPS ) 767 { 768 // syntax elements to be parsed here 769 } 770 #endif 756 771 Void TDecCavlc::parseVPS(TComVPS* pcVPS) 757 772 { -
branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecCAVLC.h
r224 r226 80 80 Void parseSPS ( TComSPS* pcSPS ); 81 81 #endif 82 #if SPS_EXTENSION 83 Void parseSPSExtension ( TComSPS* pcSPS ); 84 #endif 82 85 Void parsePPS ( TComPPS* pcPPS); 83 86 Void parseVUI ( TComVUI* pcVUI, TComSPS* pcSPS ); -
branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r224 r226 571 571 #endif 572 572 573 #if SPS_EXTENSION 574 WRITE_FLAG( 1, "sps_extension_flag" ); 575 if( 1 ) // if( sps_extension_flag ) 576 { 577 codeSPSExtension( pcSPS ); 578 WRITE_FLAG( 0, "sps_extension2_flag" ); 579 } 580 #else 573 581 WRITE_FLAG( 0, "sps_extension_flag" ); 574 } 575 582 #endif 583 } 584 #if SPS_EXTENSION 585 Void TEncCavlc::codeSPSExtension( TComSPS* pcSPS ) 586 { 587 // syntax elements to be written here 588 } 589 #endif 576 590 Void TEncCavlc::codeVPS( TComVPS* pcVPS ) 577 591 { -
branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncCavlc.h
r191 r226 89 89 Void codeVUI ( TComVUI *pcVUI, TComSPS* pcSPS ); 90 90 Void codeSPS ( TComSPS* pcSPS ); 91 #if SPS_EXTENSION 92 Void codeSPSExtension ( TComSPS* pcSPS ); 93 #endif 91 94 Void codePPS ( TComPPS* pcPPS ); 92 95 Void codeSliceHeader ( TComSlice* pcSlice );
Note: See TracChangeset for help on using the changeset viewer.