Changeset 1302 in SHVCSoftware


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

port rev 4345 and rev 4346

Location:
branches/SHM-dev/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/SEI.h

    r1273 r1302  
    531531
    532532  SEIScalableNesting() {}
     533
    533534  virtual ~SEIScalableNesting()
    534535  {
    535     if (!m_callerOwnsSEIs)
    536     {
    537       deleteSEIs(m_nestedSEIs);
    538     }
     536    deleteSEIs(m_nestedSEIs);
    539537  }
    540538
     
    551549  UChar m_nestingLayerId[MAX_NESTING_NUM_LAYER];     //value valid if m_nestingOpFlag == 0 and m_allLayersFlag == 0. This can e.g. be a static array of 64 UChar values
    552550
    553   Bool  m_callerOwnsSEIs;
    554551  SEIMessages m_nestedSEIs;
    555552};
  • branches/SHM-dev/source/Lib/TLibDecoder/SEIread.cpp

    r1273 r1302  
    11211121  }
    11221122
    1123   sei.m_callerOwnsSEIs = false;
    1124 
    11251123  // read nested SEI messages
    11261124  do
  • branches/SHM-dev/source/Lib/TLibEncoder/SEIEncoder.cpp

    r1287 r1302  
    267267}
    268268
     269//! initialize scalable nesting SEI message.
     270//! Note: The SEI message structures input into this function will become part of the scalable nesting SEI and will be
     271//!       automatically freed, when the nesting SEI is disposed.
    269272Void SEIEncoder::initSEIScalableNesting(SEIScalableNesting *scalableNestingSEI, SEIMessages &nestedSEIs)
    270273{
     
    279282  scalableNestingSEI->m_nestingNumLayersMinus1        = 1 - 1;  //nesting_num_layers_minus1
    280283  scalableNestingSEI->m_nestingLayerId[0]             = 0;
    281   scalableNestingSEI->m_callerOwnsSEIs                = true;
    282284
    283285  scalableNestingSEI->m_nestedSEIs.clear();
Note: See TracChangeset for help on using the changeset viewer.