From 8b951371bb181826638daebb7716f99178fbcd30 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Sun, 8 May 2022 11:48:54 -0700 Subject: [PATCH] ocioutils: remove unused function We could have kept this, but since I want to reorganize the sliders it might result in confusion in the codebase --- app/common/ocioutils.cpp | 12 ------------ app/common/ocioutils.h | 1 - 2 files changed, 13 deletions(-) diff --git a/app/common/ocioutils.cpp b/app/common/ocioutils.cpp index cc8a0490a..b296f0305 100644 --- a/app/common/ocioutils.cpp +++ b/app/common/ocioutils.cpp @@ -44,16 +44,4 @@ OCIO::BitDepth OCIOUtils::GetOCIOBitDepthFromPixelFormat(VideoParams::Format for return OCIO::BIT_DEPTH_UNKNOWN; } -OCIO::GradingRGBM OCIOUtils::QVec4ToRGBM(const QVector4D &vector) -{ - OCIO::GradingRGBM rgbm; - - rgbm.m_red = vector.x(); - rgbm.m_green = vector.y(); - rgbm.m_blue = vector.z(); - rgbm.m_master = vector.w(); - - return rgbm; -} - } diff --git a/app/common/ocioutils.h b/app/common/ocioutils.h index 545231b10..38df3f773 100644 --- a/app/common/ocioutils.h +++ b/app/common/ocioutils.h @@ -35,7 +35,6 @@ class OCIOUtils public: static OCIO::BitDepth GetOCIOBitDepthFromPixelFormat(VideoParams::Format format); - static OCIO::GradingRGBM QVec4ToRGBM(const QVector4D &vector); }; }