Changeset 1098 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 3 Jul 2015, 00:22:38 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/SEIwrite.cpp
r1096 r1098 186 186 break; 187 187 #endif 188 #if Q0078_ADD_LAYER_SETS189 case SEI::OUTPUT_LAYER_SET_NESTING:190 xWriteSEIOutputLayerSetNesting(bs, *static_cast<const SEIOutputLayerSetNesting*>(&sei), vps, sps);191 break;192 case SEI::VPS_REWRITING:193 xWriteSEIVPSRewriting(*static_cast<const SEIVPSRewriting*>(&sei));194 break;195 #endif196 188 #if Q0189_TMVP_CONSTRAINTS 197 189 case SEI::TMVP_CONSTRAINTS: … … 1332 1324 #endif 1333 1325 1334 #if Q0078_ADD_LAYER_SETS1335 1336 Void SEIWriter::xWriteSEIOutputLayerSetNesting(TComBitIf& bs, const SEIOutputLayerSetNesting &sei, TComVPS *vps, TComSPS *sps)1337 {1338 WRITE_FLAG(sei.m_olsFlag, "ols_flag");1339 WRITE_UVLC(sei.m_numOlsIndicesMinus1, "num_ols_indices_minus1");1340 1341 for (Int i = 0; i <= sei.m_numOlsIndicesMinus1; i++)1342 {1343 WRITE_UVLC(sei.m_olsIdx[i], "ols_idx[i]");1344 }1345 1346 while (m_pcBitIf->getNumberOfWrittenBits() % 8 != 0)1347 {1348 WRITE_FLAG(0, "ols_nesting_zero_bit");1349 }1350 1351 // write nested SEI messages1352 for (SEIMessages::const_iterator it = sei.m_nestedSEIs.begin(); it != sei.m_nestedSEIs.end(); it++)1353 {1354 writeSEImessage(bs, *(*it), vps, sps);1355 }1356 }1357 1358 Void SEIWriter::xWriteSEIVPSRewriting(const SEIVPSRewriting &sei)1359 {1360 //sei.nalu->1361 }1362 1363 #endif1364 1365 1326 #if P0123_ALPHA_CHANNEL_SEI 1366 1327 Void SEIWriter::xWriteSEIAlphaChannelInfo(const SEIAlphaChannelInfo &sei) -
branches/SHM-dev/source/Lib/TLibEncoder/SEIwrite.h
r1096 r1098 124 124 Void xCodeHrdParameters( TComHRD *hrd, Bool commonInfPresentFlag, UInt maxNumSubLayersMinus1 ); 125 125 #endif 126 #if Q0078_ADD_LAYER_SETS127 Void xWriteSEIOutputLayerSetNesting(TComBitIf& bs, const SEIOutputLayerSetNesting &sei, TComVPS *vps, TComSPS *sps);128 Void xWriteSEIVPSRewriting(const SEIVPSRewriting &sei);129 #endif130 126 #if P0123_ALPHA_CHANNEL_SEI 131 127 Void xWriteSEIAlphaChannelInfo(const SEIAlphaChannelInfo &sei);
Note: See TracChangeset for help on using the changeset viewer.