Changeset 862 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
12 Aug 2014, 01:48:03 (10 years ago)
Author:
qualcomm
Message:

JCTVC-R0238: (Ed.) Move additional layer set signalling in VPS extn. (Macro: MOVE_ADDN_LS_SIGNALLING)

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r852 r862  
    12811281  vps->setTreePartitionLayerIdList();
    12821282#endif
     1283#if MOVE_ADDN_LS_SIGNALLING
     1284#if Q0078_ADD_LAYER_SETS
     1285  if (vps->getNumIndependentLayers() > 1)
     1286  {
     1287    READ_UVLC(uiCode, "num_add_layer_sets"); vps->setNumAddLayerSets(uiCode);
     1288    for (i = 0; i < vps->getNumAddLayerSets(); i++)
     1289    {
     1290      for (j = 1; j < vps->getNumIndependentLayers(); j++)
     1291      {
     1292        int len = 1;
     1293        while ((1 << len) < (vps->getNumLayersInTreePartition(j) + 1))
     1294        {
     1295          len++;
     1296        }
     1297        READ_CODE(len, uiCode, "highest_layer_idx_plus1[i][j]"); vps->setHighestLayerIdxPlus1(i, j, uiCode);
     1298      }
     1299    }
     1300    vps->setNumLayerSets(vps->getNumLayerSets() + vps->getNumAddLayerSets());
     1301    vps->setLayerIdIncludedFlagsForAddLayerSets();
     1302  }
     1303#endif
     1304#endif
    12831305#if VPS_TSLAYERS
    12841306  READ_FLAG( uiCode, "vps_sub_layers_max_minus1_present_flag"); vps->setMaxTSLayersPresentFlag(uiCode ? true : false);
     
    13661388#endif
    13671389
     1390#if !MOVE_ADDN_LS_SIGNALLING
    13681391#if Q0078_ADD_LAYER_SETS
    13691392  if (vps->getNumIndependentLayers() > 1)
     
    13851408    vps->setLayerIdIncludedFlagsForAddLayerSets();
    13861409  }
     1410#endif
    13871411#endif
    13881412
Note: See TracChangeset for help on using the changeset viewer.