Changeset 800 in SHVCSoftware
- Timestamp:
- 11 Jun 2014, 19:20:48 (11 years ago)
- Location:
- branches/SHM-6-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r798 r800 199 199 200 200 #define Q0165_OUTPUT_LAYER_SET 1 ///< JCTVC-Q0165: add a constraint to disallow an empty output layer set 201 #define Q0165_NUM_ADD_OUTPUT_LAYER_SETS 1 ///< JCTVC-Q0165: signal num_add_o utput_layer_setand default_target_output_layer_idc when vps_num_layer_sets_minus1 is greater than 0201 #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 0 202 202 203 203 #define Q0078_ADD_LAYER_SETS 1 ///< JCTVC-Q0078: additional layer sets and layer set config -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r799 r800 1353 1353 if( vps->getNumLayerSets() > 1 ) 1354 1354 { 1355 READ_UVLC( uiCode, "num_add_o utput_layer_sets" ); vps->setNumAddOutputLayerSets( uiCode );1355 READ_UVLC( uiCode, "num_add_olss" ); vps->setNumAddOutputLayerSets( uiCode ); 1356 1356 READ_CODE( 2, uiCode, "default_target_output_layer_idc" ); vps->setDefaultTargetOutputLayerIdc( uiCode ); 1357 1357 } … … 1364 1364 #endif 1365 1365 1366 // The value of num_add_o utput_layer_sets shall be in the range of 0 to 1023, inclusive.1366 // The value of num_add_olss shall be in the range of 0 to 1023, inclusive. 1367 1367 assert( vps->getNumAddOutputLayerSets() >= 0 && vps->getNumAddOutputLayerSets() < 1024 ); 1368 1368 … … 1836 1836 } 1837 1837 1838 // When not present, the value of num_add_o utput_layer_sets is inferred to be equal to 0.1839 // NumOutputLayerSets = num_add_o utput_layer_sets + vps_num_layer_sets_minus1 + 11838 // When not present, the value of num_add_olss is inferred to be equal to 0. 1839 // NumOutputLayerSets = num_add_olss + NumLayerSets 1840 1840 vps->setNumOutputLayerSets( vps->getNumLayerSets() ); 1841 1841 -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r798 r800 1024 1024 Int numAddOutputLayerSets = numOutputLayerSets - (Int)vps->getNumLayerSets(); 1025 1025 1026 // The value of num_add_o utput_layer_sets shall be in the range of 0 to 1023, inclusive.1026 // The value of num_add_olss shall be in the range of 0 to 1023, inclusive. 1027 1027 assert( numAddOutputLayerSets >= 0 && numAddOutputLayerSets < 1024 ); 1028 1028 … … 1030 1030 if( vps->getNumLayerSets() > 1 ) 1031 1031 { 1032 WRITE_UVLC( numAddOutputLayerSets, "num_add_o utput_layer_sets" );1032 WRITE_UVLC( numAddOutputLayerSets, "num_add_olss" ); 1033 1033 WRITE_CODE( vps->getDefaultTargetOutputLayerIdc(), 2, "default_target_output_layer_idc" ); 1034 1034 }
Note: See TracChangeset for help on using the changeset viewer.