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


Ignore:
Timestamp:
25 Apr 2014, 20:16:53 (11 years ago)
Author:
sharp
Message:

JCTVC-Q0102 Proposal 3 - S. Deshpande <sdeshpande@…>

File:
1 edited

Legend:

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

    r742 r744  
    19361936  UInt uiCode;
    19371937#if DPB_PARAMS_MAXTLAYERS
     1938#if BITRATE_PICRATE_SIGNALLING
     1939    Int * MaxSubLayersInLayerSetMinus1 = new Int[vps->getNumLayerSets()];
     1940    for(Int i = 0; i < vps->getNumLayerSets(); i++)
     1941#else
    19381942    Int * MaxSubLayersInLayerSetMinus1 = new Int[vps->getNumOutputLayerSets()];
    19391943    for(Int i = 1; i < vps->getNumOutputLayerSets(); i++)
     1944#endif
    19401945    {
    19411946        UInt maxSLMinus1 = 0;
     
    19451950        Int optLsIdx = i;
    19461951#endif
     1952#if BITRATE_PICRATE_SIGNALLING
     1953        optLsIdx = i;
     1954#endif
    19471955        for(Int k = 0; k < vps->getNumLayersInIdList(optLsIdx); k++ ) {
    19481956            Int  lId = vps->getLayerSetLayerIdList(optLsIdx, k);
     
    19501958        }
    19511959        MaxSubLayersInLayerSetMinus1[ i ] = maxSLMinus1;
     1960#if BITRATE_PICRATE_SIGNALLING
     1961        vps->setMaxSLayersInLayerSetMinus1(i,MaxSubLayersInLayerSetMinus1[ i ]);
     1962#endif
    19521963    }
    19531964#endif
     
    19631974    READ_FLAG( uiCode, "sub_layer_flag_info_present_flag[i]");  vps->setSubLayerFlagInfoPresentFlag( i, uiCode ? true : false );
    19641975#if DPB_PARAMS_MAXTLAYERS
     1976#if BITRATE_PICRATE_SIGNALLING
     1977    for(Int j = 0; j <= MaxSubLayersInLayerSetMinus1[ vps->getOutputLayerSetIdx( i ) ]; j++)
     1978#else
    19651979    for(Int j = 0; j <= MaxSubLayersInLayerSetMinus1[ i ]; j++)
     1980#endif
    19661981#else
    19671982    for(Int j = 0; j <= vps->getMaxTLayers(); j++)
     
    20852100    for( i = 0; i < vps->getNumLayerSets(); i++ )
    20862101    {
     2102#if BITRATE_PICRATE_SIGNALLING
     2103      for( j = 0; j <= vps->getMaxSLayersInLayerSetMinus1(i); j++ )
     2104#else
    20872105      for( j = 0; j < vps->getMaxTLayers(); j++ )
     2106#endif
    20882107      {
    20892108        if( parseFlag && vps->getBitRatePresentVpsFlag() )
Note: See TracChangeset for help on using the changeset viewer.