Changeset 185 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibDecoder
- Timestamp:
- 12 May 2013, 01:23:02 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r181 r185 1347 1347 if(rpcSlice->getNumILRRefIdx() > 1) 1348 1348 { 1349 Int numBits = 1; 1350 while ((1 << numBits) < rpcSlice->getNumILRRefIdx()) 1351 { 1352 numBits++; 1353 } 1349 1354 if( !rpcSlice->getVPS()->getMaxOneActiveRefLayerFlag()) 1350 1355 { 1351 READ_ UVLC(uiCode,"num_inter_layer_ref_pics_minus1");1356 READ_CODE( numBits, uiCode,"num_inter_layer_ref_pics_minus1" ); 1352 1357 rpcSlice->setActiveNumILRRefIdx(uiCode + 1); 1353 1358 } … … 1355 1360 { 1356 1361 rpcSlice->setActiveNumILRRefIdx(1); 1357 rpcSlice->setInterLayerPredLayerIdc(0,0);1358 1362 } 1359 1363 for(Int i = 0; i < rpcSlice->getActiveNumILRRefIdx(); i++ ) 1360 1364 { 1361 READ_ UVLC(uiCode,"inter_layer_pred_layer_idc[i]");1365 READ_CODE( numBits,uiCode,"inter_layer_pred_layer_idc[i]" ); 1362 1366 rpcSlice->setInterLayerPredLayerIdc(uiCode,i); 1363 1367 }
Note: See TracChangeset for help on using the changeset viewer.