Changeset 292 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibEncoder/SEIwrite.cpp
- Timestamp:
- 18 Jun 2013, 23:11:33 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-dev/source/Lib/TLibEncoder/SEIwrite.cpp
r191 r292 89 89 break; 90 90 #endif 91 #if M0043_LAYERS_PRESENT_SEI 92 case SEI::LAYERS_PRESENT: 93 fprintf( g_hTrace, "=========== Layers Present SEI message ===========\n"); 94 break; 95 #endif 91 96 #if L0208_SOP_DESCRIPTION_SEI 92 97 case SEI::SOP_DESCRIPTION: … … 150 155 case SEI::TONE_MAPPING_INFO: 151 156 xWriteSEIToneMappingInfo(*static_cast<const SEIToneMappingInfo*>(&sei)); 157 break; 158 #endif 159 #if M0043_LAYERS_PRESENT_SEI 160 case SEI::LAYERS_PRESENT: 161 xWriteSEILayersPresent(*static_cast<const SEILayersPresent*>(&sei)); 152 162 break; 153 163 #endif … … 591 601 } 592 602 603 #if M0043_LAYERS_PRESENT_SEI 604 Void SEIWriter::xWriteSEILayersPresent(const SEILayersPresent& sei) 605 { 606 WRITE_UVLC( sei.m_activeVpsId, "lp_sei_active_vps_id" ); 607 for (UInt i = 0; i < sei.m_vpsMaxLayers; i++) 608 { 609 WRITE_FLAG( sei.m_layerPresentFlag[i], "layer_present_flag" ); 610 } 611 xWriteByteAlign(); 612 } 613 #endif 614 593 615 #if L0208_SOP_DESCRIPTION_SEI 594 616 Void SEIWriter::xWriteSEISOPDescription(const SEISOPDescription& sei)
Note: See TracChangeset for help on using the changeset viewer.