Changeset 665 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibEncoder
- Timestamp:
- 10 Apr 2014, 18:06:20 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r664 r665 996 996 } 997 997 #else 998 Int numOutputLayerSets = vps->getNumOutputLayerSets() ; 999 assert( numOutputLayerSets - (Int)vps->getNumLayerSets() >= 0 ); 998 Int numOutputLayerSets = vps->getNumOutputLayerSets(); 999 Int numAddOutputLayerSets = numOutputLayerSets - (Int)vps->getNumLayerSets(); 1000 1001 // The value of num_add_output_layer_sets shall be in the range of 0 to 1023, inclusive. 1002 assert( numAddOutputLayerSets >= 0 && numAddOutputLayerSets < 1024 ); 1000 1003 1001 1004 #if Q0165_NUM_ADD_OUTPUT_LAYER_SETS 1002 1005 if( vps->getNumLayerSets() > 1 ) 1003 1006 { 1004 WRITE_UVLC( num OutputLayerSets - vps->getNumLayerSets(), "num_add_output_layer_sets" );1007 WRITE_UVLC( numAddOutputLayerSets, "num_add_output_layer_sets" ); 1005 1008 WRITE_CODE( vps->getDefaultTargetOutputLayerIdc(), 2, "default_target_output_layer_idc" ); 1006 1009 } … … 1008 1011 WRITE_UVLC( numOutputLayerSets - vps->getNumLayerSets(), "num_add_output_layer_sets" ); 1009 1012 #endif 1010 1011 1013 #endif 1012 1014
Note: See TracChangeset for help on using the changeset viewer.