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


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@…>

Location:
branches/SHM-5.0-dev/source
Files:
2 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();
  • branches/SHM-5.0-dev/source/Lib/TLibCommon/TypeDef.h

    r552 r553  
    5050
    5151#define O0137_MAX_LAYERID                1      ///< JCTVC-O0137, JCTVC-O0200, JCTVC-O0223: restrict nuh_layer_id and vps_max_layers_minus1
     52
     53#define P0130_EOB                        1      ///< JCTVC-P0130, set layer Id of EOB NALU to be fixed to 0
    5254
    5355#define O0109_O0199_FLAGS_TO_VUI         1      ///< JCTVC-O0109, O0199: move single_layer_for_non_irap_flag and higher_layer_flag to vps_vui
Note: See TracChangeset for help on using the changeset viewer.