Changeset 1093 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
- Timestamp:
- 2 Jul 2015, 21:00:14 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1092 r1093 1242 1242 { 1243 1243 #if SVC_EXTENSION 1244 #if POC_RESET_FLAG1245 Int iBits = 0;1246 if(pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits)1247 {1248 READ_FLAG(uiCode, "poc_reset_flag"); pcSlice->setPocResetFlag( uiCode ? true : false );1249 iBits++;1250 }1251 if(pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits)1252 {1253 #if DISCARDABLE_PIC_RPS1254 READ_FLAG(uiCode, "discardable_flag"); pcSlice->setDiscardableFlag( uiCode ? true : false );1255 #else1256 READ_FLAG(uiCode, "discardable_flag"); // ignored1257 #endif1258 iBits++;1259 }1260 #if O0149_CROSS_LAYER_BLA_FLAG1261 if(pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits)1262 {1263 READ_FLAG(uiCode, "cross_layer_bla_flag"); pcSlice->setCrossLayerBLAFlag( uiCode ? true : false );1264 iBits++;1265 }1266 #endif1267 for (; iBits < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); iBits++)1268 {1269 READ_FLAG(uiCode, "slice_reserved_undetermined_flag[]"); // ignored1270 }1271 #else1272 1244 #if CROSS_LAYER_BLA_FLAG_FIX 1273 1245 Int iBits = 0; … … 1306 1278 READ_FLAG(uiCode, "slice_reserved_undetermined_flag[]"); // ignored 1307 1279 } 1308 #endif1309 1280 #else //SVC_EXTENSION 1310 1281 for (Int i = 0; i < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); i++)
Note: See TracChangeset for help on using the changeset viewer.