Changeset 1155 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 00:34:36 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1154 r1155 158 158 #endif 159 159 #define Q0165_OUTPUT_LAYER_SET 1 ///< JCTVC-Q0165: add a constraint to disallow an empty output layer set 160 #define Q0165_NUM_ADD_OUTPUT_LAYER_SETS 1 ///< JCTVC-Q0165: signal num_add_olss and default_target_output_layer_idc when vps_num_layer_sets_minus1 is greater than 0161 160 162 161 #define Q0078_ADD_LAYER_SETS 1 ///< JCTVC-Q0078: additional layer sets and layer set config -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1154 r1155 2898 2898 #endif 2899 2899 2900 #if Q0165_NUM_ADD_OUTPUT_LAYER_SETS2901 2900 if( vps->getNumLayerSets() > 1 ) 2902 2901 { 2903 READ_UVLC( uiCode, "num_add_olss" ); vps->setNumAddOutputLayerSets( uiCode );2902 READ_UVLC( uiCode, "num_add_olss" ); vps->setNumAddOutputLayerSets( uiCode ); 2904 2903 READ_CODE( 2, uiCode, "default_output_layer_idc" ); vps->setDefaultTargetOutputLayerIdc( uiCode ); 2905 2904 } … … 2908 2907 vps->setNumAddOutputLayerSets( 0 ); 2909 2908 } 2910 #else2911 READ_UVLC( uiCode, "num_add_output_layer_sets" ); vps->setNumAddOutputLayerSets( uiCode );2912 #endif2913 2909 2914 2910 // The value of num_add_olss shall be in the range of 0 to 1023, inclusive. … … 2918 2914 2919 2915 #if P0295_DEFAULT_OUT_LAYER_IDC 2920 #if !Q0165_NUM_ADD_OUTPUT_LAYER_SETS2921 if( numOutputLayerSets > 1 )2922 {2923 READ_CODE( 2, uiCode, "default_target_output_layer_idc" ); vps->setDefaultTargetOutputLayerIdc( uiCode );2924 }2925 #endif2926 2916 vps->setNumOutputLayerSets( numOutputLayerSets ); 2927 2917 -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1154 r1155 2153 2153 assert( numAddOutputLayerSets >= 0 && numAddOutputLayerSets < 1024 ); 2154 2154 2155 #if Q0165_NUM_ADD_OUTPUT_LAYER_SETS2156 2155 if( vps->getNumLayerSets() > 1 ) 2157 2156 { … … 2159 2158 WRITE_CODE( vps->getDefaultTargetOutputLayerIdc(), 2, "default_output_layer_idc" ); 2160 2159 } 2161 #else2162 WRITE_UVLC( numOutputLayerSets - vps->getNumLayerSets(), "num_add_output_layer_sets" );2163 #endif2164 2165 #if !Q0165_NUM_ADD_OUTPUT_LAYER_SETS2166 if( numOutputLayerSets > 1 )2167 {2168 #if P0295_DEFAULT_OUT_LAYER_IDC2169 WRITE_CODE( vps->getDefaultTargetOutputLayerIdc(), 2, "default_target_output_layer_idc" );2170 #else2171 #if O0109_DEFAULT_ONE_OUT_LAYER_IDC2172 WRITE_CODE( vps->getDefaultOneTargetOutputLayerIdc(), 2, "default_one_target_output_layer_idc" );2173 #else2174 WRITE_FLAG( vps->getDefaultOneTargetOutputLayerFlag(), "default_one_target_output_layer_flag" );2175 #endif2176 #endif2177 }2178 #endif2179 2160 2180 2161 for(i = 1; i < numOutputLayerSets; i++)
Note: See TracChangeset for help on using the changeset viewer.