Changeset 1319 in SHVCSoftware for branches/SHM-dev/source/App/TAppDecoder


Ignore:
Timestamp:
21 Jul 2015, 23:31:40 (9 years ago)
Author:
seregin
Message:

port rev 4394

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r1292 r1319  
    215215    AnnexBStats stats = AnnexBStats();
    216216
    217     vector<uint8_t> nalUnit;
    218217    InputNALUnit nalu;
    219     byteStreamNALUnit(bytestream, nalUnit, stats);
     218    byteStreamNALUnit(bytestream, nalu.getBitstream().getFifo(), stats);
    220219
    221220    // call actual decoding function
     
    223222    Bool bNewPOC = false;
    224223
    225     if (nalUnit.empty())
     224    if (nalu.getBitstream().getFifo().empty())
    226225    {
    227226      /* this can happen if the following occur:
     
    234233    else
    235234    {
    236       read(nalu, nalUnit);
     235      read(nalu);
    237236      if( (m_iMaxTemporalLayer >= 0 && nalu.m_temporalId > m_iMaxTemporalLayer) || !isNaluWithinTargetDecLayerIdSet(&nalu)  ||
    238237#if CONFORMANCE_BITSTREAM_MODE
     
    473472    AnnexBStats stats = AnnexBStats();
    474473
    475     vector<uint8_t> nalUnit;
    476474    InputNALUnit nalu;
    477     byteStreamNALUnit(bytestream, nalUnit, stats);
     475    byteStreamNALUnit(bytestream, nalu.getBitstream().getFifo(), stats);
    478476
    479477    // call actual decoding function
    480478    Bool bNewPicture = false;
    481     if (nalUnit.empty())
     479    if (nalu.getBitstream().getFifo().empty())
    482480    {
    483481      /* this can happen if the following occur:
     
    490488    else
    491489    {
    492       read(nalu, nalUnit);
     490      read(nalu);
    493491      if( (m_iMaxTemporalLayer >= 0 && nalu.m_temporalId > m_iMaxTemporalLayer) || !isNaluWithinTargetDecLayerIdSet(&nalu)  )
    494492      {
Note: See TracChangeset for help on using the changeset viewer.