Changeset 830 in SHVCSoftware for branches/SHM-dev


Ignore:
Timestamp:
15 Jul 2014, 01:15:39 (10 years ago)
Author:
seregin
Message:

set NumDirectRefLayers equal to 0 for the zero layerId

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

Legend:

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

    r825 r830  
    351351        }
    352352      }
     353    }
     354    else
     355    {
     356      assert( layer == 0 );
     357      m_acTEncTop[layer].setNumDirectRefLayers(0);
    353358    }
    354359#endif //VPS_EXTN_DIRECT_REF_LAYERS
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r823 r830  
    907907
    908908#if Q0078_ADD_LAYER_SETS
    909   if (getNumDirectRefLayers() == 0 && getNumAddLayerSets() > 0)
     909  if( !m_numDirectRefLayers && m_numAddLayerSets )
    910910  {
    911911    m_cSPS.setLayerId(0); // layer ID 0 for independent layers
     
    11771177
    11781178#if Q0078_ADD_LAYER_SETS
    1179   if (getNumDirectRefLayers() == 0 && getNumAddLayerSets() > 0)
     1179  if( !m_numDirectRefLayers && m_numAddLayerSets )
    11801180  {
    11811181    m_cPPS.setLayerId(0); // layer ID 0 for independent layers
Note: See TracChangeset for help on using the changeset viewer.