Changeset 1412 in 3DVCSoftware for branches/HTM-16.2-dev/source/Lib/TLibEncoder/SEIEncoder.cpp
- Timestamp:
- 12 Apr 2018, 11:12:21 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-16.2-dev/source/Lib/TLibEncoder/SEIEncoder.cpp
r1405 r1412 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 6, ITU/ISO/IEC6 * Copyright (c) 2010-2017, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 346 346 if(pps->getTilesEnabledFlag()) 347 347 { 348 #if MCTS_ENC_CHECK 349 if (m_pcCfg->getTMCTSSEITileConstraint()) 350 { 351 sei->m_mc_all_tiles_exact_sample_value_match_flag = true; 352 sei->m_each_tile_one_tile_set_flag = true; 353 sei->m_limited_tile_set_display_flag = false; 354 sei->m_max_mcs_tier_level_idc_present_flag = false; 355 sei->setNumberOfTileSets(0); 356 } 357 else 358 { 359 #endif 348 360 sei->m_mc_all_tiles_exact_sample_value_match_flag = false; 349 361 sei->m_each_tile_one_tile_set_flag = false; … … 365 377 sei->tileSetData(i).m_mcts_tier_level_idc_present_flag = false; 366 378 } 379 #if MCTS_ENC_CHECK 380 } 381 #endif 367 382 } 368 383 else … … 651 666 } 652 667 } 653 #if U0033_ALTERNATIVE_TRANSFER_CHARACTERISTICS_SEI654 668 Void SEIEncoder::initSEIAlternativeTransferCharacteristics(SEIAlternativeTransferCharacteristics *seiAltTransCharacteristics) 655 669 { … … 659 673 seiAltTransCharacteristics->m_preferredTransferCharacteristics = m_pcCfg->getSEIPreferredTransferCharacteristics(); 660 674 } 661 #endif 675 676 Void SEIEncoder::initSEIGreenMetadataInfo(SEIGreenMetadataInfo *seiGreenMetadataInfo, UInt u) 677 { 678 assert (m_isInitialized); 679 assert (seiGreenMetadataInfo!=NULL); 680 681 seiGreenMetadataInfo->m_greenMetadataType = m_pcCfg->getSEIGreenMetadataType(); 682 seiGreenMetadataInfo->m_xsdMetricType = m_pcCfg->getSEIXSDMetricType(); 683 seiGreenMetadataInfo->m_xsdMetricValue = u; 684 } 685 662 686 663 687 #if NH_MV
Note: See TracChangeset for help on using the changeset viewer.