Skip to content
Snippets Groups Projects
Commit f64df684 authored by Karsten Suehring's avatar Karsten Suehring
Browse files

Merge branch 'compile2' into 'master'

Fix compiling when enabling HDR tools

See merge request jvet/VVCSoftware_VTM!2302
parents cd09d305 52d2acad
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ private:
uint32_t m_totalBytes;
std::fstream &m_bitstream;
#if JVET_O0756_CALCULATE_HDRMETRICS
std::chrono::duration<long long, ratio<1, 1000000000>> m_metricTime;
std::chrono::duration<long long, std::ratio<1, 1000000000>> m_metricTime;
#endif
private:
......@@ -121,7 +121,7 @@ public:
void outputAU( const AccessUnit& au );
#if JVET_O0756_CALCULATE_HDRMETRICS
std::chrono::duration<long long, ratio<1, 1000000000>> getMetricTime() const { return m_metricTime; };
std::chrono::duration<long long, std::ratio<1, 1000000000>> getMetricTime() const { return m_metricTime; };
#endif
VPS * getVPS() { return m_cEncLib.getVPS(); }
int getChromaFormatIDC() const { return m_cEncLib.getChromaFormatIdc(); }
......
......@@ -211,7 +211,7 @@ private:
hdrtoolslib::ColorTransformParams *m_pcColorTransformParams;
hdrtoolslib::FrameFormat *m_pcFrameFormat;
std::chrono::duration<long long, ratio<1, 1000000000>> m_metricTime;
std::chrono::duration<long long, std::ratio<1, 1000000000>> m_metricTime;
#endif
public:
......@@ -273,7 +273,7 @@ public:
Analyze& getAnalyzeBData() { return m_gcAnalyzeB; }
#endif
#if JVET_O0756_CALCULATE_HDRMETRICS
std::chrono::duration<long long, ratio<1, 1000000000>> getMetricTime() const { return m_metricTime; };
std::chrono::duration<long long, std::ratio<1, 1000000000>> getMetricTime() const { return m_metricTime; };
#endif
protected:
......
......@@ -121,7 +121,7 @@ private:
bool m_doPlt;
#if JVET_O0756_CALCULATE_HDRMETRICS
std::chrono::duration<long long, ratio<1, 1000000000>> m_metricTime;
std::chrono::duration<long long, std::ratio<1, 1000000000>> m_metricTime;
#endif
int m_picIdInGOP;
......@@ -201,7 +201,7 @@ public:
bool getPltEnc() const { return m_doPlt; }
void checkPltStats( Picture* pic );
#if JVET_O0756_CALCULATE_HDRMETRICS
std::chrono::duration<long long, ratio<1, 1000000000>> getMetricTime() const { return m_metricTime; };
std::chrono::duration<long long, std::ratio<1, 1000000000>> getMetricTime() const { return m_metricTime; };
#endif
// -------------------------------------------------------------------------------------------------------------------
// encoder function
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment