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
This commit is contained in:
@@ -44,16 +44,4 @@ OCIO::BitDepth OCIOUtils::GetOCIOBitDepthFromPixelFormat(VideoParams::Format for
|
|||||||
return OCIO::BIT_DEPTH_UNKNOWN;
|
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ class OCIOUtils
|
|||||||
public:
|
public:
|
||||||
static OCIO::BitDepth GetOCIOBitDepthFromPixelFormat(VideoParams::Format format);
|
static OCIO::BitDepth GetOCIOBitDepthFromPixelFormat(VideoParams::Format format);
|
||||||
|
|
||||||
static OCIO::GradingRGBM QVec4ToRGBM(const QVector4D &vector);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user