Changeset 1095 in SHVCSoftware for branches/SHM-dev/source


Ignore:
Timestamp:
2 Jul 2015, 21:15:31 (9 years ago)
Author:
seregin
Message:

cleanup macros: MOVE_ADDN_LS_SIGNALLING

Location:
branches/SHM-dev/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1094 r1095  
    6161#define POC_RESET_VALUE_RESTRICTION      1      ///< R0223: Restriction on the value of full_poc_reset_flag
    6262#define OUTPUT_LAYER_SETS_CONFIG         1
    63 #define MOVE_ADDN_LS_SIGNALLING          1      ///< JCTVC-R0238: (Ed.) Move additional layer set signalling in VPS extn.
    6463#define PTL_SIGNALLING                   1      ///< Overall macro for all PTL-related signalling
    6564#if PTL_SIGNALLING
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1094 r1095  
    28772877  vps->setTreePartitionLayerIdList();
    28782878#endif
    2879 #if MOVE_ADDN_LS_SIGNALLING
    28802879#if Q0078_ADD_LAYER_SETS
    28812880  if (vps->getNumIndependentLayers() > 1)
     
    29052904    vps->setNumAddLayerSets(0);
    29062905  }
    2907 #endif
    29082906#endif
    29092907#if VPS_TSLAYERS
     
    29972995#endif
    29982996  }
    2999 #endif
    3000 
    3001 #if !MOVE_ADDN_LS_SIGNALLING
    3002 #if Q0078_ADD_LAYER_SETS
    3003   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 #endif
    30222997#endif
    30232998
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1094 r1095  
    21272127  }
    21282128#endif
    2129 #if MOVE_ADDN_LS_SIGNALLING
    21302129#if Q0078_ADD_LAYER_SETS
    21312130  if (vps->getNumIndependentLayers() > 1)
     
    21452144    }
    21462145  }
    2147 #endif
    21482146#endif
    21492147#if VPS_TSLAYERS
     
    22122210#endif
    22132211
    2214 
    2215 #if !MOVE_ADDN_LS_SIGNALLING
    2216 #if Q0078_ADD_LAYER_SETS
    2217   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 #endif
    2234 #endif
    2235 
    22362212#if !VPS_EXTN_UEV_CODING
    22372213  Int numOutputLayerSets = vps->getNumOutputLayerSets() ;
Note: See TracChangeset for help on using the changeset viewer.