Changeset 427 in SHVCSoftware for branches/SHM-3.1-dev/source/App


Ignore:
Timestamp:
10 Oct 2013, 08:21:30 (11 years ago)
Author:
qualcomm
Message:

N0147 : setting based on intraPeriod of dependent layers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-3.1-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r425 r427  
    10691069#endif
    10701070#if N0147_IRAP_ALIGN_FLAG   
    1071     vps->setCrossLayerIrapAlignFlag(maxDirectRefLayers == 0 ? false : true);
     1071    vps->setCrossLayerIrapAlignFlag(true);
     1072    for(UInt layerCtr = 1;layerCtr <= vps->getMaxLayers() - 1; layerCtr++)
     1073    {
     1074      for(Int refLayerCtr = 0; refLayerCtr < layerCtr; refLayerCtr++)
     1075      {
     1076        if (vps->getDirectDependencyFlag( layerCtr, refLayerCtr))
     1077        {         
     1078          if(m_acTEncTop[layerCtr].getIntraPeriod() !=  m_acTEncTop[refLayerCtr].getIntraPeriod())
     1079          {
     1080            vps->setCrossLayerIrapAlignFlag(false);
     1081          }
     1082        }
     1083      }
     1084    }   
    10721085#endif
    10731086#if M0040_ADAPTIVE_RESOLUTION_CHANGE
Note: See TracChangeset for help on using the changeset viewer.