- Timestamp:
- 21 Jul 2015, 00:23:23 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/SEI.h
r1273 r1302 531 531 532 532 SEIScalableNesting() {} 533 533 534 virtual ~SEIScalableNesting() 534 535 { 535 if (!m_callerOwnsSEIs) 536 { 537 deleteSEIs(m_nestedSEIs); 538 } 536 deleteSEIs(m_nestedSEIs); 539 537 } 540 538 … … 551 549 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 552 550 553 Bool m_callerOwnsSEIs;554 551 SEIMessages m_nestedSEIs; 555 552 }; -
branches/SHM-dev/source/Lib/TLibDecoder/SEIread.cpp
r1273 r1302 1121 1121 } 1122 1122 1123 sei.m_callerOwnsSEIs = false;1124 1125 1123 // read nested SEI messages 1126 1124 do -
branches/SHM-dev/source/Lib/TLibEncoder/SEIEncoder.cpp
r1287 r1302 267 267 } 268 268 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. 269 272 Void SEIEncoder::initSEIScalableNesting(SEIScalableNesting *scalableNestingSEI, SEIMessages &nestedSEIs) 270 273 { … … 279 282 scalableNestingSEI->m_nestingNumLayersMinus1 = 1 - 1; //nesting_num_layers_minus1 280 283 scalableNestingSEI->m_nestingLayerId[0] = 0; 281 scalableNestingSEI->m_callerOwnsSEIs = true;282 284 283 285 scalableNestingSEI->m_nestedSEIs.clear();
Note: See TracChangeset for help on using the changeset viewer.