Changeset 1056 in SHVCSoftware for branches/SHM-dev


Ignore:
Timestamp:
4 Mar 2015, 01:14:36 (10 years ago)
Author:
interdigital
Message:

use index for SamplePredEnabledFlag and MotionPredEnabledFlag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1049 r1056  
    20802080        {
    20812081          // check for the sample prediction picture type
    2082           if( m_ppcTDecTop[m_layerId]->getSamplePredEnabledFlag(refLayerId) )
     2082          if( m_ppcTDecTop[m_layerId]->getSamplePredEnabledFlag(pcSlice->getVPS()->getLayerIdxInVps(refLayerId)))
    20832083          {
    20842084#if O0215_PHASE_ALIGNMENT_REMOVAL
     
    22292229      if( refPic->isILR(pcSlice->getLayerId()) )
    22302230      {
    2231         assert( m_ppcTDecTop[m_layerId]->getMotionPredEnabledFlag(refPic->getLayerId()) );
     2231        assert( m_ppcTDecTop[m_layerId]->getMotionPredEnabledFlag(pcSlice->getVPS()->getLayerIdxInVps(refPic->getLayerId())) );
    22322232      }
    22332233    }
Note: See TracChangeset for help on using the changeset viewer.