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


Ignore:
Timestamp:
21 Jan 2014, 03:57:34 (11 years ago)
Author:
seregin
Message:

set MAX_LAYERS to 8, should be lossless

Location:
branches/SHM-5.0-dev/source/Lib/TLibDecoder
Files:
2 edited

Legend:

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

    r540 r549  
    234234  //-- For time output for each slice
    235235#if SVC_EXTENSION
    236   printf("\nPOC %4d LId: %1d TId: %1d ( %c-SLICE, QP%3d ) ", pcSlice->getPOC(),
     236  printf("\nPOC %4d LId: %1d TId: %1d ( %c-SLICE %s, QP%3d ) ", pcSlice->getPOC(),
    237237                                                    rpcPic->getLayerId(),
    238238                                                    pcSlice->getTLayer(),
    239239                                                    c,
     240                                                    NaluToStr( pcSlice->getNalUnitType() ).data(),
    240241                                                    pcSlice->getSliceQp() );
    241242#else
  • branches/SHM-5.0-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r540 r549  
    196196    if (m_cIlpPic[0] == NULL)
    197197    {
    198       for (Int j=0; j < MAX_LAYERS /*MAX_NUM_REF*/; j++)  // consider to set to NumDirectRefLayers[LayerIdInVps[nuh_layer_id]]
     198      for (Int j=0; j < m_numDirectRefLayers; j++)
    199199      {
    200200
     
    20382038{
    20392039  CommonDecoderParams* params = this->getCommonDecoderParams();
     2040
     2041  assert( params->getTargetLayerId() < vps->getMaxLayers() );
     2042
    20402043  if( params->getValueCheckedFlag() )
    20412044  {
Note: See TracChangeset for help on using the changeset viewer.