Changeset 1154 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 00:31:44 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1153 r1154 1960 1960 #endif 1961 1961 , m_numProfileTierLevel (0) 1962 #if !VPS_EXTN_UEV_CODING1963 , m_moreOutputLayerSetsThanDefaultFlag (false)1964 #endif1965 1962 , m_numAddOutputLayerSets (0) 1966 1963 #if P0295_DEFAULT_OUT_LAYER_IDC -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1153 r1154 665 665 666 666 UInt m_numProfileTierLevel; 667 #if !VPS_EXTN_UEV_CODING668 Bool m_moreOutputLayerSetsThanDefaultFlag;669 #endif670 667 Int m_numAddOutputLayerSets; 671 668 #if P0295_DEFAULT_OUT_LAYER_IDC … … 1033 1030 UInt getNumProfileTierLevel() { return m_numProfileTierLevel; } 1034 1031 Void setNumProfileTierLevel(Int x) { m_numProfileTierLevel = x; } 1035 1036 #if !VPS_EXTN_UEV_CODING1037 Bool getMoreOutputLayerSetsThanDefaultFlag() { return m_moreOutputLayerSetsThanDefaultFlag;}1038 Void setMoreOutputLayerSetsThanDefaultFlag(Bool x) { m_moreOutputLayerSetsThanDefaultFlag = x ;}1039 #endif1040 1041 1032 Int getNumAddOutputLayerSets() { return m_numAddOutputLayerSets; } 1042 1033 Void setNumAddOutputLayerSets(Int x) { m_numAddOutputLayerSets = x ; } -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1153 r1154 77 77 78 78 #define DISCARDABLE_PIC_RPS 1 ///< JCTVC-P0130: Inter-layer RPS and temporal RPS should not contain picture with discardable_flag equal to 1 79 #define VPS_EXTN_UEV_CODING 1 ///< JCTVC-P0306: Code some syntax elements as ue(v), and remove some syntax elements that duplicate behaviour80 79 #define ALIGNED_BUMPING 1 ///< JCTVC-P0192: Align bumping of pictures in an AU 81 80 #define FIX_ALIGN_BUMPING 1 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1153 r1154 2868 2868 #if VPS_EXTN_PROFILE_INFO 2869 2869 // Profile-tier-level signalling 2870 #if !VPS_EXTN_UEV_CODING2871 READ_CODE( 10, uiCode, "vps_number_layer_sets_minus1" ); assert( uiCode == (vps->getNumLayerSets() - 1) );2872 READ_CODE( 6, uiCode, "vps_num_profile_tier_level_minus1"); vps->setNumProfileTierLevel( uiCode + 1 );2873 #else2874 2870 READ_UVLC( uiCode, "vps_num_profile_tier_level_minus1"); vps->setNumProfileTierLevel( uiCode + 1 ); 2875 #endif 2871 2876 2872 Int const numBitsForPtlIdx = vps->calculateLenOfSyntaxElement( vps->getNumProfileTierLevel() ); 2877 2873 #if !MULTIPLE_PTL_SUPPORT … … 2902 2898 #endif 2903 2899 2904 #if !VPS_EXTN_UEV_CODING2905 READ_FLAG( uiCode, "more_output_layer_sets_than_default_flag" ); vps->setMoreOutputLayerSetsThanDefaultFlag( uiCode ? true : false );2906 Int numOutputLayerSets = 0;2907 if(! vps->getMoreOutputLayerSetsThanDefaultFlag() )2908 {2909 numOutputLayerSets = vps->getNumLayerSets();2910 }2911 else2912 {2913 READ_CODE( 10, uiCode, "num_add_output_layer_sets" ); vps->setNumAddOutputLayerSets( uiCode );2914 numOutputLayerSets = vps->getNumLayerSets() + vps->getNumAddOutputLayerSets();2915 }2916 #else2917 2918 2900 #if Q0165_NUM_ADD_OUTPUT_LAYER_SETS 2919 2901 if( vps->getNumLayerSets() > 1 ) … … 2934 2916 2935 2917 Int numOutputLayerSets = vps->getNumLayerSets() + vps->getNumAddOutputLayerSets(); 2936 #endif2937 2918 2938 2919 #if P0295_DEFAULT_OUT_LAYER_IDC -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1153 r1154 2120 2120 #if VPS_EXTN_PROFILE_INFO 2121 2121 // Profile-tier-level signalling 2122 #if !VPS_EXTN_UEV_CODING2123 WRITE_CODE( vps->getNumLayerSets() - 1 , 10, "vps_number_layer_sets_minus1" );2124 WRITE_CODE( vps->getNumProfileTierLevel() - 1, 6, "vps_num_profile_tier_level_minus1");2125 #else2126 2122 WRITE_UVLC( vps->getNumProfileTierLevel() - 1, "vps_num_profile_tier_level_minus1"); 2123 2127 2124 Int const numBitsForPtlIdx = vps->calculateLenOfSyntaxElement( vps->getNumProfileTierLevel() ); 2128 #endif 2125 2129 2126 #if LIST_OF_PTL 2130 2127 #if MULTIPLE_PTL_SUPPORT … … 2150 2147 #endif 2151 2148 2152 #if !VPS_EXTN_UEV_CODING2153 Int numOutputLayerSets = vps->getNumOutputLayerSets() ;2154 WRITE_FLAG( (numOutputLayerSets > vps->getNumLayerSets()), "more_output_layer_sets_than_default_flag" );2155 if(numOutputLayerSets > vps->getNumLayerSets())2156 {2157 WRITE_CODE( numOutputLayerSets - vps->getNumLayerSets(), 10, "num_add_output_layer_sets" );2158 }2159 #else2160 2149 Int numOutputLayerSets = vps->getNumOutputLayerSets(); 2161 2150 Int numAddOutputLayerSets = numOutputLayerSets - (Int)vps->getNumLayerSets(); … … 2172 2161 #else 2173 2162 WRITE_UVLC( numOutputLayerSets - vps->getNumLayerSets(), "num_add_output_layer_sets" ); 2174 #endif2175 2163 #endif 2176 2164
Note: See TracChangeset for help on using the changeset viewer.