Changeset 1464 in SHVCSoftware


Ignore:
Timestamp:
25 Aug 2015, 19:35:49 (9 years ago)
Author:
seregin
Message:

port rev 4596

Location:
branches/SHM-dev/source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r1460 r1464  
    18351835
    18361836    maxDpbLimit.m_numAUsNotDisplayed = sps->getNumReorderPics( highestTId ); // m_numAUsNotDisplayed is only variable name - stores reorderpics
    1837     maxDpbLimit.m_maxLatencyIncrease = sps->getMaxLatencyIncrease( highestTId ) > 0;
     1837    maxDpbLimit.m_maxLatencyIncrease = sps->getMaxLatencyIncreasePlus1( highestTId ) > 0;
    18381838    if( maxDpbLimit.m_maxLatencyIncrease )
    18391839    {
    1840       maxDpbLimit.m_maxLatencyPictures = sps->getMaxLatencyIncrease( highestTId ) + sps->getNumReorderPics( highestTId ) - 1;
     1840      maxDpbLimit.m_maxLatencyPictures = sps->getMaxLatencyIncreasePlus1( highestTId ) + sps->getNumReorderPics( highestTId ) - 1;
    18411841    }
    18421842    maxDpbLimit.m_numPicsInSubDpb[0] = sps->getMaxDecPicBuffering( highestTId );
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp

    r1455 r1464  
    20632063  for ( Int i = 0; i < MAX_TLAYER; i++ )
    20642064  {
    2065     m_uiMaxLatencyIncrease[i] = 0;
     2065    m_uiMaxLatencyIncreasePlus1[i] = 0;
    20662066    m_uiMaxDecPicBuffering[i] = 1;
    20672067    m_numReorderPics[i]       = 0;
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h

    r1442 r1464  
    14241424  TComScalingList  m_scalingList;
    14251425  UInt             m_uiMaxDecPicBuffering[MAX_TLAYER];
    1426   UInt             m_uiMaxLatencyIncrease[MAX_TLAYER];  // Really max latency increase plus 1 (value 0 expresses no limit)
     1426  UInt             m_uiMaxLatencyIncreasePlus1[MAX_TLAYER];
    14271427
    14281428  Bool             m_useStrongIntraSmoothing;
     
    15691569  UInt                   getMaxDecPicBuffering(UInt tlayer) const                                        { return m_uiMaxDecPicBuffering[tlayer];                               }
    15701570  Void                   setMaxDecPicBuffering( UInt ui, UInt tlayer )                                   { assert(tlayer < MAX_TLAYER); m_uiMaxDecPicBuffering[tlayer] = ui;    }
    1571   UInt                   getMaxLatencyIncrease(UInt tlayer) const                                        { return m_uiMaxLatencyIncrease[tlayer];                               }
    1572   Void                   setMaxLatencyIncrease( UInt ui , UInt tlayer)                                   { m_uiMaxLatencyIncrease[tlayer] = ui;                                 }
     1571  UInt                   getMaxLatencyIncreasePlus1(UInt tlayer) const                                   { return m_uiMaxLatencyIncreasePlus1[tlayer];                          }
     1572  Void                   setMaxLatencyIncreasePlus1( UInt ui , UInt tlayer)                              { m_uiMaxLatencyIncreasePlus1[tlayer] = ui;                            }
    15731573
    15741574  Void                   setUseStrongIntraSmoothing(Bool bVal)                                           { m_useStrongIntraSmoothing = bVal;                                    }
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1461 r1464  
    716716#endif
    717717  READ_FLAG( uiCode, "sps_temporal_id_nesting_flag" );           pcSPS->setTemporalIdNestingFlag ( uiCode > 0 ? true : false );
    718   parsePTL(pcSPS->getPTL(), 1, pcSPS->getMaxTLayers() - 1);
    719 #if SVC_EXTENSION
     718#if SVC_EXTENSION
     719    parsePTL(pcSPS->getPTL(), 1, pcSPS->getMaxTLayers() - 1);
    720720  }
    721721#else
     
    725725    assert( uiCode == 1 );
    726726  }
    727 #endif
    728 
     727
     728  parsePTL(pcSPS->getPTL(), 1, pcSPS->getMaxTLayers() - 1);
     729#endif
    729730  READ_UVLC(     uiCode, "sps_seq_parameter_set_id" );           pcSPS->setSPSId( uiCode );
    730731  assert(uiCode <= 15);
     
    829830    pcSPS->setNumReorderPics(uiCode, i);
    830831    READ_UVLC ( uiCode, "sps_max_latency_increase_plus1[i]");
    831     pcSPS->setMaxLatencyIncrease( uiCode, i );
     832    pcSPS->setMaxLatencyIncreasePlus1( uiCode, i );
    832833
    833834    if (!subLayerOrderingInfoPresentFlag)
     
    837838        pcSPS->setMaxDecPicBuffering(pcSPS->getMaxDecPicBuffering(0), i);
    838839        pcSPS->setNumReorderPics(pcSPS->getNumReorderPics(0), i);
    839         pcSPS->setMaxLatencyIncrease(pcSPS->getMaxLatencyIncrease(0), i);
     840        pcSPS->setMaxLatencyIncreasePlus1(pcSPS->getMaxLatencyIncreasePlus1(0), i);
    840841      }
    841842      break;
     
    22352236  }
    22362237  else
    2237   { 
     2238  {
    22382239#if SVC_EXTENSION
    22392240    READ_FLAG(    uiCode, PTL_TRACE_TEXT("inbld_flag"                      ));
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1442 r1464  
    641641    WRITE_UVLC( pcSPS->getMaxDecPicBuffering(i) - 1,       "sps_max_dec_pic_buffering_minus1[i]" );
    642642    WRITE_UVLC( pcSPS->getNumReorderPics(i),               "sps_max_num_reorder_pics[i]" );
    643     WRITE_UVLC( pcSPS->getMaxLatencyIncrease(i),           "sps_max_latency_increase_plus1[i]" );
     643    WRITE_UVLC( pcSPS->getMaxLatencyIncreasePlus1(i),      "sps_max_latency_increase_plus1[i]" );
    644644    if (!subLayerOrderingInfoPresentFlag)
    645645    {
Note: See TracChangeset for help on using the changeset viewer.