diff --git a/source/App/EncoderApp/EncApp.h b/source/App/EncoderApp/EncApp.h index af18f8b7e354f8f62c9c6d8c87f11a9aab44c8f9..ac9ea909d4561124522cc757611dfaafaf388f5e 100644 --- a/source/App/EncoderApp/EncApp.h +++ b/source/App/EncoderApp/EncApp.h @@ -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(); } diff --git a/source/Lib/EncoderLib/EncGOP.h b/source/Lib/EncoderLib/EncGOP.h index c999c563ef82d03f64381cb8bff6246824982df7..6a1e07169433fab3e294ac367d046cc00e25ccb9 100644 --- a/source/Lib/EncoderLib/EncGOP.h +++ b/source/Lib/EncoderLib/EncGOP.h @@ -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: diff --git a/source/Lib/EncoderLib/EncLib.h b/source/Lib/EncoderLib/EncLib.h index 24938f87e0fb0adb29ddbd098e9f838ef81c5beb..095b4dfef013ba04ba014e57696a2f184353d07d 100644 --- a/source/Lib/EncoderLib/EncLib.h +++ b/source/Lib/EncoderLib/EncLib.h @@ -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