Changeset 1331 in 3DVCSoftware for branches/HTM-15.1-dev0-Vidyo/source/Lib/TLibEncoder
- Timestamp:
- 18 Sep 2015, 23:09:19 (9 years ago)
- Location:
- branches/HTM-15.1-dev0-Vidyo/source/Lib/TLibEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-15.1-dev0-Vidyo/source/Lib/TLibEncoder/SEIwrite.cpp
r1328 r1331 129 129 #endif 130 130 #if NH_MV_SEI 131 #if NH_MV_ SEI_TBD131 #if NH_MV_LAYERS_NOT_PRESENT_SEI 132 132 case SEI::LAYERS_NOT_PRESENT: 133 xWriteSEILayersNotPresent(*static_cast<const SEILayersNotPresent*>(&sei));133 xWriteSEILayersNotPresent(*static_cast<const SEILayersNotPresent*>(&sei)); 134 134 break; 135 135 #endif … … 881 881 } 882 882 883 #if NH_MV_ SEI_TBD884 Void SEIWriter::xWriteSEILayersNotPresent( 883 #if NH_MV_LAYERS_NOT_PRESENT_SEI 884 Void SEIWriter::xWriteSEILayersNotPresent(const SEILayersNotPresent& sei) 885 885 { 886 886 WRITE_CODE( sei.m_lnpSeiActiveVpsId, 4, "lnp_sei_active_vps_id" ); 887 for( Int i = 0; i < = MaxLayersMinus1; i++ )887 for( Int i = 0; i < sei.m_lnpSeiMaxLayers; i++ ) 888 888 { 889 889 WRITE_FLAG( ( sei.m_layerNotPresentFlag[i] ? 1 : 0 ), "layer_not_present_flag" ); -
branches/HTM-15.1-dev0-Vidyo/source/Lib/TLibEncoder/SEIwrite.h
r1328 r1331 84 84 85 85 #if NH_MV_SEI 86 #if NH_MV_ SEI_TBD86 #if NH_MV_LAYERS_NOT_PRESENT_SEI 87 87 Void xWriteSEILayersNotPresent ( const SEILayersNotPresent& sei); 88 88 #endif -
branches/HTM-15.1-dev0-Vidyo/source/Lib/TLibEncoder/TEncGOP.cpp
r1328 r1331 329 329 xClearSEIs(currentMessages, !testWrite); 330 330 331 #if NH_MV_LAYERS_NOT_PRESENT_SEI 332 // Layers not present SEI message 333 currentMessages = extractSeisByType(localMessages, SEI::LAYERS_NOT_PRESENT); 334 xWriteSEISeparately(NAL_UNIT_PREFIX_SEI, currentMessages, accessUnit, itNalu, temporalId, sps); 335 xClearSEIs(currentMessages, !testWrite); 336 #endif 337 331 338 // And finally everything else one by one 332 339 xWriteSEISeparately(NAL_UNIT_PREFIX_SEI, localMessages, accessUnit, itNalu, temporalId, sps);
Note: See TracChangeset for help on using the changeset viewer.