Changeset 1334 in 3DVCSoftware for branches/HTM-15.1-dev0-BBC/source/Lib/TLibEncoder
- Timestamp:
- 22 Sep 2015, 23:25:33 (10 years ago)
- Location:
- branches/HTM-15.1-dev0-BBC/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-15.1-dev0-BBC/source/Lib/TLibEncoder/SEIwrite.cpp
r1331 r1334 148 148 xWriteSEISubBitstreamProperty(*static_cast<const SEISubBitstreamProperty*>(&sei)); 149 149 break; 150 #if NH_MV_SEI_TBD151 150 case SEI::ALPHA_CHANNEL_INFO: 152 151 xWriteSEIAlphaChannelInfo(*static_cast<const SEIAlphaChannelInfo*>(&sei)); 153 break; 152 break; 153 #if NH_MV_SEI_TBD 154 154 case SEI::OVERLAY_INFO: 155 155 xWriteSEIOverlayInfo(*static_cast<const SEIOverlayInfo*>(&sei)); … … 977 977 } 978 978 }; 979 #if NH_MV_SEI_TBD 979 980 980 Void SEIWriter::xWriteSEIAlphaChannelInfo( const SEIAlphaChannelInfo& sei) 981 981 { … … 985 985 WRITE_CODE( sei.m_alphaChannelUseIdc, 3, "alpha_channel_use_idc" ); 986 986 WRITE_CODE( sei.m_alphaChannelBitDepthMinus8, 3, "alpha_channel_bit_depth_minus8" ); 987 WRITE_CODE( sei.m_alphaTransparentValue, getAlphaTransparentValueLen ), "alpha_transparent_value" );988 WRITE_CODE( sei.m_alphaOpaqueValue, getAlphaOpaqueValueLen ), "alpha_opaque_value" );987 WRITE_CODE( sei.m_alphaTransparentValue, sei.m_alphaChannelBitDepthMinus8+9, "alpha_transparent_value" ); 988 WRITE_CODE( sei.m_alphaOpaqueValue, sei.m_alphaChannelBitDepthMinus8+9, "alpha_opaque_value" ); 989 989 WRITE_FLAG( ( sei.m_alphaChannelIncrFlag ? 1 : 0 ), "alpha_channel_incr_flag" ); 990 990 WRITE_FLAG( ( sei.m_alphaChannelClipFlag ? 1 : 0 ), "alpha_channel_clip_flag" ); … … 996 996 }; 997 997 998 #if NH_MV_SEI_TBD 998 999 Void SEIWriter::xWriteSEIOverlayInfo( const SEIOverlayInfo& sei) 999 1000 { -
branches/HTM-15.1-dev0-BBC/source/Lib/TLibEncoder/SEIwrite.h
r1331 r1334 93 93 #endif 94 94 Void xWriteSEISubBitstreamProperty ( const SEISubBitstreamProperty& sei); 95 Void xWriteSEIAlphaChannelInfo ( const SEIAlphaChannelInfo& sei); 95 96 #if NH_MV_SEI_TBD 96 Void xWriteSEIAlphaChannelInfo ( const SEIAlphaChannelInfo& sei);97 97 Void xWriteSEIOverlayInfo ( const SEIOverlayInfo& sei); 98 98 #endif
Note: See TracChangeset for help on using the changeset viewer.