summaryrefslogtreecommitdiff
path: root/src/colour_conversion.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-24 04:15:26 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-24 04:15:26 +0100
commitceaf7bc52712cb60708ed5eb5c62c5e463dd8e89 (patch)
treec55e4b85ee30138ce83263045d77d01631378b2e /src/colour_conversion.h
parent6c37cc1979b2a01205a888c4c98f3334685ee8dd (diff)
Tidying.
Diffstat (limited to 'src/colour_conversion.h')
-rw-r--r--src/colour_conversion.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/colour_conversion.h b/src/colour_conversion.h
index d613c143..83ba3ad3 100644
--- a/src/colour_conversion.h
+++ b/src/colour_conversion.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2014-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2021 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
@@ -31,13 +31,16 @@
files in the program, then also delete it here.
*/
+
/** @file src/colour_conversion.h
* @brief ColourConversion class.
*/
+
#ifndef DCP_COLOUR_CONVERSION_H
#define DCP_COLOUR_CONVERSION_H
+
#include "chromaticity.h"
#include <memory>
#if BOOST_VERSION >= 106400
@@ -46,19 +49,23 @@
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/optional.hpp>
+
namespace dcp {
+
class TransferFunction;
+
enum class YUVToRGB {
REC601,
REC709,
COUNT
};
+
/** @class ColourConversion
* @brief A representation of all the parameters involved the colourspace conversion
- * of a YUV image to XYZ (via RGB).
+ * of a YUV image to XYZ (via RGB)
*/
class ColourConversion
{
@@ -175,6 +182,8 @@ protected:
std::shared_ptr<const TransferFunction> _out;
};
+
}
+
#endif