Changeset 862 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
- Timestamp:
- 12 Aug 2014, 01:48:03 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r852 r862 1006 1006 } 1007 1007 #endif 1008 #if MOVE_ADDN_LS_SIGNALLING 1009 #if Q0078_ADD_LAYER_SETS 1010 if (vps->getNumIndependentLayers() > 1) 1011 { 1012 WRITE_UVLC( vps->getNumAddLayerSets(), "num_add_layer_sets" ); 1013 for (i = 0; i < vps->getNumAddLayerSets(); i++) 1014 { 1015 for (j = 1; j < vps->getNumIndependentLayers(); j++) 1016 { 1017 int len = 1; 1018 while ((1 << len) < (vps->getNumLayersInTreePartition(j) + 1)) 1019 { 1020 len++; 1021 } 1022 WRITE_CODE(vps->getHighestLayerIdxPlus1(i, j), len, "highest_layer_idx_plus1[i][j]"); 1023 } 1024 } 1025 } 1026 #endif 1027 #endif 1008 1028 #if VPS_TSLAYERS 1009 1029 WRITE_FLAG( vps->getMaxTSLayersPresentFlag(), "vps_sub_layers_max_minus1_present_flag"); … … 1056 1076 #endif 1057 1077 1078 1079 #if !MOVE_ADDN_LS_SIGNALLING 1058 1080 #if Q0078_ADD_LAYER_SETS 1059 1081 if (vps->getNumIndependentLayers() > 1) … … 1073 1095 } 1074 1096 } 1097 #endif 1075 1098 #endif 1076 1099
Note: See TracChangeset for help on using the changeset viewer.