Changeset 1309 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
21 Jul 2015, 01:23:27 (9 years ago)
Author:
seregin
Message:

port rev 4380

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r1307 r1309  
    368368  }
    369369
    370   // Prepare delta's:
    371   for(UInt sizeId = 0; sizeId < SCALING_LIST_SIZE_NUM; sizeId++)
    372   {
    373     const Int predListStep = (sizeId == SCALING_LIST_32x32? (SCALING_LIST_NUM/NUMBER_OF_PREDICTION_MODES) : 1); // if 32x32, skip over chroma entries.
    374 
    375     for(UInt listId = 0; listId < SCALING_LIST_NUM; listId+=predListStep)
    376     {
    377       m_cSPS.getScalingList().checkPredMode( sizeId, listId );
    378     }
    379   }
    380 
     370  if (getUseScalingListId() != SCALING_LIST_OFF)
     371  {
     372    // Prepare delta's:
     373    for(UInt sizeId = 0; sizeId < SCALING_LIST_SIZE_NUM; sizeId++)
     374    {
     375      const Int predListStep = (sizeId == SCALING_LIST_32x32? (SCALING_LIST_NUM/NUMBER_OF_PREDICTION_MODES) : 1); // if 32x32, skip over chroma entries.
     376
     377      for(UInt listId = 0; listId < SCALING_LIST_NUM; listId+=predListStep)
     378      {
     379        m_cSPS.getScalingList().checkPredMode( sizeId, listId );
     380      }
     381    }
     382  }
    381383}
    382384
Note: See TracChangeset for help on using the changeset viewer.