Changeset 555 in SHVCSoftware for branches/SHM-5.0-dev/source


Ignore:
Timestamp:
25 Jan 2014, 01:17:26 (11 years ago)
Author:
qualcomm
Message:

P0130 EOB NALU. Fixing creation of NAL unit without any payload. See macro P0130. Provided by Hendry <fhendry@…>

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

Legend:

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

    r553 r555  
    16571657      {
    16581658        OutputNALUnit nalu(NAL_UNIT_EOB);
    1659         nalu.m_layerId = 0;
    1660         writeRBSPTrailingBits(nalu.m_Bitstream);
     1659        nalu.m_layerId = 1;
    16611660
    16621661        AccessUnit& accessUnit = outputAccessUnits.back();
     1662        nalu.m_temporalId = accessUnit.front()->m_temporalId;
    16631663        accessUnit.push_back(new NALUnitEBSP(nalu));
    16641664      }
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/NALwrite.cpp

    r313 r555  
    9191  vector<uint8_t>& rbsp   = nalu.m_Bitstream.getFIFO();
    9292
     93#if P0130_EOB
     94  if (rbsp.size() == 0) return;
     95#endif
     96
    9397  for (vector<uint8_t>::iterator it = rbsp.begin(); it != rbsp.end();)
    9498  {
Note: See TracChangeset for help on using the changeset viewer.