Changeset 1493 in SHVCSoftware


Ignore:
Timestamp:
3 Dec 2015, 01:26:25 (9 years ago)
Author:
seregin
Message:

revert last commit, and invoke checkThatAllRefPicsAreAvailable earlier

File:
1 edited

Legend:

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

    r1492 r1493  
    611611#if ALIGNED_BUMPING
    612612    m_apcSlicePilot->checkLeadingPictureRestrictions(m_cListPic);
    613 
    614     if( m_parseIdc == 1 || m_parseIdc == 3 )
    615     {
    616       m_apcSlicePilot->applyReferencePictureSet(m_cListPic, m_apcSlicePilot->getRPS());
    617     }
    618613#else
    619614    m_apcSlicePilot->applyReferencePictureSet(m_cListPic, m_apcSlicePilot->getRPS());
     
    12541249#endif
    12551250
     1251  //detect lost reference picture and insert copy of earlier frame.
     1252  {
     1253    Int lostPoc;
     1254    while((lostPoc=m_apcSlicePilot->checkThatAllRefPicsAreAvailable(m_cListPic, m_apcSlicePilot->getRPS(), true, m_pocRandomAccess)) > 0)
     1255    {
     1256      xCreateLostPicture(lostPoc-1);
     1257    }
     1258  }
     1259
    12561260  if( m_parseIdc == 1 || m_parseIdc == 3)
    12571261  {
     
    12831287      }
    12841288    }
     1289    m_apcSlicePilot->applyReferencePictureSet(m_cListPic, m_apcSlicePilot->getRPS());
    12851290  }
    12861291
     
    13461351    m_prevPOC = m_apcSlicePilot->getPOC();
    13471352  }
    1348 #endif //SVC_EXTENSION
    13491353
    13501354  //detect lost reference picture and insert copy of earlier frame.
     
    13561360    }
    13571361  }
     1362#endif //SVC_EXTENSION
    13581363
    13591364  if (!m_apcSlicePilot->getDependentSliceSegmentFlag())
Note: See TracChangeset for help on using the changeset viewer.