Changeset 1095 in SHVCSoftware for branches/SHM-dev/source
- Timestamp:
- 2 Jul 2015, 21:15:31 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1094 r1095 61 61 #define POC_RESET_VALUE_RESTRICTION 1 ///< R0223: Restriction on the value of full_poc_reset_flag 62 62 #define OUTPUT_LAYER_SETS_CONFIG 1 63 #define MOVE_ADDN_LS_SIGNALLING 1 ///< JCTVC-R0238: (Ed.) Move additional layer set signalling in VPS extn.64 63 #define PTL_SIGNALLING 1 ///< Overall macro for all PTL-related signalling 65 64 #if PTL_SIGNALLING -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1094 r1095 2877 2877 vps->setTreePartitionLayerIdList(); 2878 2878 #endif 2879 #if MOVE_ADDN_LS_SIGNALLING2880 2879 #if Q0078_ADD_LAYER_SETS 2881 2880 if (vps->getNumIndependentLayers() > 1) … … 2905 2904 vps->setNumAddLayerSets(0); 2906 2905 } 2907 #endif2908 2906 #endif 2909 2907 #if VPS_TSLAYERS … … 2997 2995 #endif 2998 2996 } 2999 #endif3000 3001 #if !MOVE_ADDN_LS_SIGNALLING3002 #if Q0078_ADD_LAYER_SETS3003 if (vps->getNumIndependentLayers() > 1)3004 {3005 READ_UVLC(uiCode, "num_add_layer_sets"); vps->setNumAddLayerSets(uiCode);3006 for (i = 0; i < vps->getNumAddLayerSets(); i++)3007 {3008 for (j = 1; j < vps->getNumIndependentLayers(); j++)3009 {3010 int len = 1;3011 while ((1 << len) < (vps->getNumLayersInTreePartition(j) + 1))3012 {3013 len++;3014 }3015 READ_CODE(len, uiCode, "highest_layer_idx_plus1[i][j]"); vps->setHighestLayerIdxPlus1(i, j, uiCode);3016 }3017 }3018 vps->setNumLayerSets(vps->getNumLayerSets() + vps->getNumAddLayerSets());3019 vps->setLayerIdIncludedFlagsForAddLayerSets();3020 }3021 #endif3022 2997 #endif 3023 2998 -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1094 r1095 2127 2127 } 2128 2128 #endif 2129 #if MOVE_ADDN_LS_SIGNALLING2130 2129 #if Q0078_ADD_LAYER_SETS 2131 2130 if (vps->getNumIndependentLayers() > 1) … … 2145 2144 } 2146 2145 } 2147 #endif2148 2146 #endif 2149 2147 #if VPS_TSLAYERS … … 2212 2210 #endif 2213 2211 2214 2215 #if !MOVE_ADDN_LS_SIGNALLING2216 #if Q0078_ADD_LAYER_SETS2217 if (vps->getNumIndependentLayers() > 1)2218 {2219 WRITE_UVLC( vps->getNumAddLayerSets(), "num_add_layer_sets" );2220 for (i = 0; i < vps->getNumAddLayerSets(); i++)2221 {2222 for (j = 1; j < vps->getNumIndependentLayers(); j++)2223 {2224 int len = 1;2225 while ((1 << len) < (vps->getNumLayersInTreePartition(j) + 1))2226 {2227 len++;2228 }2229 WRITE_CODE(vps->getHighestLayerIdxPlus1(i, j), len, "highest_layer_idx_plus1[i][j]");2230 }2231 }2232 }2233 #endif2234 #endif2235 2236 2212 #if !VPS_EXTN_UEV_CODING 2237 2213 Int numOutputLayerSets = vps->getNumOutputLayerSets() ;
Note: See TracChangeset for help on using the changeset viewer.