Changeset 515 in SHVCSoftware
- Timestamp:
- 16 Dec 2013, 20:55:32 (11 years ago)
- Location:
- branches/SHM-4.1-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.1-dev/source/Lib/TLibCommon/TypeDef.h
r514 r515 66 66 #define M0463_VUI_EXT_ILP_REF 0 ///< JCTVC-M0463: VUI extension inter-layer dependency offset signalling 67 67 #define SPS_EXTENSION 1 ///< Define sps_extension() syntax structure 68 #if SPS_EXTENSION 69 #define O0142_CONDITIONAL_SPS_EXTENSION 1 ///< JCTVC-O0142: Conditional SPS extension 70 #endif 68 71 #define VERT_MV_CONSTRAINT 1 ///< Vertical MV component constraint flag 69 72 #define SCALABILITY_MASK_E0104 1 ///< JCT3V-E0104: scalability mask for depth -
branches/SHM-4.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r514 r515 828 828 { 829 829 #if SPS_EXTENSION 830 831 #if O0142_CONDITIONAL_SPS_EXTENSION 832 UInt spsExtensionTypeFlag[8]; 833 for (UInt i = 0; i < 8; i++) 834 { 835 READ_FLAG( spsExtensionTypeFlag[i], "sps_extension_type_flag" ); 836 } 837 if (spsExtensionTypeFlag[1]) 838 { 839 parseSPSExtension( pcSPS ); 840 } 841 if (spsExtensionTypeFlag[7]) 842 { 843 #else 830 844 parseSPSExtension( pcSPS ); 831 845 READ_FLAG( uiCode, "sps_extension2_flag"); 832 846 if(uiCode) 833 847 { 848 #endif 849 834 850 #endif 835 851 while ( xMoreRbspData() ) -
branches/SHM-4.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r514 r515 662 662 if( 1 ) // if( sps_extension_flag ) 663 663 { 664 #if O0142_CONDITIONAL_SPS_EXTENSION 665 UInt spsExtensionTypeFlag[8] = { 0, 1, 0, 0, 0, 0, 0, 0 }; 666 for (UInt i = 0; i < 8; i++) 667 { 668 WRITE_FLAG( spsExtensionTypeFlag[i], "sps_extension_type_flag" ); 669 } 670 if (spsExtensionTypeFlag[1]) 671 { 672 codeSPSExtension( pcSPS ); 673 } 674 #else 664 675 codeSPSExtension( pcSPS ); 665 676 WRITE_FLAG( 0, "sps_extension2_flag" ); 677 #endif 666 678 } 667 679 #else
Note: See TracChangeset for help on using the changeset viewer.