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


Ignore:
Timestamp:
20 Jun 2016, 22:32:09 (9 years ago)
Author:
seregin
Message:

fix memory allocation for reference layer picture and REDUCED_ENCODER_MEMORY

File:
1 edited

Legend:

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

    r1575 r1578  
    360360
    361361#if SVC_EXTENSION
    362   if( this->getLayerDec(pcPic->getLayerId())->m_isOutputLayerFlag == false )
     362  if( m_ppcTDecTop[pcPic->getLayerId()]->m_isOutputLayerFlag == false )
    363363  {
    364364    pcPic->setOutputMark( false );
     
    538538
    539539#if REDUCED_ENCODER_MEMORY
    540         pBLPic->create( pBLPic->getPicSym()->getSPS(), *pps, true, true, refLayerId);
     540        pBLPic->create( pBLPic->getPicSym()->getSPS(), *pps, false, true, refLayerId);
    541541#else
    542542        pBLPic->create( pBLPic->getPicSym()->getSPS(), *pps, true, refLayerId);
     
    22982298
    22992299#if REDUCED_ENCODER_MEMORY
    2300         m_cIlpPic[j]->create(*sps, *pps, true, true, m_layerId);
     2300        m_cIlpPic[j]->create(*sps, *pps, false, true, m_layerId);
    23012301#else
    23022302        m_cIlpPic[j]->create(*sps, *pps, true, m_layerId);
Note: See TracChangeset for help on using the changeset viewer.