- Timestamp:
- 22 May 2013, 21:12:45 (12 years ago)
- Location:
- branches/SHM-2.0-dev/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibCommon/TypeDef.h
r207 r225 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.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r185 r225 727 727 if (uiCode) 728 728 { 729 while ( xMoreRbspData() ) 730 { 731 READ_FLAG( uiCode, "sps_extension_data_flag"); 732 } 733 } 734 } 735 729 #if SPS_EXTENSION 730 parseSPSExtension( pcSPS ); 731 READ_FLAG( uiCode, "sps_extension2_flag"); 732 if(uiCode) 733 { 734 #endif 735 while ( xMoreRbspData() ) 736 { 737 READ_FLAG( uiCode, "sps_extension_data_flag"); 738 } 739 #if SPS_EXTENSION 740 } 741 #endif 742 } 743 } 744 745 #if SPS_EXTENSION 746 Void TDecCavlc::parseSPSExtension( TComSPS* pcSPS ) 747 { 748 // syntax elements to be parsed here 749 } 750 #endif 736 751 Void TDecCavlc::parseVPS(TComVPS* pcVPS) 737 752 { -
branches/SHM-2.0-dev/source/Lib/TLibDecoder/TDecCAVLC.h
r133 r225 76 76 #endif 77 77 Void parseSPS ( TComSPS* pcSPS ); 78 #if SPS_EXTENSION 79 Void parseSPSExtension ( TComSPS* pcSPS ); 80 #endif 78 81 Void parsePPS ( TComPPS* pcPPS); 79 82 Void parseVUI ( TComVUI* pcVUI, TComSPS* pcSPS ); -
branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r186 r225 564 564 #endif 565 565 566 #if SPS_EXTENSION 567 WRITE_FLAG( 1, "sps_extension_flag" ); 568 if( 1 ) // if( sps_extension_flag ) 569 { 570 codeSPSExtension( pcSPS ); 571 WRITE_FLAG( 0, "sps_extension2_flag" ); 572 } 573 #else 566 574 WRITE_FLAG( 0, "sps_extension_flag" ); 567 } 568 575 #endif 576 } 577 #if SPS_EXTENSION 578 Void TEncCavlc::codeSPSExtension( TComSPS* pcSPS ) 579 { 580 // syntax elements to be written here 581 } 582 #endif 569 583 Void TEncCavlc::codeVPS( TComVPS* pcVPS ) 570 584 { -
branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncCavlc.h
r133 r225 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.