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


Ignore:
Timestamp:
22 Mar 2016, 23:02:15 (9 years ago)
Author:
seregin
Message:

port rev 4690

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

Legend:

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

    r1534 r1538  
    15961596  ("SEIMasteringDisplayPrimaries",                    cfg_DisplayPrimariesCode,       cfg_DisplayPrimariesCode, "Mastering display primaries for all three colour planes in CIE xy coordinates in increments of 1/50000 (results in the ranges 0 to 50000 inclusive)")
    15971597  ("SEIMasteringDisplayWhitePoint",                   cfg_DisplayWhitePointCode,     cfg_DisplayWhitePointCode, "Mastering display white point CIE xy coordinates in normalised increments of 1/50000 (e.g. 0.333 = 16667)")
     1598#if U0033_ALTERNATIVE_TRANSFER_CHARACTERISTICS_SEI
     1599  ("SEIPreferredTransferCharacterisics",              m_preferredTransferCharacteristics,                   -1, "Value for the preferred_transfer_characteristics field of the Alternative transfer characteristics SEI which will override the corresponding entry in the VUI. If negative, do not produce the respective SEI message")
     1600#endif
    15981601
    15991602#if LAYERS_NOT_PRESENT_SEI
     
    40504053  }
    40514054
     4055#if U0033_ALTERNATIVE_TRANSFER_CHARACTERISTICS_SEI
     4056  xConfirmPara(m_preferredTransferCharacteristics > 255, "transfer_characteristics_idc should not be greater than 255.");
     4057#endif
     4058
    40524059#if SVC_EXTENSION
    40534060  xConfirmPara( (m_apcLayerCfg[0]->m_numSamplePredRefLayers != 0) && (m_apcLayerCfg[0]->m_numSamplePredRefLayers != -1), "Layer 0 cannot have any reference layers" );
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h

    r1534 r1538  
    441441  Int*      m_kneeSEIInputKneePoint;
    442442  Int*      m_kneeSEIOutputKneePoint;
     443#if U0033_ALTERNATIVE_TRANSFER_CHARACTERISTICS_SEI
     444  Int       m_preferredTransferCharacteristics;
     445#endif
     446
    443447  // weighted prediction
    444448  Bool      m_useWeightedPred;                    ///< Use of weighted prediction in P slices
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1534 r1538  
    798798  m_cTEncTop.setColourRemapInfoSEIFileRoot                        ( m_colourRemapSEIFileRoot );
    799799  m_cTEncTop.setMasteringDisplaySEI                               ( m_masteringDisplay );
     800#if U0033_ALTERNATIVE_TRANSFER_CHARACTERISTICS_SEI
     801  m_cTEncTop.setSEIAlternativeTransferCharacteristicsSEIEnable    ( m_preferredTransferCharacteristics>=0     );
     802  m_cTEncTop.setSEIPreferredTransferCharacteristics               ( UChar(m_preferredTransferCharacteristics) );
     803#endif
    800804
    801805  m_cTEncTop.setTileUniformSpacingFlag                            ( m_tileUniformSpacingFlag );
Note: See TracChangeset for help on using the changeset viewer.