Changeset 1475 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
22 Sep 2015, 20:18:26 (10 years ago)
Author:
seregin
Message:

port rev 4600, remove macro Q0074_COLOUR_REMAPPING_SEI

Location:
branches/SHM-dev/source/Lib/TLibEncoder
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/SEIEncoder.cpp

    r1460 r1475  
    421421}
    422422
    423 #if Q0074_COLOUR_REMAPPING_SEI
    424423template <typename T>
    425424static Void readTokenValue(T            &returnedValue, /// value returned
     
    593592  return true;
    594593}
    595 #endif
    596594
    597595Void SEIEncoder::initSEIChromaResamplingFilterHint(SEIChromaResamplingFilterHint *seiChromaResamplingFilterHint, Int iHorFilterIndex, Int iVerFilterIndex)
  • branches/SHM-dev/source/Lib/TLibEncoder/SEIEncoder.h

    r1460 r1475  
    8181  Void initSEIChromaResamplingFilterHint(SEIChromaResamplingFilterHint *sei, Int iHorFilterIndex, Int iVerFilterIndex);
    8282  Void initSEITimeCode(SEITimeCode *sei);
    83 #if Q0074_COLOUR_REMAPPING_SEI
    8483  Bool initSEIColourRemappingInfo(SEIColourRemappingInfo *sei, Int currPOC); // returns true on success, false on failure.
    85 #endif
    8684
    8785#if LAYERS_NOT_PRESENT_SEI
  • branches/SHM-dev/source/Lib/TLibEncoder/SEIwrite.cpp

    r1460 r1475  
    152152    xWriteSEIKneeFunctionInfo(*static_cast<const SEIKneeFunctionInfo*>(&sei));
    153153    break;
    154 #if Q0074_COLOUR_REMAPPING_SEI
    155154  case SEI::COLOUR_REMAPPING_INFO:
    156155    xWriteSEIColourRemappingInfo(*static_cast<const SEIColourRemappingInfo*>(&sei));
    157156    break;
    158 #endif
    159157  case SEI::MASTERING_DISPLAY_COLOUR_VOLUME:
    160158    xWriteSEIMasteringDisplayColourVolume(*static_cast<const SEIMasteringDisplayColourVolume*>(&sei));
     
    987985}
    988986
    989 #if Q0074_COLOUR_REMAPPING_SEI
    990987Void SEIWriter::xWriteSEIColourRemappingInfo(const SEIColourRemappingInfo& sei)
    991988{
     
    10441041  }
    10451042}
    1046 #endif
    10471043
    10481044Void SEIWriter::xWriteSEIMasteringDisplayColourVolume(const SEIMasteringDisplayColourVolume& sei)
  • branches/SHM-dev/source/Lib/TLibEncoder/SEIwrite.h

    r1460 r1475  
    8989  Void xWriteSEIChromaResamplingFilterHint(const SEIChromaResamplingFilterHint& sei);
    9090  Void xWriteSEIKneeFunctionInfo(const SEIKneeFunctionInfo &sei);
    91 #if Q0074_COLOUR_REMAPPING_SEI
    9291  Void xWriteSEIColourRemappingInfo(const SEIColourRemappingInfo& sei);
    93 #endif
    9492  Void xWriteSEIMasteringDisplayColourVolume( const SEIMasteringDisplayColourVolume& sei);
    9593
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h

    r1460 r1475  
    321321  Int*      m_kneeSEIInputKneePoint;
    322322  Int*      m_kneeSEIOutputKneePoint;
    323 #if Q0074_COLOUR_REMAPPING_SEI
    324323  std::string m_colourRemapSEIFileRoot;          ///< SEI Colour Remapping File (initialized from external file)
    325 #endif
    326324  TComSEIMasteringDisplay m_masteringDisplay;
    327325  //====== Weighted Prediction ========
     
    486484#endif
    487485#endif //SVC_EXTENSION
    488 #if Q0074_COLOUR_REMAPPING_SEI
    489   string                              m_colourRemapSEIFileName;          ///< SEI Colour Remapping File (initialized from external file)
    490 #endif
    491486
    492487public:
     
    494489  : m_tileColumnWidth()
    495490  , m_tileRowHeight()
    496 #if Q0074_COLOUR_REMAPPING_SEI
    497   , m_colourRemapSEIFileName()
    498 #endif
    499491  {
    500492    m_PCMBitDepth[CHANNEL_TYPE_LUMA]=8;
     
    910902  Void  setKneeSEIOutputKneePoint(Int *p)                            { m_kneeSEIOutputKneePoint = p; }
    911903  Int*  getKneeSEIOutputKneePoint()                                  { return m_kneeSEIOutputKneePoint; }
    912 #if Q0074_COLOUR_REMAPPING_SEI
    913904  Void  setColourRemapInfoSEIFileRoot( const std::string &s )        { m_colourRemapSEIFileRoot = s; }
    914905  const std::string &getColourRemapInfoSEIFileRoot() const           { return m_colourRemapSEIFileRoot; }
    915 #endif
    916906  Void  setMasteringDisplaySEI(const TComSEIMasteringDisplay &src)   { m_masteringDisplay = src; }
    917907  const TComSEIMasteringDisplay &getMasteringDisplaySEI() const      { return m_masteringDisplay; }
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1460 r1475  
    750750  }
    751751
    752 #if Q0074_COLOUR_REMAPPING_SEI
    753752  // insert one Colour Remapping Info SEI for the picture (if the file exists)
    754753  if (!m_pcCfg->getColourRemapInfoSEIFileRoot().empty())
     
    766765    }
    767766  }
    768 #endif
    769767
    770768#if Q0189_TMVP_CONSTRAINTS
Note: See TracChangeset for help on using the changeset viewer.