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


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

port rev 4394

Location:
branches/SHM-dev/source/App
Files:
2 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      {
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r1316 r1319  
    31143114      fprintf(stderr, "****************************************************************************\n");
    31153115    }
    3116   }
    3117   if ( m_bufferingPeriodSEIEnabled && !m_activeParameterSetsSEIEnabled)
    3118   {
    3119     fprintf(stderr, "****************************************************************************\n");
    3120     fprintf(stderr, "** WARNING: using buffering period SEI requires SPS activation with       **\n");
    3121     fprintf(stderr, "**          active parameter sets SEI. Enabling active parameter sets SEI **\n");
    3122     fprintf(stderr, "****************************************************************************\n");
    3123     m_activeParameterSetsSEIEnabled = 1;
    3124   }
    3125   if ( m_pictureTimingSEIEnabled && !m_activeParameterSetsSEIEnabled)
    3126   {
    3127     fprintf(stderr, "****************************************************************************\n");
    3128     fprintf(stderr, "** WARNING: using picture timing SEI requires SPS activation with active  **\n");
    3129     fprintf(stderr, "**          parameter sets SEI. Enabling active parameter sets SEI.       **\n");
    3130     fprintf(stderr, "****************************************************************************\n");
    3131     m_activeParameterSetsSEIEnabled = 1;
    31323116  }
    31333117
Note: See TracChangeset for help on using the changeset viewer.