Changeset 694 in SHVCSoftware for branches/SHM-6-dev/source/App/TAppEncoder


Ignore:
Timestamp:
18 Apr 2014, 19:14:51 (11 years ago)
Author:
seregin
Message:

commit the patch implementing JCTVC-Q0074 provided by Bordes Philippe <philippe.bordes@…>

Location:
branches/SHM-6-dev/source/App/TAppEncoder
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r677 r694  
    339339  string* cfg_ReconFile      [MAX_LAYERS];
    340340  Double* cfg_fQP            [MAX_LAYERS];
     341#if Q0074_SEI_COLOR_MAPPING
     342  string* cfg_seiColorMappingFile[MAX_LAYERS];
     343#endif
    341344
    342345#if REPN_FORMAT_IN_VPS
     
    433436    cfg_IntraPeriod[layer]  = &m_acLayerCfg[layer].m_iIntraPeriod;
    434437    cfg_conformanceMode[layer] = &m_acLayerCfg[layer].m_conformanceMode;
     438#if Q0074_SEI_COLOR_MAPPING
     439    cfg_seiColorMappingFile[layer] = &m_acLayerCfg[layer].m_cSeiColorMappingFile;
     440#endif
    435441#if LAYER_CTB
    436442    // coding unit (CU) definition
     
    616622#endif
    617623  ("EnableElRapB,-use-rap-b",  m_elRapSliceBEnabled, 0, "Set ILP over base-layer I picture to B picture (default is P picture)")
     624#if Q0074_SEI_COLOR_MAPPING
     625  ("SEIColorMappingFile%d", cfg_seiColorMappingFile, string(""), MAX_LAYERS, "File Containing SEI Color Mapping data")
     626#endif
    618627#else //SVC_EXTENSION
    619628  ("InputFile,i",           cfg_InputFile,     string(""), "Original YUV input file name")
     
    14861495    }
    14871496  }
     1497
    14881498#if N0383_IL_CONSTRAINED_TILE_SETS_SEI
    14891499  if (m_interLayerConstrainedTileSetsSEIEnabled)
  • branches/SHM-6-dev/source/App/TAppEncoder/TAppEncCfg.h

    r677 r694  
    268268  Int*      m_codedPivotValue;
    269269  Int*      m_targetPivotValue;
     270#if Q0074_SEI_COLOR_MAPPING
     271  Char*     m_pchSEIColorMappingFile;             ///< SEI Color Mapping File (initialized from external file)
     272#endif
    270273  Int       m_framePackingSEIEnabled;
    271274  Int       m_framePackingSEIType;
  • branches/SHM-6-dev/source/App/TAppEncoder/TAppEncLayerCfg.h

    r644 r694  
    5454  Int       *m_predLayerIds;
    5555  Int       m_numActiveRefLayers;
     56#endif
     57#if Q0074_SEI_COLOR_MAPPING
     58  string  m_cSeiColorMappingFile;
    5659#endif
    5760
  • branches/SHM-6-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r680 r694  
    480480    m_acTEncTop[layer].setTMISEINominalWhiteLevelLumaCodeValue      ( m_nominalWhiteLevelLumaCodeValue );
    481481    m_acTEncTop[layer].setTMISEIExtendedWhiteLevelLumaCodeValue     ( m_extendedWhiteLevelLumaCodeValue );
     482#if Q0074_SEI_COLOR_MAPPING
     483    string  cTmp  = m_acLayerCfg[layer].m_cSeiColorMappingFile;
     484    m_acTEncTop[layer].setColorMappingInfoSEIFile                   ( cTmp.empty() ? NULL : strdup(cTmp.c_str()) );
     485#endif
    482486    m_acTEncTop[layer].setFramePackingArrangementSEIEnabled( m_framePackingSEIEnabled );
    483487    m_acTEncTop[layer].setFramePackingArrangementSEIType( m_framePackingSEIType );
     
    796800  m_cTEncTop.setTMISEINominalWhiteLevelLumaCodeValue      ( m_nominalWhiteLevelLumaCodeValue );
    797801  m_cTEncTop.setTMISEIExtendedWhiteLevelLumaCodeValue     ( m_extendedWhiteLevelLumaCodeValue );
     802#if Q0074_SEI_COLOR_MAPPING
     803  m_cTEncTop.setColorMappingInfoSEIFile                   ( m_pchSEIColorMappingFile );
     804#endif
    798805  m_cTEncTop.setFramePackingArrangementSEIEnabled( m_framePackingSEIEnabled );
    799806  m_cTEncTop.setFramePackingArrangementSEIType( m_framePackingSEIType );
Note: See TracChangeset for help on using the changeset viewer.