Changeset 553 in SHVCSoftware for branches/SHM-5.0-dev/source/App


Ignore:
Timestamp:
24 Jan 2014, 21:29:31 (11 years ago)
Author:
seregin
Message:

JCTVC-P0130, set layer Id of EOB NALU to be fixed to 0 with macro P0130_EOB. Patch was provided by Hendry <fhendry@…>

File:
1 edited

Legend:

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

    r550 r553  
    16531653    if(iTotalNumEncoded)
    16541654    {
     1655#if P0130_EOB
     1656      if( bEos )
     1657      {
     1658        OutputNALUnit nalu(NAL_UNIT_EOB);
     1659        nalu.m_layerId = 0;
     1660        writeRBSPTrailingBits(nalu.m_Bitstream);
     1661
     1662        AccessUnit& accessUnit = outputAccessUnits.back();
     1663        accessUnit.push_back(new NALUnitEBSP(nalu));
     1664      }
     1665#endif
    16551666      xWriteStream(bitstreamFile, iTotalNumEncoded, outputAccessUnits);
    16561667      outputAccessUnits.clear();
Note: See TracChangeset for help on using the changeset viewer.