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/TLibEncoder/TEncCavlc.cpp

    r852 r862  
    10061006  }
    10071007#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
    10081028#if VPS_TSLAYERS
    10091029    WRITE_FLAG( vps->getMaxTSLayersPresentFlag(), "vps_sub_layers_max_minus1_present_flag");
     
    10561076#endif
    10571077
     1078
     1079#if !MOVE_ADDN_LS_SIGNALLING
    10581080#if Q0078_ADD_LAYER_SETS
    10591081  if (vps->getNumIndependentLayers() > 1)
     
    10731095    }
    10741096  }
     1097#endif
    10751098#endif
    10761099
Note: See TracChangeset for help on using the changeset viewer.